Add upstream-branch and upstream-tag options
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 17 Aug 2012 13:58:10 +0000 (16:58 +0300)
committerZhang Qiang <qiang.z.zhang@intel.com>
Sat, 8 Sep 2012 06:50:27 +0000 (14:50 +0800)
commit873ff7746349999c738d8462ceb58101ace0e45a
treecd795798bb47305b8fc3b9ed7c55bb2fbddf8c13
parent99da565bc87c40fcbeaf90343c056e28d3c3a7e5
Add upstream-branch and upstream-tag options

Add config file and command line options to specify the upstream branch
name and upstream tag format for build, export and remotebuild commands.
This is needed in order to be able to support different maintenance
models of non-native packages (with patch-generation enabled):
1. If upstream sources are imported with GBS, these options are not
   needed
2. However, if maintainer uses upstream git tree directly, he needs to
   be able to specify the tag format - otherwise gbp is unable to
   create orig source archive or generate patches

Command line option takes preference over the config file.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gitbuildsys/cmd_build.py
gitbuildsys/cmd_export.py
gitbuildsys/cmd_remotebuild.py
gitbuildsys/conf.py
tools/gbs