agetpkg
agetpkg copied to clipboard
Add --dl-agent option
This allows an external downloader to be used to fetch packages.
'%u' and '%o' placeholders are supported. So, the format should be analogous to DLAGENTS/XferCommand in makepkg/pacman.
Well, not sure you are still interested in this to get merged 5 years later :hear_no_evil:
Looks like the external agent doesn't support index downloading (and headers fetching). So, you will have the packages downloaded with an external agent and the archive index downloaded with the internal downloader. I think we should download with only one tool at a time.