newapkbuild: globbing and Path fixes
Merge request reports
Activity
stuff like
(089032) [00:15:25] Traceback (most recent call last): File "/home/luca/git/pmbootstrap/pmb/__init__.py", line 106, in main run_command(args) File "/home/luca/git/pmbootstrap/pmb/commands/__init__.py", line 61, in run_command getattr(frontend, args.action)(args) File "/home/luca/git/pmbootstrap/pmb/helpers/frontend.py", line 465, in newapkbuild pmb.build.newapkbuild(args.folder, pass_through, get_context().force) File "/home/luca/git/pmbootstrap/pmb/build/newapkbuild.py", line 26, in newapkbuild glob_result = list(build_outside.glob("/*/APKBUILD")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pathlib.py", line 1090, in glob raise NotImplementedError("Non-relative patterns are unsupported") NotImplementedError: Non-relative patterns are unsupported
and
(090216) [00:20:17] Traceback (most recent call last): File "/home/luca/git/pmbootstrap/pmb/__init__.py", line 106, in main run_command(args) File "/home/luca/git/pmbootstrap/pmb/commands/__init__.py", line 61, in run_command getattr(frontend, args.action)(args) File "/home/luca/git/pmbootstrap/pmb/helpers/frontend.py", line 465, in newapkbuild pmb.build.newapkbuild(args.folder, pass_through, get_context().force) File "/home/luca/git/pmbootstrap/pmb/build/newapkbuild.py", line 43, in newapkbuild logging.warning("WARNING: Folder already exists: " + target) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ TypeError: can only concatenate str (not "PosixPath") to str
By Luca Weiss on 2024-09-28T22:24:20
added 9 commits
-
2ebb79c2...fb6073e8 - 8 commits from branch
master
- c3016e02 - newapkbuild: globbing and Path fixes (MR 2416)
By Oliver Smith on 2024-09-30T16:59:01
-
2ebb79c2...fb6073e8 - 8 commits from branch
enabled an automatic merge when all merge checks for c3016e02 pass
By Oliver Smith on 2024-09-30T16:59:25
Please register or sign in to reply