/srv/irclogs.ubuntu.com/2018/03/22/#launchpad-dev.txt

=== frankban|afk is now known as frankban
ralI'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:28
ralI'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:29
ralI 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:31
ralThe 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
cjwatsonWell, you could have just renamed the old one, but OK.  Can you point to the new snap?09:34
ralWhen I click on the "Successfully built" link, I get an Oops! Error ID: OOPS-c22975b8e333068c64a6cd0030f20ba909:34
ralhttps://code.launchpad.net/~mosquitto-dev/+snap/mosquitto/09:35
cjwatsonAn OOPS is definitely a bug; please file that.09:35
ralMaybe so, but the snap dashboard hints strongly that renaming the snap isn't possible.09:35
cjwatsonIn quite recently-written code, in this case.09:35
ralok, will do.09:35
cjwatsonYou 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
cjwatsonBut maybe you didn't want that.09:35
cjwatsonSo are you referring to things like: Snapping 'mosquitto-simple'09:36
ralIt's the snap name on snapcraft.io that I wanted to rename, not the lp one really.09:36
ralYes, mosquitto-simple is the old, just mosquitto is the new.09:36
cjwatsonThat's entirely controlled by the tree you're building from.  You need to change that in snap/snapcraft.yaml.09:37
cjwatsonThat should match the "Registered store package name" in LP, otherwise things will get confusing.09:37
ralOh, duh, I've spotted the stupid thing then.09:38
ralI pushed the change of name in snapcraft.yml but don't think I triggered a reimport on lp.09:38
ralYep, that looks like the problem.09:39
cjwatsonOh, right, I hadn't noticed that was an import.09:39
ralI've submitted a bug and set my import to run. Hopefully I'll not have to report back.09:47
cjwatsonThanks.  It's an easy fix, already underway.09:48
ralThe best kind of bug :)09:48
ralThe upload worked after the import and rebuild, thanks for your help.10:27
cjwatsonGreat.  I just proposed the fix for that OOPS too.10:38
* cjwatson manages to reproduce the annoying occasional lp.services.daemons.tests.test_tachandler.TacTestSetupTestCase.test_couldNotListenTac failure in buildbot by strategic insertion of time.sleep11:13
=== frankban is now known as frankban|afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!