poky/bitbake/lib
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
..
bb bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48 2025-02-05 06:54:35 -08:00
bblayers bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
bs4 bitbake: bitbake/lib/bs4/tests/test_tree.py: python 3.12 regex 2024-03-01 08:00:58 -10:00
hashserv bitbake: hashserv: tests: Omit client in slow server start test 2024-10-10 12:01:06 -07:00
layerindexlib bitbake: lib: Replace remaining "blacklist"/"whitelist" usage 2022-02-21 23:37:26 +00:00
ply bitbake: utils/ply: Update md5 to better report errors with hashlib 2023-02-17 15:05:08 +00:00
progressbar bitbake: bitbake: Add initial pass of SPDX license headers to source code 2019-05-04 10:44:04 +01:00
prserv bitbake: asyncrpc: Add context manager API 2024-01-10 05:14:16 -10:00
simplediff bitbake: lib/bb/siggen: show word-diff for single-line values containing spaces 2017-04-10 23:00:32 +01:00
toaster bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer 2024-02-07 03:30:05 -10:00
codegen.py bitbake: codegen: implement ast.NodeVisitor.visit_Constant 2021-10-14 22:37:43 +01:00
pyinotify.py bitbake: pyinotify.py: Simplify identification of which event has occurred 2022-04-14 09:48:33 +01:00