← Back to issue list

schema, meta: add "full" app adapter

View original Github issue

Metadata

Project
snapcraft
Number
#2343
Type
pull request
State
merged
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

Merged addition of a full app adapter to snapcraft. Replaces wrapper-based execution with snapd 2.36+ command-chain, resolving LP 1794532. The legacy adapter remains the default for compatibility.

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`? ----- Today, the snapcraft CLI supports both "none" and "legacy" as app adapters, "none" meaning no wrappers or environment at all, and "legacy" meaning wrappers. This PR resolves [LP: #1794532](https://bugs.launchpad.net/snapcraft/+bug/1794532) by adding a "full" app adapter that means no more wrappers, but fully utilizes snap'd command-chain to accomplish the same thing in a much nicer way. This requires snapd 2.36 which is not yet released, so continue using "legacy" as the default for now.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged addition of a full app adapter to snapcraft. Replaces wrapper-based execution with snapd 2.36+ command-chain, resolving LP 1794532. The legacy adapter remains the default for compatibility.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Adds a "full" app adapter using snapd command-chain instead of legacy wrappers, resolving LP: #1794532. Requires snapd 2.36; "legacy" remains default.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Introduces a full app adapter replacing legacy wrappers with snapd command-chain, resolving LP: #1794532. Requires snapd 2.36, while legacy remains the default.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1794532 Add "full" adapter type snapcraft (launchpad) closed The proposed "full" adapter type to remove app wrappers and utilize snapd's command chain was closed without implementation. Lack of comments and over seven years of inactivity indicate the feature was abandoned or superseded.
79%
#2379 meta: add assumes if using "full" app adapter snapcraft merged Merged into master. Automatically adds assumes: [command-chain] to snap metadata when using the full app adapter, resolving LP: #1799295. Approved, passed CI, and achieved 100% diff coverage.
74%