snapcraft:work/CRAFT-2469-support-adopt-info-and-dynamic-versions

Last commit made on 2024-02-24
Get this branch:
git clone -b work/CRAFT-2469-support-adopt-info-and-dynamic-versions https://git.launchpad.net/snapcraft

Branch merges

Branch information

Name:
work/CRAFT-2469-support-adopt-info-and-dynamic-versions
Repository:
lp:snapcraft

Recent commits

623bb03... by Claudio Matsuoka

Merge branch 'feature/craft-application' into work/CRAFT-2469-support-adopt-info-and-dynamic-versions

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).

0162fac... by Claudio Matsuoka

build(deps): update craft-application dependency to main

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

da4d1bf... by Claudio Matsuoka

feat: use mandatory adoptable fields list

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

75b8397... by Claudio Matsuoka

feat: use craft-application project variables

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

fa855f3... by Sheng Yu

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

ee5e89c... by Sergio Schvezov

fix(tests): do not expect file no longer provided in libc6 test

root@evolved-marten:~# sed -n -e 's/VERSION=\(.*\)/\1/p' /etc/os-release
"24.04 (Noble Numbat)"
root@evolved-marten:~# apt download libc6
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 libc6 amd64 2.38-3ubuntu1 [3248 kB]
Fetched 3248 kB in 4s (850 kB/s)
root@evolved-marten:~# dpkg-deb -x libc6_2.38-3ubuntu1_amd64.deb x
root@evolved-marten:~# find x | grep usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so
root@evolved-marten:~# echo $?
1

root@divine-piranha:~# sed -n -e 's/VERSION=\(.*\)/\1/p' /etc/os-release
"22.04.4 LTS (Jammy Jellyfish)"
root@divine-piranha:~# apt download libc6
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6 amd64 2.35-0ubuntu3.6 [3236 kB]
Fetched 3236 kB in 3s (1146 kB/s)
root@divine-piranha:~# dpkg-deb -x libc6_2.35-0ubuntu3.6_amd64.deb x
root@divine-piranha:~# find x | grep usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so
x/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so

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

eadcd37... by Sergio Schvezov

fix(tests): expect the proper caca versions core24 classic linter test

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

4f08e74... by Sergio Schvezov

fix(tests): expect the proper libpng version in core24 linter test (#4597)

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