cmd_build: Disabled auto patch generation. Fixes #DEVT-9
authorEd Bartosh <eduard.bartosh@intel.com>
Thu, 19 Jul 2012 08:16:18 +0000 (11:16 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Wed, 25 Jul 2012 12:49:22 +0000 (15:49 +0300)
commitdcb868f77cdeab22c68d02db307c786335c6ccdc
tree3adab541e3f4dc4666a7f102edd6db65a2f060eb
parentb4605d415444fda3d2e7973dc456f585f0f4008a
cmd_build: Disabled auto patch generation. Fixes #DEVT-9

By default git-buildpackage tries to find a way to generate proper
packaging info from git. For example if it founds branch with the name
'upsream' it's looking for the upstream/version tag, where version is
a version of the upstream sources. If it doesn't found the tag it
fails to export. This behaviour caused confusiong among Tizen
developers, as they don't use proper git layout, but some projects use
upstream branches. This patch should fix this kind of issues. With
--git-no-auto-patch-gen git-buildpackage should ignore all upstream
and vendor tags and create one tarball, without generating patches.
This change also includes pointing to the same commit as an upstream
tree. Otherwise git-buildpackage will be looking at upstream/version
tag if upstream branch exists.

Change-Id: Iba62396fef0f82b46589f8094137c41c7d94895b
gitbuildsys/cmd_build.py