snapcraft
snapcraft copied to clipboard
Restrict base/build-base combinations
What needs to get done
Per ST119, bases and build-bases need restrictions including:
-
base: coreXX build-base: coreYY
is not allowed -
base: coreXX build-base: devel
is only allowed whencoreXX
is unstable -
base: devel
is not allowed
See the table in ST119 for a full definition of valid and invalid combinations.
The BASES_
constants and get_effective_base()
need to be reworked. For example, devel
is considered a valid base.
Why it needs to get done
To prevent snaps with undefined build and runtime behavior.