"snapcraft validate" and "snapcraft gated" commands
Metadata
Current evaluation
Merged PR #813 in commit 2d429cf12, adding commands to inspect gated snaps and submit validation assertions.
Resolution: closed resolved
Reason: PR #813 was merged as commit 2d429cf12 after review changes, with the final maintainer comment stating "ok to test." It delivered both requested commands.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Implements snapcraft validate and gated commands, according to discussions and specs.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #813 in commit 2d429cf12, adding commands to inspect gated snaps and submit validation assertions. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #813 by ralsina was merged (commit 2d429cf12), adding `snapcraft validate` and `snapcraft gated` store commands for gated/asserted snaps. Follow-up fixes landed in #849 (35b7da734) and #867 (0baa65469). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged implementation of `snapcraft validate` and `snapcraft gated` in canonical/snapcraft#813 (commit 2d429cf12). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation of snapcraft validate and gated commands. Contributor ralsina added 706 lines across 14 files, addressed reviewer feedback, and discussed CLI parsing alternatives. Approved and merged by maintainers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation of snapcraft validate and gated commands. Reviewer feedback was incorporated and suggestions addressed. Maintainer approved for testing prior to final merge. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#849
(confidence 98%)
Follow-up merged bug fixes for handling snaps without validations and refining validate behavior.
-
Related To:
canonical/snapcraft#867
(confidence 96%)
Follow-up improvement for broken validations and gated snaps without active validation.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1629335 Add support for the validate and gated commands | snapcraft (launchpad) | closed | Added validate and gated commands via merged PR snapcraft#813 (commit 2d429cf12), enabling validation submissions and gated-snap inspection. | |
| #849 Bugfixes for gated and validate commands | snapcraft | merged | Merged as commit 35b7da734, fixing LP #1629991 by handling snaps without validations and refining validate command behavior. | |
| #5164 feat: validate build commands before execution | snapcraft | merged | Merged #5164 (CRAFT-3293), adding pre-execution validation for app build-command definitions and closing #4999; the validation shipped in Snapcraft 8.5.1. | |
| #6145 refactor: migrate gated command | snapcraft | merged | Merged PR #6145 as commit 21091b932, migrating the gated command from snapcraft_legacy and resolving SNAPCRAFT-1314. |