canonical / snapcraft

Package, distribute, and update any app for Linux and IoT.
https://snapcraft.io
GNU General Public License v3.0
1.18k stars 443 forks source link

feat: write provenance to component metadata #4849

Closed mr-cal closed 3 months ago

mr-cal commented 3 months ago

Write provenance to a component's meta/component.yaml file.

Also, use the SnapcraftMetadata model such that None and default fields are not written.

source: https://github.com/snapcore/snapd/pull/13964#discussion_r1604828668

Fixes #4827 (CRAFT-2980)

mr-cal commented 3 months ago

Waiting on https://github.com/snapcore/snapd/pull/14067 to land and be available on edge