plugins: add support for local v2 plugins (core20)
Metadata
Current evaluation
Merged after approval and passing CI. Adds local v2 plugin support (core20) via spread tests for PluginV2 and the nil v2 plugin. Approved as an enhancement following minor naming clarifications.
Suggested action: —
No scores available.
Issue body
Add a couple of spread tests, one based on PluginV2, another
extending an existing plugin (nil v2).
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and passing CI. Adds local v2 plugin support (core20) via spread tests for PluginV2 and the nil v2 plugin. Approved as an enhancement following minor naming clarifications. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged support for local v2 plugins on core20, adding spread tests for PluginV2 and extending the nil v2 plugin. Approved as an enhancement following minor naming clarification, then integrated into master. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master, adding local v2 plugin support for core20. Includes spread tests for PluginV2 and extending nil v2. Approved as an enhancement following minor naming adjustments during review. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3079 cli: add plugin help for core20 | snapcraft | merged | Merged updates to add core20 plugin help, fix python and nil plugin help for v2, enable the click pager, and default base loading to core20. Approved by reviewer and passed all CI checks. | |
| #5290 fix(core20): use importlib for local plugins | snapcraft | merged | Merged updates to core20 local plugin loading, replacing legacy imports with importlib and removing a deprecated warning. Approved by three reviewers with passing CI. Maintainers confirmed existing test coverage is sufficient. | |
| #3037 plugins: introduce v2.CMakePlugin | snapcraft | merged | Merged introduction of v2.CMakePlugin and consolidation of the v2 plugin spread test suite to streamline future development. Approved by one reviewer, passed CI, and modified 16 files with 196 additions and 23 deletions. | |
| #3022 plugins: introduce v2.PluginV2 and v2.NilPlugin | snapcraft | merged | Merged after introducing v2.PluginV2 and v2.NilPlugin classes. Extended PluginHandler to support the new plugin version, added required attributes, and removed obsolete state file migration code. Author resolved initial CI failures prior to merge. |