archlinux-repro icon indicating copy to clipboard operation
archlinux-repro copied to clipboard

Stop early on first archive extension that exists

Open foutrelis opened this issue 3 years ago • 1 comments

When a .zst package is downloaded from the archive, there's no point to also check for the same package with a .xz extension. Doing so results in huge delays because archive.archlinux.org redirects to archive.org when a requested file doesn't exist, and archive.org lookups are slow.

Testing on thunar-4.16.11-2, downloads are reduced from 10m36s to 1m39s.

foutrelis avatar Oct 02 '22 20:10 foutrelis

Nice! Fasterrrr rebuilds!

jelly avatar Oct 04 '22 08:10 jelly