From a69de1d212ccee491e5c80f61e40f7a964d8c8dd Mon Sep 17 00:00:00 2001 From: Ali Zein Yousuf Date: Wed, 7 Oct 2026 22:47:31 -0500 Subject: [PATCH] ci: drop dev-lang/go ~amd64 override now that go 1.27 is stable Go 1.27 (>=dev-lang/go-1.27, the ebuild's BDEPEND) is now keyworded stable on amd64 and available as a binpkg, so CI and the bump workflow no longer need to accept the testing keyword (and compile Go from source). Reverts the accept_keywords additions from 17e1bfa. Co-Authored-By: Claude Fable 5.1 --- .gitea/workflows/bump.yaml | 6 ------ .gitea/workflows/ci.yaml | 5 ----- 2 files changed, 11 deletions(-) diff --git a/.gitea/workflows/bump.yaml b/.gitea/workflows/bump.yaml index 89d8683..572aea5 100644 --- a/.gitea/workflows/bump.yaml +++ b/.gitea/workflows/bump.yaml @@ -65,12 +65,6 @@ jobs: > /etc/portage/repos.conf/gentoo.conf sed -i '/^verify-signature/d' /etc/portage/binrepos.conf/gentoo.conf printf '\nverify-signature = false\n' >> /etc/portage/binrepos.conf/gentoo.conf - # Upstream's go.mod can require a Go that Gentoo only has under - # ~amd64 (GOTOOLCHAIN=local forbids auto-download), so accept the - # testing-keyworded dev-lang/go. It is built from source when no - # stable binpkg satisfies the requirement. - mkdir -p /etc/portage/package.accept_keywords - echo 'dev-lang/go ~amd64' > /etc/portage/package.accept_keywords/go emerge -q --getbinpkg \ dev-vcs/git net-misc/curl app-arch/xz-utils app-misc/jq \ dev-lang/go dev-util/pkgdev diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index b2d7710..ed17a89 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -86,11 +86,6 @@ jobs: > /etc/portage/repos.conf/azy5030.conf mkdir -p /etc/portage/package.accept_keywords echo 'dev-util/gitea-runner ~amd64' > /etc/portage/package.accept_keywords/gitea-runner - # Upstream tracks new Go releases faster than Gentoo stabilises them - # (the ebuild's BDEPEND follows upstream go.mod), so accept the - # testing-keyworded dev-lang/go. No stable binpkg exists for it, so - # this compiles Go from source when a newer one is required. - echo 'dev-lang/go ~amd64' > /etc/portage/package.accept_keywords/go - name: QA scan run: pkgcheck scan --repo /var/db/repos/azy5030 dev-util/gitea-runner -- 2.56.1