Skip to content

package: Add package expressions

James Valleroy requested to merge jvalleroy/freedombox:package-expression into master
  • Add package expressions

    • Package represents a package to potentially be installed.
    • PackageOr allows an alternate package, in case the first one is not available.
  • Use package expressions in Packages component

    • managed_packages() finds all possible packages that could be installed. This is used for the check in the action script.
    • resolve() finds actual packages to be installed. This is used in setup, diagnose, and has_unavailable_packages.
  • Fail diagnostic when not able to resolve

    • When a package expression cannot be resolved (i.e. not installable), add a diagnostic failure result with appropriate message.
  • minetest: Allow alternate name for 3d armor mod (#2164 (closed))

    • In Bookworm, the minetest-mod-player-3d-armor package is renamed to minetest-mod-3d-armor. Allow either package name to fulfill the requirement, so that the app is installable in both Bullseye and Bookworm.

Tests:

  • minetest can be installed in both bullseye and testing.
  • Ran other functional tests on bullseye and testing. Confirmed that failures/warnings are not related to this change.

Signed-off-by: James Valleroy jvalleroy@mailbox.org

Edited by James Valleroy

Merge request reports

Loading