/srv/irclogs.ubuntu.com/2017/10/31/#launchpad-dev.txt

cjwatsonI suspect lazr.restfulclient may not be sufficiently careful, although that probably doesn't matter for this00:00
cjwatsonthough actually that might be fine if it's only opening the filename and possibly stuffing it back into a header as a UTF-8-encoded bytestring00:08
tsimonq2Hmph, so it seems I can no longer `make schema`...00:33
tsimonq2While:00:33
tsimonq2  Installing scripts.00:33
tsimonq2  Getting distribution for 'pytz==2017.2'.00:33
tsimonq2Error: Couldn't find a distribution for 'pytz==2017.2'.00:33
tsimonq2And that's installed.00:33
tsimonq2Oh. Duh. 2017.3 is installed. Let's manually edit that file...00:34
wgranttsimonq2: bzr up download-cache00:35
wgrantLP doesn't use many system Python dependencies.00:35
wgrantIt gets them from download-cache00:35
tsimonq2wgrant: Oh. Thanks.00:35
tsimonq2wgrant: Did I overlook this in the docs somewhere or should it go in there? :)00:36
wgranttsimonq2: rocketfuel-get does it00:37
tsimonq2Oh, gotcha.00:41
tsimonq2cjwatson: Ok, so we agreed on doing the factory operation for bug 439470. So should someone be able to call CveSet via the API with a CVE number and it will automatically set it, should I give each (valuable) function its own thing to be able to access via the API, or should the database addition function be the only one that's publicly accessible?01:01
mupBug #439470: Cannot attach currently-unknown CVEs via linkCVE() <api> <lp-bugs> <platform-want> <Launchpad itself:In Progress by tsimonq2> <https://launchpad.net/bugs/439470>01:01
tsimonq2cjwatson: I *could* be forgetting a little bit of our convo but I don't have the logs to grep any more and I don't remember when it was...01:01
=== frankban|afk is now known as frankban
=== Guest19654 is now known as Laney
cjwatsontsimonq2: I'd probably be economical: the only new thing exposed on the API would be CveSet.new (as cves.new).09:29
cjwatsontsimonq2: Webservice type declarations would get difficult if you tried to make e.g. linkCve take either an actual Cve object or a string.  If you wanted to do that I think you'd need to give linkCve an extra string-flavoured argument and require exactly one of cve or the new arg to be passed.09:31
cjwatsontsimonq2: But I'd be inclined to do just the minimal functional thing as a first pass.09:32
tsimonq2Ack cjwatson, thanks!11:52
cjwatsonwgrant_: codetree seems to work well; just needs copying into the relevant places and a shim in update-sourcecode to handle forcing HTTP (useful e.g. for buildbot).  Will poke as time permits.12:29
cjwatsonParses our config file unchanged.12:30
=== wgrant_ is now known as wgrant
wgrantHandy.12:31
=== frankban is now known as frankban|afk

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