Quick instructions
-
Change your SSO display name.
No other action is required. When you next trigger a GitHub build, your display name will not revert.
After about 5-10 minutes (depending on the length of the build) you can confirm that your display name is correct with:
curl "https://api.snapcraft.io/v2/snaps/info/SNAPNAME" -s -H "Snap-Device-Series: 16" | jq '.snap.publisher'
Note on caching
The web interface is cached. After the build is complete, a web page refresh might show an older build with your old display name. This should resolve after a further 5-15 minutes.
If the curl command (above) returns the correct result, you can be assured that the web interface will eventually resolve correctly.
Testing the name change procedure
A. Set up legacy GitHub build
-
Change SSO display name to old name.
-
Log into Snapcraft dashboard. (Log out first, if required.)
-
Visit “Builds” tab for the snap and set up a GitHub connection. (Disable existing GitHub connection if it exists.)
-
Push change to GitHub. This triggers a new build.
-
Confirm new build appears with old name.
B. Change name
-
Change SSO display name to new name.
-
Log into Snapcraft dashboard. (Log out first, if required.)
-
Visit snap URL in browser. Name should be updated. Also visit snap via:
curl "https://api.snapcraft.io/v2/snaps/info/EXAMPLESNAP" -s -H "Snap-Device-Series: 16" | jq '.snap.publisher'
- curl snap web URL (caching may delay update)
- Private browser window (caching may delay update)
- …name should be updated in all these cases
-
Close browser.
C. Trigger new GitHub build
-
Push change to GitHub. This triggers a new build. (Takes about 5 mins.)
-
Visit snap via:
curl "https://api.snapcraft.io/v2/snaps/info/EXAMPLESNAP" -s -H "Snap-Device-Series: 16" | jq '.snap.publisher'
- curl snap URL (caching may delay update)
- Private browser window (caching may delay update)
- …name should remain updated in all these cases
D. Check the logs (sysadmins only)
Note the publisher ID from the curl output above. Filter the logs for this value. Review any messages.