snapcraft:work/craft-app-fixes

Last commit made on 2024-03-13
Get this branch:
git clone -b work/craft-app-fixes https://git.launchpad.net/snapcraft

Branch merges

Branch information

Name:
work/craft-app-fixes
Repository:
lp:snapcraft

Recent commits

fda349b... by Callahan Kovacs

build(deps): add craft-application to doc requirements

Signed-off-by: Callahan Kovacs <email address hidden>

b6bba0d... by Tiago Nobrega

fix(tests): create a suitable build plan

Create a default build plan with a build info matching the host's architecture
and base, so that individual plan-dependent tests don't have to worry about
tweaking the plan.

17f7b8b... by Alex Lowe

fix(application): update configure_services

4a10493... by Callahan Kovacs

feat: get build env from command line, env, and snap config

Signed-off-by: Callahan Kovacs <email address hidden>

f771a4a... by Callahan Kovacs

feat: add platforms and drop architectures for core24 (#4630)

- Add `platforms` in core24
- Drop `architectures` in core24

Similar to `architectures`, the `platforms` keyword is optional and
defaults to building-on and building-for the host architecture.

As much as possible, I tried to follow charmcraft's and rockcraft's
implementation of platform support.

---------
Signed-off-by: Callahan Kovacs <email address hidden>

3f2ab25... by Tiago Nobrega

fix(application): fallback earlier for managed core20 (#4642)

Co-authored-by: Matt Culler <email address hidden>

69e25e1... by Sergio Schvezov

feat: setup_assets for core24 metadata (#4622)

The PrimeCommand calls

self._services.package.write_metadata(self._services.lifecycle.prime_dir)

Which makes it simple to hook up.

- [ ] Have you followed the [guidelines for
contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the
[CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox run -m lint`?
- [ ] Have you successfully run `tox run -e test-py310`? (supported
versions: `py39`, `py310`, `py311`, `py312`)

-----
Fixes #4592

Signed-off-by: Sergio Schvezov <email address hidden>

0c0d000... by Alex Lowe

feat: enable patchelf for core24 (#4639)

187777a... by Matt Culler <email address hidden>

fix(application): use SNAPCRAFT_MANAGED_MODE everywhere (#4638)

`craft-application` uses `CRAFT_MANAGED_MODE` environment variable,
while `snapcraft` was still using `SNAPCRAFT_MANAGED_MODE`. This was
causing inner managed instances of snapcraft to not realize they were
running in managed mode, and write their logs into an ephemeral location
inside the LXD instance, rendering those logs inaccessible from the
host.

4e14497... by Sergio Schvezov

fix(spread): check if core24 is there on prepare

Signed-off-by: Sergio Schvezov <email address hidden>