pbuilder twice in a row option

Jonathan Marsden jmarsden at fastmail.fm
Sun Aug 3 22:20:02 BST 2008


Nicolas Valcarcel wrote:

> I've just write a --build-twice-in-a-row feature for pbuilder that
> allows pbuilder users to test if clean work as expected and i need some
> testing, so far i have test it and it's working, but i will prefer to
> have a second (or more) opinions on the feature. The new package can be
> downloaded from my ppa [1], and i will appreciate really much that you
> test it and send me some suggestions/comments.

I like the idea and I can see its value (even though using it will make 
pbuilder even slower...!). 

I wonder if the option name is a little long, and hard to type?  For 
example, will we really ever see a pbuilder option something like 
--build-twice-and-dance-around-the -room-between-the-two-builds ? :-)  I 
suspect not.  The "in-a-row" part is implied, isn't it?  So, maybe the 
option could be called    --build-twice  which is still descriptive, but 
less typing? 

If there is really a need for a (not-in-a-row) option, to do something 
specific between the two builds, perhaps that can be a separate option, 
maybe --between-builds="shell-command-to-execute" ?

Jonathan



More information about the Ubuntu-motu mailing list