[buildd-tools-devel] Bug#629109: Restore old sbuild purging behaviour

Jan-Marek Glogowski glogow at fbihome.de
Fri Jun 3 15:42:24 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: sbuild
Version: 0.62.2-1
Severity: wishlist
Tags: patch

Hi

With the introduction of --keep-session in sbuild 0.62.0-1, the default
- --purge behaviour has changed (later renamed --purge-session). Now -p
'successful' will always purge my cloned session, because --purge-session
defaults to 'always'.

I propose to restore the old behaviour, make --purge a convenience option
to set all purge options (build dir, build deps, session) and introduce
- --purge-build(dir) for purging the build (directory).

Probably sbuild should also warn the user, if one chooses conflicting
option, e.g. purge-build='successful' and purge-session='always'?

The patch also includes a hunk to color the message containing the session
id, when a build failed and is not cleaned up.

Comments?

Regards,

Jan-Marek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3pAOAACgkQj6MK58wZA3ecCACfe0qsCKW6hwmkMjaFUYtkJ3s5
kW0AoJV7GqiFfxdhiEothBohpb+wPksh
=tHCy
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbuild-restore-old-purge.diff
Type: text/x-diff
Size: 2870 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110603/4335730c/attachment.diff>


More information about the Buildd-tools-devel mailing list