/srv/irclogs.ubuntu.com/2019/06/14/#launchpad.txt

=== epod is now known as luk3yx
=== Peng_ is now known as Peng
=== zbr|ooo is now known as zbr|ruck
cjwatsonpleia2: done, thanks08:08
cjwatsonjelmer: Sorry - done now.  I really must work out how to make questions against Launchpad itself not expire, since it's really not helpful08:13
jelmercjwatson: thanks!12:04
pleia2thank you :)13:53
cjwatsonpleia2: also I'd completely missed that you were joining the Z team - congrats, and interested to read that blog post once it's written14:00
pleia2cjwatson: thanks! it's a really great team, and fascinating stuff14:02
marcustomlinsoncjwatson: hey, I have a feature request for LP :) Have a moment to mull it over?15:54
cjwatsonI have a lot of feature requests for LP :)15:56
cjwatsonBut I mean sure15:56
marcustomlinson:)15:56
marcustomlinsonhttps://gitlab.gnome.org/Community/Ubuntu/gnome-sdk/tree/gnome-3-32-180415:56
marcustomlinsonso this project incorporates two snapcraft.yamls. It needs to build the sdk one first, then the platform one stages the built sdk snap15:57
cjwatsonI'm afraid this is outside my control15:57
cjwatsonWe were explicitly told not to support that15:57
cjwatsonYou'll have to discuss your use case with the snapcraft team15:57
marcustomlinsonoh?15:58
cjwatson(That is: we were explicitly told not to support arbitrary configurable snapcraft.yaml paths)15:58
marcustomlinsonhmm ok15:58
cjwatsonHopefully it's possible to do it in some other way, but I'm not enough of a snapcraft expert to know15:58
marcustomlinsonI was thinking a SNAPCRAFT_COMMAND environment variable15:59
cjwatsonThere are various ways I could imagine implementing it, but we're forbidden to15:59
marcustomlinsonyeah I understand15:59
cjwatsonTalk to the snapcraft team and see if they can help :)15:59
marcustomlinsonok thanks15:59
cjwatsonCouldn't you use multiple repositories?16:01
cjwatsonAnd just build them successively16:01
marcustomlinsoncjwatson: yeah was hoping for something less manual16:03
marcustomlinsoncould build one and forget the other sort of thing16:03
cjwatsonmarcustomlinson: One possibility might be to hook the two builds together using https://help.launchpad.net/API/Webhooks16:04
cjwatsonIt would require something that has the right permissions to request the second build, so you'd need to be careful, but should be possible16:04
cjwatsonOnce store_upload_status hits Uploaded, the first snap should be available from its target channel in the store16:05
marcustomlinsonrequire "something" :)16:06
marcustomlinsonLike run that as a service on my PC?16:06
cjwatsonOr a Jenkins instance or some other kind of hosted CI16:06
marcustomlinsonoh right16:07
marcustomlinsonhmmmmmm16:07
cjwatsonSomething that runs the first build and polls for completion using the API would be possible too; it's less elegant because polling is always less elegant, though it avoids having to worry about opening up an authentication token on a web service16:07
marcustomlinsonbuild takes like 4+ hours, I might hit timeouts16:08
cjwatsonIt's all pretty programmable using https://help.launchpad.net/API/launchpadlib16:08
marcustomlinsonMaybe I can have a webhook trigger gitlab ci16:08
marcustomlinsonnot sure if I can wangle that16:08
cjwatsonI haven't explicitly tried that but maybe it's possible.  Giving your launchpadlib credentials to gitlab ci might be unfortunate though16:09
cjwatson(Regrettably we don't yet have a way to construct credentials that can be constrained like "can only call this one API method")16:09
marcustomlinsonyeah ok, I'll see what I can do with the LP API16:10
marcustomlinsonthanks cjwatson16:10
cjwatsonLet us know what you come up with16:12
marcustomlinsonwill do16:12

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