How to change your publisher name

Quick instructions

  1. Log out of Snapcraft.

  2. Log out of Snapcraft dashboard.

  3. Log out of Ubuntu SSO.

  4. Log back into Ubuntu SSO.

  5. Change your SSO display name.

  6. Log into Snapcraft dashboard.

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

  1. Log into Ubuntu SSO.

  2. Change SSO display name to old name.

  3. Log into Snapcraft dashboard. (Log out first, if required.)

  4. Visit “Builds” tab for the snap and set up a GitHub connection. (Disable existing GitHub connection if it exists.)

  5. Push change to GitHub. This triggers a new build.

  6. Confirm new build appears with old name.

B. Change name

  1. Log into Ubuntu SSO.

  2. Change SSO display name to new name.

  3. Log into Snapcraft dashboard. (Log out first, if required.)

  4. 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
  5. Log out of Snapcraft.

  6. Log out of Snapcraft dashboard.

  7. Log out of Ubuntu SSO.

  8. Close browser.

C. Trigger new GitHub build

  1. Push change to GitHub. This triggers a new build. (Takes about 5 mins.)

  2. 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.