Skip to content

Allow setting an archive cache in buildinfo script#71

Merged
Foxboron merged 1 commit intoarchlinux:masterfrom
kpcyrd:archive-cache
Apr 25, 2020
Merged

Allow setting an archive cache in buildinfo script#71
Foxboron merged 1 commit intoarchlinux:masterfrom
kpcyrd:archive-cache

Conversation

@kpcyrd
Copy link
Copy Markdown
Member

@kpcyrd kpcyrd commented Apr 25, 2020

I'm currently running a cache at https://cache.rebuilder.fzylab.net/packages that is faster than https://archive.archlinux.org/packages because it follows the redirect to archive.org internally and tries to answer the request from cache if possible.

The cache can be configured with:

mkdir -p /root/.config/archlinux-repro
echo export ARCH_ARCHIVE_CACHE=https://cache.rebuilder.fzylab.net/packages >> /root/.config/archlinux-repro/repro.conf

    echo export ARCH_ARCHIVE_CACHE=http://127.0.0.1/packages >> /root/.config/archlinux-repro/repro.conf
@Foxboron Foxboron merged commit 13428b1 into archlinux:master Apr 25, 2020
@kpcyrd kpcyrd deleted the archive-cache branch April 25, 2020 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants