pmbootstrap-meow/pmb/helpers
Caleb Connolly 2a7c769e14
core: introduce global context (MR 2252)
We can't totally escape the need for some runtime state defined by args.
To make the migration easier, introduce a global "Context" class and
move some of the read-only global options there.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-23 12:38:37 +02:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk.py chroot: always run apk static (MR 2252) 2024-06-23 12:38:37 +02:00
aportupgrade.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
args.py core: introduce global context (MR 2252) 2024-06-23 12:38:37 +02:00
cli.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
devices.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
exceptions.py pmb.helpers.exceptions: Add BuildFailedError (MR 2288) 2024-04-10 20:49:07 +00:00
file.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
frontend.py chroot: require explicit initialisation (MR 2252) 2024-06-23 12:38:37 +02:00
git.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
http.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
lint.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
logging.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
mount.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
other.py pmb.chroot: only init once (MR 2252) 2024-06-23 12:38:37 +02:00
package.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
pkgrel_bump.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
pmaports.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
repo.py chroot: always run apk static (MR 2252) 2024-06-23 12:38:37 +02:00
repo_bootstrap.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
repo_missing.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
run.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00
run_core.py core: introduce global context (MR 2252) 2024-06-23 12:38:37 +02:00
status.py treewide: add a Chroot type and adopt pathlib.Path (MR 2252) 2024-06-23 12:38:37 +02:00
ui.py treewide: adopt pathlib.Path and type hinting (MR 2252) 2024-06-23 12:38:37 +02:00