/srv/irclogs.ubuntu.com/2020/04/15/#launchpad-dev.txt

tomwardillsome more words to make the people merge page a bit less scary (to me at least): https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/38227408:36
cjwatsontomwardill: LGTM, couple of additional suggestions08:40
tomwardillah, ta08:40
* tomwardill fixes08:40
tomwardillchanged and landing08:44
cjwatsonpappacena: http://lpbuildbot.canonical.com/builders/lp-devel-xenial/builds/1183/steps/shell_9/logs/summary (skipping the transient failure) is yours I think12:46
cjwatsontomwardill: There may actually be zero test fallout from fixing getUniqueURL to use .test or similar.  None of the matches for domain.com look like they were generated by it13:20
tomwardillcjwatson: excellent, I'll do that after I've done this credentials work then13:20
cjwatsontomwardill: https://tools.ietf.org/html/rfc2606.html is the canonical reference for this kind of thing if you don't have it already13:21
tomwardillcjwatson: how do I create a new distribution in my test instance?13:35
tomwardillah, no matter, did it13:45
tomwardill( /distros/+add for future travellers )13:45
cjwatsonDidn't know offhand anyway :)13:45
cjwatsontomwardill: Could you request a new build of https://dogfood.paddev.net/~twom/ubuntu/+oci/test-oci-project-1/+recipe/test-oci-recipe-2, and tell me when you've done so so that I can get in quickly and strace it?13:55
cjwatsonNot sure if this will work but let's see13:56
tomwardillon it now13:56
tomwardillcjwatson: requested13:56
cjwatsonBother, too slow13:58
cjwatsonI'll make my own version :)13:58
cjwatsonBetter than bothering you all the time13:58
tomwardillrighto :)14:00
tomwardillI think only the API exists on that version to create an OCI Project14:01
cjwatsonI used the same project14:03
cjwatsonsame OCI project rather14:03
tomwardillah, of course14:03
* tomwardill tries to work out how to create a DAS for a new distribution14:04
wgranttomwardill: +addseries, then +addport on that14:11
tomwardillwgrant: hmm, that gets me a series/distro page that looks right, but no architectures selectable when I try and create a build from my recipe14:12
wgranttomwardill: Ah, you might need to set supports_virtualized on the Processor (needs DB hackery), or unset require_virtualized on the recipe14:15
wgrantIt's also possible we check presence of a chroot to create the checkboxes, but I forget.14:15
cjwatsontomwardill: Well, it's definitely sending correct-looking proxy basic auth.  Will need to dig through the proxy rules14:19
cjwatsonAh, I think this is just that the staging proxy was out of date with the spec14:25
cjwatsontomwardill: https://dogfood.paddev.net/~cjwatson/ubuntu/+oci/test-oci-project-1/+recipe/test-oci-recipe-1/+build/514:33
cjwatsonWorked fine once I upgraded the staging proxy to have https://bazaar.launchpad.net/~canonical-launchpad-branches/canonical-mojo-specs/trunk/revision/284.  Production was done a while ago (https://portal.admin.canonical.com/C122738/)14:34
tomwardillwwooo!14:43
tomwardillwell, that's quite exciting14:51
cjwatsonpappacena: Did you see my message earlier about the buildbot failure?16:01
pappacenauhm, I think I missed it. I'll check buildbot16:01
cjwatsonProbably a one-liner :)16:05
pappacenaIt seems so. :-)16:06
pappacenaI'll open a MP16:06
pappacenaQuick review? https://code.launchpad.net/~pappacena/launchpad/+git/launchpad/+merge/38231616:08
pappacenaWell, since it's simple test change, I'll self-approve it. The test is running find on my machine now.16:11
tomwardillhah, I was just looking at it pappacena :)16:12
cjwatsonSorry, was reviewing another thing of yours :-)16:13
tomwardillmy laptop is not the fastest to load a page atm16:13
cjwatsonSelf-approving trivial test fixes like that is fine16:13
pappacenatomwardill, cjwatson. Thanks :-)16:13
tomwardillcjwatson: bit lost in the ObjectModifiedEvent change, what would be the changed fields on a build for a create() method?16:21
tomwardilloh, wait, there's an ObjectCreatedEvent, that seems more like what I'd be after16:39
tomwardillor could do ObjectModifiedEvent with field of status16:40
tomwardillwhich hooks better into the rest of the lifecycle16:40
cjwatsontomwardill: create should use ObjectCreatedEvent, yes16:41
cjwatsonAssuming the notified object is the object being created16:41
tomwardillcjwatson: as in 'the object that we are notifying a subscriber about'?16:43
tomwardillI can't quite parse that sentence16:43
tomwardillokay, think I got it16:58
cjwatsonRight, if you're doing notify(SomeEvent(obj)) and the notification is to the effect that obj was just created, then ObjectCreatedEvent is right17:02
tomwardillyeah, that makes sense17:05

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