summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-12-16 19:19:30 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-12-19 14:10:43 +0200
commitee928a489fd7b544261cc7b3e1525cfe781d44be (patch)
treeeda4461eb07cfc6ed0adbd964fe6149ea4194940 /gbp/config.py
parent04861fff93001d149c4bf69f475c9aa35a357b5d (diff)
downloadgit-buildpackage-ee928a489fd7b544261cc7b3e1525cfe781d44be.tar.gz
git-buildpackage-ee928a489fd7b544261cc7b3e1525cfe781d44be.tar.bz2
git-buildpackage-ee928a489fd7b544261cc7b3e1525cfe781d44be.zip
Introduce submit-bb tool
This is a Tizen-specific tool for creating and pushing special submit tags. Change-Id: Id014ce2aeced75f6506cd8559adcd787f958e6b4 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index fd6c3252..987be05d 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -711,6 +711,8 @@ class GbpOptionParserBB(GbpOptionParserRpm):
'meta-dir' : '',
'bb-file' : '',
'bb-vcs-info' : '',
+ 'submit-tag' : 'submit/%(target)s/%(nowtime)s',
+ 'target' : 'tizen',
} )
help = dict(GbpOptionParserRpm.help)
@@ -723,6 +725,11 @@ class GbpOptionParserBB(GbpOptionParserRpm):
'bb-vcs-info':
"Format string for the VCS information automatically "
"set in the recipe file, default is '%(bb-vcs-info)s'",
+ 'submit-tag':
+ "Submit tag format, default is '%(submit-tag)s'",
+ 'target':
+ "Submit target used in submit tag, default is "
+ "'%(target)s'",
} )
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: