Commit Graph
18 Commits
Author SHA1 Message Date
Zakk 0a466f6e82 scripts/autobump: a missing vendor bundle is a defer, not a manual bump
autobump-rb#8 makes a missing per-version deps bundle exit 2 and retry, because
that artifact is generated asynchronously by the nvchecker dispatch and autobump
can arrive first. Move it from the escalate list to the defer list in both docs,
and say that a defer only reaches a human after the retries run out.

Merge after autobump-rb#8; before that the docs describe the old behaviour.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-31 12:01:54 +10:00
Zakk c79c10d19b scripts/autobump-sweep: report an issue status comment that never posted
status_comment gives up silently when both its edit and create paths exhaust
their retries: the run still reports success and the issue shows nothing.
Run 32950464097 escalated sci-mathematics/rstudio-desktop-bin (#12594) and the
issue carries no comment at all, so the handover was lost with no trace.

Record the failure per issue and append "(status comment not posted)" to that
issue's line in the sweep summary. The bump result itself is unchanged, and no
extra comment attempt is made.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-31 12:01:54 +10:00
Zakk cbdd25f29f .github/workflows/autobump: raise the per-run budget to 30 packages
The sweep attempts 10 packages per run and the queue outgrew it: across the last
60 runs, 14 issue outcomes were "skip (per-run attempt limit 10 reached)", so
candidates waited a day for no reason other than the cap.

Raise the limit to 30 and the job ceiling to the 6 hours GitHub allows. The
per-package ceiling stays at two hours, so one heavy from-source dependency
still fits inside the job with room for the rest of the sweep.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-31 12:01:54 +10:00
Zakk 367495674f scripts/autobump: document the gh trigger and the real limits
因为文档只写了网页上的 Run workflow,所以补上 gh workflow run 的三种用法和
workflow 页面的链接。
因为顶部的 cron 早已启用,所以删掉说它被注释掉的那句。
补上 200 分钟的 job 上限和单个包两小时的上限,两者都不会让脚本提前结束。

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-08 02:14:28 +10:00
Zakk b86df17a58 scripts/autobump-sweep.sh: print the engine's full output on failure
Only the last 4 lines were kept, and the engine's evidence directory
lives inside the CI container and dies with it, so a failed bump left
nothing to diagnose. A push rejected by GitHub's workflow-scope guard
showed just the rejection line, with no way to see what the commit
carried.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-03 16:39:56 +10:00
Zakk 6d38dc36e4 scripts/autobump.md: rewrite around how it works and what to opt in
The documents opened with the opt-in mechanics and left the pipeline to be
inferred from the outcome names, so a reader could not tell what the engine
actually does before deciding whether to enable a package. Lead with the four
pipeline steps and the three outcomes they produce, then list which package
shapes are suitable and which are not.

The Chinese version used half-width commas inside Chinese sentences; those are
now full-width, matching the READMEs.
2026-07-31 18:29:33 +10:00
Zakk ed5071f22d .github/workflows: pkgcheck: comment scan results for changed packages
因为仓库级扫描只在 NonexistentDeps 上失败,所以改动的 ebuild 上 warning 级别的问题
不会让 CI 变红。

因为 pkgcheck 会 source 它扫描的 ebuild,等于执行 PR 里的代码,所以扫描只拿只读
token,评论由 workflow_run 另起一个不检出该代码的任务发出。

因为包里原有的问题会淹没 PR 引入的那几条,所以基线分支也扫一遍,评论只列新增的。
2026-07-29 22:40:59 +10:00
Zakk 13ea198b12 autobump: finalize the status comment when already at target 2026-07-22 11:57:02 +10:00
Zakk 4ee7246d48 autobump: don't recommend packages turned off with '# autobump off' 2026-07-21 17:25:36 +10:00
Zakk e56c02ea25 autobump: plain-text status/trial comments (no emoji), mark opted-in issues 2026-07-20 13:51:46 +10:00
Zakk 08ae8d5c1f autobump: post one clean editable status comment per issue
Upsert a single marked comment per [nvchecker] issue (edit in place, no
spam): processing / opened PR / escalate / defer. Escalate leads with the
engine's clear one-line reason, collapses raw evidence into <details>, and
links the run log; success links the PR.
2026-07-20 11:47:25 +10:00
Zakk 8b5d77dab8 autobump: document keep_old, autobump-trial, and the trial-built section
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-07-20 09:51:39 +10:00
Zakk 4ef148c0e3 autobump: score clean add-only bumps as mechanical and forward keep_old
autobump-discover.sh now counts a byte-identical add-only bump (new ebuild
identical to the newest prior version, old one kept) as mechanical, not only
a rename, so version-keeper packages score correctly instead of 0%. A shared
BUNDLE_RE rejects a self-hosted per-version bundle (-vendor/-crates/-deps/
-pubcache/-vcpkg/-web/... regenerated out of band) in either branch -- also
rejecting a plain ebuild co-added alongside a rename -- while leaving
multi-arch prebuilt blobs alone. autobump-sweep.sh reads a per-package
keep_old = N (from the comment-stripped line) and forwards --keep-old=N so
the engine keeps the N most-recent versions (0 or true keeps all).

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-07-20 09:51:39 +10:00
Zakk edd19f6cfc autobump: add daily mechanical-bump CI (Ruby engine autobump-rb) 2026-07-19 19:00:52 +10:00
peeweep df8cbff28f scripts: cleanup unused scripts
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
2026-07-19 11:16:35 +08:00
Havanna a37840e5eb app-office/wps-office: version bump to 8.1.0.3839 2013-03-22 21:12:12 +08:00
stlifey joe b8c1d23bd5 add script generate_manifest ; rebuild Manifest ; clean up more outdated ebuild
todo : media-fonts/cwttf (the site is down , new project site : http://code.google.com/p/cwtex-q-fonts ... )
2012-12-26 17:50:38 +08:00
Lan Yixun d333fd15d6 thin manifest: script which doing the Manifest cleanup
why I wrote this script, since I don't have all the packages sources!@

the goal of this scrtipt is :
1) clean all file's checksum which already managed by git
  (means file's checksum belong to this overlay will be removed)
2) keep the source code/tarballs/patch which should fetch from external
  (means file not belong to this overlay need to be preserved)

hope I don't break anything

Signed-off-by: Lan Yixun <dennis.yxun@gmail.com>
2012-06-15 15:51:20 +08:00