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

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged. Added rockcraft.json to the snap package, enabling users to validate rockcraft.yaml against the installed version and check supported bases per 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. Added git as craft.git to the rockcraft snap package to enable git-based operations for craft libraries. Approved by two reviewers, the change updates four files with 72 additions.
79%
#15 feat: add Snapcraft 8.x rock snapcraft-rocks merged Merged a minimal change adding a Snapcraft 8.x rock. Approved by two reviewers and implemented by maintainer tigarmo. Accepted without comments or CI checks.
76%
#1041 docs: generate 'rockcraft.yaml' with kitbash rockcraft merged Merged documentation update generating rockcraft.yaml via kitbash. Changes fixed broken links, added configuration keys beyond Snapcraft, and passed CI checks following reviewer approval.
75%
#179 retry rockcraft commands in fedora rockcraft merged Merged a PR adding retry logic for rockcraft commands in Fedora to work around a snapd bug, and updating the base image to Fedora 36. Approved by reviewers and passed CI.
74%
#1056 docs: clean up 'rockcraft.yaml' rockcraft merged Merged documentation cleanup for rockcraft.yaml. Updates include upgrading pydantic-kitbash to v0.1.1, removing unnecessary module declarations, and normalizing field order. Approved by two reviewers and merged despite unrelated snap-test failures.
73%
#6 project: add basic rockcraft.yaml parsing and validation (CRAFT-584) rockcraft merged Merged changes adding rockcraft.yaml parsing and validation to halt builds on invalid parts. Renamed the tag field to version and updated the output image suffix to .rock. Approved and passed CI across seven files.
73%
#33 cli: Fix description of "rockcraft pack" rockcraft merged Merged a one-line correction to the CLI help text for "rockcraft pack", updating the description to specify it packages a ROCK rather than a snap. Approved by two reviewers and passed CI.
73%
#837 docs: add security policy rockcraft merged Merged a security policy document for Rockcraft, modeled after Snapcraft, covering the current 1.x release. Reviewers approved the changes, which were incorporated and merged successfully.
72%
#21 feat: add a rock for core24 Snapcraft 8.x snapcraft-rocks merged Merged: added a rock for core24 Snapcraft 8.x. The change modified three files with a net addition of one line and was approved by two reviewers before integration.
72%
#71 providers: install rockcraft snap via craft-providers API rockcraft merged Merged a refactor updating snapcraft to install the rockcraft snap via the new craft-providers API. The change modifies six files with no functional impact, passed CI checks, and received approval.
72%