"The name <foo> is already taken" is a poor experience

Bug #1740500 reported by Alan Pope 🍺🐧🐱 🦄
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Confirmed
Undecided
Unassigned

Bug Description

A new person to snapcrafting, who wants to register a snap and deliver it to users will often (as per our docs) issue "snapcraft register foo" as one of their first steps. They will be met with:-

https://github.com/snapcore/snapcraft/blob/881a7940552a1eac3c8f0833e33e71017d5b549b/snapcraft/storeapi/errors.py#L169

"The name 'foo' is already taken. We can if needed rename snaps to ensure they match the expectations of most users. If you are the publisher most users expect for 'foo' then claim the name at 'https://dashboard.snapcraft.io/register-snap/?series=16&name=foo'"

We have seen multiple occasions where this is off-putting. In our experience we find developers believe this means they are not allowed to use the name, even if it's a name they have for their own software project. They will then register "devname-foo" or "foo-devname" in the store for their own project, which looks awful when searching, and means users have command lines which consist of <devname-foo.foo> in some cases.

I believe it's the first sentence which triggers this. Mostly because of the land grab we did before launch. We should re-word this so it's less off-putting for new users.

Perhaps something which implies that we want them to go through the extra step, but doesn't imply they're not allowed to use it. I fully appreciate we don't want people grabbing stuff they're not "expected" to own, but in many of these cases they are, but do NOT move on to the next step of registering a dispute because of the dismissive language used in the first sentence.

Revision history for this message
Qazi Omair Ahmed (omairqazi) wrote :

Thanks Pope! I also faced this issue while registering the name (instantnews).

Changed in snapcraft:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.