/srv/irclogs.ubuntu.com/2015/10/15/#launchpad-dev.txt

cjwatsonwgrant: bmp-webhooks fixed.  We do have to keep those fields in BMPDelta so that they're part of the snapshot in ObjectModifiedEvents, but I did all the rest of it as discussed.16:04
wgrantcjwatson: Hum, don't we have the entire new object in the OME?21:58
cjwatsonwgrant: New yes, but the only old fields we have are those that are explicitly snapshotted by the delta22:20
wgrantcjwatson: Right, but if the fields can never change then why are the old copies necessary?22:21
wgrantLike we don't snapshot bug.id22:21
wgrant(Well OK maybe we do, but it wouldn't seem necessary)22:21
cjwatsoner, oh, reasonable point22:22
cjwatsonlet me work out (not right now) why it failed tests without that22:23
wgrantOh it actually failed tests?22:23
wgrantOdd22:23
wgrantThat is certainly something that deserves investigation.22:23
cjwatsonI think just because those fields were missing22:23
wgrantOh, boring.22:23
cjwatsonperhaps should special-case copying those fields from the new object so that webhook consumers don't need to hardcode the assumption that they won't change22:24
cjwatsonit is conceivable that at some point we might allow changing prerequisites without resubmitting, for instance22:25
wgrantIndeed, it is possible.22:25
wgrantNot a terrible idea.22:25
wgrantBut I still think that, until that time, that belongs in the event bits rather than the delta itself.22:26
cjwatsonhow do you mean?22:27
cjwatsonoutside the "old"/"new" elements of the payload, you mean?22:27
wgrantOh, no, just what you suggested.22:27
cjwatsonoh, ok22:27
wgrantThe fact that they might change in future isn't good reason to keep them in the internal delta object to confuse us.22:28
cjwatsonI'll do that tomorrow then, hopefully I won't get hideously sidetracked by another click vulnerability :P22:28
wgrantBut it is probably good enough reason to include them in the payload generator.22:28
wgrantHeh, yeah.22:28
cjwatsonI made a little progress on the turnip CI job today, though still a fair way to go.  But importantly I figured out the virtualenv construction bug I'd been stuck on22:29
cjwatsonspecifically that "find_links = /path/to/directory" in .pydistutils.cfg is *not* the same as "find_links = /path/to/directory/"22:29
cjwatsonrsync disease22:29
wgrantI actually use a full file:// URL22:30
wgrantI don't remember why, but there must be a reason.22:30
cjwatsoner, right, so do I22:30
wgrantThough it too has a trailing slash.22:30
wgrantAh22:30
cjwatsonbut file:///path/to/directory != file:///path/to/directory/22:30
wgrantSo probably the reason is that a raw path doesn't work, that'd do it.22:30
wgrantYeah, odd.22:30
cjwatsonthe former stats the directory and then goes "oh, I clearly don't care about that"22:30
cjwatsonthanks, setuptools22:30
wgrant...22:31
wgrantHelpful.22:31

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