import-orig: new function for filtering/re-packing sources
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 26 Aug 2013 07:22:00 +0000 (10:22 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:22:08 +0000 (14:22 +0200)
commitf9c2cb4e0d2d373d53e703f1942667aa402404a2
tree9b648371ff4fe03603258900d5bf4430fee88351
parent13904ca15c84c0a10e64bb0e76f812e4996e070b
import-orig: new function for filtering/re-packing sources

Introduces a new function prepare_sources() that prepares upstream
sources for importing into upstream branch and pristine-tar. That
includes unpacking, filtering and re-packing sources. What somewhat
complicates the logic is that it tries to avoid excess unpacking/packing
of the sources.

Also fixes the unpacking / filtering / repacking logic which was broken
with some parameter combinations.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/scripts/common/import_orig.py
tests/test_import_orig.py
tests/testutils.py