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
44690c4554
kernels.md: cover all seven kernel packages, add cross-references
...
dist-kernels.md 改名 kernels.md:七个内核包里四个是 -sources,不是
dist-kernel。全部 inherit cjktty:gentoo-cjk-sources/-kernel/-kernel-bin、
cachyos-sources、xanmod-sources、xanmod-kernel、liquorix-sources。改成
共通规则加一张表:每个包 bump 时对照同版本上游核对哪些变量、哪些
是设计上固定的;新打内核包照表里同模型的那个,并补一行。按 codex
对照 git 历史的审查改:CJKTTY_PV 是补丁文件名的版本后缀,补丁换了
就换,同分支也会变;cjktty 补丁碰的路径从补丁本身取,不手写清单;
K_WANT_GENPATCHES、DEBIAN_COMMIT 进核对列;不写死版本号。
规则文件之间要交叉读:每个文件第一行 Read with 写清从这里下一步读
哪份;根档路由写明阅读顺序:根档 → version-bumps 或 new-packages →
碰到的每个面 → 提交前 pr-text。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-09-13 06:00:03 +10:00
Zakk
5b317ba99b
AGENTS.md: add distribution kernel rules
...
来自 6.12/6.18/7.1/7.2 四条分支的维护(#13309、#13356):逐版变量照抄
::gentoo 同版 ebuild、PATCHSET 落后分支、CJKTTY_PV 是补丁名、点版本用
增量补丁判断要不要换补丁、cjktty 补丁是 master 活字节、-bin 落后一版
分两次合并、virtual 的 || 里 -bin 在前、个人镜像的 genpatches DeadUrl
多为镜像滞后。只收写 ebuild 的规则,不收测试环境。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-09-13 04:24:07 +10:00
Zakk
3fc5deee20
AGENTS.md: add precedent search, download approval, and eclass rules
...
新增 16 条,来自 2026-09 的 bump 与 review,每条附出处。另补 overlay.toml 字段惯例(use_latest_release/use_latest_tag、prefix、github_account、autobump 选择加入)。
根档
- 用 grep 和 gentoo.git 的 git log -S 搜先例,不凭记忆(#13269、#13295)。
- 第一次下载 package payload 前报 URL 与上游标称大小,等批准(维护者要求)。
- ebuild(1) install 不解析依赖;src_install 里 fowners 到 acct 用户要 BDEPEND 和 RDEPEND(#13308,acct-user.eclass)。
- launcher 脚本调用的非 @system 命令用 qfile 或仓库搜索找 provider;xdg-user-dir 属 x11-misc/xdg-user-dirs(#13269)。
eclass-discovery
- 不重复 eclass 已有的赋值:git-r3 的 PROPERTIES="live"(#13295)。
- cargo GIT_CRATES 生成 [patch.'url'],覆盖不了上游 [patch.crates-io];URL 按 Cargo.lock 写(pnpm 12.4.1)。
- go-module 的 install QA 扫 WORKDIR 下全部 go.mod;确认无路径使用的子模块可删,否则抬 floor(queqiao #13308)。
version-bumps
- GitHub tag 包无 .git,git describe 取不到版本时显式传版本(mkinitcpio 42)。
- files/ 里复制的上游文件每次 bump 要 diff(mkinitcpio #13351)。
- CI 快照未含所需 ::gentoo 版本时保持 atom、开 draft、快照更新后重跑(fcitx 5.1.22)。
new-packages
- 跟踪 tag 且 tag 混其他包或版本方案时用 use_max_tag + include_regex(app-editors/xed)。
prebuilt-binaries
- REQUIRES_EXCLUDE 只过滤 REQUIRES,限用于已验证的假阳性(wechat #13269)。
- 运行时自校验的文件用 dostrip -x(net-proxy/flclash-bin)。
- dotnet-pkg-base 预编译包的 DOTNET_PKG_COMPAT 要对上 runtimeconfig(games-server/vintagestory-server #11210)。
另加:pkgdev 与 pkgcheck 缺一即停、让人 emerge,不用 git commit 或自写 lint 代替;gh 可选,没有就给 compare 链接。「re-check from a second network」改成 second vantage point,单机贡献者未必有第二个网络。
2026-09-13 04:24:07 +10:00
Zakk
bf8a864bfb
AGENTS.md: split into a core file and .agents/rules
...
AGENTS.md 已到 35.7 KB,超过 Codex 的 project_doc_max_bytes 默认 32 KiB,
末段会被截掉;其他客户端也要每次读全部规则。
根档只留所有任务都要遵守的节(Git Workflow、Ebuild Policy、
Dependencies and Revisions、Code Style、Commands and QA、Writing、
Completion Report)。只在某类改动才用到的七节整节搬到 .agents/rules/
按需读:version-bumps、new-packages、prebuilt-binaries、
desktop-integration、openrc-systemd、eclass-discovery、pr-text。
根档新增 Task routing 一节说明何时读哪份。
规则逐字搬家、原序不变;只改两处跨节指涉(under Bundled and Prebuilt
Binaries → 文件路径;causality rule above → AGENTS.md § Writing)。
Closes #13102
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-09-13 04:24:07 +10:00
Zakk
e206b58116
README, AGENTS.md: every package needs an overlay.toml entry
...
以前要求同一来源只留一条 nvchecker 条目,是因为 bumpbot 按标题搜索
既有 issue 时把源码包和 -bin 混在一起。bumpbot#5 已修,overlay.toml
已全部打开(#13359、#13360)。规则改成所有包都要添加。
acct-*、virtual 那行也改成实际做法:列成注释行,不写理由。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-09-13 04:10:41 +10:00
Zakk
471a474a8b
overlay.toml: fold keep_old into the autobump value
...
因为开启与保留策略要分写两个键,所以并进 `autobump` 的值:`true` 只替换,`N` 保留最近
N 个,`"all"` 全部保留,五个包一并迁移。
因为 `autobump-discover.sh` 按字面匹配 `autobump = true`,所以 `autobump = 2` 的包会被
当成从未决定而重新推荐,同步改判断。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-09-01 23:49:22 +10:00
Xiangzhe
d453e2bd28
sys-kernel/cachyos-sources: add 7.2.2-r1, drop old versions
...
Signed-off-by: Xiangzhe <xiangzhedev@gmail.com >
2026-08-29 14:25:49 +08:00
Zakk
bbaf3c8b48
AGENTS.md: correct inaccurate rules
...
Eleven rules asserted behaviour the tree contradicts: a repo.xml the
overlay does not have, an elog gate that also fails on dependencies, a
vercmp command Portage does not install, a license_groups entry for a
license that belongs to no group, a no-redistribution license naming
neither mirror nor bindist, a go version the tree has moved past,
"built" slot operators where pkgcheck flags ":=", an origin assumed to
be a fork, ${D} said to carry EPREFIX, a CI matrix said to cover amd64
alone, and a dist-kernel virtual told to land in its own commit.
Say what to do about a red elog gate as well, since the message often
comes from a dependency rather than from the change under review, and
name the report the QA notices section opened by referring to.
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-08-29 00:21:18 +10:00
Zakk
23755d8042
AGENTS.md: add OpenRC rules
...
因为 OpenRC 下补服务脚本时反复踩到同样的坑:把 systemd 的 `Restart=` 用 supervise-daemon 模拟出来、拿 `umask` 去修单个文件的权限、`capabilities` 对 root 服务不生效、`required_files` 挡住守护进程自己创建配置的首次启动,所以把逐条实测过的结论写进来。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-08-29 00:21:18 +10:00
Zakk
99dda9f266
AGENTS.md: read the bot report as part of triaging a finding
2026-08-20 01:46:34 +10:00
Zakk
e2b6de97a6
AGENTS.md: order sections by task and make each rule stand alone
2026-08-20 01:30:15 +10:00
Zakk
678bfe4989
AGENTS.md: tighten PR scope, verification, and dependency rules
2026-08-20 01:30:15 +10:00
Zakk
8cd943f00a
AGENTS.md: record live-version ordering and merge-state checks
...
因为 9999 在日期版本号面前反而是最旧的,写成 9999 的 live ebuild 即使接受了 ** 也选
不到,所以补一条命名规则。
因为拿没有重新 fetch 的引用判断合并状态会得出相反结论,也因为拿个人 fork 的 master
做对比会把几十个无关提交算进 diff,所以补一条基准要求。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-08-17 18:37:27 +10:00
Zakk
0863e97589
AGENTS.md: add retention, dependency, and desktop integration rules
...
因為舊版本保留原本只散在版本升級一節的幾句話裡,讀起來像預設要保留,所以拆成獨立一節,預設改為替換,並和 `keep_old` 對齊。
因為視窗圖示與 ozone 開關反覆被憑猜測改動,所以新增一節,要求先量測執行中的 `app_id` 與實際生效的平台。
其餘各條對應複審裡重複出現的問題:來源不明的依賴、`${EPREFIX}` 用在已含偏移的路徑上、只刪除未安裝檔案的死分支、非 `::gentoo` 授權的存放位置、`overlay.toml` 的字母序,以及把本檔條文當成拒絕執行的理由。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-08-13 19:23:24 +10:00
Zakk
7807ce9094
AGENTS.md: require a dist-kernel provider in its version virtual
...
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-08-08 17:28:18 +10:00
Zakk
84508193d4
AGENTS.md: name the subject form for a new package
...
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-08-08 16:58:10 +10:00
peeweep
19a7232d5b
AGENTS.md: recognize microcai remote
...
Signed-off-by: jinqiang zhang <peeweep@0x0.ee >
2026-07-31 13:17:30 +08:00
peeweep
29f5c38d1f
AGENTS.md: add code style
...
Signed-off-by: jinqiang zhang <peeweep@0x0.ee >
2026-07-31 10:27:45 +08:00
Zakk
69bd4ce3b7
AGENTS.md: rewrite as a concise, self-contained standard
...
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-07-28 15:30:56 +10:00
Zakk
c5e5d7adf3
AGENTS.md: add PR description guidelines
...
Write the description in the opener's own language, short and plain, with no
dual-language wall; a tool may draft it but a human confirms and previews the
exact text and changed files before sending. Keep the repository PR template and
tick a box only after its check has run.
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-07-18 22:24:59 +10:00
Zakk
f7e5ec5a6a
AGENTS.md: document the CI elog gate, prebuilt QA, and non-mechanical bumps
...
Fold hard-won CI and packaging rules into the guideline as terse, tool-agnostic policy:
the emerge-on-PR elog gate, prebuilt-blob QA, non-mechanical bumps, QA fix discipline,
the pkgdev/single-commit conventions, dead-URL re-verify, and watching CI after a PR.
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-07-18 22:24:59 +10:00
Locez
60d049cde7
AGENTS.md: refine PR preflight
...
Signed-off-by: Locez <locez@locez.com >
2026-07-08 23:47:19 +08:00
Locez
ec323b36a6
AGENTS.md: document CI ignore list
...
Signed-off-by: Locez <locez@locez.com >
2026-07-06 21:44:23 +08:00
Locez
2917bf9964
repo: require PR workflow for automated changes
...
Signed-off-by: Locez <locez@locez.com >
2026-07-05 18:53:55 +08:00
Locez
61cc7acc71
add AGENTS.md
2026-07-05 16:56:31 +08:00