← 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 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%.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged into snapcraft/7.0, this change generates a minimal snap.yaml metadata file from existing data to enable snap packing. The merge improved overall coverage by 1.16% and achieved 96.82% diff coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3721 meta: fix snap yaml generation to match legacy snapcraft merged Merged into snapcraft/7.0. Fixed snap YAML generation to match legacy behavior by properly declaring snap type and handling empty app lists. Approved by maintainer, passed CI, and maintained full test coverage.
78%
#4 snap: introduce initial snap packaging (CRAFT-578) rockcraft merged Merged initial snap packaging implementation (CRAFT-578). Approved by one reviewer, passed CI checks, and added 86 lines across three files.
75%
#351 feat: add a default snapcraft.yaml starbase open Adds a default snapcraft.yaml (+54 lines, 1 file) so users can build a snap via the craft-application flow. Approved by 1 reviewer but 8 review comments remain unresolved; last activity 462 days ago.
74%
#3683 commands: add snap command snapcraft merged Merged into snapcraft/7.0. Implements legacy snap command support for package creation and fixes output parameter passing to managed instances. Approved by reviewer with passing CI checks.
74%
#3633 projects: add project model and validation (CRAFT-763) snapcraft merged Merged into snapcraft/7.0 after approval and CI checks. Added pydantic models and validators for snapcraft.yaml project files, adjusted package layout to prevent cyclic imports, and increased coverage by 2.02%.
74%
#3659 meta: add support for hooks snapcraft merged Merged into snapcraft/7.0 branch after reviewer approval and passing CI checks. Adds support for hooks in snapcraft.yaml, modifying four files with 116 additions and 24 deletions while maintaining 100% diff coverage.
72%
#49 packages: add snap package support craft-parts merged Merged after implementing snap download and installation for stage and build snaps. Approved by two reviewers, passed CI, and added 1,072 lines across five files. Follows snapcraft conventions with future refactoring planned.
72%
#3631 parts: add early base parsing (CRAFT-766) snapcraft merged Merged into snapcraft/7.0. Adds early base parsing for lifecycle commands, verifying the base entry via project YAML and falling back to legacy handlers if not core22. Approved, passed CI, +0.81% coverage.
72%
#1073 project: snapcraft.yaml in a snap directory snapcraft merged 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.
72%
#58 changes to snapcraft.yaml, and version, for 0.2.0 charmcraft merged Merged following single reviewer approval. Updated snapcraft.yaml and bumped project version to 0.2.0 across two files, adding 107 lines and removing 9.
72%