schema, meta: support layout
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduces schema and metadata support for the layout property in snapcraft, resolving LP: #1754639. Exposes layout configuration via CLI and validates it using snap pack --check-skeleton. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2336 schema, meta: support layout | snapcraft | closed | Closed without merge due to lack of review and unresolved comments. The pull request adding experimental layout support to snapcraft was abandoned after over seven years of inactivity. | |
| #2341 schema, meta: support app command-chain | snapcraft | merged | Merged into master, implementing schema and meta support for app command-chain to resolve LP #1790978. Requires snapd v2.36+. Approved, passed CI, and increased code coverage by 0.01%. | |
| #3812 architectures: add schema support | snapcraft | merged | Merged after approval and passing CI. Added schema support for defining architectures in snapcraft.yaml as part one for core22. Coverage increased by 0.09%, and the build_to parameter was renamed to build_for during review. |