Commit Graph
909 Commits
Author SHA1 Message Date
Zakk 06cf3c541b .github: report emerge elog in the pull request comment
The emerge job failed on any saved elog, so warn elog from eclasses,
such as CONFIG_CHECK without kernel sources in the CI container, failed
pull requests whose package was fine. The job now fails only on QA and
error elog. Portage also saves log elog now, and every target's elog is
uploaded and reported in a new section of the pkgcheck report comment,
so reviewers still see the warnings and post-install notes. When
dependency resolution or the emerge fails, the section shows the last
lines of its output, because the elog alone does not show the cause. The
build.log of each package that failed is uploaded as an artifact and
linked from its row.

pkgcheck-comment now also handles the requested event of pkgcheck and
emerge-on-pr, so each section shows that its run is in progress, and
removes the elog section when a push leaves no emerge targets. Because
runs of both sections and of older pushes edit the same comment at once,
upsert-comment-section.sh writes only while the pull request head is
still the run's commit, and reads the comment back to write again when
another run overwrote its section.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-22 09:34:26 +11:00
Zakk e6469aaa0c .github: retry the binhost key download
A failed download reached gpg as empty input and failed the job with only "no valid
OpenPGP data found", so download to a file with retries first.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-21 19:29:12 +11:00
Zakk 86fafae4c9 overlay.toml: keep antigravity's icon pin, autobump 1password, stop liblol
Pass ICON_COMMIT to the engine as a static pin, because the icon is fetched at a fixed commit and would otherwise escalate every antigravity bump.
Turn autobump on for 1password, because engine commit 29b4088 removed the acct-group limitation its comment named.
Turn it off for liblol, because KEYWORDS="-* ~loong" means the amd64 build gate can never install it.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-21 19:26:54 +11:00
Zakk a6b63b9565 overlay.toml: enable autobump for 6 packages
v2rayA, chezmoi, yacd-meta, open-orpheus-bin, zcode-bin and marktext-bin
were bumped as a plain rename plus Manifest in nearly every release since
2025-10. v2rayA keeps older release branches, but each bump replaced only
the newest one, which is what autobump does.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-21 08:48:33 +11:00
Zakk c181ed76f2 overlay.toml: rewrite pinned build ids for four packages
antigravity takes MY_BUILD from the execution_id that the release index
nvchecker already reads lists beside each version; ICON_COMMIT has not
changed since August, so the old reason to keep autobump off is gone.
llama-cpp takes BUILD from the nightly-tag.txt asset of its release.
fcitx-pinyin-zhwiki takes ZHWIKIV from the Arch PKGBUILD that nvchecker
tracks. The piliplus-bin MY_PV regex now requires the +build form, so it
cannot pick the %2B-encoded download URL.

Each regex was run through Rewrite.extract_value against the live source
and returned the value of the current ebuild.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-21 05:58:26 +11:00
Zakk 6ed95f47b4 overlay.toml: enable autobump for 5 packages
osu-lazer-bin, biliup-app-bin, at32workbench, naiveproxy-bin and go-musicfox
were bumped as a plain rename plus Manifest in nearly every release since
2025-10. osu-lazer-bin keeps three versions, so it takes autobump = 3.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-21 05:04:47 +11:00
Zakk 11496921c1 .github: cancel superseded runs and fix check names
Cancel pkgcheck and pr-rules runs of a pull request that a newer push supersedes, and skip the report upload on cancellation so a half-finished scan is never posted.
Name the two target-selection jobs after their workflow, since both showed up as "scan changed ebuilds".
Give the tatt job a static name, because a skipped job never expands its matrix and showed the raw expression.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-20 16:07:56 +11:00
Xianggang Wang a86d64ba2c net-misc/omnyssh-bin: new package, add 1.1.5
Signed-off-by: Xianggang Wang <dev@wangxianggang.com>
2026-10-19 11:34:39 +08:00
Zakk 3e38a423ca .github: comment on a rule-breaking pull request instead of closing it
The required_checks ruleset already blocks the merge for everyone: pr-rules
is a required check and the ruleset has no bypass actors. Closing on top of
that only forced a new pull request for a fixable description. Keep one
comment that names the problems, update it on each run, and delete it once
the rules pass. pr-rules now also triggers the comment job, so editing the
description clears it without a push.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-17 19:58:03 +11:00
Zakk 23717b4246 autobump: add squashfs-tools to the worker image
The artifact diff runs `ebuild clean unpack` without installing BDEPEND.
dev-util/openchamber-bin unpacks its AppImage with unsquashfs, which the
desktop stage3 does not ship, so every run deferred it with "unpack old
failed" and 2.3.1 through 2.4.0 were bumped by hand.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-17 19:57:37 +11:00
HougeLangley 71d2402f36 media-video/hov-qt: new package, add 1.3.1
Signed-off-by: HougeLangley <hougelangley1987@gmail.com>
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-17 16:37:14 +11:00
Yongxiang Liang d6d036dfa3 www-apps/sillytavern: new package, add 1.19.0
因为上游测试套件需要 npm devDependencies 与 Playwright 浏览器环境,打包形态无法运行,所以设置 `RESTRICT=test`。

Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-15 20:46:27 +11:00
Xianggang Wang 178e6769c3 app-misc/magpie-bin: 新增 0.1.1233
Signed-off-by: Xianggang Wang <dev@wangxianggang.com>
2026-10-14 22:34:56 +08:00
Xianggang Wang 050974f73b dev-util/opencode-desktop-bin: new package, add 2.0.28
因为由 Portage 管理安装,所以移除 deb 自更新元数据和原路径的 AppArmor 配置。

Signed-off-by: Xianggang Wang <dev@wangxianggang.com>
2026-10-14 16:49:33 +08:00
Zakk 82b3fce974 net-im/telegram-desktop: new package, add 7.3.1
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-12 07:01:36 +11:00
Zakk d09a49ff02 .github: check commit rules and the PR template in pr-rules
Contributors delete the template, so reviewers cannot see whether
pkgcheck ran or AI was used. The boxes stay optional because not every
contributor can run pkgcheck with --net and the AI box applies only when
AI was used. The autobump bot does not fill in the template and is
skipped.

The commit rules move from pkgcheck into the same workflow, because both
checks read the pull request rather than the ebuilds and must rerun when
the description is edited, which pkgcheck should not.

pkgcheck-comment now also closes a pull request without the template,
and its reply lists the commit and template problems in separate
sections.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 05:45:11 +11:00
Zakk 3b3edd4462 .github: use one naming and formatting style across workflows
Workflow names now match their file stems, so the Actions list and the
files read the same; generate-deps-relation-r1.yml becomes
deps-table.yml after the branch it maintains. Steps are lowercase and
verb-first, every step is named, and the autobump-rb checkout has one
name everywhere.

Also use 4-space step indentation, fromJSON, bare if: expressions,
github.actor for every ghcr login, uppercase env names, and the
GITHUB_REPOSITORY and GITHUB_REPOSITORY_OWNER variables the runner
already sets instead of REPO and OWNER copies. No behaviour changes.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 04:30:43 +11:00
Zakk 0ebff6fd8e .github, scripts: drop dead code and stale comments
AUTOBUMP_JUDGE is set nowhere, so every escalation already goes to a
human; remove autobump-judge.sh and the judge path in
autobump-sweep.py, whose only other entry, the --accept-surface retry,
ran on a judge verdict alone. Behaviour with the variable unset is
unchanged.

Also drop debug output (echo pkgs, targets, cat make.conf), the 130
exit branch that only renamed the generic one, the unused
AUTOBUMP_STATUS_BACKOFF override, and comments that described the
shell autobump-sweep.py replaced or named the wrong caller.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 04:26:16 +11:00
Zakk 8900587f7b .github: narrow token scopes and fix silent CI failures
Jobs inherited write scopes they never use, so each workflow now
defaults to contents: read and grants pull-requests: read or
packages: write only to the jobs whose GITHUB_TOKEN calls need them.
The autobump bump job keeps its own block.

Failures that read as success now fail the step: a failed gh call in
nvchecker-check.py no longer reads as "no issue" and opens a duplicate,
and fleet-keeper no longer reports "found 0" when listing repositories
or workflows fails.

emerge-targets.sh took =cat/foo-bar-1.0 for a version of cat/foo, so a
PR touching both dropped cat/foo; only a digit after the dash starts a
version.

setup-gentoo added the x86-64 binhost on arm64 as well; it is now
added on amd64 only.

mirror-to-codeberg trusted whatever ssh-keyscan returned while holding
a write key; the host key is now pinned and checked.

stage3 cleanup ran even when build was skipped on a fork schedule.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 04:26:16 +11:00
Zakk b598d725b8 .github: check the commit rules as a pull request job
pkgcheck-comment closes a pull request only after pkgcheck has finished,
and its check is not attached to the pull request, so a maintainer could
merge before it ran. A commits job in pkgcheck fails on the same rules
and can be required before merging. Both read the rules from
scripts/commit-rules.sh.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 04:01:09 +11:00
Zakk 937d70afff .github: explain the commit rules when closing a pull request
The reply listed what a commit missed but left the rules vague and gave
no example, so a contributor could not tell how to fix the commits. It
now lists the rules with examples and the commands that fix them.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 04:01:09 +11:00
Zakk f48ddbfecd .github: close pull requests whose commits break pr-text.md
pr-text.md asks every subject to start with what it changes, every
commit to carry Signed-off-by, and a branch rebased without merge
commits. Nothing checked it, so subjects such as "bump version" and
"Update <path>.ebuild" reached master.

pkgcheck-comment already runs with a write token for every pull request
and resolves its number, so it closes one whose commits miss any of
these, replying with each commit, what it misses and how to fix it.
Reverts keep git's default subject.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 03:27:38 +11:00
Zakk 33c52c86a9 .github: let autobump take the newest kept environment image
daily now builds the image every day. A bump run that finds no image for
today, because daily failed or the run started after 00:00 UTC before
daily, built its own, which took ten minutes and repeated what daily
does. Take the newest image of the last three days instead, and build
only when none is kept or rebuild_env asks for it.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 03:27:38 +11:00
Zakk 0a1d3266fb .github: serialize the dependencies table updates
Every master push regenerates the table and pushes deps-table. Merges in
quick succession ran in parallel, and the later push failed with
"cannot lock ref" (runs 37648688135, 37811488830). One group queues
them, and a newer pending run replaces an older one.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 03:27:38 +11:00
Zakk 45a903afc7 .github: start the daily bump round from one workflow
stage3, nvchecker and autobump each had a schedule of their own, and
GitHub starts each 5-8 hours late, so their order shifted from day to
day. daily.yml is now the only schedule: it calls stage3, then
autobump-env on the fresh stage3, and nvchecker in parallel; autobump
runs when daily completes and autobump-wait after it, as before.

The steps are reusable workflows rather than a workflow_run chain,
because workflow_run stops after three levels and autobump-wait would
already be the fourth.

- daily runs at 00:17 UTC, so autobump-env carries the date the bumps
  run on and autobump starts without building its image.
- autobump drops its 11:00 schedule: autobump-wait already dispatches
  it again once the missing bundles are ready.
- stage3, autobump-env and nvchecker keep workflow_dispatch; nvchecker
  run by hand still starts autobump.

Codeberg mirroring no longer runs on every branch deletion: merged
autobump branches queued dozens of runs a day, and the next push or the
daily run prunes them anyway.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-11 03:27:38 +11:00
Zakk d2a85360de .github: run CI in a stage3 image updated daily
gentoo/stage3 is rebuilt weekly, but the tree drops old versions within
days, and emerge cannot rebuild an installed package the tree no longer
has. #14578 failed on such a slot conflict: the desktop images carry
kwindowsystem-6.27, bound to qtbase 6.11.1, and the tree starts at 6.29.

stage3.yml updates every installed package of each profile from the
binhost daily and pushes ghcr.io/<owner>/stage3:<profile>; a failed build
keeps the previous image. emerge-on-pr and tatt run in it, and
autobump-env builds on the amd64-desktop-openrc one.

needs-perl-update.sh only covered the same lag for perl, so it goes.
2026-10-11 00:50:45 +11:00
Xianggang Wang 41e71fb7fc dev-util/openchamber-bin: new package, add 2.2.0
因为 AppImage 运行器不能在异架构主机上执行,所以在 `src_unpack` 中用 `readelf` 计算 squashfs 偏移。
因为 Electron 使用 Node.js,所以移除不会加载的 Bun、musl 和异架构原生模块。
因为 `sherpa-onnx.node` 的 RPATH 含上游构建机目录,且 amd64 版本含当前目录,所以用 `patchelf` 将它限定为 `$ORIGIN`。

Signed-off-by: Xianggang Wang <dev@wangxianggang.com>
2026-10-10 14:45:55 +08:00
Zakk ed7fcfd120 .github/workflows/nvchecker.yml: write repos.conf instead of eselect repository
eselect repository downloads repositories.xml from api.gentoo.org first.
On 2026-10-09 the runner resolved that host to IPv6 addresses only, could
not reach them, and the eix job failed before any check ran. Neither repo
needs the list: write their repos.conf entries directly and drop
app-eselect/eselect-repository from the job's dependencies.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-10 04:22:41 +11:00
Zakk 2f30c2b099 overlay.toml: track liblol by its version tags
AOSC-Dev/liblol published debian/v0.1.11-1 as its latest release, which
is not a Portage version (#14544, #14545, #14546). The three liblol
entries now take the highest vX.Y.Z tag instead.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-10 04:22:41 +11:00
Zakk d342adb503 overlay.toml: enable autobump for app-misc/fast-resume
gentoo-zh-drafts/fast-resume now has the crate-dist mirror sync, so the
crates tarball of a new version is built from its tag; v2.13.1 was the
first one. The past bumps were rename + Manifest only.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 11:32:47 +11:00
Zakk efffb41101 overlay.toml: enable autobump for 29 packages
Each of these had only rename + Manifest bumps in the last six months
(git log since 2026-04-09). A bump that is not mechanical escalates to a
manual one.

net-misc/tsshd was turned off because its vendor tarball on
gentoo-zh-drafts is generated per version; autobump now waits for that
bundle and resumes the issue.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 11:13:32 +11:00
Zakk afb88a7577 .github/workflows: start autobump without the one-minute wait
The wait job slept 60 seconds because the issue search index lags issue
creation. The sweep now lists open issues without --search and keeps the
[nvchecker] titles with jq, so a new issue is listed at once and plan
carries the nvchecker gate itself.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 10:15:25 +11:00
Zakk f5d58ef416 .github/workflows: wait for missing bundles after autobump
autobump-wait runs autobump-rb's wait.py when an autobump run finishes.
It waits for the bundles that run found missing and dispatches autobump
again for those issues once they exist. The bundle repos it reads are
public, so it reads them with the job token, which outlives the up to
three hours it polls; an App installation token expires after one.

autobump.yml names a run dispatched with issues "autobump issues: N",
so a waiter can tell the run it dispatched from one another waiter
dispatched. The plan job uploads its snapshot and delta even when it
fails, so the waiter can read them.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 10:15:25 +11:00
Zakk dda38c1d2b profiles: last-rite app-misc/copilot
Unmaintained. Removal on 2026-11-09. Comment out its nvchecker entry so
no new version issue or autobump PR is opened while the mask is in place.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 03:52:38 +11:00
Zakk f81f569807 .github/workflows/nvchecker.yml: keep active runs
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-08 03:12:55 +11:00
Zakk bb2d857264 autobump.yml: give each package a fresh worker
Shared checkouts left later packages waiting on tracked modifications. Give each
attempt its own job while retaining eight concurrent workers. Cap planned attempts at
the matrix limit, including explicit issue lists.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-07 01:54:03 +11:00
Xianggang Wang ae6075af93 dev-util/t3code-bin: new package, add 0.0.45
Signed-off-by: Xianggang Wang <dev@wangxianggang.com>
2026-10-06 17:24:07 +08:00
Zakk 7b00ef7d5a net-proxy/clash-rs: follow upstream to Watfaq-legacy
The Watfaq organization was renamed to Watfaq-legacy, so the old URLs only
redirect. GIT_CRATES keep the Watfaq URLs because they must match
Cargo.lock.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-05 21:10:52 +11:00
Zakk 46d0513c78 .github/workflows/nvchecker.yml: skip new versions Portage cannot parse
nvcmp --sort portage raises TypeError on a new version that Portage
cannot parse. On 2026-10-04 the tag mobile-v0.1.5 failed the whole job,
so the job opened no bump issue for any package.

scripts/nvchecker-check.py restores the old version of such an entry,
so nvcmp still compares the other packages, and opens one issue per
package and version that CCs the package maintainers. It also prints a
warning for each package whose upstream returned no version.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-05 20:35:32 +11:00
Zakk d916cc1a87 x11-terms/tty7-bin: ignore mobile releases in nvchecker
Upstream now publishes mobile-v* releases in the same repository, and
use_latest_release picked mobile-v0.1.5. nvcmp --sort portage then fails
on that invalid version and aborts the whole nvchecker job.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-05 19:27:13 +11:00
Yongxiang Liang f6d505dbbf dev-util/zcode-bin: new package, add 3.14.4
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
2026-10-02 21:44:23 +10:00
Zakk 2c57d8f903 overlay.toml: enable autobump for net-proxy/sing-box-windows-bin
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-02 10:16:11 +10:00
Zakk ea89920251 overlay.toml: enable autobump for net-misc/another-redis-desktop-manager-bin
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-02 10:06:53 +10:00
Zakk a8f4957b99 .github: update perl when the target pulls perl modules
The stage3 images can ship an older dev-lang/perl than the one the
binhost builds perl modules against. A target that pulls a new perl
module then schedules the newer perl while installed modules keep the
old one, and emerge stops on a dev-lang/perl:0 slot conflict.

When the target's dependencies would replace dev-lang/perl, update it
from the binhost first, then run `perl-cleaner --all` to reinstall the
modules built for the old perl, as the Gentoo perl upgrade news item
recommends.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-02 08:51:19 +10:00
Zakk 756d956d1e .github/workflows: trim comments, drop autobump-selftest
Long inline shell and repeated explanations obscure the job sequence.
The engine already has its own selftest.

Because one failed issue update must not cancel the others, disable
matrix fail-fast. An empty eix result must produce an empty package map.
Pin the push action because the dependency-table job grants it write
access.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-02 01:54:16 +10:00
Zakk 5cefccb26c .github/workflows: move trial and pkgcheck comment logic into scripts
Because the engine returns to master, restore the dispatched ref so
every trial target uses the selected scripts. Reuse the worker image
because it already supplies the trial setup and tools.

A skipped report job leaves no artifact, so skip its download and comment
instead of failing the comment workflow. Select a marker across all
comment pages because per-page lookup can return several comment IDs.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-02 01:54:16 +10:00
Zakk a12c7f8d37 .github: share Gentoo setup and changed-package detection
The repeated stage3 setup obscures the package tests.

Because gh pr view stops at 100 files, use every API page so large PRs
test every changed package. Match ignore prefixes literally because
regex metacharacters also exclude unrelated paths.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-02 01:54:16 +10:00
Puqns67 9e5b4c6cdb games-arcade/osu-lazer-bin: disable autobump 2026-10-01 23:27:34 +08:00
Zakk 6fced8485a .github/workflows: give CPU flags only to packages that need them
emerge-on-pr and tatt gave the runner's CPU flags to every target, and autobump and
autobump-trial to every package through */*. A package with optional flags, such as
dev-util/opencode-bin or sci-ml/llama-cpp, was then tested only in its runner
variant, never in the baseline one most of its users get, and in autobump a
dependency with such flags would no longer match the binhost's USE and would be
built from source.

Each workflow now tries the package with the baseline flags first and writes the
runner's flags only when its REQUIRED_USE is unsatisfied, as for dev-util/hunk-bin
and dev-util/oh-my-pi-bin. The check accepts all keywords and licenses, because a
masked package does not report its REQUIRED_USE.
The four workflows share the check in scripts/needs-cpu-flags.sh.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-01 15:54:24 +10:00
Zakk fa3c9c7770 .github/workflows/overlay.toml: declare four more vendor bundles
cc-switch, clash-verge-rev, dae and agent-workspace-linux download per-version
bundles that were only built by hand or by an hourly sync, so autobump or a manual
bump could reach them before the bundle exists. With the entries the plan dispatches
the producer for a new version and holds the bump until the release is complete.
clash-verge-rev's service crates follow a pinned commit rather than the version, so
they stay a manual step.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-01 03:31:42 +10:00