pmbootstrap-meow/pmb
Clayton Craft 7ab40a4336
pmb.lint: Don't try to lint apkbuild paths that are empty
This fixes an issue where pmb lint tries to lint an apkbuild using a repo path that the apkbuild doesn't exist in.
For example, it fixes this:

```
[22:13:26] (native) linting postmarketos-ui-cosmic with apkbuild-lint
[22:13:26] *** apkbuild-lint output ***
Error: File APKBUILD does not exist
[22:13:26] *** apkbuild-lint output ***
[22:13:26] ERROR: Linter failed!
Traceback (most recent call last):
  File "/builds/postmarketOS/pmaports/.ci/lib/apkbuild_linting.py", line 26, in <module>
    common.run_pmbootstrap(["-q", "lint"] + packages)
  File "/builds/postmarketOS/pmaports/.ci/lib/common.py", line 52, in run_pmbootstrap
    subprocess.run(cmd, universal_newlines=True, check=True)
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['pmbootstrap', '--aports', '/builds/postmarketOS/pmaports', '-q', 'lint', 'postmarketos-ui-cosmic']' returned non-zero exit status 2.
```

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2584
2025-04-15 11:51:29 +02:00
..
aportgen pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
build build: package: install rsync even when package has no makedepends 2025-04-04 01:55:09 +02:00
chroot chroot: don't depende on alpine-base 2025-04-11 17:19:10 +02:00
ci pmb.ci: choose multiple scripts at once interactively 2025-03-20 22:01:14 +01:00
commands pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
config Add option to auto-select the best mirror 2025-04-11 17:27:33 +02:00
core core: small typing improvement 2025-04-11 17:19:10 +02:00
data test: move all tests into separate module (MR 2551) 2025-02-13 01:28:20 +01:00
export pmb: Use explicit re-exports (MR 2545) 2025-02-23 11:40:44 +01:00
flasher pmb.flasher: fix "flasher boot" crash if cmdline is empty 2025-03-20 23:01:29 +01:00
helpers pmb.lint: Don't try to lint apkbuild paths that are empty 2025-04-15 11:51:29 +02:00
install install: Do not fail on invalid SSH key 2025-04-11 17:37:35 +02:00
meta pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
netboot pmb.netboot: Use NonBugError for nonexistent rootfs code path (MR 2540) 2025-03-10 22:15:52 +01:00
parse pmb/install: Add option to create single combined boot/root partition 2025-04-11 17:35:20 +02:00
qemu pmb.qemu.run: Use NonBugError for nonexistent rootfs code path (MR 2540) 2025-03-10 22:15:52 +01:00
sideload sideload: get channel from package not from global pmaports (MR 2569) 2025-03-10 22:22:50 +01:00
__init__.py Prepare 3.3.1 release 2025-02-27 01:09:19 +01:00
types.py build: fix cross-compile without CPU emulation 2025-03-20 22:36:12 +01:00