UpstreamSource: move version guessing logic to PkgPolicy
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 23 Aug 2013 10:39:19 +0000 (13:39 +0300)
committerJun Wang <junbill.wang@samsung.com>
Wed, 27 Jan 2016 10:05:29 +0000 (18:05 +0800)
PkgPolicy is more logical context, for example if guessing version from
a plain filename and not a real file.

Also, changes guess_version() to always return a tuple to simplify
checking its return value.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Conflicts:
gbp/pkg/__init__.py
tests/06_test_upstream_source.py


No differences found