/srv/irclogs.ubuntu.com/2010/08/13/#launchpad-reviews.txt

wgrantjelmer: 15 minutes? kdebase too almost 9 hours...00:00
wgrants/too/took/00:00
jelmerwgrant: it depends on the machine. pear importing kdelibs4 seems to take 15 minutes to figure out what revisions to fetch, 3 minutes to fetch the actual 1k revisions and then some time importing tags and moving branches around00:01
mwhudsoneach machine has to build the cache separately00:01
wgrantAh, I see.00:01
mwhudsonwhich is lame, but...00:01
wgrantThe cache should be shared across the whole repo, though, right?00:02
jelmerwgrant, yes00:03
=== salgado is now known as salgado-afk
=== StevenK_ is now known as StevenK
StevenKthumper, lifeless: Do either of you have a few moments to look over a quick MP I put up?02:35
thumperStevenK: sure02:35
StevenKthumper: https://code.edge.launchpad.net/~stevenk/launchpad/fix-ssh-keys-make-lp-user/+merge/3254302:36
thumperStevenK: which soyuz test uses it?02:42
StevenKthumper: Sorry, was distracted by mumble. lib/lp/soyuz/doc/sampledata-setup.txt02:44
StevenKWhich calls utilities/soyuz-sampledata-setup.py02:44
thumperthis is starting to make me hurl02:45
thumperwhat does that do?02:45
StevenKHaha, I knew I should have warned you02:45
StevenKutilities/soyuz-sampledata-setup.py sets up the database so developers can run Soyuz locally02:46
thumperso it isn't part of the actual test suite?02:46
thumperlet me put this another way:02:46
thumperwe should NOT be calling utility scripts from the test suite02:47
StevenKWell, the way I found this bug is via the test suite02:47
StevenKAnd I think the bug should be fixed02:47
StevenKBut I'm happy to propose another branch that just removes that whole doctest02:48
thumperis the purpose of the doc test to make sure that the script doesn't break?02:49
StevenKYes02:49
thumperwhat should be done then, is to move the guts of the scripts into something like lp.soyuz.tests or lp.soyuz.scripts.tests02:50
thumperand test that02:50
thumperand have the utility scripts call into those tested functions02:50
thumperyou have two choices02:50
thumper1) keep pulling on the thread and move the buts that need to be tested into lp.soyuz.<wherever>.tests02:51
thumper(or scripts)02:51
thumperand have the tests in tests02:51
thumperor02:51
thumper2) take the easy way out, file a bug and add an XXX comment referencing the bug, and tag it tech-debt02:52
StevenKI'll do 2, and have a discussion about it when Julian isn't sick02:53
thumperok02:54
StevenKthumper: But in either case, this is a real bug in make-lp-user, and should be fixed.02:54
thumperack02:54
thumperfile the bug, add the comment, and I'll approve it02:55
StevenKYup, doing so now02:55
StevenKthumper: Bug filed, comment added, branch pushed.02:58
=== lifeless_ is now known as lifeless
=== rockstar changed the topic of #launchpad-reviews to: On call: - || reviewing: - || queue: [bryce] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
wgrantthumper: Why shouldn't it be called?04:36
wgrantThe point is to test the script.04:36
wgrantAnd running the script is probably a reasonable way to do that.04:36
thumperif it is a tested script it should be in lp.soyuz.scripts04:38
thumperit is all about expectation04:38
thumperutilities are extra bits04:38
thumperthe test suite should test lib/lp04:38
thumpernot utilities04:38
thumperalthough it does test cronscripts and other scripts04:38
thumperbut I think utilities is too much04:39
wgrantWhy?04:39
wgrantWhy not test it? What does it cost?04:39
thumperI'm not saying the code should be untested04:39
thumperit is about expectation04:39
=== maxb_ is now known as maxb
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: - || queue: [bryce] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
adeuringOn call: adeuring || reviewing: bryce || queue: []  || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews10:04
=== adeuring1 changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== adeuring1 is now known as adeuring
jelmerHi Abel, can I add a branch to your queue?13:08
=== matsubara-afk is now known as matsubara
=== mrevell is now known as mrevell-lunch
adeuringjelmer: sure13:33
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: jelmer || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jelmeradeuring: Thanks, the MP is at https://code.edge.launchpad.net/~jelmer/launchpad/128259-async-1/+merge/3243913:36
adeuringjelmer: the last assertTrue() in testSuccess() needs something like "in log_lines"13:54
jelmeradeuring: Nice catch. I wonder if the matchers that James and lifeless have been working on has is useful here.13:58
adeuringjelmer: maybe; haven't used them13:58
adeuringyet13:59
=== mrevell-lunch is now known as mrevell
adeuringjelmer: r=me, with a few more nitpicks14:20
jelmeradeuring: Thanks!14:20
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== matsubara is now known as matsubara-afk
EdwinGrubbslifeless: can you look at the db changes in this branch? https://code.edge.launchpad.net/~edwin-grubbs/launchpad/bug-490659-series-timeout/+merge/3255514:45
bachi adeuring14:55
adeuringhi bac!14:55
bacadeuring:  i'm sprinting this week and won't be doing reviews full-time today14:55
adeuringbac: ok, no problem.14:55
bacbut i'll be doing reviews for branches coming out of our sprint14:55
adeuringbac: even better :)14:55
bacadeuring:  didn't want you to think i'd abandoned you14:56
adeuringbac: so, do you want to review sinzui's branch or shall i do it?14:57
sinzuibac said he would since he cares about the feature14:59
sinzuiadeuring, ^14:59
adeuringsinzui: thanks;14:59
sinzuiadeuring, bac will review all my branches because we are sprinting together.15:00
adeuringsinzui: thanks for the clarification15:00
leonardradeuring, i would appreciate a review of https://code.edge.launchpad.net/~leonardr/lazr.restful/check_total_size_active_on_call/+merge/3259015:46
adeuringleonardr: sure15:46
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: leonardr || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
salgadorockstar, yesterday I had a chat with flacoste and he suggested a change to https://code.edge.launchpad.net/~salgado/launchpad/layer-specific-navigation/+merge/32358, which you approved yesterday.  care to have a look at the incremental changes: http://bazaar.launchpad.net/~salgado/launchpad/layer-specific-navigation/revision/9640 and http://bazaar.launchpad.net/~salgado/launchpad/layer-specific-navigation/revision/9642 ?15:59
=== deryck is now known as deryck[lunch]
adeuringleonardr: r=me16:33
leonardradeuring, thanks16:36
=== deryck[lunch] is now known as deryck
=== adeuring changed the topic of #launchpad-reviews to: On call: - || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Ursinha is now known as Ursinha-lunch
rockstarsalgado, those changes look fine to me.17:20
salgadorockstar, cool, thanks!17:20
=== benji is now known as benji-lunch
salgadois there anybody willing to do a small review for me? https://code.edge.launchpad.net/~salgado/launchpad/vostok-traverse-package/+merge/3259917:55
leonardrsalgado, let's trade18:30
leonardri need a follow-up18:30
leonardrhttps://code.edge.launchpad.net/~leonardr/launchpad/new-lazr.restful-and-friends/+merge/3247418:30
salgadoleonardr, deal!18:30
salgadoleonardr, approved.  out of curiosity, have you changed total_size into a link because it may be expensive to compute and not always necessary?18:36
leonardrsalgado: exactly18:36
salgadocool18:37
leonardrsalgado, why did it become necessary to remove the security proxy on the bug?18:40
leonardrand what does the .. syntax in your zcml mean?18:40
=== Ursinha-lunch is now known as Ursinha
=== benji-lunch is now known as benji
leonardrdoes it make sense to add a test that shows you can't traverse to a source package on some site other than vostok?18:47
leonardranswer me those questions three and i will approve your branch18:47
salgadoleonardr, I think the makeBugTask() method was not used anywhere, or it's used by tests which log in as admins before calling it18:50
leonardrah18:50
salgadothe .. syntax means relative paths; '..' is the parent directory18:50
leonardrok18:50
salgadoand you can traverse to source packages on the launchpad.dev vhost18:51
leonardrbut your mp says "it's only possible to traverse to distro series and source packages on the vostok.dev vhost"18:51
leonardrdid you mean that it's not possible to traverse to anything else on vostok.dev?18:51
salgadowhat we want is to make sure that in vostok.dev you can only traverse to a subset of those you can traverse to on launchpad.dev18:52
leonardrok, the language was ambiguous18:52
leonardrr=me18:52
salgadoyeah, I guess I should change that to "it's possible to traverse only to ..."18:52
salgadoon vostok.dev it's possible to traverse only to ...18:52
salgadoI'll do that change18:53
salgadothanks leonardr18:53
salgadooh, that's in the mp.  I thought it was in the code18:54
salgadoduh18:54
lifelessEdwinGrubbs: hi20:58
EdwinGrubbslifeless: hi21:11
lifelessI've replied on the MP21:15
lifelessbut I'd be very happy to chat realtime as well if thats useful21:31
marssalgado, have a minute to review https://code.edge.launchpad.net/~mars/launchpad/fix-ec2-shutdown-617598/+merge/32633 ?22:54
salgadomars, care to add a comment explaining why we use 'at' instead of shutdown +X?22:58
marssalgado, good idea, will do22:59
salgador=me with that22:59
marsgreat, thanks!22:59
=== salgado is now known as salgado-afk
jelmerCould somebody perhaps re-review https://code.edge.launchpad.net/~jelmer/launchpad/update-bzr-git/+merge/32527 ? Tim already approved the changes itself but I had to fix two tests as well.23:04
marsjelmer, why is the 'from dulwich.repo import Repo as GitRepo' on line 36 right beside the test code?23:13
marsjelmer, and should you be using .getUniqueString() as the message parameter?23:14
jelmermars: This isn't a valid excuse, but the reason I did it that way is because that's what the old code was doing to import run_git as well.23:15
marshehe, yep, saw that :)23:16
marsjelmer, up to you.  I'll stamp it r=mars.  And about the import statement?23:16
marsoh, "It did that before" for /both/ the string and the import statement23:17
jelmermars: Yep. But I agree the imports should be at the top of the file and using getUniqueString() is preferable to using "dsadsa".23:18
marsok, I would at least change the import statement - it will stand out when others read the code :)23:18
jelmermars: Thanks for the review.23:18
marsand if .getUniqueString() is already there, just takes a few ^W to fix it23:19
jelmerI have no idea what ^W does, but I think I understand what you mean :-)23:26
marsreadline delete word left23:26
marsdangerous to learn, because it is also Gnome/CUA 'Close Window and lose everything you were doing because you were typing too fast and hit Enter instead of Cancel on the Save dialog'23:27
jelmerHeh, that's my first association with ^W as well.23:28
jelmerAnyway, I'm off.23:29
jelmermars: Thanks again for the review, and have a nice weekend!23:29
=== Ursinha is now known as Ursinha-afk

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