forked from Mirror/pmbootstrap
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 |
||
---|---|---|
.. | ||
__init__.py | ||
apk.py | ||
apk_static.py | ||
aportupgrade.py | ||
args.py | ||
cli.py | ||
devices.py | ||
exceptions.py | ||
file.py | ||
frontend.py | ||
git.py | ||
http.py | ||
lint.py | ||
locale.py | ||
logging.py | ||
mount.py | ||
other.py | ||
package.py | ||
pkgrel_bump.py | ||
pmaports.py | ||
repo.py | ||
repo_missing.py | ||
run.py | ||
run_core.py | ||
status.py | ||
toml.py | ||
ui.py |