snapcraft upload error because of missing short namespace doesn't tell how to solve the problem
Bug #1602094 reported by
Leo Arias
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Won't Fix
|
Medium
|
Unassigned | ||
Software Center Agent |
New
|
Undecided
|
Unassigned |
Bug Description
When I try to upload a snap without a missing short namespace in myapps account, I get the error:
Received 403: 'Developer profile is missing short namespace.'
This error needs to be improved. Hide the 403, and show a way to register the namespace. Right now, that would be a link to the website.
Steps to reproduce:
- Register a new user in login.ubuntu.com
- Confirm the account by mail.
- Go to myapps.
- Register a snap.
- snapcraft init
- Change the name of the snap to be the one you registered.
- snapcraft
- snapcraft upload *.snap
The developer agreement and this step break the CLI flow. You have to leave the command line and go to the browser in order to publish your first snap. We should discuss how to avoid that; I think the only step that requires a browser should be registering an SSO account.