Update 'README.md'

This commit is contained in:
2021-11-25 21:41:43 +01:00
parent f7092cf088
commit 560ef975b2

View File

@@ -1,2 +1,20 @@
# alhp-mirrorlist
# ALHP Mirrorlist
Mirrors for [ALHP](https://git.harting.dev/ALHP/ALHP.GO).
## Issues with current mirrors
If some mirror is out of date or simply not reachable anymore, please [open an issue](https://git.harting.dev/ALHP/alhp-mirrorlist/issues/new).
## How to become a Mirror
### Mirroring via rsync
**source**: `rsync://alhp.harting.dev/alhp`\
**lastupdate**: `https://alhp.harting.dev/lastupdate`\
**expected size**: around 30GB per `march` (e.g. *x86-64-v3*) you want to sync.
I highly recommend using [this script from Archlinux](https://gitlab.archlinux.org/archlinux/infrastructure/-/blob/master/roles/syncrepo/files/syncrepo-template.sh) as base for a sync service. It checks if a sync needs to be done (by comparing *lastupdate* before syncing). It's also worth to read comments.
You are free to mirror only some march or exclude `/logs`, [see line 90](https://gitlab.archlinux.org/archlinux/infrastructure/-/blob/a4a8a640d821acdb95e72770ea0632beffb28df9/roles/syncrepo/files/syncrepo-template.sh#L90) of said script above.
If you have set up a new mirror, open a PR here in this repo adding your mirror to `mirrorlist` under the appropriate region.