← Back to issue list

cli: add option to enable experimental plugins

View original Github issue

Metadata

Project
snapcraft
Number
#4085
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

PR #4085 by cmatsuoka merged as commit 0133b4b3e, adding a global --enable-experimental-plugins CLI flag (plus SNAPCRAFT_ENABLE_EXPERIMENTAL_PLUGINS) so the kernel plugin and other unstable plugins can be used; still present at HEAD.

Resolution: closed resolved

Reason: The pull request itself was merged into the main branch as commit 0133b4b3e ("cli: add option to enable experimental plugins (#4085)"), with review approved. The option is implemented in snapcraft/parts/lifecycle.py (_check_experimental_plugins) and propagated to the core22 legacy re-exec in snapcraft/commands/core22/lifecycle.py, and remains present in the current tree.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved PR #4085 by cmatsuoka merged as commit 0133b4b3e, adding a global --enable-experimental-plugins CLI flag (plus SNAPCRAFT_ENABLE_EXPERIMENTAL_PLUGINS) so the kernel plugin and other unstable plugins can be used; still present at HEAD.
stealth/space-bunny-alpha — closed resolved Merged PR #4085, adding the --enable-experimental-plugins flag and SNAPCRAFT_ENABLE_EXPERIMENTAL_PLUGINS opt-in so experimental plugins, including kernel, can be enabled.
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.

Update history

No update history recorded yet.

Related work

  • Related To: snapcore/snapcraft#4084 (confidence 40%)

    Kernel plugin work on the feature/kernel-plugin branch that motivated gating experimental plugins behind a flag.

Related issues

Issue Project State Summary Similarity
#4093 cli: add option to enable experimental plugins for snapcraft_legacy snapcraft merged Merged in snapcore/snapcraft#4093 (937e52959), adding core18/core20 support for experimental extensions via the CLI option or environment variable in snapcraft_legacy.
76%
#4092 cli: better checking for experimental plugins snapcraft merged Merged as 66421cd6c: Snapcraft now checks command-specific parsed arguments when determining whether experimental plugins are enabled.
76%
#3266 cli: add --enable-experimental-extensions option for expand-extensions snapcraft merged Merged PR #3266 added --enable-experimental-extensions to expand-extensions, enabling expansion of experimental extensions in commit 31c1eb359.
72%