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:
@@ -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"
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user