build: set snap grade based on version
Metadata
Current evaluation
Merged a one-line update to set the snap grade based on the version in rockcraft, resolving a parity gap with charmcraft. Approved by two reviewers and passed CI checks.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
When fixing this in charmcraft I noticed that it wasn't getting properly set in rockcraft.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a one-line update to set the snap grade based on the version in rockcraft, resolving a parity gap with charmcraft. Approved by two reviewers and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged change implementing version-based snap grade configuration for rockcraft. The fix addresses a missing grade setting identified during a charmcraft update, ensuring consistent behavior across both tools. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix to set the snap grade based on the version in rockcraft. This resolves a configuration issue where the grade was not properly applied, aligning with a similar charmcraft update. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2230 snap: use set-version and set-grade | snapcraft | merged | Merged updates to snap handling that implement set-version and set-grade commands, resolving Launchpad bug #1789695. Approved by reviewer, passed CI, and increased test coverage by 0.01%. | |
| #1402 build: set grade based on version number | charmcraft | merged | Merged changes that set the build grade based on the version number, resolving issue #1401. Approved by two reviewers with a single-file, two-line modification. | |
| #2067 many: add snapcraftctl set-grade | snapcraft | merged | Merged. Introduces snapcraftctl set-grade for scriptlet-based snap grade configuration and adds final YAML validation before snap.yaml generation. Resolves #2064. Approved, passed CI, and modified 20 files. | |
| #1093 feat(snap): add rockcraft.json to the snap | rockcraft | merged | 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. |