pmbootstrap-meow/pmb/helpers
Clayton Craft f9add1b6d2
pmb.helpers.apk: fix crash computing progress from apk3
Fixes:

tot = float(cur_tot[1])
      ^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: '5383561 download'

Because this line now includes " download" at the end:

  ipdb> p line
  '10727/5383561 download\n'

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2635
2025-07-02 17:25:33 +02:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk.py pmb.helpers.apk: fix crash computing progress from apk3 2025-07-02 17:25:33 +02:00
apk_static.py pmb.helpers.apk_static: fix version check for apk3 2025-07-02 17:25:32 +02:00
aportupgrade.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
args.py helpers: logging: reduce the risk of a cyclical import (MR 2463) 2024-11-02 18:15:38 +01:00
cli.py helpers.cli: Fix regex validation (MR 2557) 2025-02-27 00:24:08 +01:00
devices.py pmb: Split devices by category during codename selection 2025-05-25 19:26:57 +02:00
exceptions.py pmb: Remove unnecessary pass statements (MR 2537) 2025-02-02 22:48:50 +01:00
file.py pmb: Add more type hints (MR 2513) 2024-12-19 18:52:25 +01:00
frontend.py Remove "pmbootstrap repo_bootstrap" 2025-06-03 17:25:41 +02:00
git.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
http.py Add option to auto-select the best mirror 2025-04-11 17:27:33 +02:00
lint.py pmb: Rename pmb:gpu-accel and deviceinfo_gpu_accelerated 2025-05-08 17:33:11 +02:00
locale.py pmb.helpers.locale: Use frozenset for primary_layouts (MR 2525) 2025-01-15 22:35:02 +01:00
logging.py pmb.helpers.logging: Fix type for args 2025-05-25 19:26:57 +02:00
mount.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
other.py pmb/helpers/other: fix typo found by codespell 2025-06-03 17:25:41 +02:00
package.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
pkgrel_bump.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
pmaports.py Remove "pmbootstrap repo_bootstrap" 2025-06-03 17:25:41 +02:00
repo.py core: Arch: add .supported_binary() (MR 2474) 2025-02-27 01:29:30 +01:00
repo_missing.py pmb: Use unpacking operator to concatenate collections (MR 2525) 2025-01-15 22:35:02 +01:00
run.py helpers: run: stop handling Arch in PathString (MR 2463) 2024-11-02 18:15:39 +01:00
run_core.py helpers.run.core.add_proxy_env_vars: fix variables (MR 2525) 2025-01-15 22:55:27 +01:00
status.py show the status output on failure (MR 2472) 2024-11-04 10:15:59 +09:00
test_devices.py pmb: Split devices by category during codename selection 2025-05-25 19:26:57 +02:00
toml.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
ui.py pmb.helpers.ui: Add must_exist argument to check_option() (MR 2530) 2025-01-16 12:22:28 +01:00