fix(gitea-runner): fetch source via /api/v1 archive endpoint
CI / build (push) Successful in 7m35s

gitea.com now redirects unauthenticated requests for /<owner>/<repo>/archive/v*.tar.gz to /user/login, breaking emerge's source fetch (wget saves the login HTML, distfile size verify fails).

The /api/v1/repos/<owner>/<repo>/archive/v*.tar.gz endpoint still serves anonymously and returns byte-identical contents, so the Manifest is unchanged.

Updated both the live 1.0.4 ebuild SRC_URI and the bump-version.sh template so regenerated ebuilds (and the bump script's own vendor-tarball fetch) use the working URL.
This commit is contained in:
Ali
2026-06-14 00:01:33 -05:00
parent ee9cca3d81
commit 8d7432ff69
2 changed files with 2 additions and 2 deletions
@@ -8,7 +8,7 @@ inherit go-module
DESCRIPTION="Gitea Actions runner (formerly act_runner)" DESCRIPTION="Gitea Actions runner (formerly act_runner)"
HOMEPAGE="https://gitea.com/gitea/runner" HOMEPAGE="https://gitea.com/gitea/runner"
SRC_URI=" SRC_URI="
https://gitea.com/gitea/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz https://gitea.com/api/v1/repos/gitea/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://git.azy.dev/azy5030/azy5030-overlay/releases/download/${PN}-${PV}-vendor/${P}-vendor.tar.xz https://git.azy.dev/azy5030/azy5030-overlay/releases/download/${PN}-${PV}-vendor/${P}-vendor.tar.xz
" "
S="${WORKDIR}/runner" S="${WORKDIR}/runner"
+1 -1
View File
@@ -10,7 +10,7 @@ set -euo pipefail
PN="gitea-runner" PN="gitea-runner"
UPSTREAM_RSS="https://gitea.com/gitea/runner/releases.rss" UPSTREAM_RSS="https://gitea.com/gitea/runner/releases.rss"
UPSTREAM_ARCHIVE="https://gitea.com/gitea/runner/archive" UPSTREAM_ARCHIVE="https://gitea.com/api/v1/repos/gitea/runner/archive"
UPSTREAM_GOMOD="https://gitea.com/gitea/runner/raw/tag" UPSTREAM_GOMOD="https://gitea.com/gitea/runner/raw/tag"
: "${BUMP_TOKEN:?BUMP_TOKEN is required}" : "${BUMP_TOKEN:?BUMP_TOKEN is required}"