pmbootstrap-meow/pmb/helpers
Oliver Smith a6d34d66b3
git.get_upstream_remote: add fallback code path (MR 2429)
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.
2024-10-08 17:07:33 +02:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk.py chroot: always run apk static v2 (MR 2423) 2024-10-08 16:54:29 +02:00
aportupgrade.py Run ruff check --fix (MR 2357) 2024-07-16 00:26:35 +02:00
args.py args: remove -m and -mp (MR 2371) 2024-07-22 11:54:45 +02:00
cli.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
devices.py Run ruff check --fix (MR 2357) 2024-07-16 00:26:35 +02:00
exceptions.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
file.py Use simplified Python 3.8 syntax (MR 2327) 2024-06-23 19:13:52 +02:00
frontend.py pmb: Migrate aportgen to Command (MR 2428) 2024-10-07 21:41:26 +02:00
git.py git.get_upstream_remote: add fallback code path (MR 2429) 2024-10-08 17:07:33 +02:00
http.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
lint.py lint: raise error if linter fails (MR 2398) 2024-09-18 17:02:19 +02:00
logging.py ruff: format (MR 2344) 2024-07-08 16:09:42 +02:00
mount.py Fix pmbootstrap install --android-recovery-zip (MR 2368) 2024-07-16 00:04:15 +02:00
other.py pmb.helpers: Automatically migrate fetch and push URL (MR 2429) 2024-10-08 17:07:33 +02:00
package.py helpers.package.get: pass try_other_arches along 2024-09-22 15:33:08 +02:00
pkgrel_bump.py pmb.commands: Add pkgver_bump (MR 2415) 2024-09-30 12:45:21 +02:00
pmaports.py helpers.pmaports.find_providers: add type hints (MR 2301) 2024-09-30 18:37:28 +02:00
repo.py Support setting custom mirrors + disabling mirrors (MR 2361) 2024-07-16 00:34:06 +02:00
repo_missing.py repo_missing: set try_other_arches to False 2024-09-22 15:33:12 +02:00
run.py Run ruff check --fix (MR 2357) 2024-07-16 00:26:35 +02:00
run_core.py Run ruff format (MR 2357) 2024-07-16 00:26:35 +02:00
status.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
toml.py helpers: toml: fix mypy on import (MR 2344) 2024-07-08 16:01:13 +02:00
ui.py pmb.helpers.ui.check_option: fix for UI = none (MR 2348) 2024-07-05 00:48:52 +02:00