From ba6441fd9cfda6a9586bbb877408fd84acea67ee Mon Sep 17 00:00:00 2001 From: qiyinxi Date: Fri, 27 Nov 2026 17:02:09 +0100 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E8=AF=B4=E6=98=8E=EF=BC=9A?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=B4=E6=98=8E=E6=96=87=E4=BB=B6=E6=94=B9?= =?UTF-8?q?=E6=88=90=E4=B8=AD=E8=8B=B1=E4=B8=A4=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs ModAVD/ModAVD#261 --- docs/develop/index.md | 2 +- docs/en/develop/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/develop/index.md b/docs/develop/index.md index 638c66b..4552b56 100644 --- a/docs/develop/index.md +++ b/docs/develop/index.md @@ -58,7 +58,7 @@ issue、PR、评论和提交说明用中文或英文都可以。 - **PR 正文**:写改了什么、为什么,实际跑过哪些检查、结果怎样。对应的 issue 单独写一行 `Refs ModAVD/ModAVD#<编号>`,在别的仓库里也写全称;ModAVD 仓库的 PR,类型和 `area:*` 标签会从 issue 自动抄过来。 - **不写 `Fixes`、`Closes`**:issue 不在合并时关。合并的人给 issue 打上 `pending-release`,带着这个修复的版本发布时才关。文档、测试、CI 这类不随安装包发的改动,合并时直接关。 -- **更新说明**:用户看得见的改动,在同一个 PR 里加一个 `changelog.d/<名字>..md`,写一行给用户看的话,写法见各仓库的 `changelog.d/README.md`。这一行会进中文的发版公告;不会写中文就用英文写,在 PR 里说一声,由维护者改成中文。 +- **更新说明**:用户看得见的改动,在同一个 PR 里加一个 `changelog.d/<名字>..md`,写两行给用户看的话:第一行中文,第二行英文,说的是同一件事,写法见各仓库的 `changelog.d/README.md`。中文那行进发版公告的中文部分(也同步到 Mirror 酱和 AUTO-MAS),英文那行进 GitHub 发布页的英文部分。不会写中文就只写英文那行,在 PR 里说一声(检查会报少了中文那行),由维护者补上中文。 - **检查**:PR 上的 CI 全绿才能合。CI 跑什么见各分区的页面,本地能跑的先在本地跑过。 - **审查**:动了高风险路径的 PR,GitHub 会自动请负责人审查,审过再合。高风险路径列在各仓库的 `.github/CODEOWNERS`:workflow、CI 检查和隐私扫描本身、发版和签名、组件下载和整包更新、推进客体的程序、数据盘、模拟器补丁。其余的 PR 不要求审批,CI 绿了就能合。 - **问题分级**:审查里提出的问题按 P0–P3 分。P0、P1 合并前修完;P2、P3 不挡合并,合并后挂 issue。 diff --git a/docs/en/develop/index.md b/docs/en/develop/index.md index ea617de..764db71 100644 --- a/docs/en/develop/index.md +++ b/docs/en/develop/index.md @@ -58,7 +58,7 @@ Changes reach `main` in every repository only through a PR, and PRs are merged t - **PR description**: say what changed and why, and which checks you actually ran and how they went. Name the issue on a line of its own, `Refs ModAVD/ModAVD#`, in full even in the other repositories; on PRs in the ModAVD repository, the type and `area:*` labels are then copied from the issue automatically. - **Do not write `Fixes` or `Closes`**: issues are not closed at merge time. Whoever merges adds `pending-release` to the issue, and it is closed when a release that contains the fix is published. Issues about documentation, tests or CI, which do not ship in the package, are closed at merge time. -- **Release note line**: for a change users can see, add a file `changelog.d/..md` in the same PR with one line written for users; how to write it is in each repository's `changelog.d/README.md`. The line goes into the release notes, which are in Chinese. If you do not write Chinese, write it in English and say so in the PR; the maintainer will put it into Chinese. +- **Release note line**: for a change users can see, add a file `changelog.d/..md` in the same PR with two lines written for users: Chinese first, then English, both saying the same thing; how to write them is in each repository's `changelog.d/README.md`. The Chinese line goes into the Chinese part of the release notes (also shown on MirrorChyan and in AUTO-MAS), the English line into the English part on the GitHub release page. If you do not write Chinese, write only the English line and say so in the PR (the check will report the missing Chinese line); the maintainer will add the Chinese. - **Checks**: a PR can be merged only when all of its CI checks are green. What CI runs is on each area's page; run locally first whatever you can. - **Review**: for a PR that touches a high-risk path, GitHub asks the code owner for a review automatically; wait for that review before merging. The high-risk paths are listed in each repository's `.github/CODEOWNERS`: workflows, the CI checks and the privacy scan themselves, release and signing, component download and package update, programs pushed into the guest, data disks, and emulator patches. Other PRs need no approval and can be merged once CI is green. - **Severity**: problems raised in review are graded P0 to P3. P0 and P1 are fixed before merging; P2 and P3 do not block the merge and become issues afterwards.