refactor: migrate create-key command
Metadata
Current evaluation
Merged the create-key command migration from snapcraft_legacy in squash commit a1a0fb103, adding the command to the new Snapcraft command framework.
Resolution: closed resolved
Reason: PR canonical/snapcraft#6141 was approved and squash-merged as commit a1a0fb103. The maintainer noted that the reported Spread integration failures were unrelated.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Migrates the `create-key` command from `snapcraft_legacy`.
(SNAPCRAFT-1313)
---
- [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 the create-key command migration from snapcraft_legacy in squash commit a1a0fb103, adding the command to the new Snapcraft command framework. | |
| stealth/space-bunny-alpha | — | closed resolved | Squash-merged PR #6141, moving the create-key command from snapcraft_legacy as part of SNAPCRAFT-1313. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval. The create-key command was successfully migrated from snapcraft_legacy. Integration test failures were dismissed as unrelated by the author, and the PR was squash merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Squash merged the migration of the create-key command from snapcraft_legacy. Unrelated spread failures were addressed prior to merge. Authored by maintainer mr-cal. |
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. | |
| #6145 refactor: migrate gated command | snapcraft | merged | Merged PR #6145 as commit 21091b932, migrating the gated command from snapcraft_legacy and resolving SNAPCRAFT-1314. | |
| #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. | |
| #1629942 Implement `snapcraft create-key` | snapcraft (launchpad) | closed | Implemented `snapcraft create-key` wrapping `snap create-key`, with early errors for existing local/store keys. Merged as snapcore/snapcraft PR #824 (commit 01d512e65); maintainer closed the Launchpad bug pointing at that PR. | |
| #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. |