Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: libre-knowledge/subject-template
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.9
Choose a base ref
...
head repository: libre-knowledge/subject-template
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 4 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 27, 2024

  1. fix(github-actions/release): Fix Git submodules not included in relea…

    …se archives
    
    Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
    brlin-tw committed Oct 27, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    11a9ac1 View commit details
  2. fix(github-actions/release): Limit fetch depth to reduce submodule ch…

    …eckout time
    
    Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
    brlin-tw committed Oct 27, 2024
    Copy the full SHA
    a68dd6b View commit details

Commits on Nov 8, 2024

  1. docs(real.README): 新增官方文件與第三方文件區段內容模板

    Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
    brlin-tw committed Nov 8, 2024
    Copy the full SHA
    54696f4 View commit details
  2. fix(gitlab-ci): 修正 GitLab CI 任務非必要地取出 Git 子模組

    減少 GitLab CI 任務執行所需時間
    
    Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
    brlin-tw committed Nov 8, 2024
    Copy the full SHA
    61ce180 View commit details
Showing with 25 additions and 3 deletions.
  1. +12 −0 .github/workflows/release.yml
  2. +5 −3 .gitlab-ci.yml
  3. +8 −0 real.README.md
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -29,6 +29,10 @@ jobs:
# WORKAROUND: Adding this option triggers actions/checkout#1467
#fetch-tags: true

# Also recursively fetch submodules
# WORKAROUND: Adding this option triggers actions/checkout#1959
#submodules: true

- name: >-
WORKAROUND: Fetch tags that points to the revisions
checked-out(actions/checkout#1467)
@@ -40,6 +44,14 @@ jobs:
--depth=100 \
--no-recurse-submodules
- name: >-
WORKAROUND: Checkout submodules recursively(actions/checkout#1959)
run: |-
git submodule update \
--init \
--recursive \
--depth 1
- name: Determine the project identifier
run: printf "project_id=${GITHUB_REPOSITORY##*/}\\n" >> $GITHUB_ENV

8 changes: 5 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -7,9 +7,6 @@
#
# Copyright 2024 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
variables:
GIT_SUBMODULE_STRATEGY: recursive

do-static-analysis:
stage: test
rules:
@@ -44,6 +41,11 @@ generate-build-artifacts:
script:
- ./continuous-integration/generate-build-artifacts.install-system-deps.sh
- ./continuous-integration/generate-build-artifacts.sh
variables:
GIT_SUBMODULE_STRATEGY: recursive

# Limit fetch depth to reduce submodule checkout time
GIT_SUBMODULE_DEPTH: 1

upload-release-assets:
stage: deploy
8 changes: 8 additions & 0 deletions real.README.md
Original file line number Diff line number Diff line change
@@ -22,6 +22,14 @@ _主題描述文字_
以下列舉本主題相關的主題:
## 官方文件
以下列舉本主題相關的官方文件:
## 第三方文件
以下列舉本主題相關的第三方文件:
## 參考資料
以下列舉撰寫本主題內容時所參考的第三方資源: