From 9d8fba8d8450e37519cabc4c33b91906a9b9703e Mon Sep 17 00:00:00 2001 From: auxiliarypower <134689569+auxiliarypower@users.noreply.github.com> Date: Wed, 6 Dec 2023 15:52:33 +0800 Subject: [PATCH] feat(application.md): translate to English - Validate that markdown file comply with the markdownlint-cli2 rules --- application.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/application.md b/application.md index 920e167..873febf 100644 --- a/application.md +++ b/application.md @@ -1,16 +1,21 @@ -我们欢迎有能力的组织和个人镜像我们的软件仓库。以下是推荐的申请流程: +# How to Apply Mirror of Arch Linux CN Repository -1. 在本仓库开一个 pr,说明相关情况,并在 mirrors.yaml 文件中添加预计建立镜像的相关信息。同时在 pr 中提供一个邮件地址。 -2. 等待含有 rsync 用户名和密码的邮件。 -3. 等镜像初始化完成之后,pr 将被合并。 +We welcome capable organizations and individuals to apply mirror of our software repository. This can improve the performance and reliability of our software distribution, and also provide a better service for the users in your region. To apply, please follow these steps: -推荐的同步命令: +1. Clone this repository and edit [mirrors.yaml](mirrors.yaml) with your mirror information. By following the directive `python manager.py all`, the protocols and coordinates fields will be automatically populated, and README.md, archlinuxcn-mirrorlist, and mirrors.geojson files will be generated. -```sh -RSYNC_PASSWORD=<你的rsync密码> rsync -rtlivH --delete-after --delay-updates --safe-links --max-delete=1000 --contimeout=60 <你的rsync用户名>@sync.repo.archlinuxcn.org::repo . -``` +2. Create a pull request with your changes and describe your situation. Please provide an email address for contact. -关于同步频率:我们的打包机器人 lilac 每天 (Asia/Shanghai, UTC+8) 4、12、20 点多会开始打包,因此建议同步频率6、7小时一次,尽量避开 lilac 打包的时间段。 +3. Wait for our email with the rsync username and password. Use the following command to synchronize your mirror with our main server: -你也可以发送邮件到 repo 位于 archlinuxcn.org 来申请。 + ```bash + RSYNC_PASSWORD= rsync --recursive --times --links --hard-links --safe-links --max-delete=1000 --delete-after --delay-updates --itemize-changes --verbose --contimeout=60 @sync.repo.archlinuxcn.org::repo . + ``` +4. Once your mirror has been initialized, we will merge your pull request and include your mirror in our mirrorlist. + +5. We recommend synchronizing every 6 or 7 hours, and avoiding the time when our automatic packaging system, [lilac](https://github.com/archlinuxcn/lilac), is working at 4, 12 and 20 (Asia/Shanghai, UTC+8) every day. This can prevent potential conflicts and errors during the synchronization process. + +Alternatively, you can email to apply for mirror. We will reply as soon as possible. + +Thank you for your support and contribution!