Skip to content

Conversation

@Shyliuli
Copy link
Contributor

@Shyliuli Shyliuli commented Dec 10, 2024

我建议在文件中提供带有架构名前缀的主机名,以便进一步方便开发者的使用。

由于内容较多,此PR是基于 AOSC Wiki 中提供的端口与架构对应模式,使用脚本进行了实现。相关脚本的详细内容可在 剪贴板 中找到。

请注意,脚本尚未经过人工审查。如果您发现任何错误或可以改进的地方,欢迎随时提出指正。感谢您的支持与合作!
I suggest providing file with a prefix of the architecture name in the file to further facilitate developer usage.

Due to the extensive content, this PR is implemented using a script based on the port and architecture mapping pattern provided in the AOSC Wiki. Detailed information about the relevant script can be found in the clipboard.

Please note that the script has not yet undergone manual review. If you find any errors or areas for improvement, feel free to suggest corrections. Thank you for your support and cooperation!

@Shyliuli
Copy link
Contributor Author

trans.txt
py脚本(由于gh限制无法上传py文件,故为txt)
py script (why txt:due to gh restrictions, py files cannot be uploaded...)

@Shyliuli Shyliuli requested review from MingcongBai and removed request for MingcongBai December 10, 2024 06:10
Copy link
Member

@KexyBiscuit KexyBiscuit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

脚本可以放置到仓库内以便日后参考,比如 contrib/trans.py

另,依据 PEP 394,shebang 应引用 python3 或 python2 而非 python

Copy link
Member

@KexyBiscuit KexyBiscuit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没什么大问题了

@Shyliuli Shyliuli requested a review from KexyBiscuit December 11, 2024 12:30
@Shyliuli Shyliuli merged commit 3233592 into AOSC-Dev:main Dec 11, 2024
1 check passed
@KexyBiscuit KexyBiscuit added the enhancement New feature or request label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants