pmbootstrap-meow/pmb
Caleb Connolly 03bccfd037
build: package: bail out if newer binary package exists (MR 2388)
When building with --src or --force, other logic to detect when to build
a package is skipped. However there are no (known) cases when someone
might want to build a package if the resulting binary package version
will be older than an existing binary package. Catch this case and fail
with recommendations for user action (update pmaports, clear local
binary repo).

This should help avoid the situation where you accidentally build an old
version of a package and it never actually gets installed.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
2024-09-17 02:27:44 +02:00
..
aportgen pmb.{aportgen,parse}: deprecate deviceinfo_keyboard (MR 2396) 2024-09-07 18:04:10 +02:00
build build: package: bail out if newer binary package exists (MR 2388) 2024-09-17 02:27:44 +02:00
chroot pmb.{chroot, install}: modify for bsdutils (MR 2315) 2024-09-01 15:45:06 +02:00
ci Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
commands kconfig check: don't print URL for each warning (MR 2399) 2024-09-08 00:09:16 +02:00
config pmb.config: remove sideload variable (MR 2400) 2024-09-15 01:51:59 -04:00
core Support setting custom mirrors + disabling mirrors (MR 2361) 2024-07-16 00:34:06 +02:00
data pmb.{aportgen,parse}: deprecate deviceinfo_keyboard (MR 2396) 2024-09-07 18:04:10 +02:00
export symlink: fix android-recovery-installer path (MR 2372) 2024-07-16 12:48:30 +04:00
flasher Add some missing type hints (MR 2338) 2024-08-21 15:47:26 +02:00
helpers helpers: frontend: fix newapkbuild. args.force -> context.force (MR 2388) 2024-09-17 02:27:44 +02:00
install install: create_device_rootfs: install pmos-base-systemd first (MR 2383) 2024-09-02 10:27:38 -07:00
meta Run ruff check --fix (MR 2357) 2024-07-16 00:26:35 +02:00
netboot Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
parse kconfig check: don't print URL for each warning (MR 2399) 2024-09-08 00:09:16 +02:00
qemu Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327) 2024-06-23 19:13:57 +02:00
sideload pmb.sideload: adapt sideload to support both doas and sudo (MR 2400) 2024-09-15 18:13:04 -04:00
__init__.py Add some missing type hints (MR 2338) 2024-08-21 15:47:26 +02:00
conftest.py Use pmbootstrap_v3.cfg as config file (MR 2350) 2024-07-10 20:06:25 +02:00
types.py install: add a --sector-size flag (MR 2391) 2024-08-25 22:06:17 +02:00