diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-03-22 18:14:33 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-03-22 18:34:01 +0100 |
commit | fc9d019eb9af759c46a7a183d69e248275afe6bc (patch) | |
tree | 718a9db57828712f7c60478687c4c5266681dbf1 /gbp/config.py | |
parent | eb999f77c3cd4fa806eea54ae82e6b9079b207c8 (diff) |
Purging of the build dir should be configurable via a config file
so introdice --git[-no]-purge which is consistent with the other
boolean options and deprecate --git-dont-purge.
Closes: #702200
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py index cec593b..ec75765 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -131,6 +131,7 @@ class GbpOptionParser(OptionParser): 'remote-config': '', 'allow-unauthenticated': 'False', 'symlink-orig': 'True', + 'purge': 'True', } help = { 'debian-branch': @@ -262,7 +263,9 @@ class GbpOptionParser(OptionParser): 'symlink-orig': ("Whether to creat a symlink from the upstream tarball " "to the orig.tar.gz if needed, default is " - "'%(symlink-orig)s'") + "'%(symlink-orig)s'"), + 'purge': + "Purge exported package build directory. Default is '%(purge)s'", } def_config_files = [ '/etc/git-buildpackage/gbp.conf', |