← Back to issue list

store: return specific error when already owned

View original Github issue

Metadata

Project
snapcraft
Number
#938
Type
pull request
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed superseded

Reason: The identical change was merged through canonical/snapcraft#942 as commit 2bc1ec109 ("store: return specific error when already owned (#942)"). The author closed #938 with the comment "We have #942 which is the same as well" and "Merged the one on the branch", so #938 itself was never merged (LP: #1602091).

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 superseded 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.
stealth/space-bunny-alpha — closed superseded PR #938 was closed unmerged as a duplicate of canonical/snapcraft#942, which merged the same already-owned error handling for `snapcraft register` as commit 2bc1ec109 (LP: #1602091).
stealth/space-bunny-alpha — closed superseded Closed in favor of canonical/snapcraft#942, which merged the same specific already-owned error handling for snapcraft register as commit 2bc1ec109.
qwen/qwen3.6-35b-a3b — — Merged to the branch. Returns a specific store error code when attempting to register an already owned snap, improving error handling during snapcraft register.
qwen3.6-35b-a3b-mtp-q6 — — Merged to return a specific error code when a snap is already owned during registration. Identified as a duplicate and superseded by pull request #942.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#942 (confidence 98%)

    Same title and intent; merged as commit 2bc1ec109 and explicitly cited by the author as the copy of #938.

  • Likely Fixed By: canonical/snapcraft#942 (confidence 96%)

    Merged PR that added the specific already-owned error code surfacing for snapcraft register.

Related issues

Issue Project State Summary Similarity
#942 store: return specific error when already owned snapcraft merged Merged #942 in commit 2bc1ec109, adding a specific store error when registering a snap the user already owns.
86%