/srv/irclogs.ubuntu.com/2020/02/05/#launchpad-dev.txt

cjwatsonCould I have reviews of https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/378473 and https://code.launchpad.net/~cjwatson/lazr.restful/py3-no-cmp/+merge/378531 ?12:08
cjwatsonBoth short12:08
cjwatsonilasc: thanks12:26
ilasc+112:26
cjwatsonLanding pappacena's audit trail stuff, if I can get buildbot to not be stupid12:26
ilasc:)12:28
cjwatsontomwardill: Do you think I can make the index on OCIFile (build, layer_file_digest) unique?13:00
tomwardillI think so13:01
cjwatsonCan't see why a given build would ever have more than one file with the same layer_file_digest13:01
tomwardillyeah, same13:01
cjwatsontomwardill: And in https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/374673, William asked if we might need to look up OCIFile by layer_file_digest globally (i.e. without a context build), for index purposes.  What do you think?  It'd be easy enough to add an OCIFile (layer_file_digest) index13:01
tomwardillI don't think it's required in the normal operation of things, but might be useful for garbo?13:03
cjwatsontomwardill: Do we not need it for sharing of layer files?  I've forgotten exactly how you were doing that13:10
tomwardilloh, good point!13:11
tomwardillyes, it's needed for that13:11
cjwatsonThe versions of your draft code that I could find didn't do sharing, I think13:11
cjwatsonBut yeah, presumably there are two uses: one is reassembling layers when doing a registry push, and the other is sharing13:12
tomwardillthe end result is here: https://git.launchpad.net/~twom/launchpad/tree/lib/lp/oci/model/ociregistryclient.py?h=docker-registry-upload#n12013:15
tomwardillbut there's a part in the build artifact retrieval that checks if the file already exists in the librarian13:15
cjwatsonI found https://git.launchpad.net/~twom/launchpad/tree/lib/lp/archiveuploader/ociupload.py?h=docker-registry-upload but that seems to add unconditionally13:16
tomwardillindeed13:18
tomwardillfairly sure I did actually write that code...13:19
* tomwardill is unsure where though13:19
cjwatsonOK, no big deal, we knew that was draft13:19
cjwatsontomwardill: Could you have a look over the last four commits in https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/374673 and make sure you're OK with them before I land that?  The OCIRecipe.ociproject → OCIRecipe.oci_project renaming will require a bit of work on your end, I'm afraid, but the rest should be transparent13:45
tomwardillrighto, will have a look13:45
tomwardillcjwatson: they look good to me13:53
cjwatsonThanks, will land after the standup14:02
cjwatsonI'll sort out the test failures from Thiago's branches14:46
cjwatsonCould I please have reviews of https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/378599 and https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/378600 ?  The first is a testfix15:35
cjwatsonUrgh, and db-devel is broken now too, faff faff faff15:38
cjwatsonOK, I also need a review of https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/378602 to fix db-devel15:53
tomwardill+1 on the latter16:04
tomwardillI'll have a look at the others in a mo16:05
cjwatsoncheers16:05
tomwardilltrying to extract myself from the mess I've made in the tests16:05
cjwatsonTell me about it ...16:05
cjwatsonI should go for a walk though, doing too much at once16:06
cjwatsontomwardill: Have you had a chance to look at the other testfix at least?17:48
cjwatsonWould like to unblock devel before I finish today17:49
tomwardillargh, sorry. Looking now17:49
tomwardillgot lost in trying to constract tarfiles in python :)17:50
tomwardill+1 to both :)17:50
cjwatsontomwardill: Did you find lp.services.tarfile_helpers?17:50
cjwatsonI realise that's in LP and not in launchpad-buildd, but it might give an idea17:51
cjwatsonAnd thanks17:51
tomwardillaha, now I realise why I had a known file checked in17:56
tomwardillotherwise the digests change every time (due to file access times, etc)17:56
tomwardillcan probably mock that out though17:57
tomwardillmock/fixture/appropriate17:57
cjwatsonAn alternative would be to commit documentation/scripting/whatever for building the test file.  I suspect mocking etc. will be less effort though18:00
tomwardillyeah18:00
tomwardillbut it's beer, pizza and DnD night, so it'll have to wait till tomorrow :)18:01
cjwatsonHeh.  Enjoy18:03
jelmercjwatson: our plan for breezy is to create a 3.1 branch which will support python 2 and 3, and only support python 3 in trunk20:49
jelmerWe'll merge any changes necessary for launchpad into the 3.1 branch20:50
jelmer(such as changes necessary for SVN support)20:50
cjwatsonjelmer: OK, that sounds reasonable - thanks for letting me know22:00
cjwatsonI started trying to see if I could work out what's up with subvertpy, but it's a slow debugging process and I'm not sure whether I'll be up to it22:00
cjwatsonAnd this is in parallel with plugging away at ~everything else :-)22:04
roadmrsubvertpy mangles mentally into "pervy" and downhill from there22:23

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