mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
Replace skip_extra_repos -> with_extra_repos (MR 2480)
Replace the boolean skip_extra_repos with a new with_extra_repos argument that can be default, enabled or disabled. This will be used to explicitly enable extra repos in a package search even if systemd is currently disabled, so we can display a hint when a package was not found because systemd is disabled in a follow-up patch.
This commit is contained in:
parent
444d9e256f
commit
0a0f6ead33
6 changed files with 51 additions and 28 deletions
|
@ -16,6 +16,7 @@ RunReturnType = str | int | subprocess.Popen
|
|||
PathString = Path | str
|
||||
Env = dict[str, PathString]
|
||||
Apkbuild = dict[str, Any]
|
||||
WithExtraRepos = Literal["default", "enabled", "disabled"]
|
||||
|
||||
# These types are not definitive / API, they exist to describe the current
|
||||
# state of things so that we can improve our type hinting coverage and make
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue