/srv/irclogs.ubuntu.com/2009/09/02/#launchpad-dev.txt

jmlso hungry00:02
=== kiko is now known as kiko-afk
lifelessjml: so eat00:37
lifelessmwhudson: hi00:42
lifelessmwhudson: lp is running <bzr> ?00:42
jmllifeless, https://code.launchpad.net/, bottom left of the page.00:44
lifelessspm: ping00:44
spmlifeless: heyo00:44
lifelesswow, slow page day :(00:44
lifelessspm: bug 42284900:44
mupBug #422849: Incorrect conversions in 2.0rc1 and bzr.dev <Bazaar:In Progress by lifeless> <https://launchpad.net/bugs/422849>00:44
spmwhat we discovered last night?00:45
lifelessspm: if we have 2.0rc1 in use anywhere, don't do conversions with it.00:45
lifelessspm: no, new one found this morning. Next up is checking to see if last nights one is the same cause.00:45
spmahhh. nice. oki; afai aware, we don't.00:45
spmrighto00:45
lifelessalso bzr.dev is bust i nthe same way.00:45
spmthe rc1 we tried last night was a special build inside the chroot jjust as a dogfooding exercise purely for bzr itself.00:46
lifelessspm: inside the chroot?00:48
lifelessspm: pqm doesn't use the bzr inside the chroot for anything...00:48
spmpqm on balleny - we don't have pyrex installed outside the chroot.00:49
spmlifeless: yes; this was a special build used explicitly to do (or not...) the check/upgrade00:49
lifelessah right00:49
spmmade for seriously ikky pathing on the cmd line :-)00:50
wgrantjml: So, about that branch... anything I can do? Anybody who should be poked in preference to you? Any public AMIs available so I can debug it myself?01:06
jmlwgrant, all good questions01:07
jmlwgrant, I'll think while I chew :)01:07
jmlwgrant, I've filed https://bugs.edge.launchpad.net/launchpad-foundations/+bug/42290801:12
mupBug #422908: Some branches crash ec2test <build-infrastructure> <test-system> <Launchpad Foundations:New> <https://launchpad.net/bugs/422908>01:12
jmlwgrant, I'll also kick off an attached run01:14
jmlwgrant, I'm happy to be poked. You could argue it's a build engineer task, but I find that particular flavour of delegation distasteful01:16
jmlwgrant, as for public AMIs, that is most definitely a build engineer task :) there aren't any that I know of, and we should change that.01:16
wgrantjml: It's a bit sad that completely reliable community ec2testing will not be possible, due to c-i-p and shipit. But I guess they're mostly isolated.01:19
* thumper lunches01:21
mwhudsonjml: have you tried to land that branch without --headless?01:22
lifelesshow do you supersede a review?01:23
jmlmwhudson, yes, but my network connection died01:24
wgrantmwhudson: You may recognise this as the branch that I handed to you from gary, and you handed to thumper.01:25
mwhudsonwgrant: indeed01:25
* jml tries again.01:25
jmlmwhudson, actually, could you also try landing the branch without headless?01:28
mwhudsonjml: i am already actually01:29
jmlmwhudson, thanks :)01:29
wgrantThat sounds like a bad idea. The moment you give it the chance to do something bad (ie. land twice), it will succeed.01:29
wgrantAanyway, thanks jml and mwhudson. I need to go to uni.01:30
mwhudsonmine died in the usual router hating way :(01:59
jmlmwhudson, :(02:44
jmlmwhudson, mine is still going...02:44
mwhudsonjml: hooray02:44
jml test_bugwatch_added_from_comment (lp.bugs.tests.test_bugchanges.TestBugChanges)02:44
jmlcprov, hello02:50
jmlcprov, are you actually around?02:50
cprovjml: yes02:50
cprovjml: what's up ?02:50
jmlcprov, I would like to talk about pockets02:50
cprovjml: sure02:51
jmlcprov, please give me a second, I'm filling out a form that requires complete concentration02:51
cprovjml: okay, np02:51
jmldone02:53
jmlcprov, so, we've been talking about package-permission-love02:53
jmland extracting out the pocket check from the uploadpolicy and putting them into the new verify_upload function02:53
cprovjml: right, what did you think about my comments ?02:53
jml(which should have its name changed, but that's a different discussion)02:53
* jml rereads02:54
jmlregarding the control variable in getPubSource02:54
jmlI added that because at one time I wanted to have a makeSPPH() equivalent02:55
jmland bigjools said that was the best place to do it.02:55
cprovjml: I like makeSPPH() better and STP could also use it from the factory, so no duplications.02:56
jmlhmmm.02:56
jmlthat smells too much like work for this branch02:56
jmlcprov, but I'll probably need it in the next branch anyway02:57
cprovjml: a good thing is that you don't need it in this branch02:57
jmlcprov, so I'll back out the change from this branch, and put it in my notes for the next one02:57
cprovperfect!02:57
jmland I'll fix makeGPGKey.02:58
jmlcprov, next up, I want to change the bug nomination code to use this checker02:58
jmlcprov, and (in parallel, I guess), I want to sort out the pocket stuff02:58
jmlcprov, the thing with pockets is that there are no signer-based checks related to pockets02:59
jmlit's purely a function of distroseries, pocket02:59
cprovno, it's strictly related to the series status & the pocket02:59
jmlright.02:59
jmlI'm wondering whether I care about this wrt pushing to official package branches03:00
jmland whether bug nomination cares about this.03:00
cprovjml: I'm no familiar with the bug nomination code, but I'm almost sure it doesn't depend on pockets03:00
jmlit doesn't03:01
jmlbut should it!03:01
cprovjml: rarely new packages show up in the post-release pockets (-updates, -security, etc)03:01
cprovjml: it happened only once in ubuntu with the SSH-incident (edgy, I guess)03:01
jmlcprov, hmm03:04
jmlcprov, this is making me think that the current function should stay as-is03:10
jmland that there should be another one that also checks the pocket.03:10
cprovjml: yes, probably, since they answer different questions ... 1) has upload rights? 2) is this suite open to new uploads?03:12
jmlcprov, "new" uploads03:13
jmlit seems to me to be used for whether it's open to uploads at all03:13
jmlbut we're on the same page03:13
cprovyou may have rights to upload 'foo' source to jaunty-updates and karmic, but you cannot upload it to jaunty (because it's already closed)03:13
jmlalso, it's about time Launchpad grew an object that represented suite03:14
cprovagreed03:14
jmlok, I think I know what I want to do now.03:15
jmlI still need to talk to james_w sometime to go over a few edge cases.03:15
jmlcprov, thanks03:15
cprovjml: you're welcome.03:15
jmlhow did it get so late so fast :(03:19
cprovyou tell me ...03:20
=== cprov is now known as cprov-zzz
jmlmwhudson, I guess we are in testfix mode...03:31
mwhudsonjml: yeah, that odd db_lp failure03:31
* jml pulls db-devel03:32
* jml considers registering whyareweintestfix.com03:33
wgrantjml: Bug nominations *must not* respect pockets.03:34
wgrantjml: Or everything breaks.03:34
jmlwgrant, thanks03:34
wgrantAnd people start to stab you.03:34
* jml frowns03:34
wgrantIt's rather annoying when people break nomination permissions.03:35
jmlit would be very difficult to have introduced this test failure if you used pyflakes + flymake03:35
wgrantjml: Oh, so you have the failure?03:36
jmlwgrant, I was speaking of the failure that broke db-devel03:36
wgrantjml: Phew.03:36
jmlthe 'you' should have been 'one'03:36
wgrantYep.03:36
jmlwe're up to 'lib/lp/bugs/tests/../stories/bugtracker/bugtrackers-index.txt' on the ec2test run for your structural subscription branch03:41
wgrantjml: OK, so it does get somewhere...03:41
jmlI can't wait to be able to do Launchpad development in karmic03:48
wgrantYou can.03:48
jmlchroots are a pita03:48
wgrantIt works fine.03:48
wgrantYou just need...03:48
wgrantto remove python-lazr-uri03:48
jmlwgrant, but some of the tests still fail, right?03:49
wgrantThen grab python-xml and launchpad-(developer-)dependencies from maxb's PPA.03:49
wgrantjml: No, I fixed all the 2.4 Karmic failures.03:49
wgrant2.5 fails, sure.03:49
jmlwgrant, cool03:49
jmlI might make the switch today than.03:49
jmlthen.03:49
jmlbut first, fix the failure in db-devel03:49
wgrantIndeed.03:50
jmlmwhudson, can I get your approval for http://pastebin.ubuntu.com/263535/03:56
mwhudsonjml: yes03:57
mwhudsonjml: is this a mis-merge or something?03:57
jmlmwhudson, I don't know.03:57
* mwhudson is having on of those "aaah 300 things to do *now*" hours03:58
* jml too03:58
jmlswap you :)03:58
mwhudsonit must be a mis-merge, no manual landings to db-devel for ages03:59
mwhudsonjml: i don't think that would help :)03:59
mwhudson"argh, now i still have 300 things to do, and i don't know anything about any of them!"03:59
jmlmwhudson, I'm actually in the process of paying someone to take care of about 50 of the things I need to do.04:00
jmlwhich is pretty exciting04:00
jmlbut it's still something to do04:01
mwhudsonjml: moving related in some way or other i presume?04:01
jmlyeah.04:02
jmlI wonder what the 'go out of testfix' time period is04:04
mwhudsonjml: */504:15
mwhudsonjml: your branch is still in pqm though04:16
jmlso, ~5 mins after it's finished in pqm?04:16
mwhudsonjml: yeah04:18
jmla queueing system would be nice04:21
mwhudsonit would be nice if testfix meant the queue stopped rather than rejecting things04:22
* thumper snorts04:25
thumpermwhudson: see earlier talk about a sprint for landing queues :)04:25
* jml files a bug04:26
jmlBUILD FAILED: failed failed slave lost04:27
jmlI guess that means it failed.04:27
mwhudsonjml: my fault04:27
mwhudsonoh joy, that means we'll be back in testfix i guess04:29
jmlso tim's patch will get rejected04:30
jmland maybe mine will too04:30
mwhudsonjml: yours will be ok i think04:32
jmlyay04:35
* jml sneaks actually working changes in between breakages04:35
thumperjml: how does you patch fix it?04:35
jmlthumper, which one?04:36
thumperjml: db-devel Rev 842604:36
thumperjml: it looks like you are just assigning the result04:36
jmlthumper, that's right04:36
thumperjml: ok, lack of visual context doesn't make the fix apparent04:37
jmlthumper, below the visible diff, you'll see that 'new_rev_id' was being returned from the function04:37
thumperok04:37
thumperjml: I'm adding an ownerCounts method to branch collection04:37
jmlthumper, it should be clear if you look at the actual failures.04:37
thumperjml: have I mentioned recently how much I like branch collection?04:37
jmlthumper, heh04:38
thumperjml: especially with adapters, it makes some things really easy04:38
jmlthumper, in my infinite spare time, I'm working with jkakar on a paper or something about it04:38
thumperjml: that'd be pretty interesting04:38
thumperjml: I'll be talking about it during the kiwipycon keynote as something that works well04:39
* thumper wants named tuples04:39
thumperbring on python 2.604:39
jmlkeynote?04:40
jmlwow.04:40
mwhudsonjml: here's some extra letters for you "simal"04:41
mwhudson(they go after "infinite")04:41
thumperjml: yeah, I get the Sunday keynote spot :)04:42
thumperjml: for some reason they got the opinion that I'm a person of some substance :)04:42
thumpermwhudson: it seems that my branch will go through04:43
mwhudsonthumper: hooray04:43
wgrantjml: OMG!04:53
wgrantjml: I have email!04:53
wgrantAnd that is quite a reasonable failure, too.04:53
jmlwgrant, I have email too.04:54
jmlwgrant, but I have no idea at all as to why previous email attempts failed.04:54
jmlmwhudson, heh heh04:55
wgrantjml: Was this the unheadless run?04:55
jmlwgrant, it was.04:55
wgrantjml: Interesting.04:55
wgrantjml: Thanks, I'll fix that failure soonish.04:56
jmlwgrant, np.04:57
jmlwith any luck, we'll be out of testfix then.04:57
wgrantI hope so, as I'll be gone for two hours.04:58
* wgrant vanishes.04:58
thumpermwhudson: there isn't any point in the lp builder waiting 10 minutes if pqm takes 15 minutes to land a branch05:05
thumper:(05:05
mwhudsonthumper: this is true05:05
mwhudsonthumper: do you know if the pqm config we use for launchpad is in a bzr branch anywhere?05:06
thumpermwhudson: no05:27
thumpermwhudson: I don't know05:27
thumpermwhudson: spm would05:27
mwhudsonthumper: ok thanks05:27
mwhudsonthumper: yeah, got his attention in another channel now05:27
spmshort answer is - yes in a bzr branch; but not one you guys have access to05:27
thumperI have some family stuff to deal with, school show tonight, I'll be back after 8:3005:28
=== thumper is now known as thumper-afk
spmlater thumper-afk05:28
jmljames_w, can you please ping me when you come online.05:32
jmlmwhudson, up for a quick call?06:52
mwhudsonjml: if it's very quick06:52
jmlok06:52
jmlmwhudson, https://bugs.edge.launchpad.net/launchpad-project/+bugs?field.tag=test-system06:54
=== henninge is now known as henninge_
=== henninge_ is now known as henninge
jtvhi noodles77507:23
noodles775Hiya jtv :)07:26
* mwhudson is no longer here, btw07:31
spmhey jtv, noodles07:33
jtvg'day spm07:33
noodles775Evening spm.07:33
spmjtv: you may wish to have a look at https://bugs.edge.launchpad.net/oops-tools/+bug/422960 I've put against oops-tools as a starter; but it may have translation team implications? or not... :-/07:34
mupBug #422960: appear to be failing to record oops for all +translate HTTP 503 errors <OOPS Tools:New> <https://launchpad.net/bugs/422960>07:34
jtvspm: what's 503?07:34
spmbad stuff happened. server fail.07:34
jtvOh, the IIS one?07:35
jtv(That's a joke.  But not entirely untrue, in my experience.)07:35
spmiwas like "IIS? we don't use IIS" and then the penny dropped and rofl followed.07:35
jtvWe don't use IIS.07:36
jtv*We don't use IIS*07:36
spmrfc 2616, 10.5.4 503 Service Unavailable07:36
jtv*OF COURSE* we don't use IIS!07:36
spmman I haven't been near an IIS box in anger since the 90's. <== pride07:37
jtvspm: will the oops tools be fixed soon to report these?  If so, best course of action is probably to warn my team of the coming tidal wave.07:37
spmnow i thin on it, in anger was the only way too.07:37
* jtv has never worked with IIS07:37
spmjtv: dunno. I'm not even sure what the problem is. afaict, those errors aren't being oopsed - which is part of the problem. :-/07:38
jtvJust visiting IIS-based sites is enough to make you think of 503 as "the IIS notice"07:38
spmheh07:38
spmjtv: consider - we had ~ 11,600 oops-able page requests, yet only recorded ~ 1000. Begs the question: is this just vs +translate, or the fault is more widespread. if the latter.... ow.07:39
jtvIf not... still ow07:40
wgrantIsn't a 503 a timeout?07:40
wgrantWhich should certainly be loged...07:40
spmwgrant: logged or oopsed?07:40
wgrantspm: OOPSed, sorry.07:41
wgrantUnless it's the Apache or Pound sort of 503.07:41
spmright - I assumed that's what you meant.07:41
spmmy concern is that if "X" (DB, app server whatever) is overloaded; and an OOPS requires even some minimal App/DB resources it also fails; and contributes to making things worse. :-(07:42
wgrantI've never received a 503 from LP except during the edge restart or a timeout.07:42
spmheh. start requesting +translate pages ;-)07:43
spmanyways, now I've cheered you all up with that wonderful news, outa here. time to cook dinner :-)07:45
bigjoolsjml: good morning/afternoon/evening08:07
jmlbigjools, hi08:09
jmlbigjools, I'm on a skype call atm08:09
bigjoolsjml: ok, I got up early just for you, I feel upset now :)08:10
jmlbigjools, it'll finish soon :)08:10
bigjoolsheh no worries08:10
adeuringgood morning08:20
jtvhi adeuring08:35
adeuringhi jtv08:38
jmlbigjools, hi08:47
jmlbigjools, sorry that took so long.08:47
* bigjools wakes up08:47
jmlbigjools, I've been thinking about pockets and permissions08:47
bigjoolsok08:48
jmlbigjools, pocket has nothing to do with whether or not any given individual can upload a package08:48
jmlbigjools, it's across all individuals08:48
bigjoolsyes08:48
jmla function of pocket and distroseries status.08:48
jmlI think this makes it conceptually separate.08:49
bigjoolsright, it's not an ACL check, it's a state check08:49
jmlI'd like to re-use the function I've abstracted out to handle the bug nomination permission check08:49
jmlbut that particular check should not care about pockets at all08:49
bigjoolshowever, verify_acl might say yes, and then you get rejected further down the road08:50
bigjoolsso maybe we need a separate place to ask "can this be uploaded?"08:50
jmlfor write access to official branches, I think the question about whether to reject based on distroseries status + pocket08:50
jmlis a bit more open08:50
jmlbigjools, I think we need one function, "barring release policy, can I upload", and another one saying "can I actually upload". The second does the pocket check, the first does not.08:51
bigjoolsjml: I agree08:51
jmlbigjools, for official branches, I really want to talk with james_w about our our use cases.08:51
jml(also, Soyuz needs a Suite object already.)08:51
bigjoolsheh08:51
bigjoolsjml: abstracting out the latter will be very hard08:52
jmlbigjools, a Suite object?08:52
bigjoolsit's basically what nascentupload does08:52
jmlbigjools, oh, the pocket thing08:52
bigjoolsupload checks08:53
jmlwell, it won't be substantially harder than what I've already done, I don't think08:53
jml(famous last words, perhaps)08:53
bigjoolsit needs to have its state checks separated from the package consistency checks08:53
bigjoolsthey're very much mingled right now08:53
jmlI might not have to do the full decoupling in order to make official branches work correctly08:54
bigjoolsindeed, you only need the pocket check08:55
jmlcool :)08:55
jmlgiven the constraints on my time right now, that's all I will do.08:55
jmlprobably08:55
bigjoolsjml: is there a deadline for this?08:56
jmlbigjools, yesterday08:56
bigjoolsoh, cock08:56
jmlbigjools, it should have actually been done weeks ago08:56
jmlopen sourcing + my vacation + other things has made this take way too long.08:56
jmlbigjools, that said, I had expected it to be less work -- I had thought there was already an easy way of asking about package upload permission :)08:57
bigjoolsjml: assumption is ther mother of all fuckups08:58
jmlbigjools, quite08:58
bigjoolsjml: ok, it should be relatively easy to hack out the pocket check and then we can improve that as time goes by08:59
bigjoolsit would be really nice to improve nascentupload, it's a bit monolithic09:00
jmlcool.09:01
jmlyes, it's ripe for improvement09:01
jmlmore functions, more parameters, less state, more unit tests09:01
* bigjools nods vigorously09:01
jmla good day's work for a good day's pay.09:01
jmlFreedom and dignity for Britain's swans.09:02
bigjoolsyou're bonkers mate :)09:02
jmland loving it.09:02
bigjoolsare you coming to London later this month?09:03
jmlbigjools, I am.09:03
bigjoolscool09:03
jmlbigjools, I very much want to have this done before then09:03
bigjoolsyour airmiles total must be bigger than the combined G8 national deficits09:04
jmlbigjools, not quite. :)09:04
jmlany bugs people around?09:17
jmlwhy does the count on a tag say '16' but only 9 bugs show up when I click on it?09:18
wgrantjml: Duplicates count in the counts.09:33
wgrantjml: 'tis a bug.09:33
jmlwgrant, thanks.09:33
* wgrant too whines about nascentupload.09:37
bigjoolsal-maisan: I messed up, your meeting with me is in 45m :)09:45
bigjoolsbut your TZ is still borked09:45
al-maisanbigjools: no problem, let's have the call in 45 minutes then :)09:46
wgrantjml: So, what should I do about my branch? The failure is simple to fix, but I somehow don't think it's a good idea to land it.09:48
=== cprov-zzz is now known as cprov
=== thumper-afk is now known as thumper
wgrantHmm. I'm not sure I like the way the black links in the corner of the main content portlets are now blue.10:44
deryckGood morning, all.11:02
wgrantbigjools: Very nice new DSP page.11:14
bigjoolswgrant: cool, thanks11:14
wgrantNeeds some more links, but otherwise very very nice.11:14
bigjoolswhere to?11:14
wgrantbigjools: I tried to click wildly on the 'Upstream' section; nothing happened.11:15
wgrantbigjools: The series names in the distroseries listing also deserve to be links.11:15
bigjoolshmmm yeah we didn't think of that11:15
bigjoolser, they are?11:15
wgrantbigjools: Sorry, *product*series names.11:16
bigjoolswgrant: can you file bugs - and ideally submit a patch :)11:18
wgrantbigjools: Currently filing bugs about the team page. Will do soon.11:19
wgrantbigjools: DSP bugs live in -registry these days, right?11:31
bigjoolswgrant: yep11:31
noodles775allenap: when you tried the two-column dl list, did you make sure that each dt/dd-pair was a *separate* dl? It's unexpected, but apparently how it's currently done in LP (looking at the product template.)11:54
allenapnoodles775: Yeah, I followed the way that cprov had done it.11:55
allenapnoodles775: I was thinking maybe there wasn't enough horizontal space. I should have tried widening my window.11:55
noodles775yeah, worth trying.11:56
=== salgado-afk is now known as salgado
salgadobarry, product-new.pt has the following13:47
salgado        <tal:comment condition="nothing">13:48
salgado          XXX BarryWarsaw 28-Apr-2009 bug 36891013:48
salgado          REMOVE THE FOLLOWING BEFORE 2.2.5 PRODUCTION ROLLOUT13:48
salgado        </tal:comment>13:48
salgado        <a href="mailto:feedback@launchpad.net">Contact us</a>13:48
mupBug #368910: Remove "Contact us" from new projects/+new page <story-guided-project-registration> <Launchpad Registry:Won't Fix by barry> <https://launchpad.net/bugs/368910>13:48
salgadothanks mup13:48
salgadobarry, I guess I should just remove the comment from there?13:48
barrysalgado: that can be removed.  we decided to just keep the text forever <wink>13:48
barrysalgado: +113:48
salgadocool13:48
salgadobarry, do you have a couple minutes to help me with a template I'm converting?14:09
barrysalgado: sure14:19
salgadobarry, actually, I think I've sorted it out myself, but now I have another question. :)14:20
salgado# There should be an H2 above the app tabs which contains a description of the context of the page, e.g. "Launchpad itself"14:21
salgadobarry, that's from https://dev.launchpad.net/VersionThreeDotO/UI/Conversion#Heading rules14:21
salgadofor non-default pages14:21
salgadobut what I see is an H1 (not an H2) above the app tabs14:21
barrysalgado: for which page?14:22
salgadobarry, https://launchpad.dev/~name16/+vouchers14:22
* barry looks14:24
salgadoafter converting it, that is14:24
barrysalgado: right.  i think that h1 goes away in favor of the h2 above the app tabs14:28
barrysalgado: if you have a branch w/ partial conversion i could take a look at it14:28
salgadobarry, would it be ok if I gave you a patch?14:31
salgado        if IRootContext.providedBy(self._context):14:32
salgado            heading = 'h1'14:32
salgado        else:14:32
salgado            heading = 'h2'14:32
barrysalgado: i'm hacking in that code in my current branch14:34
salgadobarry, that's why that pages uses an H1; its context (IPerson) is an IRootContext14:34
salgadobarry, is this the correct behaviour or are you changing that?14:34
barrysalgado: hmm, yeah14:35
barrysalgado: i probably will have to.  i was actually trying to work in an interface check to see if i could make that label editable, but the editable widget is on the view not the context and the view isn't available to the WatermarkTalesAdapter14:36
barrysalgado: other than IRootContext, what's the determining factor here?  it's that the page is not an index page on the root context, so once again, i think we need access to the view here14:36
barrysinzui: please try me again14:38
sinzuibarry: we hear your away message14:40
barrysinzui: i just restarted skype14:40
sinzuibac: https://launchpad.net/asword14:48
salgadobarry, I'm not sure actually.  I just stumbled upon that code after seeing the context/watermark:heading in base-layout.pt14:53
barryreviewers, beuno -> #launchpad-meeting in 3m14:57
barrysalgado: yeah, we'll have to see.  i think that should be changed to view/watermark:heading, but i'm not positive14:58
barryreviewers, beuno -> #launchpad-meeting15:00
bacsinzui: that license is quite a piece of work15:11
sinzuibac: Yes. I read it three times. It does not discriminate who or how it is used. I am still puzzled by it though15:13
bacsinzui: i can't get my head around it15:18
bacsinzui: and it is so poorly written i can't imagine it is binding15:18
bachackerz are not lawyerz and should quit pretending to be15:19
sinzuibac: we could say we do not host android and end the madness15:19
bacsinzui: yeah, it does approach a dual license15:19
bacsinzui: tell them to slap affero on it for LP and be done15:20
sinzuibac: yes. I think that is the right way to think about it. I will approve it.15:20
bacok15:20
jtvnoodles775, as promised: bug 42321215:40
mupBug #423212: Not enough padding around headings and listings <Launchpad itself:New> <https://launchpad.net/bugs/423212>15:40
noodles775jtv: taa.15:42
=== deryck_ is now known as deryck
bigjoolssalgado: hey dude, around?15:46
salgadogary_poster, given a context, a request and a page name, can I look up what page template would be used to render that?15:46
salgadobigjools, hi15:46
bigjoolssalgado: hi there, I've got a page with incomplete breadcrumbs: https://dogfood.launchpad.net/ubuntu/karmic/i386/amarok/2:2.1mysql5.1.30-0ubuntu315:47
bigjoolssalgado: how do I fix it?15:47
gary_postersalgado: yes.  it's not exposed very well.  You have to get the component registry's underlying registry and use the "lookup" method.15:49
salgadobigjools, you need to define IBreadcrumb adapters for the objects traversed there. (e.g. karmic i386, amarok, amarok version 2:2.1)15:49
bigjoolssalgado: ok sounds simple enough15:49
bigjoolssalgado: what's the usual way of testing that?15:52
bigjoolspoint me at an example if you like15:52
salgadobigjools, lp/bugs/browser/tests/test_breadcrumbs.py15:53
salgadogary_poster, cool, but how do I get the component registry's underlying registry?15:53
bigjoolssalgado: excellent, thanks15:53
=== Ursinha is now known as Ursinha-nom
gary_postersalgado: :-) yeah, looking15:55
gary_postersalgado: (registry).adapters15:56
gary_posteris the underlying one I thing15:57
gary_posterthink15:57
gary_posterthat you want15:57
gary_poster(just looking at code)15:57
=== kiko-afk is now known as kiko
gary_postersalgado: (registry).adapters.lookup((tuple of what you have), interface you want, name) it looks like.  checking out interface15:59
gary_postertuple of what you have may have to be specs...16:00
bacsinzui: chat?16:00
gary_poster(this is one of the APIs that I want to make more obvious)16:00
sinzuibac: yes, I am getting my self ready16:00
salgadogary_poster, what are specs?16:01
gary_postersalgado: the collected interfaces provided by an object.  Trying to check.  not clear in iface...16:02
gary_postersalgado: yeah, ok I have it, I think16:03
gary_poster(registry).adapters.lookup([zope.interface.providedBy(o) for o in provided_objects], required_interface, name[, default])16:04
gary_postersalgado: that make sense?16:04
sinzuibac: I am ready, are you?16:05
bacyep16:05
salgadogary_poster, it would if I knew how to get the component registry and what name[, default] means16:06
gary_postersalgado: ok we're close then16:06
gary_postersalgado: name: the name of the page in this case16:06
gary_poster[, default] : if you provide a default, and there is no match, the default will be returned.  Otherwise, you'll get a lookup error16:07
salgadooh, I see16:07
gary_posterregistry: zope.component.getSiteManager() should be what I expect here.  If not, let me know and I'll dig a tiny bit more.16:08
gary_postersm = zope.component.getSiteManager()16:08
gary_postersm.adapters.lookup([zope.interface.providedBy(o) for o in provided_objects], required_interface, name)16:08
gary_posterI think :-D16:08
salgadogary_poster, great, thanks.  I'll give that a try. :)16:09
gary_postercool :-)16:09
gary_posterlemme know16:09
beuno\o/  finally got ohloh to start importing Launchpad  https://www.ohloh.net/p/launchpad/enlistments16:11
beunojml, ^16:11
* beuno waits to see if it chokes to death half way through16:12
sinzuibac: http://people.canonical.com/~beuno/conversions.html16:12
=== beuno is now known as beuno-lunch
=== henrique is now known as henrique-lunch
salgadogary_poster, I tried that using IPageTemplate for required_interfaces (https://pastebin.canonical.com/21721/) but got an empty tuple back from lookupAll() and an error from lookup(..., name='foo').  am I doing something wrong?16:36
salgadoalso, the signature of the lookup() family seems to be lookup*(required, provided), so I tried changing the order of the arguments, but that didn't help either16:37
gary_posterlooking16:37
gary_postersalgado: last line should be  (zope.interface.providedBy(o) for o in [ob, request]), zope.interface.Interface)16:38
gary_posteror use lookup with zope.interface.Interface and real name16:39
salgadoa ha16:40
salgadogary_poster, why do I need zope.interface.Interface?16:40
salgadothe lookupAll() call gives me back a tuple with all the views, but the lookup() one with a name fails:16:42
gary_postersalgado: short answer: because zope's view registration has sucked for a long time, so long that it is unlikely to change for the core libraries unless things are ported to Python 3 and pain is already expected.  views are registered and looked up with the null interface.16:42
gary_poster (Even if it didn't suck, the interface would essentially just define __call__: it doesn't have to be a page template, and in fact the views we have use page templates internally, but do not themselves provide the interface)16:42
gary_posterit has sucked from a theoretical perspective, I should say ;-)16:43
salgadogary_poster, https://pastebin.canonical.com/21723/ is what I got when I tried lookup(name)16:44
gary_postersalgado: is +edit a page or a traversal step?  also, what did lookupAll give?16:46
salgadogary_poster, it's a page.  lookupAll() gave me a tuple of SimpleViewClass objects16:46
gary_postersalgado: oh, but without names?  bleh16:47
salgadotwo-tuples, sorry16:47
salgado(template-name, SimpleViewClass)16:47
gary_postersalgado: oh, was +edit in there?16:47
gary_posterI think our +* stuff uses some Launchpad specific trick.  Can go try to find16:48
salgadogary_poster, yep, it's there16:48
gary_posteroh...16:48
gary_postersalgado: when you used lookupAll, were you using a generator comprehension or a list comprehension?  Maybe the code doesn't like generators.  You used a generator comprehension in the pastebin.  Going to look at code to see if it is lame like that16:50
gary_postersalgado: yes it is16:50
gary_postersalgado: that's where your len error is coming in16:51
gary_postersalgado: change that to a list comprehension (or your favorite flavor of len-able) and it will be good16:51
salgadoindeed16:51
salgadobut that gives me just the SimpleViewClass, without the template name. :(16:52
gary_postersalgado: but...you provided the template name?  so you already know it?16:52
salgadoI provided the page name, and I wanted the template file16:53
salgadobut that's the same thing that lookupAll() gives me. for some reason I thought it was giving the file names, but they were actually the page names16:54
gary_postersalgado: oh.  I see. :-(  I think I led you on a goose chase, because I misunderstood the goal.  :-(  I'm sorry.  (1) get the view.  (2) look at the .template attribute, IIRC.  I think if you dir that or look at the dict you will see what you want (or look at the class, look at what it implements, and that will show you an API to use)16:55
gary_posterThe only possible advantage of the goose chase in this case is that you don't instantiate the view.16:55
gary_posterwhich is usually not important16:56
salgadogary_poster, but to have access to view.template I need to instantiate it, no?16:58
gary_postersalgado: I'd expect it to be on the class initially, but I don't remember the machinery.  If you want to just get the instantiated view, forget everything I've told you, and do the following:16:59
gary_postersm = zope.component.getSiteManager()16:59
gary_posterview = zope.component.getMultiAdapter((context, request), name='+edit')17:00
gary_posterthat's from memory, double-checking...17:00
salgadogary_poster, yeah, that works17:00
gary_posterk17:00
gary_posteractually you can forget the first line17:01
salgadoyep17:01
salgadogary_poster, ok, now I have all that I need, I think. thanks for holding my hands during that trip down zope's internal bits. :)17:03
gary_postersalgado: np, sorry for the goose chase again17:03
salgadono worries, it was fun17:03
gary_posterheh, cool17:03
=== salgado is now known as salgado-lunch
=== beuno-lunch is now known as beuno
=== deryck is now known as deryck[lunch]
rockstarbeuno, ping17:32
beunorockstar, yo17:32
rockstarbeuno, so, I just made the mechanical changes to the branch index page, and have a test failure requiring some thought.17:32
* beuno checks to see if flacoste is around17:33
beunono, good17:33
rockstarbeuno, basically, the sub-navigation links on the branch index page need sorting.  I know those "sub-tab" links will go away, but I wonder if having the link to the merge proposals is important anyway.17:33
beunorockstar, just delete the test17:33
beuno:)17:33
rockstarbeuno, cool.  That's all I needed.17:33
beunoI'm sort of kidding17:34
rockstarThe lost functionality will be returning in a bit.17:34
rockstarbeuno, dammit!17:34
beunowell, those things should be inline links17:34
beunorather than sub-menus17:34
rockstarbeuno, well, yes, but the link to "merge proposals" is not at all necessary.  We already have that link available elsewhere.17:34
beunorockstar, where?17:34
beunoI agree it shouldn't be on that page17:35
beunobut I'd like to be sure that it's easy to find17:35
rockstarbeuno, if there are merge proposals, it's the link that says "X branches proposed for merging into this one"17:35
rockstarbeuno, also, that page is really going to get hammered (probably deleted and re-invented).  It sucks bad.17:36
beunorockstar, did you see my mockup for it?17:36
rockstarbeuno, I'm not doing anything with mockups right now.  I just made the mechanical changes to get it to the new template.17:36
beunorockstar, drop it then17:37
beunowhat about source code?17:37
rockstarbeuno, linked by revision.17:37
beunorockstar, one of the problems we have is that people think that Launchpad doesn't actually have the code17:38
beunothat is one of the main problems that we need to solve with this page17:38
rockstarbeuno, yeah, so what I'm doing now is making those mechanical changes, then starting mockups and sending them out.17:38
beunorockstar, it sounds like cheating for the stats17:39
beunobut, ok17:39
beunoI'm on leave in about 4 hours17:39
=== Ursinha-nom is now known as Ursinha
beunonot much I can do  :)17:39
jtvbeuno: I posted those screenshots you wanted for my review btw17:39
rockstarbeuno, it's actually cheating for breadcrumb's sake (they are broken for branches currently, we'd like to make that more obvious)17:39
beunojtv, I saw them17:39
=== henrique-lunch is now known as henrique
rockstarbeuno, at this point, the stats are less important.17:40
jtvbeuno: it's almost midnight here though, and high time for me to scram17:40
beunojtv, it's like 1200 of them, and I can see a lot of issued with many. Is this a mechanical change?17:40
rockstarbeuno, I think having a list of problems to solve with the page is absolutely helpful.17:40
beunorockstar, so, I'd focus on the re-design, and not on the conversion17:40
beunolike was done with the project page17:40
rockstarbeuno, yeah, so we're getting the conversion out of the way.17:40
beunoand the DSP in soyuz17:41
beunowell, the thing is, it's twice the work IMHO17:41
jtvbeuno: it's 5 "before" and 5 "after" IIRC.  Yes, mechanical change, nothing exciting in the layout, but not sure the nav menus are what you want.17:41
bigjoolsbeuno: the worst thing is, that's not a Soyuz page so I just ticked one off for registry!17:41
beunojtv, cool. So I know what to look at. Go to bed, you'll have a review in the morning17:41
rockstarbeuno, I disagree.  Also, if we didn't move these pages over, we're putting off the need to fix things.17:41
jtvbeuno: thanks17:41
beunorockstar, aiight. You're the one actually doing the work  :)17:42
beunorockstar, so, drop those menu items, but make sure source code is easy to find17:42
beunosmall numbers with links is not easy17:42
rockstarbeuno, yeah, but that's kinda the idea behind this branch: find out what issues we really have with the branch page.17:43
beunorockstar, gotcha. Do you want the original file for my mockup so you can play around with it in balsamiq?17:43
rockstarbeuno, that'd be nice, but I don't know what balsamiq is.17:44
beunorockstar, have you seen my mockup?17:44
rockstarbeuno, I have.  I've also seen the mass amount of bikeshedding as a result.  I'm trying to get that churn out of the way so we have definitive answers.17:45
beunorockstar, it's the software I used to create that mockup: http://www.balsamiq.com/products/mockups17:46
beunoignore the bikeshedding17:46
beunoyou have something to work on17:46
beunogo for best effort17:46
beunothe mockup fixes a lot of the current problems17:46
beunogo with that, and try to address as many problemas as you can, without making the page suck in the end17:46
beunoit's better to not address some people's concerns, than to have 400k unhappy users17:47
rockstarbeuno, yeah, that's the idea.17:47
rockstarbeuno, yeah, but some of the concerns are valid.  I'm aggregating those concerns as we speak, and will be talking this over with thumper today.17:47
beunorockstar, of course the concerns are valid17:49
beunoin the end, we need a better page17:49
beunoso make hard choiced!17:49
beunowhatever you do17:49
rockstarbeuno, yeah, in the process.17:49
beunolook at the end result, and be happy with it17:49
beunoignore what was or was not addressed17:49
beunootherwise, revert to a step where you where happy17:50
rockstarbeuno, cool. thanks for the pep talk.17:50
beuno:)17:50
* beuno passes the baton to rockstar17:51
rockstarbeuno, so how do I get to this balsamique stuff?17:51
beunorockstar, either use the online version17:51
beunoor17:51
beunodownload it17:51
beunoinstall it17:51
beunoand check your email17:51
rockstarbeuno, it's software that wants me to pay for it though.  I stopped paying for software 10 years ago!  :)17:52
beunorockstar, sorry17:54
beunoI forgot the last step17:54
beunoread the email  :)17:54
rockstarbeuno, okay.17:56
salgado-lunchsim18:02
=== salgado-lunch is now known as salgado
=== matsubara is now known as matsubara-lunch
flacostebeuno: what's up?18:39
beunoflacoste, I was joking about removing tests18:39
flacostelol18:39
beuno:)18:39
barrybeuno: nice! i have editable h1 headings working for root context pages19:16
beunobarry, WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO19:16
beunoscreenshot?19:16
barrybeuno: sure. sec...19:17
barrygnome-do, why are you gnome-dont today?19:17
barrybeuno: https://people.canonical.com/~barry/screen.png19:19
beunobarry, not loading...  :/19:22
beunobigjools, cprov, https://edge.launchpad.net/ubuntu/+source/gnome-disk-utility19:22
beuno*love* it19:22
cprovbeuno: bigjools merit, I wasn't involved ;)19:23
bigjoolsbeuno: check out https://edge.launchpad.net/ubuntu/+source/amarok19:23
bigjoolsfar more interesting19:23
barrybeuno: i guess rookery isn't feeling well.  try https://devpad.canonical.com/~barry/screen.png19:23
bigjoolsbeuno: oh, and thanks :)19:23
beunobigjools, super awesome19:23
beunobigjools, VERY NAIS19:24
bigjoolsverrah nahce19:24
beunoabentley, rockstar, thumper, my #1 wish for the MP pages is that subscribers stop pushing down the content  :)19:24
bigjoolsbeuno: did you play with the expanders?19:24
thumperbeuno: ok19:25
barrybeuno: i have to say though, that the project index page is a bit busy :/19:25
beunobigjools, yes. The content still needs some vertical spacing between sections19:25
beunobut, all in all, fantastic work bigjools19:25
beunoit's a very hard problem19:25
beunoand the result is very nice19:26
bigjoolsbeuno: the same template renders with spacing on the PPA expanders, dunno why it's borked on +source19:26
beunobarry, yes. Talk to noodles775 about global padding19:26
beunobigjools, true that. Bug?19:27
bigjoolsprob some stylesheet funkiness making assumptions about things19:27
bigjoolsI'll play with firebug tomorrow and see19:28
beunosuper19:28
beunothat page made me very happy19:28
bigjoolsrawk19:28
abentleybeuno: You mean reviewers?  MPs don't have subscribers.19:28
beunoabentley, well, subscribers to the branch19:29
beunohttps://code.edge.launchpad.net/~rockstar/launchpad/subscription-widget/+merge/764319:29
abentleyOkay, I'm not sure what you mean by "pushing down the content".19:29
beunosee the subscribers on the right19:29
barrybeuno: were you able to snag the devpad png?19:29
beunoabentley, it pushes down comments19:29
beunobarry, yes. Super nice19:29
bigjoolsbeuno: oh also, see https://edge.launchpad.net/ubuntu/+source/gnome-disk-utility again, it appears that the slightly larger icon on the maintainer screws up the 2-column dl19:30
abentleybeuno: Oh, that portlet is controlling the position of the comments?  Yes, that would be bad.19:30
beunoabentley, correct. It is now, so when we do the conversion, it would be great to solve that issue19:31
beunobarry, it is a busy page, padding should help. noodles775 will work on improving it19:31
beunoif he doesn't prod him  ;)19:31
bigjoolsbeuno: noodles is busy right now, please leave a message at the beep19:32
bigjools*BEEP*19:32
barrybeuno: coolio19:32
* beuno curses in spanish19:32
beunobigjools, I don't understand the issue with the icon. I don't see it19:32
bigjoolsyour 10 minute job took 3 days ;)19:32
beunobigjools, have you not been to south america?19:32
bigjoolsbeuno: "Architectures" has a weird position19:32
beunoyou should really have a conversion table handy19:33
beunobigjools, ah. It does.19:33
bigjoolseven my wildest time mark-ups didn't account for that :)19:33
beunoabentley, rockstar,  the problem also occurs on the branch index: https://code.edge.launchpad.net/~bzr/bzr/trunk19:34
beunopushes down commits19:34
barrydoes anybody know if we have any merge proposals in sampledata?19:49
beunobarry, AFAIK, no19:49
barrybeuno: k, thanks.  shouldn't be too hard to make one up19:50
beunobarry, I use firefox19:50
beunohas multiple branches. etc19:51
barrybeuno: thanks19:51
beunoQUICK! someone convert 17 templates so I can go on leave with less than 200 to go19:54
statikany of you crazy launchpad developers with iphones figured out how to gpg sign emails from your iphone to make it possible to report bugs via mail from the phone?19:58
barrybeuno: http://devpad.canonical.com/~barry/mp.png19:58
beunobarry, lovely. Lacks breadcrumbs, but that's probably not your fault19:59
beunobut, LOVELY19:59
barrybeuno: yeah. i'm going to look at breadcrumbs next, as well as reverse breadcrumbs (boy, that sounds dirty) in the <title>.  mostly working on the h1/h2 header bits right now20:00
barrybeuno: excellent!20:00
salgadosinzui, what are the templates that should be converted as part of https://bugs.edge.launchpad.net/launchpad-registry/+bug/421986 ?20:00
mupBug #421986: Update team list pages to UI 3.0 <story-ui-3> <Launchpad Registry:Triaged> <https://launchpad.net/bugs/421986>20:00
beunobarry, you rock so hard, I can barely read text20:01
sinzuiSorry. I missed he message because the window closed instead of coming forward20:01
barry:-D thanks man!20:01
salgadosinzui, what are the templates that should be converted as part of https://bugs.edge.launchpad.net/launchpad-registry/+bug/421986 ?20:01
mupBug #421986: Update team list pages to UI 3.0 <story-ui-3> <Launchpad Registry:Triaged> <https://launchpad.net/bugs/421986>20:01
* sinzui looks20:02
sinzuisalgado:20:04
sinzui    teammembership-invitation.pt20:04
sinzui    team-mailinglist-moderate.pt20:04
sinzui    team-mailinglist-subscribers.pt20:04
* sinzui updated the bug20:04
salgadothanks sinzui20:04
* barry -> short walk20:18
salgadogary_poster, can I pick your brain once again?20:26
gary_postersalgado: sure, but be warned, it's kinda gray and gooey, so I hear.20:27
salgadoheh20:27
salgadogary_poster, so, I got a view with getMultiAdapter((ProductSet(), LaunchpadTestRequest()), '+new')20:27
salgadothat gives me a SimpleViewClass wrapping ProjectAddStepOne20:27
salgadoAIUI20:27
gary_poster(name='+new' I suspect, but gotcha)  yeah sounds good20:28
gary_poster(Whatever ProjectAddStepOne is)20:28
salgadoyeah, with name='+new')20:28
gary_postercool20:29
salgadobut then I don't have access to most of the view's attributes20:29
salgado.template works20:29
salgadobut .heading (a class attribute) raises an AttributeError20:29
gary_postera class attribute!  A property?20:30
salgadojust a regular class variable, as opposed to an instance variable20:31
gary_postersalgado: ...weird!  I wouldn't be surprised that a lot of instance bits are not there--__call__ (and initialize often) does a lot of stuff of course20:32
gary_posterbut a missing class variable is bizarre.20:32
gary_posterI'm not sure how stable my LP is right now--I was debugging a build problem in Karmic--but I can try make harness and some experiments if you like20:33
salgadoactually, it looks like all class variables are not there. .schema isn't there either20:33
gary_postersalgado: this is not security wrapped, is it?20:34
gary_posterI bet it is "trusted"20:34
salgadogary_poster, it doesn't look like it is. trying to removeSecurityProxy() returns the same thing20:34
gary_posteroh darn, that would have made sense :-P20:34
gary_postersalgado: if you walk up the __class__.__bases__ do you eventually see the class you expect?20:35
gary_posteror alternatively does isinstance tell you what you expect?20:36
rockstarbeuno, I think I fixed that already.20:36
beunorockstar, super awesomeness20:37
salgadogary_poster, it doesn't, and there we go.  this is probably because these views are part of a wizard thing20:38
gary_postersalgado: ok, good to have an explanation at least.  It's been a while since I looked at the wizards.  Can I help with that, or should I leave you to attack the wizard yourself? :-)20:40
salgadogary_poster, hahah. I think I know what's going on now, but I'm not yet sure I can workaround it to achieve what I want. damn wizards20:41
salgadogary_poster, anyway, thanks again for the help.  I'll bug you again if I get stuck again. :)20:42
gary_posterok, np, cool :-)20:42
salgadothat's a lot of agains20:42
sinzuibeuno: My first draft of the series page: http://curtis.hovey.name/sinzui-assets/productseries.png20:48
sinzui^ The bug and blueprint portlets are not showing up...this is an issue in the view and I suspected this was an issue when I worked on this page a few months ago20:48
sinzui^ For the distroseries, I would replace the  timeline with the package search. I do not know what to put in the code area, uploads is the only candidate, but I want something that a potential contributor can act on.20:48
beunosinzui, or have a timeline for distros?  :O20:49
sinzuibeuno: I think that is the right answer, but I cannot commit to it for 3.020:50
beunosinzui, I think you are a wise man20:50
sinzuibeuno: since package search is above the portlets in the distro page, I wanted to keep it in the same place20:51
beunosinzui, s/Set/Set date/?20:51
sinzuiyes, damn, there is a bug about that too20:51
beunosinzui, page is lovely20:51
sinzuibeuno: my thinking is that on the pillar page, you see the details, then you see where development is happening (series), on the series pages you see the detail, and how to get involved in development. So I think the distro series needs something that says what packages need looking help. may info about how to get the alpha or the build.20:55
beunosinzui, yes!  it suddenly makes serieseses SO much more interesting20:55
beunosinzui, the last piece remaining for the global 3.0 change20:57
beunois removing the edge redirect message20:57
beunoand move it to the footer20:57
beunomake it a green link20:57
beuno"Stop redirecting to edge"20:58
beunoor something like that20:58
beunokiko and matsubara know all about this20:58
sinzuiI can do thatr20:58
beunoit was my job, and I failed them20:58
sinzuiThat would make testing a lot easier20:58
kikobeuno, what about the "This site is running pre-release code" edge bar? we need to get rid of that as well.20:59
beunokiko, that's what I was talking about20:59
sinzuibeuno: distroseries has https://edge.launchpad.net/ubuntu/karmic/+packaging that has some underlying call for action21:00
beunoOMG21:01
beunosinzui, how about:  not showing the linked ones21:01
beunoand show the unlined ones in a table, like the current ones21:01
beunowith a call to action button on the right column?21:02
beunoit's kinda crazy that there's no paging there21:02
sinzuiThe page is crazy. I had to use find to locate packages in the list. I will batch it21:03
beunothank you21:04
sinzuibeuno: sprints is missing from the series page. It should show up because this is the natural place for a release manager to register a sprint to get work done21:06
beunosinzui, for ubuntu, I guess that's the natural place, yes21:07
beunoI don't think so for anyone else21:07
sinzuibeuno: a driver/release manager for a project is the only person who can set an agenda. The series is what drives an agenda and is owned by drivers21:08
sinzuibeuno: We can restrict the link to just the drivers21:09
beunowell, series don't *have* to drive the agenda21:10
sinzuibut the fact is anyone can create a sprint (if they can find the collection...there is no link to create a sprint there anymore)21:10
beunoright, do it21:10
sinzuidid bigjools land code that will ellipseise long file name?21:12
beunono, he cheated on the mockups21:13
beunothere is no code21:13
* bigjools did not21:13
sinzuibigjools: what do you think the rule is? truncate the access characters before the first dot? my-long-pa...tar.gz21:14
bigjoolssinzui: possibly.  it can be easier if we can pass an available width though21:16
beunosinzui, I think the rule is truncate in the middle21:16
beunocount the number of characters, and cut off the middle characters the exceed X21:16
bigjoolsthat was my thought21:17
bigjoolsbut you need to know how many you have to cut out21:17
sinzuibigjools: I think we extend fmt:length to fmt:ellipse/3221:17
kikobigjools, beuno: why not cut out 5 ([...])?21:29
kikoso21:30
kikomiddle = len(str)/221:30
beunoyes21:30
kikoreturn s[:middle - 2] + "[...]" + s[middle+2]21:31
kikoor something like that21:31
kikotaking care of the corner cases (len(s) < middle * 2, etc)21:31
barrysinzui: do we have a bug in story-ui-3 for ~person/+related-software page?21:33
sinzuibarry: no21:33
sinzuibarry: do you want to talk about it? I think we need wgrant and persia's assistance to get the use cases for the page21:34
barrysinzui: no.  i'm actually looking for a simple page that i can mechanically convert, but which also should have breadcrumbs, in registry.  i actually don't care what page it is, just looking for something simple, so if you have suggestions i'm all ears21:35
sinzuibarry: nothing about that page is simple. it is number one on the nightmare list21:35
* sinzui suspects it is three pages mascaraing as one.21:35
barrysinzui: i do not want a nightmare, i want a dream with unicorns and kittens :)21:36
sinzuibarry: I'll get you once form the list21:36
barrysinzui: beauty, thanks!21:37
sinzuibarry: consider person-oauth-tokens.pt person-participation.pt or teammembership-index.pt21:38
barrysinzui: are there bugs open on those?21:38
sinzuibarry: no. I thought we could discuss these tomorrow. take and report a bug as you like21:39
barrysinzui: perfect, thanks!21:40
bachi sinzui, could you look at http://people.canonical.com/~bac/21:43
bacsinzui: the may and maynot screen shots21:44
sinzuiHow do I get a people URL. I am a people too. not just a monkey that is strategically shaved and put into a suit21:44
bacsinzui: the question is what to do when the person cannot join.  Provide a 'Back' link, a 'Cancel' link, do nothing21:44
bacsinzui: login in to rookery just like you did devpad21:44
bacadd a stanza to .ssh/config for rookery to go through chinstrap21:45
sinzuiI will try that21:45
bacelmo sent mail about it awhile ago21:45
bachey!  look at my screenshots first!21:45
thumpermorning morning21:47
sinzuiWhy do we have such a scary notification for mayjoin? I don't think anything extraordinary happened.21:47
sinzuibac: You found a translations page~21:47
bacsinzui: ignore that21:47
bacsinzui: what scary notice are you talking about on http://people.canonical.com/~bac/mayjoin.png21:47
sinzuibac the /!\ There is no error. I think an (i) will suffice21:48
sinzuibac: is that message in the template or in the response?21:49
=== salgado is now known as salgado-afk
barrybeuno: ping22:06
beunobarry, pongz22:06
barrybeuno: i have a page i'd like to talk about briefly.  making screenshot now...22:06
barrybeuno: https://people.canonical.com/~barry/karma.png22:07
beunobarry, still no p.c.c22:08
barrybeuno: craptastic.  se...22:08
barrybeuno: https://devpad.canonical.com/~barry/karma.png22:09
barrybeuno: this is a purely mechanical change to +karma using my header branch.  ping me when you've got it22:09
beunobarry, got it22:10
barrybeuno: so, first off, that H1 needs to be an H222:10
barrybut then, what do you think of the breadcrumb placement?22:10
barrybeuno: (and then... what about the rest of the page?)22:10
beunoyes22:11
beunobreadcrumbs below the h122:11
beunoteh top table are totals, right?22:11
barrybeuno: so, breadcrumbs below the "Launchpad karma" heading?22:11
beunoyes22:11
barrybeuno: yes, i believe so; they are totals22:12
barrybeuno: +1 on breadcrumb placement22:12
beunoso it feels like you don't need a table for totals22:12
beunoand, the table below could maybe invert the columns?22:13
barrybeuno: what would you use instead of a table for the totals?22:13
barrybeuno: for the second table, you mean Date, then Action?22:14
beunobarry, make use of the apps colors, not have a heading for the table, and make the table smaller22:14
beunoso mayb I do want a table22:14
beunojust not like that  :)22:14
beunoyes, I mean date and action22:14
barry+1 on the second table22:14
barrybeuno: i like using the app colors22:14
barrybeuno: and i think you're right about no header necessary for the first table22:15
barrybeuno: and by smaller, you mean horizontally smaller, right?22:15
beunoyes22:15
beunowith the total beneat the actual numbers22:15
barrybeuno: fab. thanks!22:16
barrybeuno: this is my test page for sub-page-with-breadcrumbs :)22:16
beunobarry, yay22:16
barrybeuno: have a good time! you will not recognize the place when you return :)22:17
beunobarry, thank you, and I'll take your word for it22:17
beunoI'm off home to pack! woooo22:17
barry\o/22:18
=== beuno is now known as beuno-on-vacatio
rockstarthumper, from my bazaar.conf aliases -> send-pipe = send -r branch::prev..22:22
mwhudsonthumper, abentley, rockstar: back22:30
mwhudsonthumper, abentley, rockstar: skype?22:30
=== matsubara is now known as matsubara-afk
* maxb blinks and wonders why 'bin/test -vv --layer=SSHServerLayer' is executing BaseLayer tests22:40
* gary_poster pretends he doesn't see that.22:43
maxbheh22:44
gary_postermaxb, fwiw, I identified why lazr.uri was causing problems.  I'll have something checked in tomorrow if I'm lucky, this week if things proceed apace.22:45
mwhudsongary_poster: evening22:45
gary_postermwhudson: howdy :-)22:45
maxbsounds like its high time that I started herding some of my miscellanea of tweaks into branches for landing22:45
gary_posterheh, that would be good :-)22:46
mwhudsongary_poster: you've got my usual morning reply emails, nothing to surprising though22:46
gary_posteroh ok, looking22:46
mwhudsongary_poster: who should be the default reviewer for lp:lpbuildbot do you think?22:47
mwhudsongary_poster: i guess a new team that's losas + you and i22:47
gary_postermwhudson: ah yes, I had read them, but didn't have much to add.  I'm not blocking anything ATM in this regard am I?22:48
mwhudsongary_poster: nope22:48
mwhudsongary_poster: did you look at the code at all in my force build branch?22:48
spmmwhudson: name suggestion: "legendary-osas-plus-some-orrible-dev-types"22:48
mwhudsonspm: lopsodt ?22:49
gary_postermwhudson: cool.  default reviewer... well, I suppose you can come and go like the wind once you leave the BE position, so sure22:49
mwhudsonactually i like lopsod as an acronym22:49
gary_posterand then it can just be "developers"22:49
mwhudsonright22:49
spmmwhudson: damnnit! you aren't supposed to take it seriously!22:49
gary_posterlol22:50
mwhudsonspm: the o can be 'operationally-minded' if you like :)22:50
mwhudsongary_poster: i also notice bzrbuildbot doesn't have any tests...22:51
gary_postermwhudson: didn't look at code, since I didn't have explicit request to. ;-)   happy if you wish.  probably should.22:51
gary_posterif you request a review I will ;-)22:51
gary_postermwhudson: no tests:  nope.  :-/  that was among the first buildbot hacking I did.  I ended up writing tests, ever-so-painfully, for the latent slave stuff, though not for the EC2-specific bits (ran away from stubbing boto).22:53
mwhudsongary_poster: this is the diff so far https://pastebin.canonical.com/21760/22:53
mwhudsonbut it's not ready for review yet22:53
gary_postermwhudson: ok.  I actually need to run for family bits, but will spend a minute or two looking at it in a few hours22:54
mwhudsongary_poster: cool22:54
gary_posterbye all22:55
sinzuigmb: intellectronica ping23:02
wgrantsinzui: It is in fact three and a bit pages masquerading as one, while each page also exists separately, yes. The use cases for that are complex and not well defined at all.23:02
wgrantIt will require some thought.23:02
intellectronicasinzui: yo23:03
sinzuiwgrant: can you send an email to the list outlining the use cases you know of? I don't think the registry team can design this page without your help23:04
wgrantsinzui: I will try.23:04
sinzuiwgrant: thanks.23:05
sinzuiintellectronica:  I added the latest bugs portlet to productseries. It only shows bugs explicitly targeted to the series. I think this will be surprising to most users who know that a bug  targeted to a milestone is implicitly targeted to the series23:07
wgrantsinzui: I don't think that page itself has any real use cases apart from being able to see at a glance what a person is involved in, but some of the constituent pieces have important use-cases on their own pages.23:07
mwhudsonman23:07
mwhudsonbuildbot would be easier to understand if it was written in a statically typed language23:07
mwhudson        self.status = req.site.buildbot_service.getStatus()23:07
mwhudsonaararasdsaadasfafa what sort of object is that?23:08
=== kiko is now known as kiko-afk
sinzuiintellectronica: I am contemplating adding another Latest...Bugs method to the view that includes the explicit and implicit series bugs. Can you think of any reason we would not want to show the bugs targeted to a series milestone on the series index page?23:10
wgrantIMHO you should leave it to just show the directly targetted bugs, until somebody works out how they are meant to be used.23:11
intellectronicasinzui: i don't know how useful that is (i've come to think that this sort of lists aren't very useful) but there's certainly no harm in doing that, this is certainly relevant information23:12
sinzuiI think milestone vs series targeting makes work complex. I once contemplated an adapter to make a series act as a milestone to make it possible to target a fix to series from inside the milestone dropdown.23:14
sinzuiintellectronica: right. latestbugs is really about new bugs against a series. But latestChangedBugs seems to be about bugs that are being worked on in the series23:16
sinzuiintellectronica: I think these two pages contradict eachother: https://bugs.edge.launchpad.net/malone/3.1 and https://edge.launchpad.net/malone/+milestone/3.023:17
intellectronicasinzui: i'm not sure i understand what you mean by contradict each other23:19
sinzuiThe milestone page shows that theses bugs are being fixed in this series, but the series report says there are no bugs.23:20
maxbI have a merge proposal for launchpad-dependencies - https://code.edge.launchpad.net/~maxb/meta-lp-deps/ready-for-karmic/+merge/11094 - is there anyone I can request a review from?23:21
intellectronicasinzui: oh right, i didn't realise the 3.0 milestone is part of the 3.1 series. indeed it seems there's a contradiction23:22
sinzuiintellectronica: look at https://edge.launchpad.net/malone/+series23:22
sinzuiThere are clearly bugs in the series. I am also certain that if we were to target a bug in the series the counts will be off because the code is not looking at explicit targets23:22
sinzuiintellectronica: This is also true for distroseries, but their workflow hides part of the problem. Since a release manager uses the serie page to plan, I think I need to explain how bugs can come from direct and indirect targets23:24
wgrantWasn't the plan to allow use of a milestone as a series, and use series tasks only for backports?23:25
wgrantEr, use of a series as a milestone.23:25
sinzuiwgrant: yes I contemplated it. I still do.23:26
wgrantsinzui: It really makes sense and would make it so much more consistent.23:27
sinzuiwgrant: For the people planning and working, they just need a way to say here is a point I want this bug fixed23:27
sinzuithey do not care about how the implementation does it23:27
sinzuimaxb: did you test these changes on Hardy?23:30
* sinzui recalls Hardy needed the package23:30
maxbsinzui: No, but hardy has already diverged from the versions being used in intrepid/jaunty anyway23:31
maxbhardy is using something branched off of trunk 0.47, intrepid has trunk 0.50 and jaunty has 0.5323:32
* sinzui really need to get pylint and tidy out of the deps23:33
sinzuimaxb: I do not think tidy is required by anything.23:34
sinzuispm: ping23:34
maxbQuite possibly. My aim here was just to prune the deps that it was extra work to get for karmic23:35
spmsinzui: heyo, how's it giong?23:35
sinzuispm: where does python2.4-lxml come from on our staging or lpnet? or maybe I mean to ask, where does lxml come from on those machines?23:36
maxbDoes it come from anywhere? I don't see it being used at all anywhere in launchpad23:40
sinzuimaxb: I am concerned about the XML changes. I recall a lot of pain during Ubuntu upgrades where we need to to add hacks to the code to make launchpad run on LTS and current23:40
spmsinzui: v1.3.6-1 , straight from where ever default packages come23:40
sinzuispm thanks.23:41
sinzuimaxb: lxml was a problem for the hardware database. We needed to tinker with the version used by the hardy servers and our own envs for a time23:42
maxbsinzui: The XML changes? Well, lxml does not appear to be used anywhere in launchpad (or so says grep), and python-xml is the same project as sourcecode/old_xmlplus, and I've run the tests without it installed, if it's needed at all, it seems to be getting it from sourcecode/23:42
sinzui??23:43
sinzuimaxb: I count 6 files that use lxml23:45
maxbsinzui: pastebin? because I really can't see any23:45
sinzuiIf only I implemented that feature in my editor23:45
sinzuimaxb: I see that the tree talks about it, but there is no real code using it23:47
maxbyup23:47
maxbbut I still only count 2 files of which that is true23:48
sinzuimaxb: ha ha23:48
sinzuimaxb the others are false matches23:48
jmlbeuno-on-vacatio, sweet23:51
sinzuimaxb: oh old xml I pushed that up as dtdvalidator23:52
jmlkfogel, did I stand you up?23:52
maxbsinzui: ?23:53
sinzuimaxb: We only used python-xml for DTD validation, and it is not supported in the modern version. I extracted the lib and put it at https://edge.launchpad.net/dtdparser23:56
maxbhuh. I wonder what the copy in sourcecode/ is used for, if anything23:56
sinzuimaxb: so we definitely do not use that package23:56
sinzuimaxb: We need to parse the dtd when we import mozilla translations23:57
maxboh! old_xmlplus *is* dtdparser23:57
sinzuimaxb your work is enlightening. r=me23:57
sinzuibugger, I cannot claim the review23:58
wgrantWhy have breadcrumbs like "Ubuntu ยป +ppas" just sprung up?23:59

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