[arch-dev-public] Syncing single repo with abs

Allan McRae allan at archlinux.org
Mon Jul 7 08:33:11 EDT 2008


Travis Willard wrote:
> On Mon, Jul 7, 2008 at 8:21 AM, Allan McRae <allan at archlinux.org> wrote:
>   
>> Travis Willard wrote:
>>     
>>> On Sun, Jul 6, 2008 at 9:01 PM, Allan McRae <allan at archlinux.org> wrote:
>>>
>>>       
>>>> I was talking about JUST the command-line functionality.  That is the bit
>>>> the is broken and apparently no-one uses.  Selection from abs.conf will
>>>> definitely stay.
>>>>
>>>>         
>>> OK, in that case I'm not so opposed. ;)  If it looks like an easy fix,
>>> go for it, otherwise I don't think it'd hurt to lose.
>>>
>>> In the future, I was thinking some kind of configuration or syntax to
>>> allow people to sync a predefined list of packages, instead of whole
>>> repos.  For example, if someone wanted to rebuild only wine, they
>>> should be able to say "abs extra/wine" or have PKGS=(extra/wine) in
>>> abs.conf and not be required to sync everything.
>>>
>>> Dunno if that sounds like a good idea to you or not, but people have
>>> requested on the forums some method to sync single packages (usually
>>> as an argument to allow anon svn access)
>>>
>>>
>>>       
>> Well, I had a quick attempt at fixing this.  I can get the command line
>> arguments working but at the price of a rsync transaction per arguement.  In
>> a coincidence "abs extra/wine" now works but syncs it into /var/abs/wine
>> instead of /var/abs/extra/wine.  I should be able to fix that though.
>>     
>
> Hm... dunno if that'd be an acceptable trade-off.  Might put too much
> load on gerolde that way - one rsync transaction per package in our
> repos? Yikes.
>   

Not one rsync per package, one rsyn per command line parameter.  So "abs 
core extra" would rsync the core dir followed by rsyncing the extra dir. 






More information about the arch-dev-public mailing list