[09:28] <ral> I've either done something stupid, or have found a problem in launchpad. I reckon it's the former which is why I'm here not on bugs.l.n.
[09:29] <ral> I've got a snap that is automatically built from a lp branch imported from github. I wanted to migrate that snap to a new name (not title), so I've registered the new snap and done a manual upload and have been configuring the automatic build.
[09:31] <ral> I created a new snap package on lp using the existing lp git branch and used the new name. I deleted the lp snap package with the old name.
[09:34] <ral> The builds for the new lp snap package are ok, except that in the build log they use the old name for some reason.
[09:34] <cjwatson> Well, you could have just renamed the old one, but OK.  Can you point to the new snap?
[09:34] <ral> When I click on the "Successfully built" link, I get an Oops! Error ID: OOPS-c22975b8e333068c64a6cd0030f20ba9
[09:35] <ral> https://code.launchpad.net/~mosquitto-dev/+snap/mosquitto/
[09:35] <cjwatson> An OOPS is definitely a bug; please file that.
[09:35] <ral> Maybe so, but the snap dashboard hints strongly that renaming the snap isn't possible.
[09:35] <cjwatson> In quite recently-written code, in this case.
[09:35] <ral> ok, will do.
[09:35] <cjwatson> You can't rename the snap in the *dashboard*, no, but it's possible to rename an LP snap object and point it at a new name.
[09:35] <cjwatson> But maybe you didn't want that.
[09:36] <cjwatson> So are you referring to things like: Snapping 'mosquitto-simple'
[09:36] <ral> It's the snap name on snapcraft.io that I wanted to rename, not the lp one really.
[09:36] <ral> Yes, mosquitto-simple is the old, just mosquitto is the new.
[09:37] <cjwatson> That's entirely controlled by the tree you're building from.  You need to change that in snap/snapcraft.yaml.
[09:37] <cjwatson> That should match the "Registered store package name" in LP, otherwise things will get confusing.
[09:38] <ral> Oh, duh, I've spotted the stupid thing then.
[09:38] <ral> I pushed the change of name in snapcraft.yml but don't think I triggered a reimport on lp.
[09:39] <ral> Yep, that looks like the problem.
[09:39] <cjwatson> Oh, right, I hadn't noticed that was an import.
[09:47] <ral> I've submitted a bug and set my import to run. Hopefully I'll not have to report back.
[09:48] <cjwatson> Thanks.  It's an easy fix, already underway.
[09:48] <ral> The best kind of bug :)
[10:27] <ral> The upload worked after the import and rebuild, thanks for your help.
[10:38] <cjwatson> Great.  I just proposed the fix for that OOPS too.
[11:13]  * cjwatson manages to reproduce the annoying occasional lp.services.daemons.tests.test_tachandler.TacTestSetupTestCase.test_couldNotListenTac failure in buildbot by strategic insertion of time.sleep