Skip to content
Snippets Groups Projects

Checking url.lower() is in line

Merged Pablo Navarro requested to merge chipiguay/pmbootstrap:master into master

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.

Merge request reports

Merge request pipeline #210441 failed

Merge request pipeline failed for 78af66c7

Merged by Caleb ConnollyCaleb Connolly 4 months ago (Nov 18, 2024 3:17am UTC)

Loading

Pipeline #210442 failed

Pipeline failed for bec2a4b1 on master

Deployed to dep‎loy‎ 4 months ago

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading