poky/bitbake/lib/bb/fetch2
Aníbal Limón 7587877e5d bitbake: fetch/git: Add latest_versionstring method
Being able to generate a version string representing the most recent git commit
given git is useful, not least for the package reporting system.

This adds in a latest_versionstring method to the git fetcher
which allows users to query the latest version using ls-remote
and filtering the responses.

The patch also adds unittests for this function so that if
improvements are made, the original test urls can be used
to evaulate the those changes.

This is based on code from Irina Patru <irina.patru@intel.com>.

(Bitbake rev: f71c8c0354e87fed80bc845db6728e6e18ce9c4d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-12 15:25:17 +00:00
..
__init__.py bitbake: fetch2: add .lz compression support 2014-10-28 14:58:26 +00:00
bzr.py bitbake: fetch2: Correct a few calls to latest_revision() 2013-11-25 13:02:27 +00:00
clearcase.py bitbake: fetch2: Add module for ClearCase (ccrc://) 2014-07-21 19:24:29 +01:00
cvs.py bitbake: fetch2: Stop passing around the pointless url parameter 2013-11-22 12:03:02 +00:00
git.py bitbake: fetch/git: Add latest_versionstring method 2014-11-12 15:25:17 +00:00
gitannex.py bitbake: fetch2/gitannex: Fix function arguments to match bitbake master 2014-01-08 15:27:37 +00:00
gitsm.py bitbake: fetch2/gitsm: Documentation improvements for gitsm:// fetcher 2014-05-19 12:04:34 +01:00
hg.py bitbake: fetch2/hg: Fix username/password handling 2014-08-28 15:12:45 +01:00
local.py bitbake: fetch2/local.py: fix first line indent of search path debug output 2014-08-19 20:41:26 +01:00
osc.py bitbake: fetch2: Stop passing around the pointless url parameter 2013-11-22 12:03:02 +00:00
perforce.py bitbake: fetch2/perforce: Use replace (1 line) instead of find (3 lines) 2014-09-23 20:21:12 +01:00
repo.py bitbake: fetch2: Stop passing around the pointless url parameter 2013-11-22 12:03:02 +00:00
sftp.py bitbake: fetch2: Stop passing around the pointless url parameter 2013-11-22 12:03:02 +00:00
ssh.py bitbake: fetch2: Stop passing around the pointless url parameter 2013-11-22 12:03:02 +00:00
svn.py bitbake: fetch2/svn: Add transportuser parameter 2014-07-04 09:28:36 +01:00
wget.py bitbake: fetch2/wget: Fix downloadfilename functionality 2014-03-09 12:07:01 -07:00