/srv/irclogs.ubuntu.com/2011/12/05/#launchpad-dev.txt

wgrantTrivial review for someone: https://code.launchpad.net/~wgrant/launchpad/prettier-private-build/+merge/8441500:56
huwshimiwgrant: Btw, this fixed my lp-land issues: https://lists.launchpad.net/launchpad-dev/msg07986.html01:05
huwshimiA trivial review for someone: https://code.launchpad.net/~huwshimi/launchpad/expired-status-colour/+merge/8441701:06
wgranthuwshimi: Thanks, approved.01:08
huwshimiwgrant: :)01:08
wgranthuwshimi: I'm not a huge fan of the importance colour scheme, but apart from that the new listings are awesome.01:08
huwshimiwgrant: Thanks for noticing01:08
huwshimiwgrant: Yeah, it's really hard with the status colours being so bright I was trying to find a way to not make the colours fight too much. Any suggestions on how to improve them?01:09
wgrantNot really, no :/01:10
wgrantThe status colours are pretty nice.01:10
wgranthuwshimi: You're on your two bit of QA?01:34
huwshimiwgrant: Ah right, thanks I'll do that now01:34
huwshimistrange, must have missed those emails01:34
wgrantThanks.01:34
huwshimiwgrant: Done01:39
wgrantlifeless: Could you review https://code.launchpad.net/~wgrant/launchpad/prettier-private-build/+merge/84415? You are the only other reviewer in APAC this week.02:08
lifelessthis is very much a self review candidate...02:11
lifelesstheres no possible way a review could improve this :)02:12
wgrantReasonable point.02:13
huwshimiA small css/js review for someone: https://code.launchpad.net/~huwshimi/launchpad/order-arrows-894535/+merge/8443204:36
wgranthuwshimi: What's wrong with the current importance direction?04:41
wgranteg. if I order by size descending in Nautilus, the arrow points up.04:42
wgrantIf I order by importance descending on Launchpad.net, the arrow points up.04:42
huwshimiwgrant: Are you sure04:44
huwshimi?04:45
huwshimiwgrant: I guess it depends what ascending descending means for the importance04:46
wgranthttp://people.canonical.com/~wgrant/launchpad/nautilus-sort.png04:47
huwshimiwgrant: Yeah, that's how my branch makes the arrows work in Launchpad. The problem I believe is in how Launchpad interprets how to ascend or descend04:49
wgrantSeems to work that way for id/status/importance at least already.04:50
huwshimiwgrant: Something is very wrong then. All the js presentation code that talks about ascending/descending is doing the right thing now, whatever is telling the js what order the items are in must be wrong04:54
huwshimiI think04:54
wgrantHeh04:54
huwshimiI'm just reviewing now04:54
huwshimiwgrant: Hmm... so there's a attribute that's passed to the ordering controls which looks like it might be statically set to "sort_order: 'desc'" which, if not updated might be wrong depending on what these queries default to04:58
wgranthuwshimi: That would be quite amusing.04:59
huwshimiwgrant: I might be wrong, but I can't see what else might be doing it05:02
huwshimiwgrant: Although there does seem to be a bug which is causing my branch not to work perfectly too05:03
huwshimiit defaults to descending for everything, so I guess it could be connected05:03
huwshimiwgrant: So I fixed my issue05:20
huwshimiwgrant: And it looks like the definition of a few things is off05:21
huwshimiwgrant: But I'm very confused as to what05:22
wgranthuwshimi: Howso?05:27
huwshimiwgrant: I don't know, I'm confused :)05:27
nigelbMorning Launchpaders05:28
wgrantHeh05:28
wgrantMorning nigelb.05:28
nigelbSig, yet another Monday.05:29
nigelb*Sigh.05:29
huwshimiwgrant: For one I don't know how the arrows point in the correct direction for some ordering when the presentation code says it shouldn't05:32
huwshimiwgrant: My guess is it's back to everything default to 'desc'05:33
huwshimiwgrant: Oh I see it wasn't actually following the ordering label. The actual direction of the arrow was based on what direction the arrow was pointing previously05:35
wgrantHah05:35
huwshimiwgrant: My branch incidentally fixes05:35
huwshimi*fixes that05:35
huwshimi(as I determine the direction with ".hasClass")05:37
huwshimiAnother trivial html review: https://code.launchpad.net/~huwshimi/launchpad/checkbox-label-labels-894209/+merge/8443706:10
wgranthuwshimi: That's not going to create duplicate IDs?06:12
huwshimiwgrant: The same identifier is being used for the checkbox name property. The properties for that have to be unique so I assume it will be fine06:14
wgrantWell, IDs are meant to be document-wide, but I guess it'll do.06:16
huwshimiwgrant: I see what you mean06:17
huwshimiwgrant: What do we normally do to namespace our forms?06:17
wgrantlol06:18
huwshimiwgrant: I see :(06:18
wgrantBut if you're unconcerned, then I shall approve.06:19
huwshimiwgrant: I'm a little concerned06:20
huwshimiwgrant: Both name and id should be namespaced on a form, I kind of assumed that would have already been taken care of, but maybe I need to add something06:21
huwshimiwgrant: I don't want to mess with the name as that will have larger ramifications so I might just append "_id" to the ids. I think we do that elsewhere06:24
lifelessI don't think we have currently; we certainly have some forms that have special casing to deal with the form being reused on one page (specifically batching facilities(06:24
huwshimiwgrant: OK, I've pushed that change06:27
wgranthuwshimi: Approved, thanks.06:31
huwshimiwgrant: :D06:31
wgranthuwshimi: In your arrow branch, the last hunk duplicates the HTML. Is that deliberate?06:33
huwshimiwgrant: Erm, let me check06:33
huwshimiwgrant: Oh, no that's not deliberate. I had intended to go back and fix that. Actually I didn't know where to store that html.06:35
huwshimiwgrant: This is the file: http://bazaar.launchpad.net/~huwshimi/launchpad/order-arrows-894535/view/head:/lib/lp/app/javascript/ordering/ordering.js06:39
huwshimiwgrant: And the html needs to be used by the renderUI and _updateSortArrows methods. Any suggestions?06:40
wgranthuwshimi: Store it in a constant like LI_TEMPLATE, maybe?06:41
wgrantI don't know if we have any conventions for this sort of thing.06:41
huwshimiwgrant: That would work06:41
wgranthuwshimi: The margin around the icon is also pretty huge here.06:49
wgrantLooks a lot better with margin-left: 3px instead of 5px, and padding: 0 0 0 12px instead of 0 0 0 18px.06:50
huwshimiwgrant: I'll fiddle with that a bit06:51
wgrantAh, the 18px is from the normal sprite styles, I see.06:51
huwshimiwgrant: Yeah, I was balancing that out06:52
huwshimiwgrant: but I should fix it up a little06:52
huwshimiwgrant: OK, just pushed those changes07:01
wgranthuwshimi: That's much better, thanks.07:07
huwshimiwgrant: No problems. Thank you!07:07
wgrantApproved.07:08
huwshimiwgrant: Cheers07:08
* huwshimi will be back later07:11
adeuringgood morning08:44
danhgMorning08:54
mrevellMorning development squadrons!09:09
nigelbMorning mrevell!09:09
=== Guest37602 is now known as jpds
mrevellEveryone, I'd like to introduce frankban, who has joined the Launchpad team at Canonical.09:15
nigelbHi frankban!09:17
nigelbIs he the new danilos? ;)09:17
wgrantWelcome frankban!09:17
frankbanHi all!09:18
mrevellnigelb, Kinda09:18
nigelbmrevell: heh09:18
mrevellIf we ever add a kanban-style feature to Launchpad, perhaps we should call it frankban's kanban.09:28
nigelbhaha09:29
frankban:-)09:30
bigjoolswelcome to the team frankban09:45
frankbanbigjools, thanks!09:48
allenapfrankban: Hello! Welcome to Launchpad :)09:50
cjwatsonwgrant: mawson> is this something I can reasonably ask people to do, or should I be looking to QA germinate changes some other way?09:55
wgrantcjwatson: We could do it this weekend.09:55
wgrantbigjools is probably the person to talk to.09:56
bigjoolsmawson is the only place09:56
frankbanallenap, good morning and thank you!09:56
cjwatsonWell, by some other way, I mean perhaps without a DB restore09:57
cjwatsonI don't know quite how old and crufty mawson is right now; perhaps it's recent enough not to matter09:58
cjwatsonas long as I can run cron.germinate and have it succeed09:58
bigjoolsits dump is from just before precise opened09:58
wgrantIt's from September 22, with a locally initialised Precise, IIRC.09:58
cjwatsonOh, that's not so bad.  That would be fine for this testing then.10:01
cjwatsonI was confused by the last cron.germinate run saying natty.10:01
=== almaisan-away is now known as al-maisan
jtv1Anyone willing to pick up a near-trivial review?  https://code.launchpad.net/~jtv/launchpad/bug-884599/+merge/8440010:29
jtv1adeuring, I don't suppose I could trouble you for yet another one?10:32
=== jtv1 is now known as jtv
adeuringjtv: I'll look10:32
jtvGreat, thanks10:32
adeuringjtv: r=me10:38
jtvthanks adeuring!10:38
huwshimihmm... ec2 test errors I can safely ignore? http://paste.ubuntu.com/760285/10:54
wgranthuwshimi: That's a new one... but not your fault, clearly10:55
wgrantIgnore.10:55
huwshimiwgrant: Thanks. I'm never sure if it's something that means that my branch hasn't been fully tested or something10:55
wgranthuwshimi: It used to mean that sometimes, but it's reliable nowadays.10:58
wgrantThe test time and count at the top are a good indication.10:58
wgrantThey both increase over time :/10:58
huwshimiwgrant: OK sure, I guess I'm find ignore things that aren't errors the look like they related to my branches then?10:59
wgrantPretty much.10:59
huwshimiwgrant: Great :)11:00
huwshimiec2 list, why are you hanging?11:00
StevenKhuwshimi: An instance has probably just terminated and it's trying to ssh into it.11:03
StevenKstrace it11:03
huwshimiStevenK: Oh, how do I do that?11:04
StevenKhuwshimi: 'which strace', first of all11:04
huwshimiStevenK: '/usr/bin/strace'11:05
StevenKhuwshimi: Okay, run 'strace bin/ec2 list'11:05
StevenKThat will produce a *LOT* of output11:05
StevenKIt should hang near a connect() line11:05
StevenKThat will tell you if it is trying to connect to a downed instance11:05
huwshimiStevenK: It doesn't seem to have hung11:07
StevenKhuwshimi: It has exit(0) or something similar at the end?11:07
huwshimiStevenK: It sporadically adds more output on the end, but not terminating11:08
StevenKhuwshimi: Can you pastebin the last screen full?11:08
StevenKAdding a --debug flag to bin/ec2 would be awesome11:08
huwshimiStevenK: http://paste.ubuntu.com/760295/11:09
StevenKhuwshimi: That last line is attempting to connect to an ec2 instance on port 8011:15
huwshimiStevenK: Is that normal?11:16
StevenKhuwshimi: Yes, that's the magic that ec2 list does in the background.11:17
StevenKhuwshimi: However, the magic isn't working since Amazon still lists the instance as terminating (I guess), but ec2 list still wants to talk to it. Wait about ten minutes and try again without the strace.11:18
huwshimiStevenK: Sure, thanks :)11:18
huwshimiah, working now11:24
rick_h_morning11:42
nigelbMorning rick_h_11:42
=== matsubara_ is now known as matsubara
bigjoolsjelmer: any idea what's going on here? http://launchpadlibrarian.net/85989025/nvervelle-jmol-12.2.log11:51
bigjoolsall imports fail https://code.launchpad.net/~nvervelle/jmol/12.211:51
jelmerbigjools: sourceforge's SVN server isn't very reliable, so it randomly hangs up on us11:52
bigjoolshurray11:52
jelmerbigjools: there's an open bug about it, trying to find it..11:52
bigjoolsah ok thanks11:52
jelmerbug 89188711:53
_mup_Bug #891887: sourceforge imports fail due to connection hangup <code-import> <Bazaar Subversion Plugin:Triaged by jelmer> <Launchpad itself:Triaged> < https://launchpad.net/bugs/891887 >11:53
jelmerthe associated branch reduces the number of revisions we process in each batch, which will hopefully reduce the effect of the hangups11:53
bigjoolsjelmer: ok thanks11:56
bigjoolsjelmer: any idea with this one too? https://code.launchpad.net/~vcs-imports/xine-lib/trunk12:03
jelmerbigjools: mercurial imports unfortunately aren't very reliable yet - bug 88953012:15
_mup_Bug #889530: mercurial imports should be marked 'beta' <code-import> <ui> <Launchpad itself:In Progress by jelmer> < https://launchpad.net/bugs/889530 >12:15
bigjoolsjelmer: thanks agin12:17
bigjoolsagain12:17
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== benji changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: benji | Critical bugtasks: 3*10^2
allenapgary_poster: Hi Gary. frankban had no questions for me, so I assume either the wiki pages are keeping him busy, or his broadband is down.14:06
allenapgary_poster: I wondered if you would be up for reviewing a change to LaunchpadSecurityPolicy, following on from Raphael's work last week. I have taken a much different approach to his. Even if you don't have time for a full review, you might be interested in looking at it. https://code.launchpad.net/~allenap/launchpad/delegated-permission-caching-bug-890927/+merge/8447314:07
gary_posterallenap, hi.  yeah, wiki pages kept him busy, and he doesn't have accounts & his new dev box shows up at about 1400 UTC.  Thank you14:10
gary_posterallenap, I'd be happy and interested in reviewing it thanks.  I'll start in 5 min14:11
allenapgary_poster: Thank you!14:15
gary_posterof course :-)14:15
sinzuibenji, do you have time to review https://code.launchpad.net/~sinzui/launchpad/bug-supervisor-labels/+merge/8434314:16
benjisinzui: gladly14:17
cjwatsonI'm writing test code for my new germinate runner, and (for the time being; fixing this is future work) some of the tests are going to need to have a published archive to work with, at least the dists/ part.  Should I just run the PublishFTPMaster script to arrange for this, or is there something a bit more targeted I could be using instead?14:25
bigjoolscjwatson: you want published packages in a test?14:27
=== matsubara is now known as matsubara-lunch
bigjoolsor is this just for playing around14:28
deryckrick_h_, ping for standup14:31
gary_posterallenap, yay, this is nice.  I like IRC reviews, so you can tell mw when I'm wrong more quickly. :-) is that ok with you, and if so, may I start now?14:33
cjwatsonbigjools: in a test14:36
cjwatsonI at least need Packages and Sources files; the pool doesn't matter14:36
cjwatsonBut I'd rather generate those by publishing rather than manual test data if possible14:36
bigjoolscjwatson: ok, I'd recommend generating some data in the tree14:36
cjwatsonYou mean hand-writing Packages and Sources files?14:37
bigjoolsit's too slow to publish for unit tests14:37
cjwatsonah, OK14:37
bigjoolsgenerating :)14:37
* cjwatson fixes his reading comprehension14:37
bigjoolsthere may be some helpers around14:37
bigjoolsunder lib/lp/archivepublisher/tests/14:38
cjwatsonyeah, I was just looking14:38
cjwatsonotherwise I guess I'll write my own14:38
cjwatsonI don't see any14:38
bigjoolssome of the tests generate these files already but it's just single packages IIRC14:38
allenapgary_poster: Yes, that's fine. I'll put my headphones on though so that I hear pings :)14:38
gary_posterallenap, heh ok14:38
gary_posterallenap, I'll start with what I expect to require the least discussion and work up from there.14:39
gary_postereasy one: authorization.py: "breath-first" -> "breadth-first"14:39
allenapHehe, oops.14:39
gary_poster:-)14:39
bigjoolscjwatson: lib/lp/archivepublisher/tests/apt-data/ contains some static data already, I'd recommend adding to it14:39
cjwatsonbigjools: How about the getPubSource stuff in lib/lp/soyuz/tests/test_publishing.py?  Would that be fast enough?14:40
gary_posterallenap, this is a micro-optimization of pre-existing code, but I want us to rip out those two setdefault usages in authorization.py (lines 21 and 25 in diff).  The current code makes us always create a weakkey dictionary every time, even if it is thrown away.  We can easily make an idiomatic and readable version that performs better, so I suggest we go ahead and do it for such a central piece of code.14:40
deryckadeuring, you lost sound?14:40
deryckadeuring, ok, we hear you.14:41
bigjoolscjwatson: that just adds to the database14:41
bigjoolsit is fast-ish14:41
cjwatsonIt has a getIndexStanza which a couple of tests use14:41
deryckadeuring, we're wrapping up, so no worries.  did you have anything else?14:41
bigjoolsbut doesn't write files14:41
* bigjools looks 14:41
cjwatsonor rather it returns an spph which has that14:42
allenapgary_poster: Strangely enough, I tried doing that, and got an error that a weakref could not be created in one of the tests I ran. I couldn't figure out why.14:42
cjwatsonwould save actually hand-coding the rfc822 data14:42
gary_posterallenap, eek.14:42
cjwatsonMaybe it's too complicated for this though, I'm not sure14:43
gary_posterallenap, I have no idea.  I guess I'll back off on it then.14:43
bigjoolscjwatson: yes you can use that.  In fact it would be quicker to call factory.makeSourcePackagePublishingHistory() although that cuts a lot of corners14:43
cjwatsonaha14:43
bigjoolsthe Test Publisher does it "right" but it's slower14:43
cjwatsonThat sounds perfect actually; I'll look into that (and corresponding BPPH)14:43
bigjoolsbecause it doesn't add librarian files14:44
deryckrick_h_, ping me when you have a screenshot of that issue.14:44
bigjoolsdoes, even14:44
gary_posterallenap, in authorization.py, why only leaf-node cacheing? What's the argument?  If you keep that, I'd suggest changing the description: I wasn't quite sure what you meant until I read the code.14:44
rick_h_deryck: will do, getting back from the reboot.14:44
cjwatsonbigjools: thanks, that saved me a lot of time14:45
bigjoolscjwatson: my pleasure14:45
cjwatsonwhen I get round to teaching this to suck pre-apt-ftparchive data straight out of the database, it will probably fit that model better too, since I'd need [SB]PPHs for that as well14:47
allenapgary_poster: The first reason is that my implementation didn't make it easy to cache the non-leaf results. But I also realised that I was uncomfortable doing it; too broad a result to cache.14:47
gary_posterallenap, you should only cache the top, right?14:47
gary_posterallenap, I mean in addition to the leaf14:47
gary_posterwell, no14:47
allenapgary_poster: I could add that, but it doesn't right now.14:47
gary_posterallenap, I don't agree with the discomfort.  I'm ok with practically putting it aside for now.14:48
rick_h_deryck: http://uploads.mitechie.com/lp/ppa_inline_edit_current.png http://uploads.mitechie.com/lp/ppa_inline_current_second_line.png and http://uploads.mitechie.com/lp/ppa_using_resizing.png14:48
rick_h_deryck: so the first shot is the 1em "start" style in effect, and then it gets over ridden on any resize event after that.14:49
allenapgary_poster: Okay. I am worried that we could end up with cached permissions based on 10s or even 100s of delegated permissions.14:49
deryckrick_h_, let's jump back to mumble, cool?14:49
rick_h_sure14:50
gary_posterallenap, it would be trivial to also cache the checked object's permissions14:52
gary_posterallenap and that would alleviate your explosion concerns14:52
gary_poster(which I don't think are going to happen for us, but understand in theory)14:53
gary_posterallenap, and that would mirror the existing behavior14:53
allenapgary_poster: Do you mean the top-level object, objecttoauthorize?14:53
gary_posterallenap, yes14:53
allenapgary_poster: Okay, I can do that.14:53
gary_postercool allenap14:54
gary_posterthx14:54
gary_posterallenap, you write "# XXX: GavinPanella 2011-12-03 bug=???: Surely for delegated checks...".  I don't think this is pertinent.  The security machinery calls into this code, after already having done a lot of this stuff--especially zope.Public, for instance.  Can you elaborate on your concern?14:57
allenapgary_poster: When checking delegated permissions, should we not check if it's requesting zope.Public? That's a silly example... I'm more worried about the block of code that calls LSP.checkPrivacy(). Should we do that for each delegated check?15:00
allenapjelmer: http://launchpadlibrarian.net/86683207/vcs-imports-xine-lib-trunk.log is a known bug that, iirc, you're working on, right?15:02
gary_posterallenap, mm, ok.  I want to dig into this.  So, I'm familiar with the zope.Public check so I'll start there.  Your thought there is "what if checkAccountAuthenticated returns (something, zope.Public)?" right?15:03
allenapgary_poster: Yes.15:03
gary_posterI see15:03
allenapThat seems like a daft thing to do, but it might happen.15:03
gary_posteryeah, that one seems daft; I won't worry about it too much.  I'm more interested in LSP.checkPrivacy.  I'm not sure how that works, and that seems like it might be more serious.  Lemme take a look (unless you already know the details and can get me up to speed quickly here or on a call)15:04
gary_posterallenap ^^15:04
jelmerallenap: hi15:05
jelmerallenap: yeah, the hg imports aren't very reliable yet15:05
allenapgary_poster: No, I don't know the details; I have skimmed the code and it looks serious :)15:05
allenapjelmer: Okay. I'm answering https://answers.launchpad.net/launchpad/+question/178945. Shall I just say that, or is there a bug I can point him to?15:06
gary_posterallenap, ok :-) I'll look and report back15:06
allenapgary_poster: Thank you :)15:07
jelmerallenap: I'd suggest just saying that, I don't think linking a particular bug is useful15:07
allenapjelmer: Okay, cool. Thank you!15:07
bigjoolsallenap: I beat you to it I think15:08
allenapbigjools: Ah ha :)15:08
bigjoolsallenap: I shall leave you to it and finish my branch :)15:09
flacostebenji, gary_poster: have you seen bug 899388?15:15
_mup_Bug #899388: Some translation statistics are not up to date <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/899388 >15:15
benjiflacoste: I have ("Reported by Benji York on 2011-12-02") ;)15:17
gary_posterHm, there may be a dupe there15:17
flacostebenji: yeah, just saw that :-)15:18
flacostesorry for the noise15:18
flacostei got confused by the email15:18
benjiflacoste: no worries15:18
flacostei thought it was reported by a user, but it was only follow-ups comments15:18
benjiyep; I'm really confused by the behavior and don't think it's related to the recent changes in the way statistics are updated (but I could be wrong)15:19
gary_posteroh...so this is different from the "jobs are not working" bug benji?15:19
gary_posterwhich you closed15:20
gary_posterright15:20
benjigary_poster: yep; I believe the job is working (because statistics are being updated) but the bug is that the statistics aren't right15:20
gary_posterOh, I see :-(15:20
flacostethat's inconvenient!15:21
benjithe only changes we (intended) to make were to change the timing of the calculations, not the calculations themselves, so we shouldn't have introduced any new behavior15:21
benjiindeed15:21
gary_posterbenji, so the user comments indicate that the workaround you describe is insufficient?15:22
benjigary_poster: yep, and it indicates that the statistics are indeed being updated (presumably by the cron job)15:23
gary_posterbenji, I see15:23
gary_posterbenji, if you want pairing from somebody, ask15:24
benjigary_poster: will do15:24
=== salgado is now known as salgado-lunch
benjisinzui: https://code.launchpad.net/~sinzui/launchpad/bug-supervisor-labels/+merge/84343 looks good15:37
sinzuithank you benji15:37
benjimy pleasure15:38
=== al-maisan is now known as almaisan-away
gary_posterallenap, I had other stuff to quickly review but now I am back.  I'll look more at that LSP.checkPrivacy stuff later today but I want to make sure to bring up the other questions I had for you while we still overlap.  I have three more things, only one of which probably requires much discussion.15:59
gary_poster1) isinstance(result, Iterable) does not strike me as a good pattern for checking15:59
gary_posteroh wait, that was the one we had to talk about :-P15:59
allenapgary_poster: ?16:00
gary_posterSo try that again: 1) lib/lp/app/interfaces/security.py: In docstrings, please specify that all delegated results must be True in order for it to be considered True.16:00
gary_posterallenap ^^16:01
allenapOkay.16:01
gary_posterallenap, 2) Am I correct that there are no tests for this change?  Is that because there are no tests for this generally?16:01
gary_posterI see the tests for the new behavior in the authorization16:04
allenapgary_poster: There are no tests for the new caching behaviour. All the existing tests pass unmodified, but I ought to test for caching of delegated auths. Fwiw, a follow-on branch from this does check (indirectly) that delegated auths are cached, so they're working.16:10
gary_posterallenap, I was going to be concerned about isinstance(.., Iterable) but I see it is an ABC, so nm. :-)16:14
gary_poster(and I see it experientially works for what I would want it to in the common case)16:14
allenapgary_poster: Yeah. It's not great from a micro-optimization standpoint, but it'll do for now :)16:14
gary_posteryeah, cool16:14
bigjoolsbenji: hi - can I bother you with a review please?16:15
benjibigjools: absolutely16:16
gary_posterallenap, ok cool.  So, this is conditionally approved with the comments I've given, and with some reading I intend to do today on checkPrivacy.  I'll plan to approve this today, probably after your EoD16:16
bigjoolsbenji: it's https://code.launchpad.net/~julian-edwards/launchpad/sponsor-syncs-bug-827555/+merge/8428716:16
bigjoolsthanks16:16
allenapgary_poster: Woohoo \o/ thank you :)16:16
gary_posterallenap, btw, I really like your approach.  Thanks for pulling this along to the finish line in such a nice way.16:17
allenapgary_poster: Thanks, I appreciate that.16:18
=== mtaylor_ is now known as mtaylor
benjibigjools: I added a comment to https://code.launchpad.net/~julian-edwards/launchpad/sponsor-syncs-bug-827555/+merge/84287 that I couldn't phrase well for IRC, but you might want to discuss it here16:33
bigjoolsbenji: my docstring is correct16:34
benjiin other words, I misunderstand?16:34
bigjoolsthe sponsored person overrides the requesting user16:34
bigjoolsbenji: yes, but must not have been clear enough for that to happen16:35
benjioh! you're considering the requesting use as the sponsor16:35
bigjoolswith an "I" in there  somewhere16:35
bigjoolsyep16:35
benjigotcha, yeah, if you add a statement to that fact, I think it'll clear it up16:35
bigjoolsrighto16:36
=== salgado-lunch is now known as salgado
lifelessmorning16:59
sinzuiflacoste, ping. Do you have time to talk about users, team, interfaces, and security?17:01
flacostesinzui: sure17:02
flacosteskype me17:02
bigjoolsbenji: thanks for the approval17:06
benjibigjools: my pleasure17:06
=== deryck is now known as deryck[lunch]
lifelessallenap: sinzui is da god of series, but AIUI downloads show 'newest' full stop, and latest series is done by a built in sort. Probably need to check the code to be sure.17:12
allenaplifeless: Ta, I'll take a look. Looks like you got woken early :)17:15
lifelessapparently ;)17:16
sinzuiallenap, lifeless the downloads page is a mess. we show the released for current development series at the top or the page (current development series is pulled out of naming sequence and shown first). Backport releases are show with their respective series series, but may fall off the page because of batching.17:22
lifelesssinzui: https://answers.launchpad.net/launchpad/+question/18069317:22
sinzuiallenap, lifeless downloads exists to let packagers see the latest releases, but 7 people muddled the page to serve users and developers, which make it impossible to do the right thing17:23
lifelessthumper: can you please list the queues on production ?17:23
lifelessbah17:24
lifelessECHANNEL17:24
sinzuiahh the downloads portlet17:24
sinzuiallenap, lifeless :that too is very ignorant of reality and we have too community of equal weight in contention. Let me find the bugs for that mess17:25
allenapsinzui: I have to go now to collect kids, but I'll be back later. Are you happy to answer that question in the meantime, or would you prefer me to do it later?17:27
sinzuiallenap, bug 419733 and bug 669668 describe the fact that Lp really guess at what to show and users fight over what is the correct behaviour. I report the latter bug as a suggestion from UDS...which mightg addess the issue17:27
_mup_Bug #419733: new Downloads portlet should show latest stable release as well as latest <lp-registry> <product-release-finder> <releases> <Launchpad itself:Triaged> < https://launchpad.net/bugs/419733 >17:27
_mup_Bug #669668: permit projects to specify the series that current release are made from <lp-registry> <releases> <Launchpad itself:Triaged> < https://launchpad.net/bugs/669668 >17:27
lifeless\o/ instant OOPSes on production.17:28
* lifeless dances the happy dance of a plan coming together17:29
allenapAwesome!17:30
jcsackettsinzui: you free to mumble? i'm trying to figure out what needs tackling the most on our board.17:35
sinzuiokay17:35
sinzuiallenap, I answered the question17:39
sinzuijcsackett, I think I am mistaken about the pre-req bugs. There are several bugs about editing project/distro information inline, but none about the roles. I suspect the bug was rewritten to solve one use case. I think you should report bugs are you need to make pillar roles editable in the page via ajax18:04
mrevellG'night all18:06
lifelessstatik: I have a CT scan on thursday thats going to play havoc with the day; we're booked for that morning for catchup- can we reschedule ?18:09
abentleybenji: could you please review https://code.launchpad.net/~abentley/launchpad/remove-hot-bugs/+merge/84503 ?18:09
=== deryck[lunch] is now known as deryck
benjiabentley: I was eating lunch; looking now18:19
abentleybenji: thanks.18:19
benjiabentley: https://code.launchpad.net/~abentley/launchpad/remove-hot-bugs/+merge/84503 looks good, I had one idea for simplyfying a template, but that's it18:28
statiklifeless: sure, rescheduling is fine with me, my calendar is pretty accurate for open slots18:32
abentleybenji: cool, thanks for the suggestion.18:32
benjiabentley: my pleasure18:32
lifelessstatik: how about later today after I catch up with flacoste?18:36
lifelessflacoste: also, we can call anytime, I am awake and around :)18:36
flacostelifeless: i'll have to postpone a bit, i hurt my back yesterday and have an appointment for it in 1h18:37
lifelessflacoste: ow!18:37
lifelessflacoste: ping me anytime18:37
lifelessstatik: how about now then ?18:41
=== matsubara is now known as matsubara-afk
lifelesshmm, no gary19:02
lifelessallenap: this is the thing I was looking at previously - https://code.launchpad.net/~lifeless/storm/bug-618019/+merge/3471519:27
lifelessallenap: (centering around whether we ever pay network / db server latency for result set rows)19:27
benjilifeless: I'm doing some reviews and noticed that https://code.launchpad.net/~mbp/launchpad/show-timeline/+merge/80166 looks like it wants a comment from you before I review it19:50
thumperlifeless: I'm assuming that message wasn't really for me?19:56
SpamapSSo.. in working on the juju charm distro .. I'd like to open up a new series and copy all the contents of the old one into the new one..20:06
SpamapSI was hoping this would do that20:06
SpamapShttps://launchpad.net/charm/precise/+initseries20:06
SpamapSBut apparently thats some of the ubuntu-only magic.20:06
lifelessthumper: it wasn't20:06
SpamapSI'll write up an email but wondering if anybody can shed some light on how this is supposed to work?20:07
lifelessthumper: failed tabcomplete for thedac who isn't lurking here20:07
lifelessSpamapS: make a new series, and probably run the branch-new-distro script should do it fo ryou20:07
SpamapSlifeless: in what package/bzr tree/multiverse does branch-new-distro reside?20:08
lifelesslp source I think20:08
lifelessit's only ever been run against ubuntu, so you'll want to eyeball it20:08
SpamapSYeah I'll give it a look20:08
lifelessalso IIRC it gets run by sysadmins20:09
SpamapSI'm not quite ready to do it anyway.. since our branches will likely be copied backward to older releases quite a bit more than in Ubuntu.20:09
lifelessabentley: around?20:38
abentleylifeless: hi.20:38
lifelessabentley: I was just looking at the update to https://bugs.launchpad.net/launchpad/+bug/89967520:38
_mup_Bug #899675: When no bugs are available in a dynamic listing, the ordering controls are positioned above the search widget <bug-columns> <Launchpad itself:Triaged> < https://launchpad.net/bugs/899675 >20:38
lifelessabentley: when I click on the link through to tag=madness, the page seems to hang20:38
abentleylifeless: Not for me on Firefox.20:39
lifelessabentley: by which I mean the top shows 'loading' for an extended period (several minutes so far) and the bug counts beside 'New' etc are not being filled in.20:39
lifelessabentley: I'm on FF 820:39
lifelesshttps://bugs.launchpad.net/unity/+bugs?field.tag=madness is the url20:39
* lifeless tries a ctrl-refress20:39
abentleylifeless: This is on production, not qastaging?20:40
lifelessyes20:40
* lifeless tries qastaging20:40
lifelessah, I'm not in the team on qastaging20:41
abentleylifeless: qastaging may be worse.20:41
abentleylifeless: we've already got issues with the spinner on qastaging.20:41
lifelessso this sounds similar/related?20:41
lifelessabentley: would you like a new bug report from me for this?20:42
abentleylifeless: yes, a report of pages hanging would be new.20:42
lifelessroger wilco20:42
abentleylifeless: I'm on FF8, too.  I don't understand why you're seeing something different.20:43
rick_h_lifeless: ctrl-shift-del will bring up hard cache clearing form20:44
rick_h_lifeless: as a "just in case" it's a bit more reliable than ctrl-reload20:44
abentleylifeless: This "hanging" is shown via the native FF progress indicator or one of our spinners?20:45
lifelessabentley: neither, lack of ajax post-render updates20:45
lifelessbug20:46
lifelesshttps://bugs.launchpad.net/launchpad/+bug/90048020:46
_mup_Bug #900480: +bugs 'hanging' when no bugs found <bug-columns> <Launchpad itself:Triaged> < https://launchpad.net/bugs/900480 >20:46
lifelessscreenshot in a sec20:46
abentleylifeless: Oh.  Yes, I can reproduce that, then.20:46
abentleylifeless: I'm not sure what puts that there.20:46
abentleylifeless: I can see the pathology, though.  An unconditional reference to an optional node.20:48
lifelesscool20:48
lifelessscreenshot is up20:48
lifelessrick_h_: thanks20:48
* lifeless tries statik: again20:54
=== salgado is now known as salgado-afk
statiklifeless: sure, i can talk in 521:03
lifelessstatik: ok, lets do this :)21:07
=== jcsackett|afk is now known as jcsackett
=== benji changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugtasks: 3*10^2
=== mwhudson_ is now known as mwhudson

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