refactor: migrate gated command
Metadata
Current evaluation
Merged PR #6145 as commit 21091b932, migrating the gated command from snapcraft_legacy and resolving SNAPCRAFT-1314.
Resolution: closed resolved
Reason: PR #6145 was approved and merged as commit 21091b932. The merged change moved the gated command from snapcraft_legacy into the new Snapcraft application.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Migrates the `gated` command from `snapcraft_legacy`.
(SNAPCRAFT-1314)
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #6145 as commit 21091b932, migrating the gated command from snapcraft_legacy and resolving SNAPCRAFT-1314. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #6145 as commit 21091b932, migrating the gated command from snapcraft_legacy and completing SNAPCRAFT-1314. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #6145 in commit 21091b932, migrating the gated command from snapcraft_legacy and completing SNAPCRAFT-1314. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #6145 as commit 21091b932, migrating the `gated` command from `snapcraft_legacy` and resolving SNAPCRAFT-1314. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the refactoring that migrates the gated command from snapcraft_legacy. Approved by two reviewers and passed most CI checks. Resolves SNAPCRAFT-1314. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Migrated the gated command from snapcraft_legacy. The pull request was merged after passing lint and test checks, resolving SNAPCRAFT-1314. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6144 refactor: migrate keys | snapcraft | merged | PR #6144 merged the migration of the keys command out of snapcraft_legacy, completing SNAPCRAFT-1315 in commit 30c9fcd19. | |
| #6228 refactor: migrate sign-build command | snapcraft | merged | Merged PR #6228 as commit 2904d0be2, migrating the sign-build command from Snapcraft's legacy codebase as part of SNAPCRAFT-1320. | |
| #6208 refactor: migrate validate command | snapcraft | merged | Merged PR #6208 as commit b1722e816, moving gated into the modern validations commands and migrating validate from snapcraft_legacy with a new Pydantic assertion model. | |
| #6218 refactor: migrate promote command | snapcraft | merged | Merged the promote command migration from snapcraft_legacy into the main codebase in commit 4012735f6, preserving legacy behavior. | |
| #6207 refactor: migrate metrics command | snapcraft | merged | Merged as commit 98bb42c3b, migrating the metrics command from Snapcraft’s legacy codebase to the new command architecture for SNAPCRAFT-1319. | |
| #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. | |
| #6141 refactor: migrate create-key command | snapcraft | merged | Merged the create-key command migration from snapcraft_legacy in squash commit a1a0fb103, adding the command to the new Snapcraft command framework. | |
| #4797 refactor: change PackCommand parent | snapcraft | merged | PR #4797 merged as commit b6f464c78, reparenting snapcraft's PackCommand onto craft-application's PackCommand, deleting ~23 lines of duplicated code enabled by craft-application#340/#341. | |
| #813 "snapcraft validate" and "snapcraft gated" commands | snapcraft | merged | Merged PR #813 in commit 2d429cf12, adding commands to inspect gated snaps and submit validation assertions. |