github canonical/snapcraft 6.1

latest releases: 8.3.0, 8.2.12, 8.2.11...
2 years ago

What's Changed

Git Sources

  • sources: make submodule fetching configurable by @mr-cal in #3629

More fine grained source fetching, three new scenarios are supported:

  1. 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
  1. excluding all submodules with an empty list
parts:
  git-test:
    plugin: dump
    source-type: git
    source: git@github.com...
    source-submodules: []
  1. 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

  • feat: add support for JDK 17 in the Gradle plugin by @lupino3 in #3661

ROS

Extensions

KDE

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

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

New Contributors

Full Changelog: 6.0.2...6.1

Don't miss a new snapcraft release

NewReleases is sending notifications on new releases.