config: add snap config model
Metadata
Current evaluation
Closed by author. The snap config model was abandoned and superseded by a new implementation leveraging the snaphelpers library for better configuration handling.
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`?
-----
Allows Snapcraft to parse data set via `snap set snapcraft <key>=<value>`
Currently, the only supported parameter is `provider`, which will be used in an upcoming PR to allow users to choose a default provider.
(CRAFT-1321)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed by author. The snap config model was abandoned and superseded by a new implementation leveraging the snaphelpers library for better configuration handling. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and superseded. Added a snap config model to parse snap set snapcraft data, specifically the provider key. The author closed it to replace the custom implementation with the snaphelpers library in a follow-up PR. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and superseded. The snap config model for parsing snap set commands was abandoned in favor of a better implementation using the snaphelpers library, aligning with Charmcraft's approach. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3898 config: add snap config model | snapcraft | merged | Merged into main following reviewer approval and passing CI. Adds a snap config model to parse data set via snap set snapcraft key=value, mirroring charmcraft. The change modifies 11 files with 317 additions. | |
| #239 feat(snap_config): add snap_config model and utilities | craft-application | merged | Merged snap_config model and utilities into craft-application. Imported from snapcraft, updated to coding standards, and made generic. Approved by two reviewers, passed CI, and initiates a three-part series for build mode configuration. |