Skip to content

贡献流程:加 CODEOWNERS 和 PR 模板,通道协议文档加英文版 - #13

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 检查和隐私扫描、签名和发版脚本、发版校验和。动了这些路径的 PR,GitHub 自动请负责人审查。规则集里不打开「必须由 Code Owner 审批」,所以不挡合并。
  • 加 .github/pull_request_template.md,中英一份,带 Refs 行。
  • 新增 docs/protocol-v1.en.md:通道协议 v1 的英文版,和中文版逐节对应(11 个标题、31 行表格、2 个代码块两边相同)。字段名、十六进制示例、按键码原样保留。两份 README 指过去,英文 README 不再写 "(in Chinese)"。
  • changelog.d/README.md:不会写中文的用英文写,由维护者在合并前改成中文。

怎么验证的

  • python scripts/privacy.py . --allowlist scripts/privacy-allowlist.json:通过。
  • 英文版对着中文版和 HostProtocol.java 逐节读过一遍。
  • 没改代码,协议自测和 APK 构建看 CI。

Refs ModAVD/ModAVD#127

- .github/CODEOWNERS:只列高风险路径(签名和发版、CI 检查),动了这些路径的 PR 自动请负责人审查。
- .github/pull_request_template.md:中英一份,带 Refs 行。
- docs/protocol-v1.en.md:通道协议 v1 的英文版,和中文版逐节对应;两份 README 指过去。
- 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 c2e3135 Nov 26, 2026
5 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