12 Commits

3 changed files with 38 additions and 7 deletions

View File

@@ -1,2 +1,21 @@
# alhp-mirrorlist # ALHP Mirrorlist
[![AUR version](https://img.shields.io/aur/version/alhp-mirrorlist)](https://aur.archlinux.org/packages/alhp-mirrorlist/)
Mirrors for [ALHP](https://git.harting.dev/ALHP/ALHP.GO).
## Issues with current mirrors
If some mirror is out of sync or not reachable anymore, please [open an issue](https://git.harting.dev/ALHP/alhp-mirrorlist/issues/new).
## Setup your own Mirror
### 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 (continent is detailed enough for our current mirror density).

View File

@@ -1,15 +1,15 @@
## ##
## ALHP repository mirrorlist ## ALHP repository mirrorlist
## Updated on 2021-11-25 ## Updated on 2022-10-11
## https://git.harting.dev/anonfunc/alhp-mirrorlist ## https://git.harting.dev/ALHP/alhp-mirrorlist
##
## There is an IPFS mirror available.
## Setup instructions in /etc/pacman.d/alhp-mirrorlist.ipfs.
## ##
## Worldwide (Cloudfare) ## Worldwide (Cloudfare)
Server = https://alhp.krautflare.de/$repo/os/$arch/ Server = https://alhp.krautflare.de/$repo/os/$arch/
## Europe ## Europe
#Server = https://alhp.harting.dev/$repo/os/$arch/ Server = https://alhp.harting.dev/$repo/os/$arch/
## North America
#Server = https://www.gardling.com/alhp/$repo/os/$arch/

12
mirrorlist.ipfs Normal file
View File

@@ -0,0 +1,12 @@
# To use this follow install instructions under https://github.com/RubenKelevra/pacman.store/blob/master/README.md#usage
# After you have installed ipfs and added pacman.store, modify your pacman.conf repo entries like https://github.com/RubenKelevra/pacman.store/blob/master/README.md#alhp
# local ipfs gateway
Server = http://alhp.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo/os/$arch/
Server = http://alhp.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo/os/$arch/
Server = http://alhp.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo/os/$arch/
# local ipfs gateway without name resolution
Server = http://127.0.0.1:8080/ipns/alhp.archlinux.pkg.pacman.store/$repo/os/$arch/
Server = http://127.0.0.1:8080/ipns/alhp.archlinux.pkg.pacman.store/$repo/os/$arch/
Server = http://127.0.0.1:8080/ipns/alhp.archlinux.pkg.pacman.store/$repo/os/$arch/