diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-08 20:57:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-14 11:32:01 +0000 |
commit | 83a30dfd495f0b8e90b7b5725c946c659ecbd93d (patch) | |
tree | e9c4f702b9d02036602be3032afaaeb4493abf08 /bitbake/lib/bb/fetch2/ssh.py | |
parent | c45589a55c67bfd0bf9da5050141f4d18835e113 (diff) | |
download | poky-83a30dfd495f0b8e90b7b5725c946c659ecbd93d.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/fetch2/ssh.py')
0 files changed, 0 insertions, 0 deletions