← Back to issue list

plugins: parse snapcraft.yaml before listing plugins

View original Github issue

Metadata

Project
snapcraft
Number
#4035
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Merged to main. Fixes plugin listing failures for core22 projects using extensions, parse-info, or advanced grammar. The change parses snapcraft.yaml before plugin enumeration. Approved and passed CI.

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] Have you successfully run `make lint`? - [X] Have you successfully run `pytest tests/unit`? ----- Previously, plugins could not be listed for core22 projects that included extensions, parse-info, or advanced grammar keywords. This small PR processes the `snapcraft.yaml` file prior to listing plugins. (CRAFT-1567)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to main. Fixes plugin listing failures for core22 projects using extensions, parse-info, or advanced grammar. The change parses snapcraft.yaml before plugin enumeration. Approved and passed CI.
qwen3.6-35b-a3b-mtp-q6 Merged into main. Fixed plugin listing for core22 projects by parsing snapcraft.yaml beforehand, resolving failures with extensions, parse-info, and advanced grammar keywords. Code coverage reached 100%.
qwen3.6-35b-a3b-mtp-q6 Merged into main. Resolves plugin listing failures for core22 projects by parsing snapcraft.yaml before enumeration, supporting extensions, parse-info, and advanced grammar keywords. Patch achieved 100% test coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4110 extensions: parse snapcraft.yaml before expanding extensions snapcraft merged Merged fix for the expand-extensions command to parse snapcraft.yaml before expanding extensions. Resolves core22 parsing issues with parse-info and advanced grammar keywords. Approved, passed CI, and merged into main.
80%
#2551 project: read local plugins from build-aux snapcraft merged Merged update enabling snapcraft to read local plugins from build-aux/snap when loading snapcraft.yaml from that directory. Approved, passed CI, and integrated into master.
71%