diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-01-08 14:27:33 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-01-08 19:08:23 +0100 |
commit | b770493016f4483baa1f20f66488bfe3d4d09c01 (patch) | |
tree | ea45bf8fba9767016cf435e5dae6dc454c662172 /gbp/config.py | |
parent | 79ed2e0f088d0b374f5dbed12051770236268238 (diff) |
git-buildpackage: Add support for sending notifications via libnotify
after the build finished.
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gbp/config.py b/gbp/config.py index e623c3b..8448762 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -94,6 +94,7 @@ class GbpOptionParser(OptionParser): 'customizations' : '', 'spawn-editor' : 'release', 'patch-numbers' : 'True', + 'notify' : 'auto', } help = { 'debian-branch': @@ -145,9 +146,11 @@ class GbpOptionParser(OptionParser): 'color': "color output, default is '%(color)s'", 'spawn-editor': - "Wether to spawn an editor after adding the changelog entry, default is '%(spawn-editor)s'", + "Whether to spawn an editor after adding the changelog entry, default is '%(spawn-editor)s'", 'patch-numbers': - "Wether to number patch files, default is %(patch-numbers)s", + "Whether to number patch files, default is %(patch-numbers)s", + 'notify': + "Whether to send a desktop notification after the build, default is '%(notify)s'", } config_files = [ '/etc/git-buildpackage/gbp.conf', os.path.expanduser('~/.gbp.conf'), |