poky/bitbake/lib/bb
Richard Purdie 1f103ae930 bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48
>From git 2.48 release notes:

"""
When "git fetch $remote" notices that refs/remotes/$remote/HEAD is
missing and discovers what branch the other side points with its
HEAD, refs/remotes/$remote/HEAD is updated to point to it.
"""

This means with git 2.48 onwards, there is a mystery "HEAD" revision
appearing in some of our shallow clone tests. We can avoid this by
using the same canonicalization as used for the reference revisions.

This resolves autobuilder failures on the Fedora 40 workers.

(Bitbake rev: e71f1ce53cf3b8320caa481ae62d1ce2900c4670)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c83444d1210740e27b1744d3aa7c5cad4e28db2f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-02-05 06:54:35 -08:00
..
asyncrpc bitbake: asyncrpc: Add context manager API 2024-01-10 05:14:16 -10:00
compress bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
fetch2 bitbake: fetch/wget: Increase timeout to 100s from 30s 2024-12-02 06:23:20 -08:00
parse bitbake: parse: Improve/fix cache invalidation via mtime 2024-05-29 05:24:08 -07:00
pysh bitbake: pyshyacc: allow double COMMA statements 2020-07-12 11:53:00 +01:00
server bitbake: server/process: Fix logging issues where only the first message was displayed 2022-06-26 22:55:39 +01:00
tests bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48 2025-02-05 06:54:35 -08:00
ui bitbake: buildinfohelper: Drop unused variables 2022-05-12 13:41:42 +01:00
__init__.py bitbake: lib/bb: Add workaround for libgcc issues with python 3.8 and 3.9 2024-01-04 05:00:12 -10:00
build.py bitbake: build: Add clean_stamp API function to allow removal of task stamps 2022-05-25 18:00:44 +01:00
cache_extra.py bitbake: bitbake: Strip old editor directives from file headers 2019-05-04 10:44:10 +01:00
cache.py bitbake: cache: correctly handle file names containing colons 2022-05-12 13:41:42 +01:00
checksum.py bitbake: checksum: Allow spaces in URI filenames 2022-04-14 09:48:33 +01:00
codeparser.py bitbake: codeparser: Fix handling of string AST nodes with older Python versions 2024-11-15 06:05:32 -08:00
command.py bitbake: cooker/command: Add a dummy event for tinfoil testing 2021-09-26 16:35:00 +01:00
cooker.py bitbake: cooker: Drop sre_constants usage 2022-09-16 17:53:22 +01:00
cookerdata.py bitbake: cookerdata: Drop dubious exception handling code 2023-03-14 15:05:30 +00:00
COW.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
daemonize.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
data_smart.py bitbake: data_smart: Improve performance for VariableHistory 2024-08-23 14:51:51 -07:00
data.py bitbake: data: Add missing dependency handling of remove operator 2024-01-04 05:00:12 -10:00
event.py bitbake: event.py: ignore exceptions from stdout and sterr operations in atexit 2022-09-16 17:53:22 +01:00
exceptions.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
main.py bitbake: lib/bb: Replace "abort" usage in task handling 2022-02-21 23:37:26 +00:00
methodpool.py bitbake: bitbake: Strip old editor directives from file headers 2019-05-04 10:44:10 +01:00
monitordisk.py bitbake: Fix disk space monitoring on cephfs 2023-11-09 04:41:17 -10:00
msg.py bitbake: msg: Drop unused local variable 2022-05-12 13:41:42 +01:00
namedtuple_with_abc.py bitbake: lib: fix most undefined code picked up by pylint 2020-08-25 18:14:53 +01:00
persist_data.py bitbake: persist_data: close connection in SQLTable __exit__ 2024-12-02 06:23:19 -08:00
process.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
progress.py bitbake: progress: Fix typo "wherever" 2022-02-20 16:45:25 +00:00
providers.py bitbake: providers: use local variable for packages_dynamic pattern 2022-05-12 13:41:42 +01:00
remotedata.py bitbake: tinfoil: Simplify remote datastore connections 2020-03-24 22:01:03 +00:00
runqueue.py bitbake: runqueue: show number of currently running bitbake threads when pressure changes 2023-12-11 06:13:49 -10:00
siggen.py bitbake: bitbake-diffsigs: break on first dependent task difference 2023-02-17 15:05:08 +00:00
taskdata.py bitbake: lib/bb: Replace "abort" usage in task handling 2022-02-21 23:37:26 +00:00
tinfoil.py bitbake: tinfoil: Do not fail when logging is disabled and full config is used 2023-11-09 04:41:17 -10:00
utils.py bitbake: bin/utils: Ensure locale en_US.UTF-8 is available on the system 2023-04-26 04:03:21 -10:00