[csw-maintainers] Building all architectures/modulations with GAR with one keypress

Dagobert Michelsen dam at opencsw.org
Thu Aug 27 17:14:44 CEST 2009


Hi Maciej,

Am 27.08.2009 um 17:07 schrieb Maciej (Matchek) Blizinski:
> On Wed, Aug 26, 2009 at 12:59 PM, Dagobert  
> Michelsen<dam at opencsw.org> wrote:
>> Am 26.08.2009 um 13:17 schrieb Maciej (Matchek) Blizinski:
>>>
>>> Has anyone wrote such script for themselves? What I mean is: To  
>>> build
>>> certain package, one needs to compile it on build8s, wait until it's
>>> finished, gmake clean, compile (gmake merge) it on build8x for 32- 
>>> bit,
>>> wait until it's finished, compile for 64-bit on build10x, get back  
>>> to
>>> build8x, disable pkgcheck, create the package, move the result to
>>> /home/testing. I see no reason for it to be a manual procedure. I  
>>> just
>>> don't want to reinvent the wheel. Does anyone have such script? If  
>>> so,
>>> can you share it?
>>
>> This is exactly of what I talked about in my GAR presentation :-)
>> Remember the discussion about pbuild?
>
> Yes, yes, I was thinking if there was something I could already run.
>
>> It already contains some
>> work towards this, however in the general case there is still
>> something to do. Feel free to look at the gar/v2-pbuild branch
>> for details.
>
> Can you give me a few pointers? (But not the ones like in
> http://xkcd.com/138/ :-) )

0xdeadbeef ;-) Just kidding, link in your local trunk to
mgar/gar/v2-pbuild instead if mgar/gar/v2

>> In pbuild it will be possible to define which modulations should
>> be build on what hosts, modulations will be executed in parallel
>> and monitorable with multitail and package assembly will follow
>> that automatically.
>
> I wasn't looking for parallel building specifically; I was interested
> in having a single button that I could press and go for lunch. I
> quickly hacked a Python script which calls ssh to other hosts:
> http://dpaste.com/86148/ A usage example: http://dpaste.com/86145/ If
> there's something like that in the v2-pbuild branch, I'd start using
> it.

It doesn't do what you want yet, but it is next on my to do list. I let
you know when I have something to try.


Best regards

   -- Dago



More information about the maintainers mailing list