Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Code owners list only the high-risk paths: places where a mistake loses users' data, runs with privilege, or
# weakens the checks themselves. GitHub asks the owner to review a pull request that touches one of them. Everything
# else is merged once CI is green. How pull requests are reviewed and merged:
# https://github.com/ModAVD/ModAVD/blob/main/CONTRIBUTING.en.md
# 只列高风险路径:动了这些路径的 PR,GitHub 会自动请负责人审查;其余的 CI 绿了就能合。
# 流程见 https://github.com/ModAVD/ModAVD/blob/main/CONTRIBUTING.md

# Workflows and their permissions, Dependabot, this file
/.github/ @qiyinxi

# The CI gate, the privacy scan and its allowlist, release checksums
/scripts/repo_checks.py @qiyinxi
/scripts/privacy.py @qiyinxi
/scripts/privacy-allowlist.json @qiyinxi
/release/ @qiyinxi

# Component download
/internal/components/ @qiyinxi
/internal/download/ @qiyinxi

# Full-package update
/internal/update/ @qiyinxi

# The daemon that runs as root in the guest, and programs pushed into the guest
/cmd/modavd-proxyd/ @qiyinxi
/internal/appproxy/ @qiyinxi
/internal/emu/appproxy* @qiyinxi
/internal/guest/ @qiyinxi

# Guest system libraries patched on the user's machine and mounted in every instance, Play Store install
/internal/guestpatch/ @qiyinxi
/internal/ndkfix/ @qiyinxi
/internal/vkfix/ @qiyinxi
/internal/emu/guestfix* @qiyinxi
/internal/playstore/ @qiyinxi
/internal/emu/playstore* @qiyinxi

# Data disks and qcow2
/internal/emu/disk* @qiyinxi
/internal/emu/compact* @qiyinxi
/internal/emu/datagrow* @qiyinxi
/internal/emu/bridge_backing* @qiyinxi
28 changes: 28 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
中文或英文都可以。PR 怎么审、怎么合:https://modavd.github.io/develop/#review-and-merge
Write in Chinese or English. How pull requests are reviewed and merged: https://modavd.github.io/en/develop/#review-and-merge
-->

## 改了什么 / What changed



## 怎么验证的 / How it was verified

<!--
实际跑过的检查、条件和结果;没测的照实写。用了 AI 工具的,写它实际跑过什么。
The checks you actually ran, the conditions and the results; say plainly what was not tested. If an AI tool was used, say what it actually ran.
-->



## 核对 / Checklist

- [ ] 用户看得见的改动带了 `changelog.d/<名字>.<feat|fix|change|remove>.md`(只动开发、测试、CI、文档的不用) / A change users can see comes with `changelog.d/<name>.<feat|fix|change|remove>.md` (not needed for development, tests, CI or docs)
- [ ] 中英成对的文档(`X.md`、`X.en.md`)两份都改了;只会一种语言的在上面说一声 / Both files of a Chinese / English pair (`X.md`, `X.en.md`) are changed; if you write only one of the languages, say so above

<!--
对应的 issue 写在下面这一行;没有就删掉。不写 Fixes / Closes:issue 在发版时关。
Name the issue on the line below, or delete the line if there is none. Do not write Fixes / Closes: issues are closed at release time.
-->
Refs ModAVD/ModAVD#
1 change: 1 addition & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ The 4 KiB guest helper in `internal/guest/regional/Regional.java` includes its c
- There is only one maintainer, and replies can take a few days. Open an issue in the ModAVD repository before changing code, saying what you want to change and why; a large PR that was not discussed first may not be accepted.
- Commits carry your own name or a pseudonym, with your own GitHub noreply address as the email (`<id>+<login>@users.noreply.github.com`, shown in your GitHub email settings).
- Machine-readable output (`--json`, exit codes, MCP tools) is a contract for callers such as AUTO-MAS: you may add fields; if you change a meaning or remove a command or a field, also increment `Protocol` in `internal/buildinfo`.
- Text shown to people is written in Chinese in the code, and the Chinese text is the key of the translation tables. After adding or changing any, run `go test ./internal/i18n -run TestCatalog -update` and fill in the new `""` entries in `internal/i18n/locales/en/` with the English. If you do not write Chinese, write the key as a Chinese sentence with the meaning you intend and say so in the PR; the maintainer will polish it. The rules and the table of terms are in [internal/i18n/README.md](internal/i18n/README.md).
- The README exists in Chinese (`README.md`) and English (`README.en.md`), matching section by section: if you change one, change the other in the same PR. If you can write only one language, say so in the PR and the maintainer will fill in the other.
- The other conventions (how to write workflows, attribution and licensing, AI tools, image changes) are the same as in ModAVD's [CONTRIBUTING.en.md](https://github.com/ModAVD/ModAVD/blob/main/CONTRIBUTING.en.md).
- For the environment, hardware, how to verify, and model suggestions when using AI tools, see [Development: the manager and the CLI](https://modavd.github.io/en/develop/manager) on the documentation site.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ go test ./...
- 只有一个维护者,回复可能要几天。改代码前先在 ModAVD 仓库开 issue,写清要改什么、为什么;没商量过的大 PR 可能不合。
- 提交署你自己的名字或化名,邮箱用你自己的 GitHub noreply 地址(`<编号>+<登录名>@users.noreply.github.com`,在 GitHub 的邮箱设置里能看到)。
- 机读输出(`--json`、退出码、MCP 工具)是给 AUTO-MAS 等调用方的契约:可以加字段;改了含义、删了命令或字段,要同时把 `internal/buildinfo` 里的 `Protocol` 加一。
- 给人看的文字在代码里写中文,中文原文就是翻译表的键。新加或改了以后跑 `go test ./internal/i18n -run TestCatalog -update`,再把 `internal/i18n/locales/en/` 里新出现的 `""` 填成英文;不会写中文的,键照意思写一句中文,在 PR 里说一声,由维护者改顺。写法和术语对照表见 [internal/i18n/README.md](internal/i18n/README.md)。
- README 有中文(`README.md`)和英文(`README.en.md`)两份,逐节对应:改了一份,就在同一个 PR 里把另一份也改了;只会写一种语言的,在 PR 里说一声,由维护者补上。
- 其余约定(workflow 怎么写、署名与许可、AI 工具、图片类改动)同 ModAVD 的 [CONTRIBUTING.md](https://github.com/ModAVD/ModAVD/blob/main/CONTRIBUTING.md)。
- 环境、硬件、怎么验证和用 AI 工具时的模型建议,见文档站的[开发:管理器和命令行](https://modavd.github.io/develop/manager)。
Expand Down
4 changes: 2 additions & 2 deletions changelog.d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- **文件名**:`<名字>.<类型>.md`。名字用小写字母、数字、`-`、`_`,起一个不会和别的改动重复的(比如 issue 号加几个词:`210-resize-crash.fix.md`)。
- **类型**:`feat` 新增,`fix` 修复,`change` 变更,`remove` 移除。
- **内容**:只有一行,不超过 60 字,不能有 `--`。写用户会看到的结果,不写原因和实现,比如「调高分辨率后开机不再卡死退出」。
- **内容**:只有一行,不超过 60 字,不能有 `--`。写用户会看到的结果,不写原因和实现,比如「调高分辨率后开机不再卡死退出」。发版公告是中文的,这一行写中文;不会写中文就用英文写,在 PR 里说一声,由维护者在合并前改成中文。
- 想让公告指向 issue 而不是 PR,就自己在行尾写上,issue 都在 ModAVD 仓库,要写全称:`……不再卡死退出 (ModAVD/ModAVD#210)`;这样工具不再补 PR 编号。
- 只和开发、测试、CI、文档有关的 PR 不用加。
- 已经发过版的文件不要改内容、也不要重复用它的名字;以后的改动另起一个文件。
Expand All @@ -17,7 +17,7 @@ A change that users can see adds one file here, in the same pull request, with a

- **Name**: `<name>.<type>.md`, the name in lowercase letters, digits, `-`, `_`, and unique (for example the issue number and a few words: `210-resize-crash.fix.md`).
- **Type**: `feat` (新增), `fix` (修复), `change` (变更), `remove` (移除).
- **Content**: one line in Chinese, at most 60 characters, without `--`. Say what users will notice, not the cause or the implementation.
- **Content**: one line, at most 60 characters, without `--`. Say what users will notice, not the cause or the implementation, for example "Starting no longer hangs after raising the resolution". The release notes are in Chinese, so the line is in Chinese; if you do not write Chinese, write it in English and say so in the pull request, and the maintainer will put it into Chinese before merging.
- To point at an issue instead of the pull request, end the line with it yourself, in full: `…… (ModAVD/ModAVD#210)`.
- Pull requests that only touch development, tests, CI or documentation need no file.
- Do not edit or reuse a file that has already been released; a later change takes a new file.
Loading