generic-poky/bitbake/lib/bb/fetch2
Richard Purdie 83a30dfd49 bitbake: fetch/git: Improve ls-remote handling for latest_revision
Currently the code ignores lightweight tags which has caused some user
complaints. We can't put the right search list in place easily since
the results don't come back in a good order, head happens to sort
before tags.

In the end I refactored the function so we get the complete list of
remotes and then we can filter it ourselves in the order we chose,
including checking for light weight tags, preferring the proper ones.

Hopefully this resolves the issues people have been seeing.

[YOCTO #6881]

(Bitbake rev: 07ad307065bb15a48f0015b9e4a643201abdc283)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-14 11:32:01 +00:00
..
__init__.py bitbake: cache/fetch2/siggen: Ensure we track include history for file checksums 2015-01-08 09:52:52 +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: Improve ls-remote handling for latest_revision 2015-01-14 11:32:01 +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: wget: Add localpaths method which gives localpath with history 2015-01-08 09:52:52 +00: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 horrible temp file handling 2014-12-25 08:18:14 +00:00