What's Changed
Git Sources
More fine grained source fetching, three new scenarios are supported:
- fetching only listed submodules, in the defined
source-submodules
parts:
git-test:
plugin: dump
source-type: git
source: git@github.com...
source-submodules:
- submodule_1
- dir1/submodule_2
- excluding all submodules with an empty list
parts:
git-test:
plugin: dump
source-type: git
source: git@github.com...
source-submodules: []
- not defined (the default), all submodules are fetched
Plugins
NPM plugin
- npm plugin: allow running as root by @om26er in #3624
- npm plugin: extract node archive without preserving ownership by @om26er in #3625
Autotools
- Autotools Plugin (v1): Fix fatal crash when running autogen.sh or bootstrap by @diddledani in #3628
Gradle
ROS
- ROS plugins v2: respect source-subdir key by @Guillaumebeuzeboc in #3664
- colcon v2: forward cmake args by @artivis in #3638
Extensions
KDE
- extension: compose and deadkeys for neon by @sergiusens in #3643
- set lzo compression by default in kde-neon extension by @jriddell in #3595
- kde extension: new content snap for core20 by @jriddell in #3658
Command Line Interface
- dependencies: missing library resolution by @mr-cal in #3634
- cli: reintroduce remote-build and promote to snapcraft help by @aritra24 in #3648
Since the /usr
merge with /
the potentially missing stage-packages to add and solve missing dependencies was not working correctly on core20, this has now been fixed
The two command line client commands that were previously hidden, promote
and remote-build
, are now displayed as part of the general help.
core22 parts lifecycle opt-in for core20
- lifecycle: core22 lifecycle conditional on build-attributes entry by @sergiusens in #3622
- lifecycle: fix behavior for core22-step-dependencies by @facundobatista in #3641
To make use of this feature, something like this is needed
parts:
part1:
source: ....
plugin: make
build-attributes: [core22-step-dependencies]
Schema
- schema: add support for activates-on app property to schema by @jhenstridge in #3425
Other
- spread: update error when local snap is missing by @sergiusens in #3640
- tools: update staging store URL for uploading blobs by @nessita in #3656
- tests: update spread url by @mr-cal in #3663
- docker: fix Python installationby @mhoeher in #3607
- build(deps): bump pyyaml from 5.3 to 5.4 by @dependabot in #3490
New Contributors
- @om26er made their first contribution in #3624
- @aritra24 made their first contribution in #3648
- @lupino3 made their first contribution in #3661
- @mhoeher made their first contribution in #3607
- @Guillaumebeuzeboc made their first contribution in #3664
Full Changelog: 6.0.2...6.1