pmbootstrap-meow/pmb/helpers
Oliver Smith 4ba70a3fd8
git.get_upstream_remote: add fallback code path (MR 2429) (MR 2445)
When running some commands like "pmbootstrap chroot" or even
"pmbootstrap work_migrate", pmbootstrap will attempt to read the
pmaports.cfg from origin/master *before* doing the work dir migration.

In order to do this, the "get_upstream_remote" function tries to find
the upstream remote by URL. Let it search with the outdated URLs too, so
this doesn't fail right before migrating to the new URLs.

(cherry picked from commit a6d34d66b3)
2024-10-21 22:26:12 +02:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
aportupgrade.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
args.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
cli.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
devices.py treewide: Rename unmaintained to archived (MR 2308) 2024-05-15 17:06:37 +02:00
exceptions.py pmb.helpers.exceptions: Add BuildFailedError (MR 2288) 2024-04-10 20:49:07 +00:00
file.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
frontend.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
git.py git.get_upstream_remote: add fallback code path (MR 2429) (MR 2445) 2024-10-21 22:26:12 +02:00
http.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
lint.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
logging.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
mount.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
other.py pmb.helpers: Automatically migrate fetch and push URL (MR 2429) (MR 2445) 2024-10-21 22:26:12 +02:00
package.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
pkgrel_bump.py pkgrel_bump --auto: ignore -service depends (MR 2321) 2024-06-20 19:56:18 +02:00
pmaports.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
repo.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
repo_bootstrap.py require_bootstrap: ensure apkindex exists (MR 2287) 2024-04-03 19:08:48 +00:00
repo_missing.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
run.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
run_core.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00
status.py pmbootstrap status: rework (MR 2294) 2024-04-16 18:54:35 +00:00
ui.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00