alhp-mirrorlist/README.md

22 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2021-11-25 21:41:43 +01:00
# ALHP Mirrorlist
2022-01-12 19:56:13 +01:00
[![AUR version](https://img.shields.io/aur/version/alhp-mirrorlist)](https://aur.archlinux.org/packages/alhp-mirrorlist/)
2021-11-25 20:34:27 +01:00
Mirrors for [ALHP](https://somegit.dev/ALHP/ALHP.GO).
2021-11-25 21:41:43 +01:00
## Issues with current mirrors
If some mirror is out of sync or not reachable anymore, please [open an issue](https://somegit.dev/ALHP/alhp-mirrorlist/issues/new).
2021-11-25 21:41:43 +01:00
2021-12-29 12:29:38 +01:00
## Setup your own Mirror
2021-11-25 21:41:43 +01:00
2021-12-29 12:29:38 +01:00
### rsync
2021-11-25 21:41:43 +01:00
**source**: `rsync://alhp.dev/alhp`\
**lastupdate**: `https://alhp.dev/lastupdate`\
2021-11-25 21:41:43 +01:00
**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.
2021-12-29 12:29:38 +01:00
If you have set up a new mirror, open a PR here in this repo adding your mirror to `mirrorlist` under the appropriate region (continent is detailed enough for our current mirror density).