snapcraft:work/CRAFT-2542-buildplanner-type

Last commit made on 2024-02-28
Get this branch:
git clone -b work/CRAFT-2542-buildplanner-type https://git.launchpad.net/snapcraft

Branch merges

Branch information

Name:
work/CRAFT-2542-buildplanner-type
Repository:
lp:snapcraft

Recent commits

1a09090... by Sheng Yu

fix: alias project-type to type

885106d... by Sheng Yu

feat(craft-application): migrate version command

This does not include the legacy snapcraft version

a513278... by Tiago Nobrega

fix(spread): update tests that manipulate architectures

This reflects a change in behavior in core24:

- Trying to build multiple snaps in a single run is an error;
- Trying to build no snaps at all is also an error.

Some of the subtests in architectures/ are still failing, but that's because
they need other fixes (like SNAPCRAFT_BUILD_FOR and "build-for: all" support).

In addition, the build-for-all test is removed because we decided to _not_
support "build-for: all" for now in core24, because the concept itself of
multiplatform snaps needs to be further discussed.

c68b362... by Tiago Nobrega

fix(package): use correct target-arch on snap

f71153d... by Tiago Nobrega

chore(tests): update lifecycle service creation

The Lifecycle service uses the build plan now.

b683207... by Claudio Matsuoka

feat: use craft-application project variables (#4601)

Signed-off-by: Claudio Matsuoka <email address hidden>

b41ebe6... by mattculler <email address hidden>

fix(application): support snap/craft environment variables (#4607)

72ddcc2... by Tiago Nobrega

feat(app): support extensions in core24

This commit adds support for extensions in core24 runs. This takes two changes:

- The extension-related commands (list- and expand-) are sort of "ported over"
  to craft-application's AppCommand base class. The commands for core22 and
  core24 now share the implementation.
- SnapcraftApplication is updated to actually apply the extensions when loading
  the project. Since we don't have any core24-capable extensions yet, this is
  verified at the regular-test level with an integration-ish test that runs the
  application and verifies that the dummy test extension is applied.

aeb9eac... by Tiago Nobrega

fix(project): fix core24/devel validation

The regular validator's 'values' parameter contains the fields that have
been validated so far (a bad footgun).

fa855f3... by Sheng Yu

feat(lifecycle): add deprecated snap command (#4589)