On Sat, Mar 07, 2009 at 03:32:37PM +0100, Predrag Ivanovic wrote:
On Wed, 04 Mar 2009 19:08:28 +0100 Johannes Winkelmann wrote:
Hi there,
I've done an update to pkgmk to add symbolic error codes (fairly coarse for now), and to optionally ignore footprint missmatches if no files are missing (also see bug #221 for more information on this).
Pkgmk that Han Boetes modified few years back (which I use without problems so far), has something similar wrt footprint mismatches (and a few extra goodies that made my life when making ports a bit easier :) )
I always wondered why vanilla pkgmk doesn't have something similar, I'm glad to see that it might get such a usefull, imho, feature.Default 'throw an error, remove all' behaviour always seemed a bit abrupt to me, not to mention frustrating when I made a typo in Pkgfile or forgot to remove some junk file, and pkgmk happily deletes both source and built package that took an hour to compile(that was the default behaviour, iirc).Oh, memories, memories ;) I'm sure you'll come up with some nice/elegant/usefull solution, Johannes, you have pretty good track record so far :)
The reason is simple, unattended installs. The last thing I want is my package manager sitting around waiting for me to tell it what to do until it attempts to compile the next package. Failing the way it does, it the simplest (and imho best) way to do it. -- Lucas Hazel <lucas@die.net.au>