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

SpecialK|Canonpappacena++07:45
tomwardillpappacena: are you looking at the buildbot failure too?13:07
pappacenaI'm trying, but I cannot make it fail...13:07
tomwardillpappacena: same here, ilasc is wondering if it's to do with the test parallelisation13:08
pappacenauhm... it's a possibility...13:09
wgrantColin said there was something weird like it being a TrialTestCase -- not obviously wrong, but something relatively uncommon that may well be relevant.13:11
cjwatsonRight, possibly just changing it to be like the equivalent in the snapbuildbehaviour tests will make buildbot not fail.13:11
cjwatsonEven if we can't reproduce it locally, which is unfortunate but well.13:12
cjwatsonTrialTestCase is needed for some of the other mixin-based tests there, but not (AFAICT) for that one.13:12
cjwatsonGiven that plausible theory it may not be worth spending lots of time trying to reproduce it.13:12
ilasctomwardill successfully did that and passed local tests13:12
pappacenaI agree with cjwatson. It might be better to just change it, push and see if that works on buildbot...13:13
ilascthat = moving to equivalent of snapbuildbehaviour13:13
tomwardillyeah, I think that's where we've got to13:13
tomwardillMP incoming13:13
tomwardillhttps://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/380154 cjwatson, pappacena13:18
pappacenaI'll check13:18
leniHi, is someone familiar with the API ?13:25
wgrantNobody!13:25
pappacenahahaha! Nobody is familiar with the API, but we can all be confused together... do you have any specific question about it? :-D13:27
leniI was not expecting that ahah13:29
leniWell I'm trying to understand the way /projects behaves13:29
leniIt looks like the first projects returned are the last created but for some it's not true13:31
cjwatsonYou shouldn't depend on the ordering13:31
cjwatsonUnless you're looking at .latest(), where it's documented13:32
leniSo there's no indexing ?13:32
cjwatsonWhat are you trying to do?13:32
leniWe're working on implementing launchpad in Software Heritage, so for the tests it would have been great if there was a reliable indexing13:33
leniordering13:33
leni*13:33
cjwatsonhttps://launchpad.net/+apidoc/devel.html#projects-latest documents an ordering13:33
cjwatsonYou just can't rely on any particular ordering for the default collection on /projects13:34
cjwatsonBut I don't think you need to use the default collection, from the sounds of things13:34
leniSo it would be ws.latest=true ?13:35
cjwatsonws.op=latest13:35
cjwatsonI think we need to step back and talk more about your requirements though - projects won't get you everything13:36
leniOk thanks, that's helpful13:37
leniFor now we're only working on listing projects13:37
leniIs there more source code hosted besides projects ?13:38
cjwatsonYes, for example all source code in distributions13:38
cjwatsonLike everything in Ubuntu13:38
cjwatson(But I'm in a key management session right now, so this isn't quite the best time)13:40
leniWell that would be great to add that as well13:41
leniI imagine you're here quite often, I could come by another day to discuss this more if you'd like13:42
cjwatsonYep, in principle this is a good week for it since LP folks happen to be physically together, just busy right now13:43
leniPerfect thank you !13:46
leniWhat timezone are you in ?13:47
tomwardillleni: we're currently in CET13:53

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