← Back to issue list

project: snapcraft.yaml in a snap directory

View original Github issue

Metadata

Project
snapcraft
Number
#1073
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged in commit 78f3d4fe3: new projects default to snap/snapcraft.yaml while both legacy manifest locations remain supported.

Resolution: closed resolved

Reason: PR #1073 was approved and merged as commit 78f3d4fe3. It updated project scaffolding to use snap/snapcraft.yaml by default without deprecating either existing manifest location.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Default new projects to have snapcraft.yaml inside a snap directory without deprecating the other two options. LP: #1659085 Signed-off-by: Kyle Fazzari <kyle@canonical.com> Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in commit 78f3d4fe3: new projects default to snap/snapcraft.yaml while both legacy manifest locations remain supported.
stealth/space-bunny-alpha — closed resolved Merged #1073 as 78f3d4fe3: new projects now default to snap/snapcraft.yaml while legacy manifest locations remain supported.
qwen/qwen3.6-35b-a3b — — Merged into master. Defaults new projects to place snapcraft.yaml inside a snap directory while retaining support for legacy locations. Approved and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged into master. Defaults new projects to store snapcraft.yaml inside a snap/ directory while maintaining backward compatibility with legacy paths. Changes passed code coverage checks and received maintainer approval.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1069 snapcraft.yaml and building in snap directory snapcraft closed Closed unmerged after #1073 superseded the manifest-location change; #1073 was merged as 78f3d4fe3 to support snap/snapcraft.yaml.
77%
#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.
74%
#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.
74%
#2285 snapcraft snap: vendor legacy snapcraft snapcraft merged Merged in canonical/snapcraft#2285 (commit 5c1ee3b88), vendoring legacy Snapcraft and dispatching no-base projects to it to preserve backward compatibility.
72%
#3637 meta: generate basic snap.yaml (CRAFT-801) snapcraft merged Merged #3637, adding minimal snap.yaml generation from existing project metadata to enable snap packing (0afa3dbfd; merge bc94255b4).
72%
#5083 ".snapcraft.yaml" not picked up as a project file snapcraft closed Fixed in Snapcraft 8.9 for core24 by PR #5349, which rebased Snapcraft onto craft-application 5 and restored .snapcraft.yaml detection.
71%