← Back to issue list

parser - Support .snapcraft.yaml files.

View original Github issue

Metadata

Project
snapcraft
Number
#618
Type
pull request
State
merged
Author
josepht
Labels
—
Created
Updated
Closed

Current evaluation

Merged support for .snapcraft.yaml alongside snapcraft.yaml in #618 (commit 3cacda309); projects containing both files or neither are now rejected.

Resolution: closed resolved

Reason: PR #618 was merged as commit 3cacda309, adding parser support for .snapcraft.yaml and validation for ambiguous or missing project files.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged support for .snapcraft.yaml alongside snapcraft.yaml in #618 (commit 3cacda309); projects containing both files or neither are now rejected.
stealth/space-bunny-alpha — closed resolved Merged as PR #618 (commit 3cacda309), adding parser support for .snapcraft.yaml alongside snapcraft.yaml and rejecting projects with both or neither file.
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.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#582 Support for a hidden snapcraft.yaml snapcraft merged Merged as commit 98eda9897, adding .snapcraft.yaml support while rejecting projects containing both hidden and standard manifests. Released in Snapcraft 2.12.
78%
#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).
77%
#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.
74%
#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.
70%