[buildd-tools-devel] Restore old sbuild purging behaviour
Jan-Marek Glogowski
glogow at fbihome.de
Fri Jun 3 15:38:34 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)
iEYEARECAAYFAk3o//oACgkQj6MK58wZA3dq4QCdFj5BYuqZHw8kPqfO+Y9hcjh9
2kAAn3ykqGMQBXUT3VmGY3OBdKr5z4lj
=ukF9
-----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/2813baff/attachment.diff>
More information about the Buildd-tools-devel
mailing list