summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-01-05 15:50:10 +0100
committerGuido Günther <agx@sigxcpu.org>2014-01-05 18:16:56 +0100
commit49f0e44ac45a77faca1e78d8ce77f73a0d62ddbc (patch)
tree5cbac9c53574fc6000bf9b26a0c5d569dafc5245
parent7b1eaddb8b2d5193db078785ca4730d287bb2809 (diff)
Change the default of cleaner to /bin/true
Running a clean command within version control by default nowadays causes more trouble than it helps. It's unnecessary with pbuilder/cowbuilder/sbuild and with export-dir. So change the default from 'debuild clean' to a noop ('/bin/true'). Closes: #670624
-rw-r--r--debian/NEWS8
-rw-r--r--gbp/config.py2
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/NEWS b/debian/NEWS
index 57c47405..69ed3d9d 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -1,3 +1,11 @@
+git-buildpackage (0.6.9~) UNRELEASED; urgency=medium
+
+ This version changes the default of the cleaner options from 'debuild clean'
+ to a noop ('/bin/true'). If you want to retain the old behaviour you can still
+ configure it via gbp.conf. For more details see #670624.
+
+ -- Guido Günther <agx@sigxcpu.org> Sun, 05 Jan 2014 15:52:39 +0100
+
git-buildpackage (0.6.0) unstable; urgency=low
In order to provide a more consistent and git like interface a new gbp super
diff --git a/gbp/config.py b/gbp/config.py
index f17d57f4..e465cede 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -470,7 +470,7 @@ class GbpOptionParserDebian(GbpOptionParser):
defaults = dict(GbpOptionParser.defaults)
defaults.update( {
'builder' : 'debuild -i -I',
- 'cleaner' : 'debuild -d clean',
+ 'cleaner' : '/bin/true',
} )
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: