rockcraft:refs/tags/1.3.1

Last commit made on 2024-04-19
Get this branch:
git clone -b refs/tags/1.3.1 https://git.launchpad.net/rockcraft

Branch merges

Branch information

Name:
refs/tags/1.3.1
Repository:
lp:rockcraft

Recent commits

f03bda5... by Tiago Nobrega

build: fix snap build in non-amd64 archs (#557)

Some archs don't have wheels for some of the dependencies (like pygit2).

15b653a... by Anas Husseini

fix: change pebble dir in 24.04 from /.rock/bin to /usr/bin (#552)

* change pebble dir in 24.04 from /.rock/bin to /usr/bin

* add a test for "exec pebble services"

4d5e467... by Tiago Nobrega

feat(project): ubuntu@24.04 no longer requires "devel" (#531)

3dddfa1... by Tiago Nobrega

fix(pebble): place pebble in a separate location (#528)

The context here is that starting from Ubuntu 24.04, the 'base-files' package
(and related chisel slices) provides "bin" as a symlink to "usr/bin". This
breaks the previous "phantom" pebble part because it created "bin" as a regular
directory which then conflicts with the symlink.

Moving forward, the pebble binary is now placed in ".rock/bin/". This way we
won't get further collisions and this reflects the fact that the location of
the binary is, and should be seen, as an implementation detail.

1101844... by David Andersson <email address hidden>

fix(flask): don't enforce definition of base, build-base and platforms (#529)

---------

Co-authored-by: Tiago Nobrega <email address hidden>

31a6152... by Tiago Nobrega

spread: don't cut dotnet slices unnecessarily

Those slices are currently fragile due to the ongoing time_t changes. Instead,
use coreutils_bins because it has fewer dependencies (but still some) and is
more stable. The purpose of the test is just to check that we can cut any slices
at all for base devel anyway.

cbad85c... by Anas Husseini

feat: remove --verbose from pebble if base is 24.04 or later (#526)

3690f7b... by Tiago Nobrega

build(deps): update craft-application to 2.4.0

d44ee43... by Tiago Nobrega

chore: force build-base and platform on flask examples

The problem is this: the flask extension currently adds a 'build-base' if the
'base' is 'bare' but the 'build-base' is undeclared, and a 'platforms' entry
if it's missing, but this behavior breaks with the new version of
craft-application because the BuildPlanner processes the yaml _before_ the
extensions are applied, and the planner cannot work without a build-base or
platform description.

The extension behavior of adding a 'build-base' and a 'platforms' item needs
to be reviewed: we probably don't want to support this. In the meantime,
this commit fixes only the projects that are executed in spread.

de24243... by Tiago Nobrega

refactor: port code to latest craft-app update

The brunt of the update is updating usages of platform/build-for to the build
plan. This largely affects the image and package services, but the semantics
should be unchanged because it's the same data just delivered differently.