Support for a hidden snapcraft.yaml
Metadata
Current evaluation
Merged as commit 98eda9897, adding .snapcraft.yaml support while rejecting projects containing both hidden and standard manifests. Released in Snapcraft 2.12.
Resolution: closed resolved
Reason: PR #582 was merged as commit 98eda9897. It added hidden-manifest detection and validation, and Launchpad #1587933 recorded the completed verification and release.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Adding support for .snapcraft.yaml and erroring out if both a
.snapcraft.yaml and a snapcraft.yaml are found.
`snapcraft init` will still create an unhidden one.
LP: #1587933
Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged as commit 98eda9897, adding .snapcraft.yaml support while rejecting projects containing both hidden and standard manifests. Released in Snapcraft 2.12. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #582 added support for .snapcraft.yaml and rejects projects containing both hidden and visible project files; landed as commit 98eda9897. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #582, adding .snapcraft.yaml support and rejecting projects containing both it and snapcraft.yaml; snapcraft init still creates the standard file. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds .snapcraft.yaml support, erroring if both hidden and unhidden configs exist. snapcraft init still creates the unhidden version. Approved after minor wording tweaks and successful CI retests. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1597484 The parser needs to support hidden .snapcraft.yaml files | snapcraft (launchpad) | closed | Hidden .snapcraft.yaml parsing was added; projects containing both hidden and standard manifests are rejected by canonical/snapcraft#618 (commit 3cacda309). | |
| #618 parser - Support .snapcraft.yaml files. | snapcraft | merged | Merged support for .snapcraft.yaml alongside snapcraft.yaml in #618 (commit 3cacda309); projects containing both files or neither are now rejected. | |
| #1073 project: snapcraft.yaml in a snap directory | snapcraft | merged | Merged in commit 78f3d4fe3: new projects default to snap/snapcraft.yaml while both legacy manifest locations remain supported. | |
| #1587933 Allow using .snapcraft.yaml as input | snapcraft (launchpad) | closed | Feature implemented in canonical/snapcraft PR #582 (commit 98eda9897), shipped in snapcraft 2.12 to xenial; SRU verified by elopio and released to -updates, closing the Launchpad bug. |