poky/bitbake/lib/bb
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
..
fetch2 bitbake: fetch/git: Improve ls-remote handling for latest_revision 2015-01-14 11:32:01 +00:00
parse bitbake: ast: Add error when trying to use dash in sh function names 2015-01-08 10:38:36 +00:00
pysh bitbake: lib: fix no newline at end of file 2014-07-04 09:28:36 +01:00
server bitbake: process: Ensure abnormal exits set an error level 2014-09-02 18:10:37 +01:00
tests bitbake: tests/data: Add a key deletion test 2014-12-25 08:18:14 +00:00
ui bitbake: ui/ncurses: Update ncurses ui to accept configParams 2014-12-23 10:18:21 +00:00
__init__.py bitbake: bitbake: Update to 1.25.0 as development version after release 2014-12-03 12:24:01 +00:00
build.py bitbake: build/data: Write out more complete python run files 2014-08-28 15:12:45 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
cache.py bitbake: cache/fetch2/siggen: Ensure we track include history for file checksums 2015-01-08 09:52:52 +00:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: bb.codeparser.py: Remove reference for oe.utils.contains 2014-11-20 13:27:52 +00:00
command.py bitbake: knotty: Ensure commandline parameters are updated in memres server 2014-09-23 20:06:06 +01:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: cooker: Shut down the parser in error state 2015-01-08 09:42:24 +00:00
cookerdata.py bitbake: add option to write offline event log file 2014-12-18 10:24:06 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
daemonize.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
data_smart.py bitbake: data_smart: Ensure d.keys() doesn't list deleted variables 2014-12-25 08:18:13 +00:00
data.py bitbake: data: escape '$' in shell variable assignment 2014-12-18 10:28:44 +00:00
event.py bitbake: event: fix resetting class handlers object 2014-12-09 22:15:49 +00:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py bitbake: methodpool: Retire it, remove global method scope 2013-05-24 10:34:52 +01:00
monitordisk.py bitbake: monitordisk: don't log when not monitoring a filesystem for inodes 2014-09-29 12:08:48 +01:00
msg.py bitbake: msg: Add stdout/stderr filters 2014-03-27 10:17:20 +00:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Avoid fsync() calls 2014-05-03 11:24:48 +01:00
process.py bitbake: process: Add timeout to select call 2013-12-10 17:55:29 +00:00
providers.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
runqueue.py bitbake: runqueue: Fix 100% cpu use after keyboard interrupt 2014-12-09 22:15:49 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: cache/fetch2/siggen: Ensure we track include history for file checksums 2015-01-08 09:52:52 +00:00
taskdata.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
tinfoil.py bitbake: tinfoil: add a means of enabling variable history tracking 2014-09-05 10:14:25 +01:00
utils.py bitbake: utils: make edit_metadata_file() handle VARIABLE += 2014-12-30 09:21:42 +00:00