From 3f8a53988c85fe2392125297501a5648db94e8393abbd89d4ad3bb341ce57b26 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Wed, 20 Aug 2025 14:02:47 +0200 Subject: [PATCH 1/2] Backports.productcompose: prepare for maintenance but not enabling it yet (changes from Adrian) Signed-off-by: Nathan Cutler --- 0Backports/Backports.changes | 7 +++++++ 0Backports/Backports.productcompose | 2 ++ 2 files changed, 9 insertions(+) diff --git a/0Backports/Backports.changes b/0Backports/Backports.changes index a6db8be..a7789b8 100644 --- a/0Backports/Backports.changes +++ b/0Backports/Backports.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 20 12:02:06 UTC 2025 - Adrian Schröter + +- Backports.productcompose: + + prepare some settings for maintenance. + but not enabling it yet + ------------------------------------------------------------------- Tue Aug 19 10:41:28 UTC 2025 - Nathan Cutler diff --git a/0Backports/Backports.productcompose b/0Backports/Backports.productcompose index 64de555..9a74016 100644 --- a/0Backports/Backports.productcompose +++ b/0Backports/Backports.productcompose @@ -3,6 +3,7 @@ product_compose_schema: 0.2 vendor: openSUSE name: Backports version: 16 +update: "16.0" product-type: module summary: openSUSE Backports @@ -32,6 +33,7 @@ repodata: all # has only an effect during maintenance: set_updateinfo_from: maint-coord@suse.de +# set_updateinfo_id_prefix: openSUSE-Leap-16.0- flavors: backports_aarch64: -- 2.51.1 From a2593a8867a0df31b46b586c1a101114a9c4bba36efd5897585d29a81ebaa1e8 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Wed, 20 Aug 2025 14:05:28 +0200 Subject: [PATCH 2/2] workflows: add patchinfo_numberator.yaml Prepare for Maintenance, but not enabling it yet. (Changes from Adrian) Signed-off-by: Nathan Cutler --- .gitea/workflows/patchinfo_numberator.yaml | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/patchinfo_numberator.yaml diff --git a/.gitea/workflows/patchinfo_numberator.yaml b/.gitea/workflows/patchinfo_numberator.yaml new file mode 100644 index 0000000..7cee1cb --- /dev/null +++ b/.gitea/workflows/patchinfo_numberator.yaml @@ -0,0 +1,31 @@ +# Use this as .gitea/workflows/patchinfo_numberator.yaml in all products/* repos +name: Patchinfo ID numberator +run-name: ${{ gitea.actor }} is setting patchinfo numbers +on: [push] + +jobs: + use-go-action: + runs-on: tumbleweed + steps: + # Generic action from GitHub to clone the product git repo + - name: Checkout product + uses: https://gitea-actions-autobuild:${{ secrets.REPO_READ }}@src.suse.de/actions/github-actions-checkout@v4 + with: + token: ${{ secrets.REPO_WRITE }} + repo-sha256: true + - name: Update all new _patchinfo files + uses: https://gitea-actions-autobuild:${{ secrets.REPO_READ }}@src.suse.de/actions/patchinfo-numbering-action@v0 + - name: Get last commit author + id: last-commit + run: | + echo "author=$(git log -1 --pretty='%an <%ae>')" >> $GITHUB_OUTPUT + - name: Commit changes back + uses: https://gitea-actions-autobuild:${{ secrets.REPO_READ }}@src.suse.de/actions/stefanzweifel-git-auto-commit-action@v5 + with: + commit_user_name: gitea-actions-autobuild + commit_user_email: autobuild+gitea@suse.de + commit_author: ${{ steps.last-commit.outputs.author }} + commit_message: "Update incident numbers [skip actions]" + commit_options: '--no-edit' + skip_fetch: true + -- 2.51.1