diff options
author | Kamal Mostafa <kamal@whence.com> | 2014-08-19 17:14:47 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-08-19 17:15:54 +0200 |
commit | 6823e519deaf2a37a3d6225cd0392954c423b569 (patch) | |
tree | 1e23240dfd9278f7c169a3eaeb1c3f3e9736292c /gbp/config.py | |
parent | c3258c19c6cfa291c8bebac1dae230f6e3ccca36 (diff) |
buildpackage: Make debian-tag message configurable
New config option --git-debian-tag-msg allows for the specification of
the message format string for signed debian-tags.
When left unset, the default debian-tag-msg format is still:
%(pkg)s Debian release %(version)s
Signed-off-by: Kamal Mostafa <kamal@whence.com>
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py index af21fb8..e0cd779 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -106,6 +106,7 @@ class GbpOptionParser(OptionParser): 'postimport' : '', 'hooks' : 'True', 'debian-tag' : 'debian/%(version)s', + 'debian-tag-msg' : '%(pkg)s Debian release %(version)s', 'upstream-tag' : 'upstream/%(version)s', 'import-msg' : 'Imported Upstream version %(version)s', 'commit-msg' : 'Update changelog for %(version)s release', @@ -167,6 +168,9 @@ class GbpOptionParser(OptionParser): 'debian-tag': ("Format string for debian tags, " "default is '%(debian-tag)s'"), + 'debian-tag-msg': + ("Format string for signed debian-tag messages, " + "default is '%(debian-tag-msg)s'"), 'upstream-tag': ("Format string for upstream tags, " "default is '%(upstream-tag)s'"), |