cli: add option to enable experimental plugins
Metadata
Current evaluation
Merged. Adds CLI flag --enable-experimental-plugins and env var SNAPCRAFT_ENABLE_EXPERIMENTAL_PLUGINS to enable experimental plugins. Approved by reviewer, passed CI, and merged with 34 additions and 8 deletions across 3 files.
Suggested action: —
No scores available.
Issue body
Experimental plugins are registered only if the environment variable `SNAPCRAFT_ENABLE_EXPERIMENTAL_PLUGINS` is set to a non-empty value or if the `--enable-experimental-plugins` global argument is used.
Currently the kernel plugin is an experimental plugin.
- [ ] 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 `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Adds CLI flag --enable-experimental-plugins and env var SNAPCRAFT_ENABLE_EXPERIMENTAL_PLUGINS to enable experimental plugins. Approved by reviewer, passed CI, and merged with 34 additions and 8 deletions across 3 files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged by maintainer cmatsuoka. Adds the --enable-experimental-plugins CLI flag and SNAPCRAFT_ENABLE_EXPERIMENTAL_PLUGINS env var to enable experimental plugins, including the kernel plugin. Codecov warnings did not block the merge. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Successfully merged addition of a CLI flag and environment variable to enable experimental plugins, including the kernel plugin. Integrated into the codebase by maintainer cmatsuoka. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4093 cli: add option to enable experimental plugins for snapcraft_legacy | snapcraft | merged | Merged after reviewer approval and passing CI. Adds the --enable-experimental-extensions CLI flag and corresponding environment variable to snapcraft_legacy, enabling experimental plugins for core18 and core20. | |
| #4092 cli: better checking for experimental plugins | snapcraft | merged | Merged changes to improve CLI experimental plugin detection by using command-specific arguments instead of global arguments, addressing a craft-cli limitation. Approved by one reviewer, passed CI checks, and modified 7 files (+93/-23 lines). | |
| #3266 cli: add --enable-experimental-extensions option for expand-extensions | snapcraft | merged | Merged. Added --enable-experimental-extensions CLI flag to expand-extensions. Approved by one reviewer, passed CI checks, and committed with 13 additions and 3 deletions across one file. | |
| #3775 provider: forward SNAPCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS | snapcraft | merged | Merged a change forwarding the SNAPCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS environment variable to providers, ensuring experimental extensions are properly enabled during builds. | |
| #4511 Document new core22 variable to enable experimental extensions | snapcraft | closed | Closed as resolved. The deprecated CLI flag was not restored due to the time elapsed. The required environment variable SNAPCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS=1 is now documented in the official how-to guide. | |
| #3493 cli: rename experimental login environment variable | snapcraft | merged | Merged renaming the experimental login environment variable from SNAPCRAFT_LOGIN to avoid CI/CD conflicts. Approved by reviewer, passed CI, and integrated with a two-line change. |