Checking url.lower() is in line
Output was
[22:52:53] $ pmbootstrap /home/pablo/bin/pmbootstrap --details-to-stdout build linux-bq-maxwell-plus
[22:52:53] Pmbootstrap v3.0.0 (Python 3.12.7 (main, Oct 1 2024, 11:15:50) [GCC 14.2.1 20240910])
[22:52:53] % cd /home/pablo/.local/var/pmbootstrap/cache_git/pmaports; git remote -v
[22:52:53] ERROR: pmaports: could not find remote name for any URL '['https://gitlab.postmarketos.org/postmarketOS/pmaports.git', 'git@gitlab.postmarketos.org:postmarketOS/pmaports.git']' in git repository: /home/pablo/.local/var/pmbootstrap/cache_git/pmaports
[22:52:53] See also: <https://postmarketos.org/troubleshooting>
[22:52:53] Traceback (most recent call last):
File "/home/pablo/Proyectos/cloned/pmbootstrap/pmb/__init__.py", line 67, in main
args = parse.arguments()
^^^^^^^^^^^^^^^^^
File "/home/pablo/Proyectos/cloned/pmbootstrap/pmb/parse/arguments.py", line 1305, in arguments
pmb.helpers.args.init(args)
File "/home/pablo/Proyectos/cloned/pmbootstrap/pmb/helpers/args.py", line 108, in init
pmb.helpers.git.parse_channels_cfg(pkgrepo_default_path())
File "/home/pablo/Proyectos/cloned/pmbootstrap/pmb/meta/__init__.py", line 42, in __call__
self.cache.cache[key] = self.func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pablo/Proyectos/cloned/pmbootstrap/pmb/helpers/git.py", line 217, in parse_channels_cfg
remote = get_upstream_remote(aports)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pablo/Proyectos/cloned/pmbootstrap/pmb/helpers/git.py", line 130, in get_upstream_remote
raise RuntimeError(
RuntimeError: pmaports: could not find remote name for any URL '['https://gitlab.postmarketos.org/postmarketOS/pmaports.git', 'git@gitlab.postmarketos.org:postmarketOS/pmaports.git']' in git repository: /home/pablo/.local/var/pmbootstrap/cache_git/pmaports
Before you report this error, ensure that pmbootstrap is up to date.
Find the latest version here: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/tags
Your version: 3.0.0
url
was capitalised whereas lines
were not. This made the check in the modified line fail.