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

EdwinGrubbssinzui: did you already test your query's performance on staging?00:25
sinzuiNo. I have not00:25
sinzuiI am happy to test rather than land this and fail it in QA00:26
* sinzui has already failed the first effort00:26
sinzuiEdwinGrubbs: I am trying to force the data to look like the old test. I have had no success.00:26
EdwinGrubbssinzui: according to launchpad_dev, DistroSeriesPackageCache.name does not have an index. It would be good to test the query with and without the index on staging.00:27
sinzuioh wow00:27
sinzuiWe search on that. I guess we only search on the fti field00:27
sinzuiokay. I will test before considering a landing00:27
lfaraoneEdwinGrubbs: pushed up rev 10009 on lp:~lfaraone/launchpad/bugfix494055, it should fix your concerns.00:32
EdwinGrubbslfaraone: looking at it now00:50
* thumper looks for a reviewer01:49
thumperEdwinGrubbs: still on?01:49
=== EdwinGrubbs changed the topic of #launchpad-reviews to: on-call: - || reviewing: - || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
EdwinGrubbsthumper: well, if it's really small I can take it.01:50
thumperEdwinGrubbs: heh, it isn't but it is pretty cool01:50
thumperEdwinGrubbs: feel free to pass for now01:50
EdwinGrubbsthumper: sorry, my day really ended a while ago.01:51
sinzuithumper: I can do in a few minutes01:52
thumpersinzui: awesome - https://code.edge.launchpad.net/~thumper/launchpad/revisions-in-conversation/+merge/1591001:54
thumpersinzui: the diff should be arriving shortly01:54
sinzuifab01:55
thumpersinzui: it is there now01:55
thumpersinzui: I'm just popping out to collect the girls from school01:57
thumpersinzui: back shortly01:57
EdwinGrubbslfaraone: your test fix looks good. I just am experiencing a weird error in the test data. I will land your branch tomorrow.02:00
lfaraoneEdwinGrubbs: cool, thanks. 02:10
thumpersinzui: back02:11
=== thumper is now known as eric-the-viking
=== eric-the-viking is now known as thumper
thumpersinzui: are you checking it out?02:39
thumpersinzui: I have to head off in about 5-10 minutes02:39
thumpersinzui: so any questions you have, ask now02:40
sinzuithumper: I am reading it, but my son insists on a new diaper02:40
thumperheh02:40
adiroibanabentley: hi. is there anything more I need to do for having this branch landed: https://code.edge.launchpad.net/~adiroiban/launchpad/bug-431249/+merge/1576707:31
=== noodles775 changed the topic of #launchpad-reviews to: on-call: noodles775(UI) || reviewing: - || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
danilosadiroiban, btw, I've sent you another review for that permissions branch09:26
danilosadiroiban, I can also help you land bug-431249 if you want me to :)09:26
adiroibandanilos: thanks . I'll look at it09:27
adiroibanfeel free to land that branch :)09:27
danilosadiroiban, there's still some work to be done on it, but I am around for any questions (it's probably going to be faster if you ask me here :)09:27
adiroibandanilos: ok09:28
danilosadiroiban, ok, I am landing your branch as well09:40
adiroibandanilos: thanks. still reading the review :)09:40
danilosadiroiban, heh, right :)09:41
adiroibandanilos: how is the inheritance working for classes from security.py ? I think's I'm missing a python mechanism10:12
adiroibancheckAuthenticated return True 10:13
adiroibanand if it returns None, it will call super ?10:13
danilosadiroiban, well, it's working just like everywhere else... it inherits the methods code, allows overriding, but if you call super-class methods and pass in "self", you are calling super-class methods on current object, which must be compatible then10:14
danilosadiroiban, you have to call super-class checkAuthenticated manually10:15
adiroibanok10:15
adiroibanI don't understand why you need to use inheritance10:15
adiroibansince you can call that method anyways10:16
danilosadiroiban, well, you don't, it's just how most other classes in there do it10:16
danilosadiroiban, you can use AuthorizationBase as the base class everywhere, and just construct whatever other classes you need10:16
adiroibanI'm looking at class AdminDistributionTranslations(OnlyRosettaExpertsAndAdmins, EditDistributionByDistroOwnersOrAdmins):10:17
danilosadiroiban, I'd say that's a much cleaner approach where you pass in only the relevant information to the auth class, but the current approach seems a de-facto standard10:17
adiroibanand I wonder why it is not AdminDistributionTranslations(AuthorizationBase):10:18
danilosadiroiban, it's just a pattern which works the same if you are not checking self.obj (i.e. context) in any of the permissions you are deriving from; it keeps the code shorter10:19
adiroibanok10:19
danilosadiroiban, it's just a trick which involves knowledge of python OO model :)10:21
adeuringnoodles775: fancy a small ui/code review: https://code.edge.launchpad.net/~adeuring/launchpad/bug-172507/+merge/15925 ? (the real diff is two added/changed lines, the remaining 1000 lines are just an added SVG file ;)10:37
noodles775adeuring: Sure! I'll do the ui review, but you'll need to grab someone else for the code (beuno's policy about not doing both code/ui for the one review)10:38
=== noodles775 changed the topic of #launchpad-reviews to: on-call: noodles775(UI) || reviewing: - || queue [sinzui, adeuring] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
adeuringnoodles775: yeah... but please have a look at the "code" first ;)10:38
noodles775ah, ok, it's like that then :-)10:39
noodles775No worries.10:39
noodles775I see, literally two lines! It's mine I tell you!10:40
bigjoolsal-maisan or noodles775, do you want to review my CP candidate10:52
al-maisanbigjools: I can do it if noodles775 is busy10:52
al-maisanbigjools: will do.10:53
noodles775ta, I'll do adeuring's branch.10:53
bigjoolsthanks guys10:53
bigjoolsal-maisan: ah crap10:54
al-maisan?10:54
bigjoolsI need to push another revision, I left a stale method, ignore the "assertNoBuildQueue" test10:54
al-maisanbigjools: no problem -- just let me know when it's done.10:55
bigjoolsdiff will regenerate itself10:55
bigjoolsal-maisan: https://code.edge.launchpad.net/~julian-edwards/launchpad/die-buildqueue-die--bug-492632/+merge/1592711:01
al-maisanbigjools: thanks!11:02
=== al-maisan changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: -, bigjools || queue [sinzui, adeuring] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
bigjoolsgrrrr the person chooser on the MPs gives you no chance to review what you clicked on11:03
bigjoolsBjornT_: can you review the above MP for r-c please11:04
=== noodles775 changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: adeuring, bigjools || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
al-maisanbigjools: r=me11:13
bigjoolsta11:15
noodles775Sorry adeuring - I should have just typed it here... I think you forgot to update the icon in the comment itself? (see the screenshot linked from my comment on the MP)11:29
adeuringnoodles775: right, just gor remonder from deryck :) I'm adding that now11:30
noodles775Great.11:30
=== danilos changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: adeuring, bigjools || queue [sinzui, danilos] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
danilosal-maisan, another branch in the queue :) noodles775, or you if you fancy a short OOPS fix :)11:31
daniloshttps://code.edge.launchpad.net/~danilo/launchpad/bug-480652/+merge/1593111:31
noodles775danilos: yeah, I'll take it (I think al-maisan is on lunch)11:32
danilosnoodles775, cool, thanks11:32
=== noodles775 changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: danilos, - || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== matsubara-afk is now known as matsubara
adiroibandanilos: how should we display an inactive-template, what css atributes should be changed ? 11:38
noodles775beuno: have you got time to take a peek at a screenshot? https://bugs.edge.launchpad.net/soyuz/+bug/211008/comments/111:38
mupBug #211008: Add visual indicator for obsolete (superseded) packages in PPA <oem-services> <ppa> <ui> <Soyuz:In Progress by michael.nelson> <https://launchpad.net/bugs/211008>11:39
danilosadiroiban, I am not exactly sure, perhaps we can ask noodles775 for an idea? :)11:39
noodles775is there a bug? or on which page?11:40
adiroibanhttps://translations.launchpad.dev/ubuntu/hoary/+templates11:40
danilosnoodles775, we've got a big list of templates (in a table) where some of them are inactive (we are showing them for admins only); what'd be your suggestion to do that on eg. https://translations.launchpad.dev/ubuntu/karmic/+templates page11:40
daniloss/karmic/hoary/ of course, thanks adiroiban :)11:40
bigjoolsnoodles775: should it go in the +packages page instead?11:41
danilosnoodles775, also https://translations.edge.launchpad.net/openobject-addons/trunk/+templates11:41
noodles775bigjools: I was going to put it on both.11:41
noodles775What do you think?11:41
bigjoolsah fair enough11:41
adiroibandanilos: maybe I can leave the css for the cleanout task11:41
bigjoolsyes that sounds good - I'd be tempted to write the version that supersedes it as well11:42
noodles775aha11:42
adiroibancleanup11:42
danilosadiroiban, at least 'color: grey' should do for now, or a light background11:43
adiroibancolor: grey ... I think that any other background will just hilight the row 11:44
noodles775adiroiban: How can I set one of the templates on that page to inactive? there's no option... or is it the 'Accept translations' admin option, or something in your branch?11:44
adiroibannoodles775: the first one disabled-template is not active11:44
adiroibanyes11:44
adiroibanis "Accept translations" 11:45
adiroibanbut right now there is no style or class for it11:45
noodles775adiroiban: Right, but is the behavior affected at all in the UI (ie. I can still edit/upload/download etc. it seems?)11:45
adiroibanyes11:45
adiroibanthe idea is to give a hint about the state of a template11:46
adiroibanjust a small one11:46
adiroibanonly admins will see those templates that are not active11:46
noodles775ok, and those templates are only visible to admins.11:46
adiroibanyep11:47
noodles775Yep, I personally wouldn't go for color: gray - as that indicates to me that it's disabled (ie. I can't interact with it), but everything in the ui tells me I still can. Hrm.11:47
danilosnoodles775, you can interact with it only as an admin... perhaps we can use an icon or something, but I'd rather just use a CSS style11:48
danilosnoodles775, at the moment, set of users who deal with these (i.e. who get to see disabled templates) is very small (LP translations team + Ubuntu Translations coordination team, total ~10 people)11:49
noodles775danilos: yeah, so the person who sees that it is grayed out can interact with it. I was wondering whether it might be simpler to say Template name: disabled-template (inactive)11:49
danilosnoodles775, that would be harder to notice in a big list IMHO; how about a different TR background?11:50
danilosnoodles775, not that that wouldn't work, I just want to make it more visible11:50
daniloswell, I want adiroiban to make it more visible :))11:50
noodles775danilos: yeah, in a big list something like that would be good.11:50
noodles775So11:50
adiroiban:D11:51
noodles775if the background color of the row is shaded slightly and, so that people don't think, 'huh, why is it shaded', we indicate the inactive state in the name as above?11:51
danilosnoodles775, +111:51
danilosadiroiban, how do you like that? :)11:51
adiroibanit's ok11:52
adiroibani'll do it :)11:52
danilosadiroiban, if you have any better/different suggestions, feel free to tell them :)11:52
noodles775adiroiban: feel free to do something that you like more...11:52
danilosnoodles775, adiroiban: cool, thanks!11:52
noodles775+`11:52
noodles775+111:52
adiroibanuh... color ?11:53
adiroibancolorcode11:53
adiroiban#DCDCDC11:54
* noodles775 looks in style-3.0.css11:54
noodles775#747474 is what's being used for a disabled tab, but it might be too dark. See what you think.11:55
adiroibannope. to dark11:56
adiroibanthat was my starting point 11:56
adiroibanlet me try some colors and show you some screenshots11:59
danilosadiroiban, don't worry about it too much, if it works for you, it'll work for the remaining 9 people who are going to see it :)12:01
adiroibanok12:01
adiroibandanilos: should I rename the other xx-rosetta-pofile stories to xx-pofile?12:06
danilosadiroiban, sure12:07
danilosadiroiban, again, some of it may break tests (i.e. some tests are loaded through python files), so you don't have to, but if you want to fight more problems... :)12:08
adiroibandanilos: or they can create name conflicts?12:09
danilosadiroiban, yeah, that too12:09
adiroibanwith stories from other products?12:09
danilosadiroiban, so, if you want to get your branch in, I wouldn't worry about fixing all the worlds problems in it :)12:10
adiroiban:)12:10
beunonoodles775, still need that peak?12:31
=== henninge is now known as henninge-lunch
noodles775beuno: yeah, if you wouldn't mind, then I can finish it and put an MP together :-) Thanks!12:32
beunonoodles775, where does "newer version" link?12:36
noodles775beuno: https://launchpad.dev/ubuntu/warty/+source/iceweasel/1.112:37
beunonoodles775, tha tonly thing that worries me a bit here12:38
beunois that if a PPA is there for say, backports, you'll have that on every single row12:38
BjornT_bigjools: is there any test for code that calls BuildQueue.destroySelf()?12:38
noodles775beuno: Erm, I don't think so, one tick...12:39
bigjoolsBjornT_: I dunno without looking12:39
danilosnoodles775, I am out for lunch: my branch should be pretty simple, but if you've got any questions, feel free to tackle somebody else's branch so we can deal with mine when I am back :) thanks12:40
noodles775beuno: actually, yes, I think you're right. As long as it's in one of the distributions archives.12:40
bigjoolsBjornT_: the best we have is lib/lp/soyuz/doc/buildd-slavescanner.txt12:40
noodles775danilos: yes, it looks straight forward, sorry, I've just had other things coming up.12:41
danilosnoodles775, don't worry, it's not a huge rush, when you get to it, great :)12:41
beunonoodles775, in light of that, what do you think about making it less prominent?12:42
noodles775beuno: sure (I just checked, anything published in primary, partner or debug is included).12:43
beunonoodles775, it seems more informational than a warning in this case12:44
BjornT_bigjools: why does it call destroySelf() in the test itself? what code actually calls destroySelf() in production?12:44
noodles775beuno: yep, I'll switch the icon, but other than that, I'm not sure how to make it less prominent while still conveying enough info (and a link) to identify what it is?12:45
BjornT_bigjools: btw, on line 514 you try to call destroySelf(), but the isn't prefixed with >>>12:45
* beuno thinks12:46
bigjoolsBjornT_: heh, there's a few without the >>>12:46
bigjoolsthat's an old old test12:46
bigjoolsBjornT_: see the bottom few methods of lib/lp/buildmaster/buildergroup.py12:47
bigjoolsthat's the code that handles builds returned from the buildds12:47
beunonoodles775, maybe less verbose?  "(i) _Newer version_ available"12:49
noodles775beuno: OK - I'd thought it necessary to somehow indicate that it was a newer version in the distroseries itself. But you're right. I'll go with that. Thanks!12:50
BjornT_bigjools: ok. i assume that you have, or will test this patch on dogfood?12:51
bigjoolsBjornT_: I have yes - it's the right thing to do anyway, it was omitted in the recent refactoring12:51
beunonoodles775, something better may come to mind once the caffeine starts flowing to my brain  :)12:51
salgadoBjornT_, care to review a trivial lazr-js branch for me? https://code.edge.launchpad.net/~salgado/lazr-js/bug-482235/+merge/1594012:51
BjornT_salgado: sure12:54
salgadoBjornT_, in fact, I'm more interested in feedback about the feature itself, as I'll ask mars for another review later, when he's around12:54
BjornT_salgado: ok12:55
=== mrevell is now known as mrevell-lunch
BjornT_salgado: can you give an example in LP code, where you would use this? i.e., where we use the Picker, and where you plan to specify this new argument13:00
salgadoBjornT_, the vocabulary picker13:01
salgadoin Launchpad13:01
salgadoI enter a person's name but am not sure whether or not it's correct, so I click 'Choose...' to search for it13:01
salgadothe overlay pops up and I have to type the name again13:02
BjornT_salgado: can you point me to a file? i want to see how it's connected to the text field13:02
salgadoBjornT_, canonical/widgets/templates/inline-picker.pt13:04
BjornT_salgado: not vocabulary-picker.js?13:06
salgadoBjornT_, could be; that's not quite clear to me13:09
BjornT_salgado: yeah. i'll add a comment to the MP. i have some thoughts on the API13:11
bigjoolsBjornT_: interesting point about the attributes in my test13:13
bigjoolsI'll change it to use another variable "just in case"13:13
bigjoolsit'll be the fifth time I've re-written the test :)13:13
BjornT_bigjools: yeah, it's better to be on the safe side13:14
bigjoolsI agree13:15
salgadoBjornT_, did you forget about that comment to the MP?13:35
BjornT_salgado: no, just got distracted :) it's there now13:39
adiroibandanilos: the branch with changes to launchpad.TranslationsAdmin privileges is not ready. It looks like I need to also look at the db schema13:39
=== mrevell-lunch is now known as mrevell
danilosadiroiban, why's that?13:48
adiroibandanilos: http://paste.ubuntu.com/338672/13:49
adiroibandanilos: I assume that as an UTC i only got an launchpad.TranslationsAdmin "token"13:50
adiroibandanilos: maybe I'm talking nonsenses13:51
danilosadiroiban, I am trying to look it up, my connection to canonical servers is slow today, not sure why :(13:51
danilosadiroiban, that's right, it just means that you missed a spot where you should have changed the permission to TranslationsAdmin instead of Admin, are all your latest changes in a branch I can take a look at?13:53
adiroibanyes. in the MP one13:53
danilosadiroiban, cool, let me get it here13:54
adiroibandanilos: here is a "clean" error http://paste.ubuntu.com/338675/13:55
adiroibandanilos: you get that when trying to save a template as UTC13:56
danilosadiroiban, look at translations/configure.zcml, search for POTemplate, and look what launchpad.Admin is required for14:01
danilosadiroiban, changing that to launchpad.TranslationsAdmin makes the test pass for me14:01
adiroibandanilos: thanks. I was looking only at translations/browser/configure.zcml14:04
danilosadiroiban, np14:07
danilosadiroiban, btw, this change will introduce some more privileges to you guys, you'll get some privileges on language pack pages and such14:08
* danilos switches locations14:12
=== danilos is now known as danilo[home]
=== henninge changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: danilos, - || queue [sinzui, henninge] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== sinzui changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: danilos, - || queue [henninge] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
henningehi al-maisan, noodles775:  I added my name to the queue for a branch that started out as a "quick fix" but got a bit longer because of tests. The original reviewer asked if somebody else could finish this.14:27
henningenoodles775: are you doing UI exclusively?14:27
al-maisanhenninge: where is that branch?14:27
henningeal-maisan: https://code.edge.launchpad.net/~henninge/launchpad/access-to-translationgroup-table/+merge/1564314:27
* al-maisan looks14:27
noodles775henninge: if possible, only because I've already done lots of UI reviews this week, so keen to minimise any more time spent reviewing.14:28
al-maisanhenninge: I'll take care of it.14:28
=== al-maisan changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: danilos, henninge || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
henningenoodles775: ok, I was just curious, und außerdem ^14:28
henningeal-maisan: Danke schön!14:28
al-maisanhenninge: Bitte, nichts zu danken :)14:29
allenapnoodles775: Fancy doing a UI review of https://code.edge.launchpad.net/~allenap/launchpad/show-me-too-counts/+merge/15947? I haven't got screen-shots, but can get some if you'd like.14:40
noodles775allenap: np, I'll want to run it anyway.14:40
=== noodles775 changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: allenap, henninge || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
allenapnoodles775: Cool, thanks :)14:41
noodles775allenap: np. I'll take a look in 15m or so.14:41
al-maisanhenninge: quick question: should the new/revised tests in test_translationimportqueue.py fail if the security.cfg changes are not applied to the database?14:42
henningeal-maisan: yes, some of them.14:42
henningethree, I think14:43
henningeone for each of the three tables14:43
allenapal-maisan: Are you up for a code and/or js review of https://code.edge.launchpad.net/~allenap/launchpad/show-me-too-counts/+merge/15947?14:43
henningeallenap: do we still split js and code?14:44
allenaphenninge: I don't know... I got a merge proposal yesterday with separate code and js reviews.14:45
allenaphenninge: Most if not all of us are js reviewers, so I guess it makes little sense.14:45
al-maisanallenap: I could do the code review once I am done with henninge's branch .. how does that sound?14:45
al-maisanallenap: if needs be I can look at the js piece as well.14:46
allenapal-maisan: That's great, thanks.14:46
henningeallenap: I never formally graduated as js reviewer but I think to be remembering that at one point it was said that all reviewers can do js reviews now.14:46
adeuringnoodles775: http://people.canonical.com/~adeuring/patch-icons1.png14:47
noodles775Great, thanks adeuring !14:47
allenaphenninge: Okay, perhaps something to bring up on the list or at the next reviewer meeting?14:47
henningeallenap: yup, next reviewers meeting on the 6th.14:48
adeuringnoodles775: just noticed that it is trivial to enable the "patch" checkbox in the "add attachment" form. Let me add that too14:50
noodles775adeuring: that'd be great!14:50
henningeallenap: https://dev.launchpad.net/ReviewerMeetingAgenda14:51
allenaphenninge: Fantastic :)14:51
adiroibandanilos: hi. I pushed the latest change, and after running bin/test -vvc -m translations --layer=PageTestLayer , everhing seems fine.14:55
danilosadiroiban, cool, sounds good, I'll take a look at it asap15:00
=== salgado is now known as salgado-lunch
adiroibandanilos: there's no hurry :)15:01
=== matsubara is now known as matsubara-lunch
al-maisanhenninge: is there no test needed that the 'queued' user may access a translationgroup?15:09
henningeal-maisan: that test is included in the ubuntu tests.15:10
adeuringnoodles775: r10020 of the branch  contains the improved link. Now ready for a re-review :)15:10
al-maisanhenninge:  ubuntu tests?15:10
noodles775adeuring: great, thanks!15:10
henningeal-maisan: if you look at the full file, you will see that there is a special test when the target is a sourcepackage in ubuntu15:10
al-maisanhenninge: ah, I see.15:11
al-maisanhenninge: r=me15:11
henningeal-maisan: that is when translation group is accessed15:11
henningeal-maisan: Danke!15:11
=== al-maisan changed the topic of #launchpad-reviews to: on-call: noodles775(UI), al-maisan || reviewing: allenap, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
al-maisanallenap: sorry, need to finish something else first. Hopefully back to review your stuff soon.15:13
allenapal-maisan: It's okay, I'm not in a rush. Thanks for letting me know.15:13
al-maisan:)15:17
noodles775allenap: wow, that feature is great!15:29
noodles775allenap: I was wondering whether there was a decision behind *not* displaying the count for anon users?15:29
allenapnoodles775: No deliberate decision, just didn't actually think about it, doh.15:30
allenapnoodles775: I should probably add it!15:30
noodles775allenap: that'd be great!15:31
allenapnoodles775: I'll make it simply say "This bug affects 27 people".15:31
noodles775Perfect15:33
bachi jpds15:46
jpdsHey bac.15:46
bacjpds: since you are becoming so prolific (!) you may want to have a look at https://edge.launchpad.net/lpreview-body .  with it you can do 'bzr send' and it'll help you write a good merge proposal cover letter and get it submitted.  a good side effect is it assigns the whole launchpad team as a reviewer, which may give you much better turn-around.15:48
jpdsbac: Aha, that's neat, thanks for the tip. :)15:52
bacjpds: oh, and it runs 'make lint' for you too.  that saves me all the time from doing something silly.15:52
=== matsubara-lunch is now known as matsubara
=== beuno is now known as beuno-lunch
jpdsbac: Installed, will use it next time.15:59
bacjpds: great.  hope it works well for you.16:03
jpdsbac: Can you feed my pending branch to PQM? :)16:08
bacjpds: i can later.  you may want to see if noodles775 or al-maisan can do it, since they are on-call reviewers today.  what is the URL for the MP?16:09
jpdshttps://code.edge.launchpad.net/~jpds/launchpad/fix_50580/+merge/1589216:10
* al-maisan is fixing the devel breakage, sorry16:10
adeuringal-maisan: ar you still reviewing? If you, could you have a look at https://code.edge.launchpad.net/~adeuring/launchpad/bug-172507/+merge/15925 ? (the real diff isn't 1100 line, but ca 180)16:11
noodles775rockstar: are you around soon? al-maisan and myself are finishing up, but there are a few requests coming in.16:11
rockstarnoodles775, yea, right after this QA meeting.16:11
al-maisanadeuring: I am preparing a testfix for devel, later maybe..16:11
noodles775Great! Thanks rocksar.16:11
adeuringal-maisan: let me ask rockstar16:12
=== noodles775 changed the topic of #launchpad-reviews to: on-call: - || reviewing: - || queue [jpds, adeuring] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
noodles775adeuring, jpds: I've put you both in the queue, so rockstar will get to them as soon as he's finished the meeting.16:12
adeuringnoodles775: ok, thanks!16:13
jpdsnoodles775: Thanks.16:14
allenapnoodles775: Just thinking. Do you want the link to +affectsmetoo to appear to anon users? So they can click, login, answer?16:22
allenapnoodles775: I've just finished the change to just show a statement without a link!16:22
adiroibandanilos: even though maybe now we have more privileges, they will not show up in the UI since all TAL conditions are for launchpad.Admin16:24
allenapnoodles775: The context menu only enables the link for logged-in users, so perhaps I'll just follow that.16:24
danilosadiroiban, heh, but code is right there for people to see :) btw, relevant conditions should be changed as well, no reason to hide them if you ask me16:25
adiroibandanilos: yep. I will try to solve in in the cleanup branch... as I will need to look at each launchpad.Admin and check if it can be replaced by launchpad.TranslationsAdmin16:27
danilosadiroiban, it can't be done everywhere, unless you want to get into more of these cleanups :) your effort can be better spent elsewhere than cleaning up the entire tree, not that I'd stop you :)16:28
adiroibandanilos: hm... then I should fix those problems in this branch ?16:29
danilosadiroiban, well, no... the point is that launchpad.Admin and launchpad.TranslationsAdmin are not interchangeable permissions16:30
danilosadiroiban, if there are problems like these (I suspect there are only one or two), we'll fix them as we find them16:30
adiroibandanilos: ah. ok :)16:30
=== rockstar changed the topic of #launchpad-reviews to: on-call: rockstar || reviewing: jpds || queue [adeuring] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
rockstarjpds, hi.16:33
jpdsrockstar: Hello.16:34
rockstarjpds, have you contributed to Launchpad before?16:35
jpdsrockstar: Two branches, both in devel/16:35
rockstarjpds, okay, so you have signed the contributor agreement then.16:35
jpdsrockstar: I work for Canonical.16:36
rockstarjpds, oh.16:36
* rockstar hangs head in shame16:36
* jpds hugs rockstar.16:37
=== salgado-lunch is now known as salgado
rockstarjpds, ah, you started last month?16:37
jpdsrockstar: Yes.16:37
rockstarjpds, well welcome aboard!16:38
jpdsThank you. :)16:38
rockstarNow I don't feel so bad.  We hire people faster than I can meet people.  :)16:38
=== danilos is now known as danilo-bblot
rockstarjpds, have you thought about a way to test this?16:39
jpdsrockstar: I ran: "make run" and viewed the mirrors page at launchpad.dev/ubuntu/+archivemirrors .16:40
rockstarjpds, well, I mean using automated testing.16:40
jpdsHmm, not really I'm afraid.16:40
jpdsIt's really just colouring in text that's there in black. :)16:41
rockstarjpds, I'm not sure if it really requires it, but I think it'd be a good benefit.16:41
rockstarbigjools, ping16:41
bigjoolsrockstar: yarp16:41
rockstarbigjools, https://code.edge.launchpad.net/~jpds/launchpad/fix_50580/+merge/1589216:42
rockstarbigjools, do you think that this patch needs tests?16:42
bigjoolsdepends how anal you wanna be16:43
bigjoolsthe question I ask, is it worth testing16:43
=== beuno-lunch is now known as beuno
bigjoolsit probably is worth a quick test I think, it's pretty easy16:45
rockstarbigjools, I don't think it requires it, but if it's easy, then why not.16:45
bigjoolsyeah, just getTagsByClass and profit16:46
rockstarjpds, is this something you've done before?16:46
jpdsrockstar: No.16:46
bigjoolsrockstar: why don't you write the test for him?16:46
bigjoolswe should not block contributions on lack of tests16:47
rockstarbigjools, yes, this is true.16:47
bigjoolsjpds can see the test afterwards and learn :)16:47
jpdsYeah, I've never written a test case before...16:49
bigjoolsjpds: the tests for the web pages are in lib/lp/<project>/stories16:50
bigjoolsthey use the zope test browser16:50
allenapal-maisan: If you're still busy, I can see if someone else can have a look at my branch?16:52
al-maisanallenap: that would be good, I am about to finish the test fix and planned to end the day.16:52
rockstarbigjools, is there an existing doctest that this might go with?  I know very little about your crazy soyuz code.16:53
bigjoolsthis is not soyuz code :)16:54
bigjoolsit's registry16:54
bigjoolseven before we generously donated half our code to them16:55
bigjoolsbut I can look16:55
bigjoolsrockstar: ib/lp/registry/stories/distributionmirror/xx-distribution-mirrors.txt ?16:56
rockstarbigjools, thanks.16:56
rockstarIt's distro mirror junk, so I figured you'd know.16:56
noodles775rockstar: I'm putting one in the queue for a UI review - if you have time later in your day (not urgent).16:56
noodles775https://code.edge.launchpad.net/~michael.nelson/launchpad/211008-visual-indicator-superseded-pkgs/+merge/1596316:56
rockstarnoodles775, great, thanks.16:56
=== noodles775 changed the topic of #launchpad-reviews to: on-call: rockstar || reviewing: jpds || queue [adeuring, noodles775] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
noodles775Thank you!16:57
jpdsrockstar: Any luck?17:48
rockstarjpds, I'm actually on the phone chasing something else right now.17:48
jpdsAh, OK.17:48
rockstarjpds, so, the code is good, but I need to write tests, and I wasn't entirely planning to write code much today (being on-call reviewer) so I need to figure out how to work out where to fit that into my day.17:52
=== deryck is now known as deryck[lunch]
jpdsrockstar: OK, right.18:41
=== rockstar changed the topic of #launchpad-reviews to: rockstar || reviewing: adeuring || queue [noodles775] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
rockstaradeuring, I can't find your branch on +activereviews19:12
adeuringrockstar: https://code.edge.launchpad.net/~adeuring/launchpad/bug-172507/+merge/1592519:12
rockstaradeuring, danke19:12
adeuringrockstar: thanks to _yout_, for reviewing this stuff :)19:13
rockstaradeuring, holy crap, that's a big SVG...  :)19:14
adeuringrockstar: well, xml is chatty...19:14
rockstaradeuring, I'm sure the Ubuntu Bugs team is going to love this.  They were talking about it a lot of UDS.19:15
rockstaradeuring, I'm also sure that they're going to want this through the API, so eventually you may need to move that to the model/interface19:16
adeuringrockstar: maybe... But with the API you can simpy filter by the property type19:17
adeuringso there is no real need, I thnk19:17
adeuring...i mean: filter by bugattamnet.type ...19:17
adeuringargh... bugattachment.type....19:17
rockstaradeuring, okay.19:20
* rockstar lunches19:22
=== deryck[lunch] is now known as deryck
bacrockstar: i'm adding a branch to your queue for your post-lunch enjoyment.19:51
=== bac changed the topic of #launchpad-reviews to: rockstar || reviewing: adeuring || queue [noodles775, bac] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== salgado is now known as salgado-afk
=== matsubara is now known as matsubara-afk
=== EdwinGrubbs_ is now known as EdwinGrubbs
abentleyrockstar: I can has reviews?21:13
rockstarabentley, please add yourself to the queue.21:13
=== abentley changed the topic of #launchpad-reviews to: rockstar || reviewing: adeuring || queue [noodles775, bac, abentley, abentley, abentley, abentley] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
abentleyrockstar: https://code.edge.launchpad.net/~abentley/launchpad/twistedjob-enhancements/+merge/15977 https://code.edge.launchpad.net/~abentley/launchpad/twistedjob/+merge/15980 https://code.edge.launchpad.net/~abentley/launchpad/ampoulejob/+merge/15982 https://code.edge.launchpad.net/~abentley/launchpad/ampoulejob-timeout/+merge/1598621:15
rockstarabentley, okay, I think you just filled my queue for the rest of the day.21:15
abentleyrockstar: My pleasure.21:15
rockstarabentley, and I also can't guarantee I'll get to all of them, but I'll do my best.21:16
abentleyrockstar: cool.21:16
jpdsrockstar: getTagsByClass> Does this even exist?22:58
jpdsrockstar: Can't find any reference of it in the code anywhere...22:58
rockstarjpds, we may not be using it, but it may be part of the zope test browser.22:59
rockstar...or BeautifulSoup22:59
jpdsHmm, Google doesn't seem to know about it.23:00
rockstarjpds, huh.  Maybe bigjools is on crack.23:01
jpdsrockstar: Well, soyuz... yeah.23:01
* jpds runs.23:02
bigjoolsoO23:02
bigjoolsfind_tags_by_class23:02
bigjoolsmy bad23:02
jpdsbigjools: Ah cool, thanks.23:03
wgrantAh, it's LP-specific.23:03
jpdsrockstar: Tests added: 23:33
jpdshttps://code.edge.launchpad.net/~jpds/launchpad/fix_50580/+merge/1589223:34
rockstarjpds, oh great.  That makes my life easier.23:34
jpdsrockstar: That's always a bonus.23:34

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