Skip to content

Commit

Permalink
feat(application.md): translate to English
Browse files Browse the repository at this point in the history
- Validate that markdown file comply with the markdownlint-cli2 rules
  • Loading branch information
Zenvie committed Dec 15, 2023
1 parent bcbc375 commit c52dd81
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions application.md
Original file line number Diff line number Diff line change
@@ -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=<your rsync password> rsync --recursive --times --links --hard-links --safe-links --max-delete=1000 --delete-after --delay-updates --itemize-changes --verbose --contimeout=60 <your rsync username>@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 <repo@archlinuxcn.org> to apply for mirror. We will reply as soon as possible.

Thank you for your support and contribution!

0 comments on commit c52dd81

Please sign in to comment.