Commits on Source (6)
-
For the gitlab.com -> gitlab.postmarketos.org migration we needed to also migrate the workdir in pmb v2 since pmb v3 is not ready yet. Therefore we need to handle that "7-2.x" workdir version and migrate correctly when switching to pmbootstrap v3. See !2445
-
-
These are artefacts from when our line length was shorter. Ruff didn't really do a great job at fixing them up when autoformatting.
-
I don't think there's any case where the number of jobs would have to be a string. It's also being assigned an integer elsewhere the code (in ask_for_additional_options() inside of init.py), so an integer seems like what we actually want. Also fix type errors resulting of this.
-
config.sudo_timer is a bool, and the returned value here is a bool. No point in converting it to a str.
-
Showing
- pmb/build/other.py 1 addition, 1 deletionpmb/build/other.py
- pmb/config/init.py 32 additions, 35 deletionspmb/config/init.py
- pmb/config/test_config_serde.py 1 addition, 1 deletionpmb/config/test_config_serde.py
- pmb/core/config.py 1 addition, 1 deletionpmb/core/config.py
- pmb/helpers/mount.py 6 additions, 4 deletionspmb/helpers/mount.py
- pmb/helpers/other.py 9 additions, 2 deletionspmb/helpers/other.py