diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 3eb0e4d211..f70f1b5157 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1559,6 +1559,14 @@ class FetchMethod(object): | |||
1559 | key = self._revision_key(ud, d, name) | 1559 | key = self._revision_key(ud, d, name) |
1560 | return "%s-%s" % (key, d.getVar("PN") or "") | 1560 | return "%s-%s" % (key, d.getVar("PN") or "") |
1561 | 1561 | ||
1562 | def latest_versionstring(self, ud, d): | ||
1563 | """ | ||
1564 | Compute the latest release name like "x.y.x" in "x.y.x+gitHASH" | ||
1565 | by searching through the tags output of ls-remote, comparing | ||
1566 | versions and returning the highest match as a (version, revision) pair. | ||
1567 | """ | ||
1568 | return ('', '') | ||
1569 | |||
1562 | class Fetch(object): | 1570 | class Fetch(object): |
1563 | def __init__(self, urls, d, cache = True, localonly = False, connection_cache = None): | 1571 | def __init__(self, urls, d, cache = True, localonly = False, connection_cache = None): |
1564 | if localonly and cache: | 1572 | if localonly and cache: |