diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-04-22 10:38:54 +0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-04-26 22:08:14 +0200 |
commit | f9722f6bf8d2ac64b658ce499e2d47203f1df339 (patch) | |
tree | ef3ba31c4071fb259376d74b416bed3f045b4e91 /gbp/config.py | |
parent | f880910c80c30bf64f951bb054814d2e00e76b77 (diff) | |
download | git-buildpackage-f9722f6bf8d2ac64b658ce499e2d47203f1df339.tar.gz git-buildpackage-f9722f6bf8d2ac64b658ce499e2d47203f1df339.tar.bz2 git-buildpackage-f9722f6bf8d2ac64b658ce499e2d47203f1df339.zip |
buildpackage: implement --[no-]hooks option
For enabling/disabling all hooks. This option does not affect the
builder command, though.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py index ec75765a..c27cf5a6 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -83,6 +83,7 @@ class GbpOptionParser(OptionParser): 'prebuild' : '', 'postexport' : '', 'postimport' : '', + 'hooks' : 'True', 'debian-tag' : 'debian/%(version)s', 'upstream-tag' : 'upstream/%(version)s', 'import-msg' : 'Imported Upstream version %(version)s', @@ -241,6 +242,8 @@ class GbpOptionParser(OptionParser): 'postimport': ("hook run after a successful import, " "default is '%(postimport)s'"), + 'hooks': + ("Enable running all hooks, default is %(hooks)s"), 'time-machine': ("don't try head commit only to apply the patch queue " "but look TIME_MACHINE commits back, " |