parser - Support .snapcraft.yaml files.
Metadata
Current evaluation
Merged. Adds parser support for .snapcraft.yaml alongside snapcraft.yaml, enforcing that exactly one file exists and erroring otherwise. Successfully integrated into the codebase.
Suggested action: —
No scores available.
Issue body
When getting origin data use either snapcraft.yaml or .snapcraft.yaml.
Error if both or neither are present.
LP:#1597484
LP:#1597778
Signed-off-by: Joe Talbott joe.talbott@ubuntu.com
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Adds parser support for .snapcraft.yaml alongside snapcraft.yaml, enforcing that exactly one file exists and erroring otherwise. Successfully integrated into the codebase. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation adds .snapcraft.yaml support to the parser, requiring exactly one of snapcraft.yaml or .snapcraft.yaml to exist. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged parser updates to support .snapcraft.yaml alongside snapcraft.yaml for origin data, erroring if both or neither are present. Approved and merged after successful CI retests and admin verification. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1599098 [parser] Don't explode if snapcraft.yaml is missing | snapcraft (launchpad) | closed | Resolved by adding a missing file check to prevent parser crashes. The fix was merged and the issue closed. | |
| #582 Support for a hidden snapcraft.yaml | snapcraft | merged | Merged. Adds support for a hidden .snapcraft.yaml config, erroring if both it and snapcraft.yaml exist. snapcraft init still creates the standard file. Incorporated reviewer terminology feedback and passed retests before merging. | |
| #1597484 The parser needs to support hidden .snapcraft.yaml files | snapcraft (launchpad) | closed | Closed without resolution. Support for hidden .snapcraft.yaml files was abandoned due to inactivity. No fix or implementation details were recorded. | |
| #1665007 The parser needs to support origins with snap/snapcraft.yaml | snapcraft (launchpad) | closed | Closed without implementation. The parser remains restricted to root-level snapcraft.yaml files. No discussion or code changes occurred, indicating the request was abandoned. | |
| #982 parser - Use the same version method as 'snapcraft' | snapcraft | merged | Merged into master following reviewer approval. Updates the parser to use snapcraft's version method, reducing code by five lines and resolving LP:#1590266 with negligible coverage impact. | |
| #1587933 Allow using .snapcraft.yaml as input | snapcraft (launchpad) | closed | Fixed to allow .snapcraft.yaml as an input file. The implementation was verified and the issue closed, enabling fallback to the hidden config when snapcraft.yaml is absent. |