lint: adjust comment for empty apkbuild_paths

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2584
This commit is contained in:
Oliver Smith 2025-04-15 15:56:47 +02:00
parent 7ab40a4336
commit 9e8c4b2810
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -95,7 +95,10 @@ def check(pkgnames: Sequence[str]) -> None:
# For each pkgrepo run the linter on the relevant packages
has_failed = False
for pkgrepo, apkbuild_paths in apkbuilds.items():
# FIXME: somehow invalid paths get into this list
# We search for the pkgnames in both the normal and systemd repository,
# so unless the pkgname exists in both the apkbuild_paths is empty for
# one of them and needs to be skipped here. This is not very elegant,
# let's rework the CI logic for this at some point: pma#3665
if not apkbuild_paths:
continue
if pmb.chroot.user(