/srv/irclogs.ubuntu.com/2010/01/28/#launchpad-reviews.txt

leonardredwingrubbs: fwiw, yes00:08
* leonardr heading out00:08
=== EdwinGrubbs changed the topic of #launchpad-reviews to: on-call: - || reviewing: al-maisan<http://tinyurl.com/yag7j48> || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== adiroiban changed the topic of #launchpad-reviews to: on-call: - || reviewing: al-maisan<http://tinyurl.com/yag7j48> || queue [adiroiban(bug-509252)] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== al-maisan changed the topic of #launchpad-reviews to: on-call: al-maisan || reviewing: jtv || queue [adiroiban(bug-509252)] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
jtvhi al-maisan!  Thanks.08:55
jtval-maisan: want me to do adi's branch?08:56
al-maisanGood morning jtv 08:56
al-maisanjtv: if you like, I guess noodles775 will start reviewing at some point as well..08:56
noodles775yep, I'll be there soon.08:56
=== al-maisan changed the topic of #launchpad-reviews to: on-call: al-maisan || reviewing: jtv || queue [adiroiban(bug-509252)] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
* jtv backs off08:58
al-maisanhello jtv, errm, just wanted to let you know that a branch of mine (currently reviewed by allenap) does away with `IBuildFarmJobDispatchEstimation` altogether09:42
al-maisani.e. your branch that adds an implementation of that interface is not needed any more09:42
* jtv is silent as face progresses through a wild mix of moods and expressions09:42
al-maisansorry for the extra work you have put in but ..09:43
jtvoh well :)09:43
al-maisan.. a solution that allows us to remove `IBuildFarmJobDispatchEstimation` became obvious only recently09:43
jtvThat is good news though.  Did you go with the simulation as Tim suggested?09:44
al-maisanjtv: not really but we now have enough data in the BuildQueue table to estimate dispatch times w/o having to look beyond that09:45
jtvthat's great... do you think you'll be needing me to provide more info for that data?09:45
al-maisanjtv: not really as long as you set BuildQueue.processor, BuildQueue.virtualized and BuildQueue.estimated_duration09:46
jtval-maisan: I'm not sure I do though09:47
al-maisanwell, the defaults for BuildQueue.processor and BuildQueue.virtualized are NULL, so that should be fine09:47
al-maisanHowever, the BuildQueue.estimated_duration property is required. Wasn't henninge working on that?09:48
jtvNo, I think I implemented that one as a hard-coded constant.09:48
jtvI think he looked at it and found that the actual job there took essentially zero time.09:48
al-maisanjtv: as long as the constant is close enough to reality that would be fine as well :)09:49
al-maisanhmm .. so what is the constant he chose? Zero?09:49
jtvI think I picked one minute...09:50
jtv...which is probably high.09:51
al-maisanjtv: hmm .. that's a pretty conservative guesstimate09:51
al-maisanjtv: are you storing the actual running time after the translation import job completes?09:52
jtvI was thinking we could leave it at that unless and until we find that it's really affecting the reliability of estimates.09:52
al-maisanjtv: I have no problem with that .. let's keep it for the time being.09:52
jtvIsn't storing the running time something that's done in the generic buildmaster code?09:52
* al-maisan looks09:52
allenapal-maisan: What does EXTRACT(EPOCH FROM ...) do?09:55
al-maisanallenap: it converts the interval to seconds09:56
allenapal-maisan: Cool.09:56
al-maisanallenap: http://www.postgresql.org/docs/8.1/static/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT09:57
allenapal-maisan: Awesome, thank you.09:58
al-maisanyou are welcome :)09:58
al-maisanjtv: you were right, the actual running time of the job is stored in BuildBase.storeBuildInfo()09:59
jtval-maisan: common sense, design-wise, to keep that generic.  :)10:00
al-maisanjtv: yup, but common sense is not at all that common ;)10:01
jtvtrue, alas10:02
=== al-maisan changed the topic of #launchpad-reviews to: on-call: al-maisan || reviewing: - || queue [adiroiban(bug-509252)] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
al-maisanadiroiban: your mp is reviewed & approved already (https://code.edge.launchpad.net/~adiroiban/launchpad/bug-340662-take-2/+merge/17598)10:06
al-maisanis that correct?10:06
al-maisanadiroiban: can I remove you from the queue?10:06
adiroibanhm10:06
adiroibanlet me check10:06
adiroibanit is for bug 50925210:07
mupBug #509252: Remove AdminPoTemplateSubset from security.py <cleanup> <Launchpad Translations:New for adiroiban> <https://launchpad.net/bugs/509252>10:07
al-maisanadiroiban: sorry .. I clicked on the wrong link10:08
adiroibannp10:09
=== al-maisan changed the topic of #launchpad-reviews to: on-call: al-maisan || reviewing: adiroiban || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== noodles775 changed the topic of #launchpad-reviews to: on-call: al-maisan, noodles775 || reviewing: adiroiban || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
al-maisanadiroiban: looks good, r=me10:33
=== al-maisan changed the topic of #launchpad-reviews to: on-call: al-maisan, noodles775 || reviewing: -,- || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
adiroibanal-maisan: thanks! Do you have time to land it or should I ask someone else?10:35
al-maisanadiroiban: I believe we are in RC mode .. but I can land it once 10.02 opens up10:35
adiroibanal-maisan: sure. I was refering to land it then the queue will be open... probably it would be best to ask you when the queue is open10:37
al-maisanadiroiban: thanks!10:38
allenapal-maisan: I've finally finished your review. Lots of minor suggestions, nothing major. Looks good :)10:43
al-maisanallenap: great, thanks!10:43
=== adiroiban changed the topic of #launchpad-reviews to: on-call: al-maisan, noodles775 || reviewing: -,- || queue [adiroiban(bug-462013-try-2)] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== matsubara-afk is now known as matsubara
noodles775adiroiban: I can take a look at that branch, or did you want someone specific to look at it?10:59
adiroibannoodles775: hi. nope. you can review it11:01
=== noodles775 changed the topic of #launchpad-reviews to: on-call: al-maisan, noodles775 || reviewing: -,adiroiban(bug-462013-try-2) || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
noodles775adiroiban: hi, your new test seems to pass even when I revert the change to product.py?11:29
noodles775(BTW: thanks for adding extra tests too!)11:31
adiroibannoodles775: uh... yes. I forget to test „obsolete is _not_ in extracted_text”11:32
adiroibannoodles775: I pushed the missing test11:44
noodles775adiroiban: thanks... I'm actually looking at the pagetest, and thinking that most of it is really testing the *view* functionality and should really be in a view/browser test...11:45
noodles775I mean, you're really testing the untranslatable_series property... what do you think?11:46
adiroibannoodles775: yes. I will move them in browser/tests11:46
noodles775adiroiban: So perhaps just add one series in the pagetest and verify that it appears, then yes, the rest can go in the view test.11:47
adiroibannoodles775: or 2...one active and one obsolete11:48
noodles775adiroiban: also, I (personally) think it would be worth sorting the results of untranslatable_series - random order is not good. What do you think?11:48
noodles775adiroiban: well, the fact that the obsolete series won't be included should be in the view test (as it's view code).11:48
adiroibannoodles775: ok. alphabetically sorted?11:49
noodles775adiroiban: if that make the most sense, yes (another option would be by the status, but you'll know more about which makes most sense :)11:50
noodles775adiroiban: So I'll make this as needs-fixing for the moment. Just ping me when you're done and I'll go through the code in detail. Thanks!11:51
adiroibannoodles775: ok. thanks11:52
=== salgado is now known as salgado-brb
=== salgado-brb is now known as salgado
=== mrevell is now known as mrevell-luncheon
=== mrevell-luncheon is now known as mrevell
beunokfogel, any magic trickery available to load the sample data?14:36
beunoro should I just clean the db and run the SQL?14:36
kfogelbeuno: in standup, will answer after (inability to multitask, is all)14:37
beunothanks14:37
kfogelbeuno: most ppl in #launchpad-dev should know, though; I recall it's pretty easy to load -- abel has shown me how before14:40
kfogelbeuno: of course, abel is in this standup with me :-)14:40
=== al-maisan changed the topic of #launchpad-reviews to: on-call: noodles775 || reviewing: adiroiban(bug-462013-try-2) || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
kfogelbeuno: okay, so I *think* you just do 'cd database/schema; cp current-dev.sql MY_SAFE_current-dev.sql; cp newsampledata-dev.sql current-dev.sql'14:50
kfogelbeuno: and then a 'make schema' may be necessary14:50
beunokfogel, sounds like what I want, thanks, I'll give it a go14:51
kfogelbeuno: might want to check with someone that that last step is both necessary and safe14:51
beunokfogel, it's ok, I have a helmet on14:51
kfogelbeuno: that is, there's also the "current.sql" file; I'm not sure what it is or whether 'make schema' blows it away, though I doubt 'make schema' is destructive to any file on disk (its whole point is to be destructive to the db)14:51
kfogelok14:51
=== salgado is now known as salgado-afk
=== salgado-afk is now known as salgado-lunch
=== matsubara is now known as matsubara-lunch
beunokfogel, no padding between the borders and the content of the tooltips!  :)15:01
adiroibannoodles775: I'we pushed the changes. Hope you got the latests diff in your mailbox :)15:03
noodles775Thanks adiroiban, I'll take a look shortly.15:04
kfogelbeuno: need padding?15:04
beunokfogel, the content is squished against the border15:04
intellectronicabeuno, kfogel: b.t.w don't forget that there's a lazr widget wanting to happen there. we didn't take this route to being with because we thought it's better to first have a concrete implementation, but that's already the second implementation in LP and i'm sure other apps would benefit from this too15:05
intellectronicai'm talking about the fancy tooltip b.t.w15:05
kfogelintellectronica: I *had* forgotten, actually, thank you for reminding me.  IOW, we want to abstract out the tooltip functionality?15:06
intellectronicayes, we want to abstract the tooltip functionality using a YUI widget, and put that in lazr-js15:06
intellectronicait will be hard to find resources to take on this task, but just recording it for now will already be a step forward15:07
kfogelintellectronica: would an XXX comment with a bug be appropriate?  (I could put the XXX comment both in lib/lp/bugs/templates/bugtarget-patches.pt and in the appropriate place for the other spot we're using a fancy tooltip right now).15:07
beunokfogel, change div.popupTitle{padding:0 1em;} to padding:0.5em 1em15:08
intellectronicakfogel: yes, i think an XXX with a bug would be appropriate. the bug should probably be on lazr-js (rather than launchpad)15:08
kfogelbeuno: I was just about to ask you how to do that, thank you :-)15:08
kfogelintellectronica: *nod*15:09
kfogelbeuno: trying it now15:09
kfogelbeuno: http://paste.ubuntu.com/364621/15:11
kfogelbeuno: something like that?15:11
kfogelbeuno: (it appears to have the desired effect in my launchpad.dev instance)15:11
beunokfogel, yes, but it's better if you do that on the css file15:11
kfogelbeuno: oh, right -- popupTitle is a shared class15:12
kfogelone sec15:12
kfogelbeuno: I did this http://paste.ubuntu.com/364623/, but is there some way to do a page reload that will reload the CSS file?  I'm not seeing the new padding now.15:15
beunokfogel, IIRC, you need to run make again (yuk!)15:15
kfogelbeuno: oh, to make combo.css?15:16
beunoyeah15:16
kfogelright, forgot about that15:16
kfogelcool, doing now15:16
kfogelbeuno: while that's going on, any other UI tweaks?15:16
beunokfogel, triple tasking, so I can't say for sure15:16
beunothe drop down looks odd15:17
kfogelbeuno: ...can you be more specific?  Should we get rid of the little two-headed lizard icon? :-)15:18
beunokfogel, I haven't gotten to the suggestion part15:19
beunoit just floats there15:19
beunoI'm trying to think what to do with it while I explain to the team I'm leaving what I did this morning  :)15:19
kfogelbeuno: no rush -- come back to this later if triple-casking is killing you.  Excuse me, I mean "triple-tasking" (cough, cough).15:20
beuno:)15:21
beunosinzui, how's the TL call?  I miss everyone15:21
sinzuibeuno:  join in 15:21
beunoabout to!15:22
=== matsubara-lunch is now known as matsubara
beunokfogel, bug icons don't match the importance16:04
beunoand lastly, I'd add an "Order: " label to the ordering drop down16:05
beunoI'll add all these things to the MP16:07
kfogelbeuno: oh, that's right, bug icons get colored according to importance, I totally forgot.16:07
kfogelThank you.16:07
kfogelI'm not actually color-blind, but I might as well be -- I never notice that stuff.16:07
beunoheh, it gets better when looking at other peoples' stuff16:09
=== noodles775 changed the topic of #launchpad-reviews to: on-call: - || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== deryck is now known as deryck[lunch]
=== beuno is now known as beuno-lunch
=== rockstar changed the topic of #launchpad-reviews to: on-call: rockstar || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== EdwinGrubbs is now known as Edwin-lunch
=== deryck[lunch] is now known as deryck
leonardrrockstar, i have a fun branch for you17:59
leonardrhttps://code.edge.launchpad.net/~leonardr/lazr.restful/enforce-version-order/+merge/1822317:59
leonardr("if it was fun to write, it should be fun to understand")18:00
leonardri'm taking my wife out to lunch, so if you run into problems and need my input, just kick the branch back to me. but it should be pretty self-explanatory18:01
rockstarleonardr, okay.  I'm also heading out to run an errand.  I'll get to it when I get back.18:01
leonardrall right18:01
=== henninge_ is now known as henninge
henningeHey jtv, I hope you didn't find my review too harsh ... ;)18:17
henningejtv: Also, what are you doing up this time of night?18:17
jtvhenninge: wrapping up a few things I couldn't do in my own timezone.  :-)18:18
jtvhenninge: no worries about the review... I would say the reason this is (slightly) translations-specific is that we specifically check for read-only mode and make decisions based on it, in this case leading to an assertion failure.  Other requests will mostly just fail with a "transaction is read-only" database error, which is easy enough to filter out.18:20
=== beuno-lunch is now known as beuno
=== rockstar changed the topic of #launchpad-reviews to: on-call: rockstar || reviewing: leonardr || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== matsubara is now known as matsubara-afk
leonardrrockstar, fwiw, i'm back20:03
rockstarleonardr, cool.  Looking at your branch now.20:03
=== salgado is now known as salgado-afk
=== leonardr_ changed the topic of #launchpad-reviews to: on-call: rockstar || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews

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