Allow using .snapcraft.yaml as input
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
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.
Suggested action: —
No scores available.
Issue body
[Impact]
* Allow using an alternate snapcraft.yaml which would be hidden (.snapcraft.yaml)
[Test Case]
1. Running `snapcraft init` creates a snapcraft.yaml
2. Running `snapcraft` creates a snap using snapcraft.yaml as a source
3. Create a copy `cp snapcraft.yaml .snapcraft.yaml`
4. Running `snapcraft` results in an error due to duplicate sources
5. Remove snapcraft.yaml
6. Running `snapcraft` creates a snap using .snapcraft.yaml as a source
[Regression Potential]
* Existing projects can fail to run snapcraft if the logic to check duplicates fails. This should be heavily covered by unit and integration tests (all tests would fail today if the code changed in incompatible ways).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed to allow .snapcraft.yaml as an input file. The change was verified and the issue closed. Implementation includes duplicate source detection to prevent conflicts with standard snapcraft.yaml. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented and verified support for using .snapcraft.yaml as an input file. The issue was closed after confirming fallback behavior and duplicate source handling via test cases. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #618 parser - Support .snapcraft.yaml files. | snapcraft | merged | Merged. Adds parser support for .snapcraft.yaml alongside snapcraft.yaml, enforcing that exactly one file exists and erroring otherwise. Successfully integrated into the codebase. |