/srv/irclogs.ubuntu.com/2009/10/02/#launchpad-reviews.txt

al-maisanGood morning!06:17
=== adeuring changed the topic of #launchpad-reviews to: on call: adeuring || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com
=== henninge_ is now known as henninge
jtvhenninge: care to review?  09:56
jtvhttps://code.edge.launchpad.net/~jtv/launchpad/bug-440445/+merge/1277709:56
henningejtv: so you are assuming that it will also need access to language and translator?10:03
jtvhenninge: yes; it's looking at TranslationGroup to check for membership, and that definitely involves Translator.10:04
henningejtv: valid assumption, I guess.10:04
henningejtatum: r=me10:05
jtvNot sure about Language, but it's one of those things that are likely to be fetched by the ORM as a side product10:05
jtvhenninge: no, the other person.  :)  Thanks.10:05
henningejtv: r=me10:05
jtv:)10:05
henningejtatum: whatever branch you want reviewed, I have *not* approved it! ;-)10:05
henningejtatum: sorry to bother you ...10:05
henningejtv: please remember to set the mp to "approved". For some reason I cannot do it.10:07
jtvhenninge: sure, thanks10:07
al-maisanhello adeuring -- could you please have a look at a small/simple branch?10:19
al-maisanit is here: https://code.launchpad.net/~al-maisan/launchpad/cmsg-425800/+merge/1277410:19
adeuringal-maisan: I'm already doing this :)10:19
al-maisanadeuring: ah, wow!10:19
al-maisanadeuring: I am duly impressed :)10:20
adeuringal-maisan: there are two new tests: test_requestMirror_doesnt_demote_branch() and test_requestMirror_can_promote_branch(). Perhaps I'm missing something obvoius there -- but isn't future_time in the latter test a timestanp in the past: future_time = datetime.now(pytz.UTC) - timedelta(days=1) ?10:29
* al-maisan looks10:29
al-maisanadeuring: argghh10:30
al-maisanthe diff generated for the MP is wrong10:30
al-maisanjust a minute10:30
al-maisanadeuring: http://pastebin.com/m4c94727b10:31
al-maisansorry about that10:32
al-maisanthis is a *really* simple branch10:32
al-maisanbbiab10:32
adeuringal-maisan: Ah, indeed quite much shorter ;)10:32
adeuringal-maisan: but the other test is there nevertheless ;)10:32
al-maisanadeuring: aha10:33
al-maisanadeuring: I don't see any of that in the diff I provided you with10:34
* al-maisan rubs his eyes10:34
adeuringal-maisan: what I menat: I am simply curious about this test, even it is is not part of the patch.10:34
al-maisanadeuring: yep, 'future_time' would have to lie in the past .. provided the time on the test machine is set correctly :)10:35
* adeuring is quite confused... future time in the past?10:37
adeuringal-maisan: but let's put that aside.10:37
adeuringal-maisan: al-maisan: just one question about the short diff: You removed the text "Did you mean to upload to a PPA?". Isn't this sometimes a useful hint for users?10:38
al-maisanadeuring: not really .. it would rather confuse people10:38
adeuringal-maisan: OK, so r=me10:38
al-maisanadeuring: thanks10:39
allenapadeuring: Fancy a devscripts.ec2test branch to review?10:41
allenaphttps://code.edge.launchpad.net/~allenap/launchpad/ec2-test-race-bug-422433/+merge/1277810:41
adeuringallenap: sure10:41
allenapadeuring: Thanks :)10:41
bigjoolsal-maisan: don't remove that error text10:51
al-maisanbigjools: alright; what do you suggest instead?11:03
bigjoolsal-maisan: I don't have any context - what are you doing?11:03
al-maisanbigjools: https://bugs.edge.launchpad.net/soyuz/+bug/42580011:04
mupBug #425800: confusing message if signer can upload packages from some package sets but not others <packagesets> <soyuz-upload> <Soyuz:In Progress by al-maisan> <https://launchpad.net/bugs/425800>11:04
bigjoolsal-maisan: that error text is still correct, but only if the uploader has no packagesets11:05
bigjoolshe can upload to11:05
al-maisanbigjools: that's not quite right.11:06
al-maisanthis error message indicates that the uploader has no upload permissions whatsoever11:06
bigjoolsal-maisan: yes, that's exactly what I mean11:06
bigjoolsso the existing check for that error text needs to also check packagesets11:07
al-maisanhowever, he may end up in this situation if he has *some* package set based permissions but is lacking one11:07
bigjoolsno, that is wrong11:07
al-maisanhmm .. I looked at the code .. the source package based permissions (including package sets) are checked before this error is raised11:08
bigjoolsthe error should be raised if the upload has no component-based *and* no packageset-based permissions11:09
al-maisanis that error (formulated that way) useful in first place?11:09
bigjoolsyes - it distinguishes between NO permissions and SOME permissions but the wrong ones11:10
al-maisanaha11:10
bigjoolsPPA packages fall foul of it a lot, hence the extra text11:10
* al-maisan takes another look at verify_upload()11:11
bigjoolsal-maisan: basically if the uploader is trying to upload to say, main, but only has universe permissions, this error is not used11:12
bigjoolsthe same needs to apply with packagesets11:12
al-maisanbigjools: I see what you mean.11:12
bigjoolsgreat11:12
adeuringallenap: r=me11:50
allenapadeuring: Thanks :)11:50
adeuringallenap: what I forgot to say iin the review: thanks for splitting the diff into two parts!11:51
allenapadeuring: I'm glad it helped :)11:52
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
=== matsubara-afk is now known as matsubara
=== matsubara_ is now known as matsubara
allenapadeuring: I replied to your review of ec2-test-race-bug-422433 with an incremental diff. Could you sanity check it, then I'll send it all off to ec2? Thanks.13:55
=== barry changed the topic of #launchpad-reviews to: on call: adeuring, barry || reviewing: -,- || queue: [] || This channel is logged: http://irclogs.ubuntu.com
adeuringallenap: looks good. Thanks for the change!14:02
allenapadeuring: Thanks.14:02
noodles775barry, have you checked some bug pages also? The "Bug #440220 reported by Barry Warsaw 16 hours ago" is also using the registration slot iirc...14:19
mupBug #440220: registering slot interferes with watermark <post-ui-3-cleanup> <Launchpad Registry:In Progress by barry> <https://launchpad.net/bugs/440220>14:19
noodles775which means that it will *always* wrap (unless you've got a 2m screen ;) ).14:19
barrynoodles775: right.  let me paste a bug page s/s14:20
barrynoodles775: attached two more s/s.  they do always wrap but it doesn't look too bad to me14:23
noodles775barry, I think the thing I don't like is that it's wrapping when it doesn't need to.14:26
noodles775Have you tried leaving it where it was after adding the no_wrap on the app-tabs?14:27
barrynoodles775: it will run into the tabs if the registering contents are long (long person name).  maybe that's rare enough to not worry about it though?14:28
noodles775barry, if you give the registration slot a large left-margin (maybe 2em) it shouldn't get too close? (and will wrap since the app tabs can't, iirc?)14:30
=== Ursinha-afk is now known as Ursinha
barrynoodles775: e.g. this does not look as good to me: http://launchpadlibrarian.net/32862698/ff-nowrap.png14:30
barrynoodles775: that's a possibility too.  i kind of like that the registering information sits neatly above the portlet14:31
noodles775barry, hmm.... to me it often (ie. with longer slots like on bugs pages) looks like it's been squashed into a space that's too small.14:33
noodles775barry, I personally agree with rockstar's comment - if it was just below the app tabs, it wouldn't need to wrap at all, and would not interfere... but maybe there's a reason for not doing that?14:34
barrynoodles775: it is a pretty small space (21%).  14:34
barrynoodles775: i definitely want to explore that, but iirc beuno really wants that registering slot on the right side14:34
barrynoodles775: so i kind of wanted to run that to ground to see if we could make it work14:35
noodles775barry, it would be on the right side wouldn't it? I just mean a little bit down from where it is in the last link above.14:35
barrynoodles775: hmm... possibly so.  give me a few minutes and i'll try that14:36
noodles775k14:36
barrybtw, thanks!14:36
noodles775np!14:37
barrynoodles775: take a look at the s/s in comments 13-1614:48
noodles775barry, what do you think? My first thought is that the only thing that looks ugly about it is the super long username?14:51
barrynoodles775: agreed.  i just did that to see worst case.  this works for me14:53
noodles775barry, great. Thanks for fixing it!14:55
barrynoodles775: thanks!  can i request you as one of the two ui reviewers for the branch?14:55
noodles775barry, sure!14:55
barryawesome14:55
barryadeuring: ping15:07
adeuringbarry: yes?15:07
barryadeuring: have time for a 39 line CSS review?15:07
adeuringbarry: sure15:07
barrycool.  sending mp now15:07
adeuringbarry: I have also an MP (a bit larger than yours, but just trivial refactoring): https://code.edge.launchpad.net/~adeuring/launchpad/hwdb-refactor-haldevice-3/+merge/12733 could you review it?15:20
barryadeuring: sure!  this feels so incestuous though :)15:26
adeuringbarry: ;)15:26
adeuringbarry: r=me15:33
=== Ursinha is now known as Ursinha-lunch
barryadeuring: thanks!16:06
=== barry changed the topic of #launchpad-reviews to: on call: adeuring, barry || reviewing: -,adeuring || queue: [] || This channel is logged: http://irclogs.ubuntu.com
barryadeuring: did you request me as a reviewer on your branch?16:11
adeuringbarry: no16:11
barryadeuring: url?16:11
adeuringbarry: https://code.edge.launchpad.net/~adeuring/launchpad/hwdb-refactor-haldevice-3/+merge/1273316:11
al-maisanhello adeuring, can you please have a look at the fix for bug #425800 (2nd try) ?16:22
mupBug #425800: confusing message if signer can upload packages from some package sets but not others <packagesets> <soyuz-upload> <Soyuz:In Progress by al-maisan> <https://launchpad.net/bugs/425800>16:22
al-maisanhttps://code.launchpad.net/~al-maisan/launchpad/cmsg-2-425800/+merge/1279116:22
adeuringal-maisan: sure16:22
al-maisanadeuring: thanking you :)16:22
barryadeuring: when you raise NotImplementedError in your properties, you don't need to instantiate them if they have no arguments.  Python will DTRT for you here, and it's also somewhat more efficient16:26
adeuringbarry: Ah, thanks! didn't know that16:27
adeuring(Though I hope the excpetion will never be raised ;)16:27
barryadeuring: if the exception has arguments, instantiating it in place is the right thing to do though.  16:28
barryadeuring: right! :)16:28
adeuringal-maisan: r=me16:32
al-maisanadeuring: thank you very much!16:33
adeuringal-maisan: immer gerne :)16:33
al-maisanadeuring: :)16:33
barryadeuring: with that fix, r=me16:38
adeuringbarry: thanks!16:38
=== barry changed the topic of #launchpad-reviews to: on call: adeuring, barry || reviewing: -,- || queue: [] || This channel is logged: http://irclogs.ubuntu.com
barryrockstar: ping16:40
rockstarbarry, yo16:40
barryrockstar: hiya!  could you do a quick second ui review on https://code.edge.launchpad.net/~barry/launchpad/440220-slot/+merge/1278616:41
rockstarbarry, sure.16:41
barryrockstar: thanks!16:41
mrevellbarry: Can you take a look at small help branch? https://code.edge.launchpad.net/~matthew.revell/launchpad/bug-215798/+merge/1279216:41
barrymrevell: sure thing16:42
mrevellthanks barry16:42
barrymrevell: did you forget to bzr add register-branch.html perhaps?  it's not in the diff16:43
* mrevell hangs head in shame16:43
mrevellbarry: Yup. Sorry. Pushing new version now16:44
mrevellbarry: done16:44
barrymrevell: can you add the file as a comment.  i don't think the mp will update the diff16:44
rockstarmrevell, I have bzr ci aliased to `bzr commit --strict` and I use that all the time.  It makes sure you don't have any rogue files laying around.16:44
barryrockstar: +116:44
rockstarbarry, it will update the diff.16:44
mrevellbarry: I thought we had moving diffs now16:44
mrevellrockstar: thanks for the top!16:44
rockstarbarry, it updates the diff on push of the source branch now.16:45
barryrockstar: \o/16:45
mrevells/top/tip16:45
rockstarbarry, abentley is pretty amazazing.16:45
barryrockstar: he's amazing, too!16:45
mrevell:)16:46
rockstarbarry, I was using a word from a movie, so the apparent typo was actually purposeful.16:46
barryrockstar: oh!  what movie?16:46
rockstarbarry, it's from "The Benchwarmers"  The dialogue goes something like "You guys think you're ath-a-letes now?"  "I didn't know athletes had three syllables.  That's amazazing!"16:48
barrymrevell: r=me16:48
mrevellthanks barry16:48
barryrockstar: guess i have to put that on my netflix now :)16:48
rockstarbarry, it's appropriate for Max too.16:49
barryrockstar: great review quotes: "filled with sprays of vomit, fountains of spit and enough hot body air to launch a flotilla of passenger balloons" and "a movie packed with so many idiot characters that rob schneider is cast as the cool guy -- and sort of pulls it off"16:52
* barry clicks add to queue :)16:52
rockstarbarry, :)16:52
=== Ursinha-lunch is now known as Ursinha
=== adeuring changed the topic of #launchpad-reviews to: on call: barry || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com
barryEdwinGrubbs, rockstar ping21:58
EdwinGrubbsbarry: pong21:58
barryhi EdwinGrubbs can you take a quick look at a testfix diff for me?21:59
barryEdwinGrubbs: http://pastebin.ubuntu.com/284096/21:59
EdwinGrubbsbarry: is the facetmenu class have any stylesheets, or is it just a marker?22:02
barryEdwinGrubbs: it has some css, but base-layout.txt doesn't test it.  it is a horrible horrible test, so this just repairs it in the easiest possible way22:02
EdwinGrubbsbarry: r=me22:05
barryEdwinGrubbs: thanks!  testfix here i come22:06
=== rockstar` is now known as rockstar

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