diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2010-02-05 12:57:48 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-02-05 17:41:24 +0100 |
commit | 2874c2331c7d24eac5f38febe3a38964ed7dac42 (patch) | |
tree | 10c6a03bd7af54d5873ff07199d702d4346a126c /gbp/config.py | |
parent | 46544253084cb31ebcbec4bf969c99215cca10a7 (diff) |
Make the commit message for upstream imports configurable.
This adds the import-msg commandline and configuration file option to
change the commit message.
Closes: #474457
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 b72b1296..8c4bf369 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -39,6 +39,7 @@ class GbpOptionParser(OptionParser): 'postimport' : '', 'debian-tag' : 'debian/%(version)s', 'upstream-tag' : 'upstream/%(version)s', + 'import-msg' : 'Imported Upstream version %(version)s', 'filter' : [], 'snapshot-number' : 'snapshot + 1', 'git-log' : '--no-merges', @@ -69,6 +70,8 @@ class GbpOptionParser(OptionParser): "sign tags, default is '%(sign-tags)s'", 'keyid': "GPG keyid to sign tags with, default is '%(keyid)s'", + 'import-msg': + "format string for commit message, default is '%(import-msg)s'", 'pristine-tar': "use pristine-tar to create .orig.tar.gz, default is '%(pristine-tar)s'", 'filter-pristine-tar': |