cli: add option to enable experimental plugins for snapcraft_legacy
Metadata
Current evaluation
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.
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/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
Adds core18|20 support for `--enable-experimental-extensions` and `SNAPCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS`.
Similar to https://github.com/snapcore/snapcraft/pull/4085 and https://github.com/snapcore/snapcraft/pull/4092.
(CRAFT-1619)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implemented CLI option and environment variable to enable experimental extensions for snapcraft_legacy on core18 and core20. Codecov reported missing base coverage but did not block the merge. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged by mr-cal. Introduces the --enable-experimental-extensions CLI flag and corresponding environment variable to activate experimental extensions in snapcraft_legacy for core18 and core20 targets. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4085 cli: add option to enable experimental plugins | snapcraft | merged | 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. | |
| #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. | |
| #4024 cli: pass `--verbose` and `-v` to snapcraft_legacy | snapcraft | merged | Merged into main. Enables passing --verbose and -v flags to snapcraft_legacy for core18 and core20 builds. Approved by reviewer, passed CI, and integrated without coverage changes. | |
| #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. | |
| #1950867 remote-build: Support passing --enable-experimental-extensions & options in general | snapcraft (launchpad) | open | Feature request to pass snapcraft options (e.g. --enable-experimental-extensions) to remote-build, blocked on Launchpad bug 1949989. The motivating kde-neon core20 case is resolved as the extension is no longer experimental. No activity for ~4.5 years. | |
| #3988 extensions, ros: remove experimental flag | snapcraft | merged | Merged into main after approval and passing CI. Removes the SNAPCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS flag for ROS extensions, enabling stable snap builds without workarounds. Code coverage remains unchanged. |