store: return specific error when already owned
Metadata
Current evaluation
Merged #942 in commit 2bc1ec109, adding a specific store error when registering a snap the user already owns.
Resolution: closed resolved
Reason: PR #942 was approved and merged as commit 2bc1ec109. It now surfaces the store's specific already-owned error during registration.
Evaluated by: mr-cal-bot
No scores available.
Issue body
On `snapcraft register` of a snap we already own we can just say
it is already owned by using the specific error code returned by
the store for this.
LP: #1602091
Signed-off-by: Sergio Schvezov <sergio.schvezov@ubuntu.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #942 in commit 2bc1ec109, adding a specific store error when registering a snap the user already owns. | |
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft register now surfaces the store’s specific already-owned error. PR canonical/snapcraft#942 was merged as commit 2bc1ec109. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Updates snapcraft register to return a specific store error code when attempting to register an already owned snap. Approved, passed CI, and modified six files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged updates to snapcraft register that return a specific store error code when a snap is already owned, resolving LP: #1602091. Code coverage remained at 97.14%. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #938 store: return specific error when already owned | snapcraft | closed | Closed as duplicate of canonical/snapcraft#942, which merged the same already-owned store error handling for snapcraft register as commit 2bc1ec109. Maintainer noted #942 was identical and closed this one unmerged. |