Implement 'fallback-to-native' option
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 29 Sep 2014 09:32:42 +0000 (12:32 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 29 Sep 2014 09:32:42 +0000 (12:32 +0300)
commitbffaf7719a148c3bc2001568ffe3fd936c8deea3
tree5520a63fec62a287a2396ba92aac290d63d6de7d
parent04be4011d7217a72e7e5bd45c9f42d38cb35aaf6
Implement 'fallback-to-native' option

Add a new '--fallback-to-native' command line option and a corresponding
'fallback_to_native' configuration option. This option re-introducs the
old behaviour (removed in v0.17) of falling back to to native packaging
mode if upstream tarball or patch generation fails. That is gbs will
simply create the source tarball from the exported commit (instead of
upstream tag or pristine-tar) and doesn't generate any patches.

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