summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/patchtest_parser.py
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-07-28 16:35:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-31 10:07:21 +0100
commit5bdce86cde17f57ffcea81895ea06689ac77fe0a (patch)
tree2a6e36c97d7ccc898fe7fd099c7fc613e3328179 /meta/lib/patchtest/patchtest_parser.py
parent731b1f50c89d75bd8ea000f1b1ece7868e526590 (diff)
downloadpoky-5bdce86cde17f57ffcea81895ea06689ac77fe0a.tar.gz
bitbake: fetch2/git: ignore comments in .gitattributes when detecting LFS
Fixes [YOCTO 15917] When fetching a git repository the .gitattributes file is scanned, checking if LFS support is required for the repository. This scan checks if the word "lfs" is present in the file, however the used regex doesn't account for comments, which makes some repositories[1] be to misidentified as requiring LFS support (which fails fetching, in case lfs support isn't installed on the build host). To avoid it, change the used regex to ignore lines starting with "#". [1]: e.g. https://github.com/MicrochipTech/cryptoauthlib (Bitbake rev: 7917a758fc328747116c7899e689171bd0efc883) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/patchtest_parser.py')
0 files changed, 0 insertions, 0 deletions