Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.resource
blocks have been checked for updates.release notes
CRAFT_ARCH_TRIPLET_BUILD_FOR
, superseedsCRAFT_ARCH_TRIPLET
CRAFT_ARCH_TRIPLET_BUILD_ON
CRAFT_ARCH_BUILD_FOR
, superseedsCRAFT_TARGET_ARCH
CRAFT_ARCH_BUILD_ON
For
core20
,SNAPCRAFT_ARCH_TRIPLET_BUILD_FOR
, superseedsSNAPCRAFT_ARCH_TRIPLET
SNAPCRAFT_ARCH_TRIPLET_BUILD_ON
SNAPCRAFT_ARCH_BUILD_FOR
, superseedsSNAPCRAFT_TARGET_ARCH
SNAPCRAFT_ARCH_BUILD_ON
More on this can be read at https://canonical-snapcraft.readthedocs-hosted.com/en/latest/reference/architectures.html#project-variables
Remote Build
Remote build has an improved behavior. In the past any local source would have been tarballed, generating a new
snapcraft.yaml
before pushing to launchpad to ensure that all sources could be read. This presented many problems, one of which was that the remote build process was not building as it would have when running locally.All this has been fixed with the new
git
first workflow inremote-build
, there's now an environment variable,SNAPCRAFT_REMOTE_BUILD_STRATEGY
that can be set to:disable-fallback
to force the new featureforce-fallback
to force the legacy feature of tarballing the sourcesThis is the basic workflow:
Linter
The linter is now capable of showing what package could be provided through
stage-packages
to satisfy a potential missing library.Chiseling
Chiseled packages can now be referenced through
stage-packages
, the chiseled slices can be referred to by their name. The current behavior is that when you would opt-in for chiseled packages, you can not mix that with regular debian packages.This is a great option for creating bases or when using
bare
as a base.More about Chisel can be found at https://github.com/canonical/chisel
Plugins and Extensions
Rust plugin
The rust plugin has been significantly improved for
core20
andcore22
bases. The requirement to speficy the rust toolchain is no longer there and the plugin will fetch the toolchain using rustup as previous versions of this plugin once did.More information about the new options for rust can be found at https://canonical-craft-parts.readthedocs-hosted.com/en/latest/reference/plugins/rust_plugin.html
Kernel plugin
The kernel plugin can now properly generate Ubuntu kernel configs.
Python plugin
The plugin finally supports PEP 518.
ROS content sharing
Support of content sharing for ROS powered by the extensions that make building a ROS content sharing snap seamless.
To that effect several snaps meant to distribute ROS through content-sharing were created and are available on the store (hidden, e.g. ros-foxy-ros-base & ros-foxy-ros-base-dev)
The support is introduced for
core20
&core22
bases (ROS Noetic, Foxy, Humble)colcon
,catkin
, andcatkin-tools
pluginsTo note, this requires the dev snap providing the build-time material to execute a script listing all ROS packages it contains when it's built.
The general architecture is neatly described at https://ubuntu.com/robotics/docs/ros-architectures-with-snaps
And more on each extension behavior can be found at:
Changelog
build_base
parameter by @mr-cal in providers: remove deprecatedbuild_base
parameter canonical/snapcraft#4204--enable-image-information
inside instances by @mr-cal in manifest: use--enable-image-information
inside instances canonical/snapcraft#4330--use-lxd
overSNAPCRAFT_BUILD_ENVIRONMENT
by @mr-cal in cli: prioritize--use-lxd
overSNAPCRAFT_BUILD_ENVIRONMENT
canonical/snapcraft#4329--launchpad-timeout
argument by @mr-cal in fix(remote-build): parse--launchpad-timeout
argument canonical/snapcraft#4426New Contributors
Full Changelog: canonical/snapcraft@7.5.4...8.0.0