Repository navigation
加 AGENTS.md 和英文 README,脚本报错中英都有 - #14
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么 / What changed
ModAVD/ModAVD#261 第 2、3、5 条在这个仓库的部分(只读英文的开发者还会碰到的中文)。
AGENTS.md(中文)和AGENTS.en.md(英文),两份互相链接,README 里也链到它们;内容按仓库现状写:目录、构建(build.ps1,没有 Gradle)、CI 的几项检查、本地怎么测、语言约定。通用规矩指回 ModAVD 主仓库的AGENTS.md。build.ps1、scripts/release-local.ps1、scripts/verify_release_apk.py的报错改成「中文 / English」双语,只动报错文字,逻辑不变。HostLink.java、HostProtocol.java的注释译成英文,只动注释,代码不变。README.en.md,冲突按 main 的版本解决。Item 2, 3 and 5 of ModAVD/ModAVD#261 for this repository: an
AGENTS.mdandAGENTS.en.mdthat link to each other (and from the READMEs), bilingual error messages inbuild.ps1,scripts/release-local.ps1andscripts/verify_release_apk.py, and English comments inHostLink.javaandHostProtocol.java(comments only). main is merged in; the conflict inREADME.en.mdwas resolved by taking main's version.怎么验证的 / How it was verified
build.ps1、scripts/release-local.ps1:PowerShell 解析检查 0 个错误;scripts/verify_release_apk.py:py_compile通过。scripts/test_repo_checks.py3 个用例通过;scripts/test_android_sdk_fallback.ps1全部场景通过;scripts/test_verify_release_apk.py没有可跑的用例(跳过)。ProtocolTest:用 JDK 25 按 CI 的参数(--release 17 -Xlint:all -Werror)编译HostProtocol.java和测试,34 项检查通过。scripts/privacy.py0 个失败,scripts/repo_checks.py(作者检查)0 个失败。HostLink.java(要 android.jar);CI 的apk-build(完整构建两个 APK)、protocol-test、privacy、authors、zizmor全绿。release-local.ps1和build.ps1本身,只做了解析检查。还没做的 / Not done
HostImeService.java、testapp/)和ime/test/ProtocolTest.java的注释仍是中文,没有译。scripts/里privacy.py、repo_checks.py等 CI 脚本的报错仍是中文。Refs ModAVD/ModAVD#261