summaryrefslogtreecommitdiff
path: root/arch-proxy.py
AgeCommit message (Collapse)AuthorFilesLines
2018-05-31arch-proxy.py: drop leading slashPeter Wu1-3/+3
The path already starts with a slash, do not concatenate it with another slash from the mirror URL.
2018-05-08arch-proxy.py: support mirrors and Arch Linux Archive (ALA)Peter Wu1-19/+98
For testing older packages while reusing a local package cache. Fix miscellaneous issues like printing stack traces when -Syu while the cache is up to date (peer would close connection).
2017-03-04arch-proxy.py: support resumed downloadsPeter Wu1-12/+72
Quick hack to support one specific range request type: resume downloading at some offset until the end. The full file is still downloaded from upstream as needed.
2017-03-04arch-proxy.py: support readonly cachePeter Wu1-13/+25
2017-02-24arch-proxy.py: quick proxy cache for Arch Linux packagesPeter Wu1-0/+161
With a freshly bootstrapped VM (using https://github.com/Lekensteyn/archdir), it became tiresome (and wasteful) to download the same packages when my local nginx cache was not available. This script serves as a simple proxy that tries to cache downloaded packages in the current working directory.