projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b97e3
)
UpstreamSource: move version guessing logic to PkgPolicy
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Fri, 23 Aug 2013 10:39:19 +0000
(13:39 +0300)
committer
Jun 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