Skip to content

Better warning for binary repo version > aport version

Oliver Smith requested to merge feature/better-version-warning into master

Changes

  • improve the warning message to clearly state which package version will be used
  • same function: remove an obsolete comment referring to "timestamp based rebuilds" (a feature that has been abandoned).

Fixes #1680 (closed).

How to test

  • increase the version of aports/main/hello-world
  • pmbootstrap build hello-world
  • reset the version of aports/main/hello-world
  • pmbootstrap build hello-world
  • now the new message appears

Example output

[07:54:24] WARNING: won't build package 'hello-world': aport version 1-r4 is lower than 1-r5 from the binary repository. 1-r5 will be used. See also: <https://postmarketos.org/warning-repo2>

(please do not squash!)

Merge request reports