From 5343e81d01aa3db2da7591eeac691cebb61973a5 Mon Sep 17 00:00:00 2001 From: xengi Date: Sat, 15 Aug 2026 02:47:05 +0200 Subject: [PATCH] Update .forgejo/workflows/packages.yaml --- .forgejo/workflows/packages.yaml | 267 ++++++++++++++++++++++--------- 1 file changed, 191 insertions(+), 76 deletions(-) diff --git a/.forgejo/workflows/packages.yaml b/.forgejo/workflows/packages.yaml index 17c6574..2c5b4ca 100644 --- a/.forgejo/workflows/packages.yaml +++ b/.forgejo/workflows/packages.yaml @@ -103,39 +103,6 @@ jobs: pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} - gerbolyze: - runs-on: debian-stable - env: - PACKAGE_NAME: gerbolyze - container: - image: git.sb20.xengi.de/xengi/archlinux-aur:latest - credentials: - username: xengi - password: ${{ secrets.REGISTRY_TOKEN }} - steps: - - name: Checkout repository - run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE" - - name: Install dependencies - run: yay -Sy --needed --noconfirm --noprogressbar curl jq - - name: Get versions - id: versions - run: | - echo upstream=$(curl -fsSL "https://pypi.org/pypi/${{ env.PACKAGE_NAME }}/json" | jq -er '.info.version') >> "$FORGEJO_OUTPUT" - echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT" - - uses: ./.forgejo/actions/update-aur-package - with: - package-name: ${{ env.PACKAGE_NAME }} - upstream-version: ${{ steps.versions.outputs.upstream }} - aur-version: ${{ steps.versions.outputs.aur }} - aur-dependencies: | - python-pcb-tools-git - test-command: gerbolyze --help - commit-message: bumped to version ${{ steps.versions.outputs.upstream }} - notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} - aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} - pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} - pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} - go-aws-sso: runs-on: debian-stable env: @@ -167,10 +134,98 @@ jobs: pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} - yawsso: + img2xterm: runs-on: debian-stable env: - PACKAGE_NAME: yawsso + PACKAGE_NAME: img2xterm + container: + image: git.sb20.xengi.de/xengi/archlinux-aur:latest + credentials: + username: xengi + password: ${{ secrets.REGISTRY_TOKEN }} + steps: + - name: Checkout repository + run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE" + - name: Install dependencies + run: yay -Sy --needed --noconfirm --noprogressbar curl jq + - name: Get versions + id: versions + run: | + echo upstream=$(curl -fsSL -H "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/rossy/${{ env.PACKAGE_NAME }}/tags?per_page=1 | jq -er '.[0].name | ltrimstr("v")') >> "$FORGEJO_OUTPUT" + echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT" + - uses: ./.forgejo/actions/update-aur-package + with: + package-name: ${{ env.PACKAGE_NAME }} + upstream-version: ${{ steps.versions.outputs.upstream }} + aur-version: ${{ steps.versions.outputs.aur }} + test-command: img2xterm --help + commit-message: bumped to version ${{ steps.versions.outputs.upstream }} + notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} + aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} + pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} + + img2xterm-git: + runs-on: debian-stable + env: + PACKAGE_NAME: img2xterm-git + container: + image: git.sb20.xengi.de/xengi/archlinux-aur:latest + credentials: + username: xengi + password: ${{ secrets.REGISTRY_TOKEN }} + steps: + - name: Checkout repository + run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE" + - uses: ./.forgejo/actions/update-aur-package + with: + package-name: ${{ env.PACKAGE_NAME }} + upstream-version: '0' + aur-version: '0' + update-pkgrel: 'false' + git-package: 'true' + test-command: img2xterm --help + commit-message: bumped git commit + notify-message: ${{ env.PACKAGE_NAME }} updated git commit + aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} + pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} + + projen: + runs-on: debian-stable + env: + PACKAGE_NAME: projen + container: + image: git.sb20.xengi.de/xengi/archlinux-aur:latest + credentials: + username: xengi + password: ${{ secrets.REGISTRY_TOKEN }} + steps: + - name: Checkout repository + run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE" + - name: Install dependencies + run: yay -Sy --needed --noconfirm --noprogressbar curl jq + - name: Get versions + id: versions + run: | + echo upstream=$(curl -fsSL https://registry.npmjs.org/${{ env.PACKAGE_NAME }} | jq -er '."dist-tags".latest') >> "$FORGEJO_OUTPUT" + echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT" + - uses: ./.forgejo/actions/update-aur-package + with: + package-name: ${{ env.PACKAGE_NAME }} + upstream-version: ${{ steps.versions.outputs.upstream }} + aur-version: ${{ steps.versions.outputs.aur }} + test-command: projen --help + commit-message: bumped to version ${{ steps.versions.outputs.upstream }} + notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} + aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} + pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} + + python-driftdeck: + runs-on: debian-stable + env: + PACKAGE_NAME: python-driftdeck container: image: git.sb20.xengi.de/xengi/archlinux-aur:latest credentials: @@ -191,7 +246,102 @@ jobs: package-name: ${{ env.PACKAGE_NAME }} upstream-version: ${{ steps.versions.outputs.upstream }} aur-version: ${{ steps.versions.outputs.aur }} - test-command: yawsso --help + test-command: driftdeck --help + commit-message: bumped to version ${{ steps.versions.outputs.upstream }} + notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} + aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} + pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} + + python-q: + runs-on: debian-stable + env: + PACKAGE_NAME: python-q + container: + image: git.sb20.xengi.de/xengi/archlinux-aur:latest + credentials: + username: xengi + password: ${{ secrets.REGISTRY_TOKEN }} + steps: + - name: Checkout repository + run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE" + - name: Install dependencies + run: yay -Sy --needed --noconfirm --noprogressbar curl jq + - name: Get versions + id: versions + run: | + echo upstream=$(curl -fsSL "https://pypi.org/pypi/${{ env.PACKAGE_NAME }}/json" | jq -er '.info.version') >> "$FORGEJO_OUTPUT" + echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT" + - uses: ./.forgejo/actions/update-aur-package + with: + package-name: ${{ env.PACKAGE_NAME }} + upstream-version: ${{ steps.versions.outputs.upstream }} + aur-version: ${{ steps.versions.outputs.aur }} + test-command: python -m q + commit-message: bumped to version ${{ steps.versions.outputs.upstream }} + notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} + aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} + pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} + + rqlite: + runs-on: debian-stable + env: + PACKAGE_NAME: rqlite + container: + image: git.sb20.xengi.de/xengi/archlinux-aur:latest + credentials: + username: xengi + password: ${{ secrets.REGISTRY_TOKEN }} + steps: + - name: Checkout repository + run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE" + - name: Install dependencies + run: yay -Sy --needed --noconfirm --noprogressbar curl jq + - name: Get versions + id: versions + run: | + echo upstream=$(curl -fsSL -H "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{ env.PACKAGE_NAME }}/${{ env.PACKAGE_NAME }}/releases/latest | jq -er '.tag_name | ltrimstr("v")') >> "$FORGEJO_OUTPUT" + echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT" + - uses: ./.forgejo/actions/update-aur-package + with: + package-name: ${{ env.PACKAGE_NAME }} + upstream-version: ${{ steps.versions.outputs.upstream }} + aur-version: ${{ steps.versions.outputs.aur }} + test-command: | + rqlited --help + rqlite --help + commit-message: bumped to version ${{ steps.versions.outputs.upstream }} + notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} + aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} + pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} + + sanic: + runs-on: debian-stable + env: + PACKAGE_NAME: sanic + container: + image: git.sb20.xengi.de/xengi/archlinux-aur:latest + credentials: + username: xengi + password: ${{ secrets.REGISTRY_TOKEN }} + steps: + - name: Checkout repository + run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE" + - name: Install dependencies + run: yay -Sy --needed --noconfirm --noprogressbar curl jq + - name: Get versions + id: versions + run: | + echo upstream=$(curl -fsSL "https://gitlab.com/api/v4/projects/$(printf '%s' 'xengi/${{ env.PACKAGE_NAME }}' | jq -sRr @uri)/releases/permalink/latest" | jq -r '.tag_name') >> "$FORGEJO_OUTPUT" + echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT" + - uses: ./.forgejo/actions/update-aur-package + with: + package-name: ${{ env.PACKAGE_NAME }} + upstream-version: ${{ steps.versions.outputs.upstream }} + aur-version: ${{ steps.versions.outputs.aur }} + test-command: sanic --help commit-message: bumped to version ${{ steps.versions.outputs.upstream }} notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} @@ -232,8 +382,6 @@ jobs: pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} - - virtualfish: runs-on: debian-stable env: @@ -267,11 +415,11 @@ jobs: aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} - - projen: + + yawsso: runs-on: debian-stable env: - PACKAGE_NAME: projen + PACKAGE_NAME: yawsso container: image: git.sb20.xengi.de/xengi/archlinux-aur:latest credentials: @@ -285,47 +433,14 @@ jobs: - name: Get versions id: versions run: | - echo upstream=$(curl -fsSL https://registry.npmjs.org/${{ env.PACKAGE_NAME }} | jq -er '."dist-tags".latest') >> "$FORGEJO_OUTPUT" + echo upstream=$(curl -fsSL "https://pypi.org/pypi/${{ env.PACKAGE_NAME }}/json" | jq -er '.info.version') >> "$FORGEJO_OUTPUT" echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT" - uses: ./.forgejo/actions/update-aur-package with: package-name: ${{ env.PACKAGE_NAME }} upstream-version: ${{ steps.versions.outputs.upstream }} aur-version: ${{ steps.versions.outputs.aur }} - test-command: projen --help - commit-message: bumped to version ${{ steps.versions.outputs.upstream }} - notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} - aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} - pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }} - pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }} - - rqlite: - runs-on: debian-stable - env: - PACKAGE_NAME: rqlite - container: - image: git.sb20.xengi.de/xengi/archlinux-aur:latest - credentials: - username: xengi - password: ${{ secrets.REGISTRY_TOKEN }} - steps: - - name: Checkout repository - run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE" - - name: Install dependencies - run: yay -Sy --needed --noconfirm --noprogressbar curl jq - - name: Get versions - id: versions - run: | - echo upstream=$(curl -fsSL -H "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{ env.PACKAGE_NAME }}/${{ env.PACKAGE_NAME }}/releases/latest | jq -er '.tag_name | ltrimstr("v")') >> "$FORGEJO_OUTPUT" - echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT" - - uses: ./.forgejo/actions/update-aur-package - with: - package-name: ${{ env.PACKAGE_NAME }} - upstream-version: ${{ steps.versions.outputs.upstream }} - aur-version: ${{ steps.versions.outputs.aur }} - test-command: | - rqlited --help - rqlite --help + test-command: yawsso --help commit-message: bumped to version ${{ steps.versions.outputs.upstream }} notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }} aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}