← Back to issue list

meta: generate basic snap.yaml (CRAFT-801)

View original Github issue

Metadata

Project
snapcraft
Number
#3637
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged #3637, adding minimal snap.yaml generation from existing project metadata to enable snap packing (0afa3dbfd; merge bc94255b4).

Resolution: closed resolved

Reason: PR #3637 was approved and merged into snapcraft/7.0 as bc94255b4, with implementation commit 0afa3dbfd. It generates snap.yaml from available project data for snap packing.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Create a minimal snap.yaml metadata file from data we already have available to enable snap packing. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #3637, adding minimal snap.yaml generation from existing project metadata to enable snap packing (0afa3dbfd; merge bc94255b4).
stealth/space-bunny-alpha — closed resolved Merged into snapcraft/7.0 in #3637 (merge commit bc94255b4), adding automatic basic snap.yaml generation so snaps can be packed.
qwen/qwen3.6-35b-a3b — — Merged into snapcraft/7.0, adding automatic generation of a basic snap.yaml to enable snap packing. Approved by a reviewer, passed CI, and increased test coverage by 1.16%.
qwen3.6-35b-a3b-mtp-q6 — — Merged into snapcraft/7.0, the change generates a basic snap.yaml metadata file from existing data to enable snap packing. The commit increased overall test coverage by 1.16% with 96.82% diff coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3734 meta: add layout to snap.yaml snapcraft merged Merged PR #3734 in commit b6df2713e (merge c5ebd810a), adding snap.yaml layout support, stricter project validation, and corrected environment field types.
75%
#351 feat: add a default snapcraft.yaml starbase open Adds a default 54-line snap/snapcraft.yaml to the starbase template so downstream craft projects can `make pack-snap`. Open 597 days, 1 approval, 8 unresolved review comments, no CI.
73%
#3721 meta: fix snap yaml generation to match legacy snapcraft merged Merged PR #3721 via e2bfca89d, aligning generated snap YAML with legacy by declaring the snap type and emitting an empty apps list when no apps exist.
73%
#3014 meta: migrate get_build_base to Snap snapcraft merged Merged in snapcraft#3014 via commit 09be6bb53, moving get_build_base from Projectinfo to Snap and simplifying tests to use Snap metadata instead of self.project.info.
72%
#215 Snap yaml snapcraft merged Merged snap.yaml generation support (readme.md, package.yaml) by sergiusens in #215, commits ca31dcd69 and merge 89904e3e4, fixing LP #1532842; docs deferred and forking-daemon gap filed as LP #1532853.
72%
#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.
72%
#3552 meta: support for metadata links (CRAFT-370) snapcraft merged Merged CRAFT-370 support for metadata links in snap.yaml via #3552, merge commit 6d6a40749.
71%
#1518 project: introduce build-snaps snapcraft merged Merged PR #1518 as commit 69dceb848, adding a project-level and part-level `build-snaps` keyword with advanced grammar support (+902/-10, 24 files). Implements the design in snapcraft#1442; the feature remains in current snapcraft.
71%
#5467 build: update snap metadata snapcraft merged Merged as commit 6f9e0901a: refreshed the description of the Snapcraft snap (snap/snapcraft.yaml) with wording pulled from the documentation homepage.
71%
#146 Syntax of snapcraft.yaml (1.x) snapcraft merged PR #146 was merged, updating the snapcraft.yaml 1.x syntax reference after review, rebase, and squash; it built on merged PR #131.
70%