← Back to issue list

feat(snap): add rockcraft.json to the snap

View original Github issue

Metadata

Project
rockcraft
Number
#1093
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1093 in commit e16322cf, adding schema/rockcraft.json to the snap for project validation and base discovery; shipped in Rockcraft 1.17.

Resolution: closed resolved

Reason: PR #1093 was approved and merged as commit e16322cf. The 1.17 release notes confirm that the project schema is included at schema/rockcraft.json inside the snap.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This is a request from the Rocks team. With the project schema in the snap, users can do things like validate a rockcraft.yaml against the version of rockcraft they have, check which bases are supported, etc. <!-- Describe your changes --> --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md). - [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1093 in commit e16322cf, adding schema/rockcraft.json to the snap for project validation and base discovery; shipped in Rockcraft 1.17.
stealth/space-bunny-alpha — closed resolved Merged in commit e16322cf, adding rockcraft.json to the snap so users can validate project files and check supported bases against their installed Rockcraft version.
qwen/qwen3.6-35b-a3b — — Merged a pull request adding rockcraft.json to the snap. Requested by the Rocks team, this enables users to validate rockcraft.yaml against their installed version and check supported bases. Approved by two reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged addition of rockcraft.json to the snap package. This enables local validation of rockcraft.yaml against the installed version and checks supported bases, fulfilling a Rocks team request.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#756 feat(snap): add git as craft.git to rockcraft rockcraft merged Merged PR canonical/rockcraft#756 added git to the rockcraft snap as craft.git, enabling Craft libraries to perform Git-based operations.
77%
#4 snap: introduce initial snap packaging (CRAFT-578) rockcraft merged Merged initial Rockcraft snap packaging for CRAFT-578 in #4; implementation commit 9a93db36 landed via merge commit 0797eb3d.
77%
#15 feat: add Snapcraft 8.x rock snapcraft-rocks merged Merged canonical/snapcraft-rocks#15, adding a Snapcraft 8.x rock through a one-line change after approval by two reviewers.
76%
#618 Update snapstore page for rockcraft rockcraft open Update rockcraft snap metadata and Snap Store page with source links, documentation, and a screenshot to improve product presentation.
74%
#6 project: add basic rockcraft.yaml parsing and validation (CRAFT-584) rockcraft merged Merged in rockcraft PR #6 (88c9d529), adding rockcraft.yaml parsing and parts validation, renaming tag to version, and switching output from .oci.tar to .rock.
72%
#568 feat(snap): expose skopeo as rockcraft.skopeo rockcraft merged PR merged as commit a85f6e63, wrapping the bundled skopeo as the rockcraft.skopeo command in the Rockcraft snap so tutorials referencing /snap/rockcraft/current/bin/skopeo keep working.
71%
#118 feat: pack snapcraft 9 for core26 snapcraft-rocks open Maintainer cmatsuoka adds an experimental rockcraft.yaml plus CI/workflow changes (+179/-3, 3 files) so the build rock can pack with Snapcraft 9 against core26. Open 13 days, unreviewed (0 reviewers), CLA passing, build-rock check still pending.
71%
#71 providers: install rockcraft snap via craft-providers API rockcraft merged Merged as f31183b7, refactoring provider setup to install the Rockcraft snap through the craft-providers API without functional changes.
70%
#1210 fix(commands): reference rockcraft.yaml in extensions help rockcraft closed PR #1210 (fix expand-extensions help to say rockcraft.yaml instead of snapcraft.yaml) was closed unmerged by its author as a duplicate of canonical/rockcraft#1103, which is already approved and CI-passing.
70%
#21 feat: add a rock for core24 Snapcraft 8.x snapcraft-rocks merged Merged PR #21, adding a core24 build rock for Snapcraft 8.x.
70%