forked from Mirror/pmbootstrap
lint: adjust comment for empty apkbuild_paths
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2584
This commit is contained in:
parent
7ab40a4336
commit
9e8c4b2810
1 changed files with 4 additions and 1 deletions
|
@ -95,7 +95,10 @@ def check(pkgnames: Sequence[str]) -> None:
|
||||||
# For each pkgrepo run the linter on the relevant packages
|
# For each pkgrepo run the linter on the relevant packages
|
||||||
has_failed = False
|
has_failed = False
|
||||||
for pkgrepo, apkbuild_paths in apkbuilds.items():
|
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:
|
if not apkbuild_paths:
|
||||||
continue
|
continue
|
||||||
if pmb.chroot.user(
|
if pmb.chroot.user(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue