[WIP] plugin API: support command-chain
Metadata
Current evaluation
Abandoned and closed without merging. Marked as WIP, the proposed plugin API command-chain support received no reviews and was not integrated.
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`?
-----
**Don't review yet.**
In order to move from generating wrappers to using command-chain, plugins need to be able to specify command-chains for their lifecycle steps as well as dependents and the final snap. This PR resolves [LP: #1790978](https://bugs.launchpad.net/snapcraft/+bug/1790978) by doing this, and by also implementing functions for obtaining the environment for each lifecycle step as well as dependents and the final snap.
See the [forum topic](https://forum.snapcraft.io/t/6018) for more details.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned and closed without merging. Marked as WIP, the proposed plugin API command-chain support received no reviews and was not integrated. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master. Adds command-chain support for plugin lifecycle steps and environment retrieval, resolving LP: #1790978. Integration reduced overall code coverage by 0.37%. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master. Adds command-chain support for plugin lifecycle steps and environment retrieval, resolving LP: #1790978. Integration reduced overall test coverage by 0.36%. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1792034 Plugin API: support command chain | snapcraft (launchpad) | closed | Closed without implementation or comments. The feature request for native command-chain support in the plugin API was abandoned or superseded by subsequent updates. |