schema, meta: support layout
Metadata
Current evaluation
Merged as a0532fedd, adding schema and metadata support for snapd's experimental layout property and resolving LP #1754639.
Resolution: closed resolved
Reason: PR #2338 was merged as commit a0532fedd, exposing the layout property in Snapcraft's schema and snap metadata and resolving LP #1754639.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
snapd has experimental support for the `layout` property, which provides the ability to reorganize the environment seen by the snap using bind-mounts, etc. This PR resolves [LP: #1754639](https://bugs.launchpad.net/snapcraft/+bug/1754639) by exposing this feature in the snapcraft CLI, relying on `snap pack --check-skeleton` for validation.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged as a0532fedd, adding schema and metadata support for snapd's experimental layout property and resolving LP #1754639. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcore/snapcraft#2338 as commit a0532fedd, adding schema and metadata support for snapd's experimental layout property and resolving LP #1754639. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to add schema and meta support for the snapd layout property. Resolves LP #1754639 by exposing the feature in the snapcraft CLI and relying on snap pack --check-skeleton for validation. Approved and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implements schema and meta support for the snapd layout property, resolving LP #1754639. Validation delegates to snap pack --check-skeleton, enabling bind-mount environment reorganization within the snapcraft CLI. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
snapcraft#2336
(confidence 85%)
An earlier closed PR carried the same title and scope; #2338 delivered the merged implementation.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2336 schema, meta: support layout | snapcraft | closed | Superseded by #2338, merged as a0532fedd, adding schema and metadata support for snapd's experimental layout property and resolving LP #1754639. | |
| #1754639 snapd layout feature not supported | snapcraft (launchpad) | closed | Layout definitions were supported by merged snapcore/snapcraft PR #2338 (commit a0532fedd), adding schema validation and snap.yaml metadata handling. | |
| #3734 meta: add layout to snap.yaml | snapcraft | merged | Merged PR #3734 in commit b6df2713e (merge c5ebd810a), adding snap.yaml layout support, stricter project validation, and corrected environment field types. |