[arch-general] arch rollback machine

ProgAndy admin at progandy.de
Tue Dec 3 17:41:39 EST 2013


Am Di 03 Dez 2013 10:36:16 CET schrieb archlinux at jelmail.com:
> On 03/12/13 02:09, Gaetan Bisson wrote:
>> [2013-12-02 23:55:29 +0100] Sébastien Luttringer:
>>> Ok, you want a fake db files with all versions of the same package.
>> No, he just wants a directory with every version of each package in it.
>> He won't ever update the db (no `pacman -Sy`) but can still install any
>> package he needs with `pacman -S` using the outdated local db he has.
>>
>> If that's too big a directory to index, just drop an empty `index.xhtml`
>> in it. People don't need to list its contents, they just need to know
>> that they can have their pacman look for any version of any package
>> there.
>>
> Exactly spot-on - except that I will do `pacman -Sy`periodically but
> not necessarily before installing a new package.
> Also areed that indexing or browsing it is not a requirement.
> Many thanks to you.

An easy way would be to let nginx rewrite urls from /arm/pool/X-pkgname 
to /arm/packages/X/X-pkgname. In the meantime this could also be 
achieved with a custom DLAGENT in pacman.


More information about the arch-general mailing list