Skip to content

贡献流程:加 CODEOWNERS 和 PR 模板,README 写明界面文字怎么加翻译 - #205

Merged
qiyinxi merged 1 commit into
ModAVD:mainfrom
qiyinxi:dev/issue-127-contrib
Nov 26, 2026
Merged

qiyinxi merged 1 commit into
ModAVD:mainfrom
qiyinxi:dev/issue-127-contrib

Conversation

@qiyinxi

@qiyinxi qiyinxi commented Nov 26, 2026

Copy link
Copy Markdown
Member

推进 ModAVD/ModAVD#127 剩下的几件,并补上只读英文的开发者会卡住的一处。只动文档、模板和 .github/,不改代码。

改了什么

  • 加 .github/CODEOWNERS,只列高风险路径:workflow、CI 检查和隐私扫描、发版校验和,组件下载,整包更新,客体里以 root 运行的守护进程和推进客体的程序,在用户电脑上打补丁再挂进每台实例的客体系统库、Play 商店安装,数据盘和 qcow2。动了这些路径的 PR,GitHub 自动请负责人审查。规则集里不打开「必须由 Code Owner 审批」,所以不挡合并。
  • 加 .github/pull_request_template.md,中英一份,带 Refs 行。
  • README.md、README.en.md 的「参与」加一条:给人看的文字在代码里写中文、中文原文是翻译表的键,新加以后怎么补英文,指到 internal/i18n/README.md。以前这个流程没有入口。
  • changelog.d/README.md:不会写中文的用英文写,由维护者在合并前改成中文。

怎么验证的

  • python scripts/privacy.py . --allowlist scripts/privacy-allowlist.json:通过。
  • CODEOWNERS 里的每条路径都对着 main 上的文件核过,都有对应的文件。
  • 没改代码,Go 的测试没在本机重跑,看 CI。

Refs ModAVD/ModAVD#127

- .github/CODEOWNERS:只列高风险路径(组件下载、整包更新、推进客体的程序、数据盘、CI 检查),
  动了这些路径的 PR 自动请负责人审查。
- .github/pull_request_template.md:中英一份,带 Refs 行。
- README.md、README.en.md 的「参与」:界面文字在代码里写中文、中文是翻译表的键,怎么补英文。
- changelog.d/README.md:不会写中文的用英文写,由维护者在合并前改成中文。

Refs ModAVD/ModAVD#127
@qiyinxi qiyinxi added the documentation Improvements or additions to documentation label Nov 26, 2026
@qiyinxi
qiyinxi added this pull request to the merge queue Nov 26, 2026
Merged via the queue into ModAVD:main with commit 4725c7c Nov 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant