poky/bitbake/lib
Paulo Neves ec62e15f12 bitbake: tests/fetch: Add real git lfs tests and decorator
Added tests that verify that git-lfs works with an actual
real git-lfs server. This was not previously the case because
the repo in the test was a simulation of git-lfs but not
a real git lfs repo.

The 2 added tests are almost the same but test that the
git lfs file checkout is successfult with or without the
lfs=1 flag. The lfs=1 URI parameter is a quirk that triggers
2 different code paths for git lfs.

lfs=1, when used on git lfs repositories triggers the git lfs
downloading at the fetch bare stage.

lfs query parameter unset triggers the git lfs downloading only
on checkout as an implicit behavior of git. This leads to possible
network access on the unpack stage and outside the DL_DIR.

lfs=0 actually disables git-lfs functionality even if supported.

(cherry picked from commit d2be7f7f652360f13cd66d0850f3e19ffe2afb0a)

(Bitbake rev: 2a6fd774405a58f3ef2953a0dc3eca063e0cf890)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
..
bb bitbake: tests/fetch: Add real git lfs tests and decorator 2024-03-01 08:00:58 -10: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: Improve behaviour for better determinism/sstate reuse 2021-10-11 11:00:06 +01: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
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