=== Ursinha is now known as Ursinha-afk [01:54] Launchpad UI 3.0 Question and answer meeting in #launchpad meeting in 6 minutes [01:55] sinzui: how long will it go for? [01:59] I will linger for 45 minutes. It will really on only if people have questions that I can answer [01:59] sinzui: I don't have any questions, and I have to head out to meet Rachel [02:00] sinzui: I'm not sure who else will be around, but good luck :) [02:00] fair enough === matsubara is now known as matsubara-afk === abentley1 is now known as abentley [05:16] One month since the open sourcing! [05:22] \o/ happy birthday lp:) [07:08] hmm, sourceforge has useful timelines now >< [07:11] lifeless: You mean the project feed? [07:12] http://sourceforge.net/projects/japt-proxy/develop for instance [07:13] Yep. [07:13] Google Code has had something like that for ages. [07:14] Now somebody just needs to go and fix the karma system to do that. [07:14] mmm [07:15] 'someone needs to go and do that' +1 [07:15] using karma for it.... different discussion [07:15] I suppose you could also just collate lots of collections of other activity records. [07:16] we have rss feeds for projects [07:16] But, well, there aren't such records. [07:16] There are RSS feeds of new revisions and new bugs. [07:16] And announcements. [07:17] Stuff I miss from Google Code is changes to and comments on bugs. [08:08] Anyone looking into what revision broke xx-productset.txt ? [08:15] stub: yes... [08:22] good morning [09:03] Hrmph. stable is ancient. [09:19] Morning compadres [09:23] morgen [09:35] Got to love it when ec2test just sort of stops and shouts "No! Lalala, I'm not going to test your branch." [09:36] Is PQM happy again? [09:37] It has been a bit unhappy today. [09:43] wgrant: I looked into the BugTaskEditView stuff, and basically concluded that we needed to change all the other call-sites to use transitionToMilestone(). However... [09:43] allenap: Hm? Why? No direct callsites should care about the schema. [09:44] wgrant: It may actually make more sense to change mutator_for to allow use on a read-write attribute, perhaps by passing a allow_read_write parameter, just so it's not the default. [09:45] ** bouncing apache on vanadium for emergency update [09:45] wgrant: My logic may have been flawed :) But the milestone widget was behaving weirdly in the form, and simply changing it to be handled like status and importance seemed like the simplest fix. [09:45] wgrant: Well, not simplest, but an already tried and working approach. [09:46] allenap: status/importance are readonly=True. I was unable to work out what was magical about them to make them writable. [09:46] i'm not sure that callsites outside the form need to be updated. [09:49] wgrant: I think it's the bit around line 1235 in browser/bugtask.py that makes sure they can be edited, then there's some juggling in updateContextFromData to apply the changes. [09:49] danilo-afk: http://blog.launchpad.net/translations/screencast-sharing-translations-between-releases-of-the-same-project [09:50] allenap: Right, updateContextFromData will probably need changing. But my main concern at this point is getting the right widgets to show up. [09:50] wgrant: Okay, I'll come back to you in a few minutes. [09:50] allenap: 1235 seems to replace the writable status/importance widgets with read-only ones if the user lacks privileges. [09:50] allenap: Which suggests that the writable widget is forced in place before that. [09:51] wgrant: In my copy it does the opposite :) [09:51] Did the session DB get dumped again? [09:52] wgrant: But I'll go and experiment some more. [09:52] allenap: Thanks. I have a couple of ideas which I'll try... [09:53] Ooh, timeout filing a bug. [09:53] gmb: Um, people have been complaining about that for weeks... [09:53] wgrant: s/weeks/years (on and off). True, but I'd never experienced it filing a bug on Malone before. [09:57] bigjools: Why is the CoC required? [09:57] It seems quite irrelevant. [09:57] why? [09:59] bigjools: Hm, I guess there are a couple of relevant points in it. [09:59] My memory was foggy. [09:59] * wgrant goes back to beating formlib into submission. [10:00] it needs it [10:00] wgrant: Heh, sorry, you're right about line 1235. [10:00] bigjools: Not really. BugTaskEditView is just purest evil. [10:00] allenap: Phew. [10:01] allenap: Concerning that it's so hard to understand, though :/ [10:01] there's a lot of purest evil, most of it in old Soyuz code :( [10:01] bigjools: doc fixed [10:01] wgrant, allenap: the magic is using a mutator and i agree that this is a good approach [10:01] bigjools: But I can understand most of the Soyuz code. [10:01] mrevell: fanks [10:01] intellectronica: That's not the dark magic here. [10:02] intellectronica: The real magic is making the widget editable on +editstatus. [10:02] And BugTaskEditView's existing method of doing that is not transparent. [10:02] wgrant: care to let your eyes bleed over the perl in the buildd? :) [10:02] wgrant: wow, you understand soyuz but not the bugtask edit view? do you also wear your socks over the shoes? :D [10:02] bigjools: I've hacked sbuild before for doing archive rebuilds... not pretty. [10:03] bigjools: Soyuz is easier to setup than dak/wanna-build/buildd! [10:03] :) [10:03] +1 for soyuz ;) [10:03] wgrant: oh right [10:03] * gmb genitally hates BugTaskEditView. [10:04] Er. [10:04] *genially [10:04] Is the word I was going for there. [10:04] intellectronica: Hm? [10:04] how Freudian [10:04] Nicely done. [10:04] intellectronica: after all these Soyuz reviews you should know it by heart now ;) [10:06] :) [10:07] So... [10:08] Is there any good reason that it does things in this order: maybe overrides the status widget with something writable, maybe overrides the status and importance widgets with something read-only, then maybe overrides the importance with a writable widget? [10:08] Or is that just there to confuse people? [10:08] wgrant: Just to confuse I think. [10:08] wgrant: But probably something will break if done in a different order :( [10:09] * wgrant finds a similarly nefarious order in which to place the milestone code. [10:09] wgrant: Something I noticed. On the main bug page, milestone_source is not None. On the +editstatus page it's None, so the milestone field is not replaced (at around line 1221 in browser/bugtask.py) [10:09] allenap: Ahaa. [10:09] So. [10:09] We need to dig a restrictive milestone vocab up from somewhere. [10:09] But formlib must magically do that already. [10:10] As IBugTask.milestone's vocab looks global. [10:12] Or we convince formlib to generate a writable widget to start with. Argh. [10:22] wgrant: Have a look at http://pastebin.ubuntu.com/256793/ - it seems to do something approximating correct. I haven't tested it much (and I intend to use copy_field at some point). [10:23] wgrant: I'm not sure if lines 30 and 31 are needed either. I just threw them in. [10:24] allenap: copy_field then overriding readonly was going to be my next attempt. Let's see... [10:24] wgrant: The tests pass at least! [10:24] allenap: I think those two are needed. [10:24] Oh. [10:24] So you don't need to override readonly? [10:24] Ah, you're not copying yet, right. [10:25] wgrant: Yeah, the actual desired effect is obscured. [10:28] wgrant: Here's my attempt with copy_field: http://pastebin.ubuntu.com/256798/ [10:31] allenap: Mine is similar, although I didn't know that one could give it kwargs like that. [10:31] * wgrant is testing that. [10:34] * gmb -> restarting proxy, bbiam [10:35] allenap: Now I know that copy_field kwarg trick, I've spelt it http://pastebin.ubuntu.com/256803/ [10:35] * wgrant runs the tests. [10:35] I don't think you need that 26/27 change. [10:36] wgrant: Cool. [10:39] So it was actually easy. [10:39] The existing complexity was deceptive. [10:41] allenap: Thanks. Pushing the change that I pastebinned -- care to ec2test? [10:41] All the failing tests pass. [10:42] wgrant: Cool, will do :) [10:45] Now I just need to convince cprov that the failures in my other branch were because devel was broken, and that will be landing #10! Yay. [10:49] wgrant: Wow, that's good going. [10:51] Morning, all. === danilo-afk is now known as danilos [11:49] * wgrant considers looking at PPA package download counters. [11:50] wgrant: that needs some more foundations work [11:50] bigjools: Really? What does it need? [11:51] wgrant: I don't remember exactly, but the current log parser only looks at librarian downloads [11:51] bigjools: It's easy enough to refactor. [11:51] oh for sure [11:51] just sayin' like [12:12] bigjools: So, assuming I refactor the log parser... [12:13] wgrant: talk to salgado first, he wrote the existing one, he'll give you tips [12:14] bigjools: Thanks. [12:15] bigjools: Model-wise, I'm thinking an ArchivePackageDownloadCount, like LFDC except referring to an archive and a source or binary package. Does that sound vaguely in the right direction? [12:17] wgrant: I think so, although we need to think about whether nullable foreign keys are wanted [12:18] bigjools: Why wouldn't they be? [12:18] APDC, with columns [source|binary]packagerelease, archive, count [12:18] That's right. [12:18] because you can have source and binary [12:18] [sb]pr are nullable, with a constraint to ensure exactly one isn't. [12:19] might be better to have 2 tables [12:19] Possibly. [12:20] * bigjools goes back to figuring out how a change in das:+index broke das:+builds === Ursinha-afk is now known as Ursinha [12:48] * gmb lunches === matsubara-afk is now known as matsubara === mrevell is now known as mrevell-lunch [14:11] sinzui, ping [14:12] hi deryck === salgado-afk is now known as salgado === mrevell-lunch is now known as mrevell [14:39] noodles775, hi [14:39] hey beuno [14:40] noodles775, how are you today? [14:40] beuno: why, well thankyou :), and how would you be? [14:41] Just doing some packaging in between planning a ui change :) [14:41] I'm the only way I can posibly be during a 2 month ui cycle: fantastically well [14:41] heh [14:42] noodles775, have you seen that salgado's breadcrumb changes landed? [14:42] for example, bug 165293 [14:42] Bug #165293: collisions through uploading same-named .pack files not handled correctly [14:42] beuno: nope - haven't seen it, but great! [14:43] beuno: very nice! [14:43] noodles775, while he works out some of the remaining issues, how do you feel about jumping in and moving them beneath the titles? [14:43] Hi, it's me... again. We got some problems while uploading files. A team member wants to upload template.pot and receives this error: http://paste.ubuntu.com/256915/ [14:44] beuno: has the formatting been separated out from the hierarchy? That was the main issue last time I checked (the hierarchy was rendering itself manually)... [14:44] * noodles775 checks [14:45] ah, good question [14:45] salgado should know [14:45] salgado, btw: wooooooooooooooooooooooooooo [14:46] noodles775, no, the hierarchy still renders itself [14:47] salgado, is changing that in your plans? [14:48] beuno, not until it gets in my way or someone convinces me it's a good idea. ;) [14:49] salgado: you don't think it would be a good idea for the hierarchy to use a template to render itself, rather than the html code in the view? [14:49] * noodles775 hasn't looked closely - maybe there's a good reason for the way it's done. [14:49] noodles775, oh, absolutely! [14:50] I thought you were talking about moving the rendering into the breadcrumbs themselves [14:51] salgado: no, just using templates to render them so it's much easier (1) to change and (2) to add the new formatting html for breadcrumbs on baselayout while letting the old template use the current breadcrumb formatting. [14:52] right, that makes total sense [14:52] but it'd be easy to fix, no? [14:53] salgado: I'm not sure - it looks like quite a bit of custom html construction going on in that render method. [14:54] salgado, none of that HTML is needed for the 3.0 design [14:54] er [14:54] noodles775, ^ [14:54] let's throw it away, then [14:55] it's simple text and links, with separators and a special rendering for the last item [14:55] and break all pages not yet converted to 3.0 [14:55] beuno, salgado: hangon - but that means all pages that *haven't* been updated to the 3-0 base-layout will go awol. [14:55] UI 3.0 question and answer session in #launchpad-meeting in 6 minutes. Everyone is welcome to ask questions. (no questions about lemurs please) [14:55] noodles775, I think that it doesn't matter [14:56] this is why we're not rolling out to production [14:56] It turns out that mdz had a bzr branch for launchpad-dependencies back in the Dapper era (the source packages contain the bzr branch). Does anyone know where it might have gone? Did it see continued use after launchpad-dependencies went completely canonical-internal? It seems to have disappeared by the time launchpad-dependencies went to a PPA [14:56] it will just have breadcrumbs rendered on top instead of underneath the title [14:57] beuno: no, they'll remain where they are, the formatting will just be 3.0 I assume. [14:57] beuno: sorry, ignore me... that's what you said. [14:58] noodles775, right. I'm fine with that. [14:58] more pressure to move the old pages ;) [14:58] :) [14:58] sinzui: what's a lemur? [14:58] beuno: OK, Sounds like another fun job - just pm bigjools to talk with him. [14:59] noodles775, think about it this way, if we drop the current breadcrumb rendering, we drop 14 HTTP requests on all pages [15:00] bigjools: A primate native Madigascar. The most famous one is King Julian played by Sasha Baron Cohen. [15:00] beuno: really? how is that? (the images are all cached right?) [15:00] sinzui: I should not have asked [15:01] noodles775, they are cached, but they are in icing, so every night, the URL changes. And, for people who come to LP from a google link, well, it's their first time visit [15:01] beuno: sheesh... [15:12] wgrant, around? [15:49] beuno, sinzui can you think of any reason why /projectgroups should not be viewable by ordinary or anonymous users? [15:50] I want it visible. I think we get questions about it because users cannot find it [15:50] sinzui: it actually gives you an Unauthorized right now [15:50] sinzui: i think i'll open that up in my /projectsgroup branch [15:51] yes, but I am not sure we need to do that anymore [15:51] barry no reason that I can think of [15:51] sinzui: agreed. beuno cool [15:57] beuno: why the 0.1% granularity in font sizes in style-3.0.css? [15:58] barry, I don't know, I still need to work on the font sizes :) [15:58] allenap: did you not want to submit the fix in PQM to db-devel instead? [15:59] beuno: adeuring has a good point in a review of my branch: [15:59] >I find the 0.1% "granularity" a bit exaggerated ;) If we assume [15:59] >that the base font size is 20 pixel on some monitor, 0.1% would [15:59] >mean a precision of .02 pixel. I don't think that any anti-aliasing [15:59] danilos: Shite. [15:59] >algorithm will produce different result for font sizes specified [15:59] >as 24.6 and 24.62 pixel. [15:59] [15:59] allenap: it should be rejected (there are, I hope, DB changes in the db-devel you merged :), but you'll need to resubmit [15:59] and I can't trust your [testfix] to land, so I'll need to resubmit as well :) [16:00] danilos: Phew. [16:00] barry, valid point [16:00] mthaddon: perhaps, you can clean up the PQM queue (the testfix should go to db-devel, not devel, and the other one will fail anyway) [16:01] beuno: fwiw, we've got 'stuff to review' up on your translations page :) [16:01] danilos, where!? [16:03] beuno: on edge, try translations.edge.launchpad.net/~beuno [16:03] beuno: the rest of the page is still a mess, but there's one nice looking box with interesting stuff :) [16:03] barry, beuno: consider my comment about the font sizes as, let's say, a nitpick about another nitpick: It really doesn't matter if we specify the font size with that precision or not. Leaving the 0.1% is fine for me, even if I find it a bit odd ;) [16:04] adeuring, I agree with you though [16:05] danilos, nais! [16:05] :) [16:05] danilos, any reason why you picked a 2 column layout? [16:06] beuno: it's not a 2 column layout, we've just used the max-width so it doesn't extend over the entire page... once we get to actual migration of that page, we can think it over :) [16:06] beuno, barry: But it might make sense to move the relative font size into its own CSS class, it if appears not only in barry's two branches but elsewhere too. [16:06] danilos, awesome. Happy to see things from our sprint leaking through [16:07] beuno: yeah, totally === Chex_ is now known as Chex [16:18] leonardr: around? [16:18] intellectronica, yeah [16:19] leonardr: do you remember, by any chance, if we have an easy way of getting the _web_ url of an api object [16:19] leonardr: from javascript [16:20] intellectronica: i believe bac asked that question a few days ago [16:20] and ended up filing a bug for it [16:20] bac, do you recall? [16:20] i think gmb also asked that question a few days ago [16:21] I did. [16:21] if we don't have anything in place, maybe i should do that [16:21] leonardr: you said there was a bug already filed. since my need was not urgent i let it go at that. [16:21] And I got encouraged to fetch the object as XHTML, as I recall ;) [16:21] (Although it made sense in context) [16:22] leonardr, bac: if the solution to the bug is not too difficult i'll pick it up now, since my need is a bit urgent [16:22] beuno: can you confirm that the top-level objects (IPrimaryContext) (pillars, people) will never have breadcrumbs? [16:22] intellectronica: in fact, i believe BjornT was working on a solution, but not really making it a priority [16:22] one thing i was thinking about is simply adding a web_url attribute to each object coming from the webservice [16:22] or at least he was working on a way to turn a web service request into a website request, which is a prerequisite [16:23] leonardr: yes, that's done, but not sufficient [16:23] intellectronica: yes, that's the consensus solution [16:23] leonardr: oright, now if you find the bug feel free to assign it to me [16:24] intellectronica: actually would you call it web_link instead of web_url? [16:24] that fits our naming convention [16:25] or web_self_link if you want to be verbose [16:25] makes sense [16:25] my_web_self_link [16:26] sinzui, yes [16:26] I confirm [16:26] okay [16:28] noodles775: beuno: I think we have a rule to automatically suppress the context heading when the context is IPrimaryContext. This will drop the redundant

headings and may mean no one will every need to pass to the heading-slot...the

in the content with DTRT [16:29] sinzui, it sounds like a good idea [16:29] We need to keep the slot for the templates that are using it, or update every template to not use it [16:29] +1 [16:29] beuno: I am traveling Saturday, but I think I can do this for a Monday landing [16:30] sinzui, perfect [16:30] beuno: noodles775. I am hiding from a beach next week [16:30] ooooh [16:30] that sounds nice [16:30] Florida? [16:30] noodles775: thanks for helping me understand the issue [16:30] sinzui: I hope you're not taking your laptop then? (if you're on holidays!) [16:30] sinzui: np! [16:30] sinzui: i thought you were alergic to the beach :) [16:31] beuno: A North Carolina barrier island. [16:31] I can find the vacation from hell warthogs email to remind everyone why I am hiding [16:31] sinzui: I look forward to another holiday report :D [16:31] * bigjools still has that email [16:32] I did not report that my wife set a box of crustaceans on me last year [16:32] sinzui, maybe you should jusst give up on holidays [16:32] * beuno hides [16:32] I like mountains and hiking [16:33] yeah, me to :) [16:34] s/h/b/ [16:40] Argh. Can we implement bug dependencies for 4.0, please? [16:41] * gmb wonders why he forgot to add that to his "top 3" list. === salgado is now known as salgado-lunch === deryck is now known as deryck[lunch] === abentley1 is now known as abentley === matsubara is now known as matsubara-lunch === gary_poster is now known as gary-lunch [17:09] bigjools: when is the DSP page landing? [17:12] sinzui: when it's finished! :) Seriously, I need a few days yet, prob a week [17:12] okay [17:12] I need to codify that complicated table and re-write all the tests [17:13] I have been removing a lot of tests that were verify the markup structure. === beuno is now known as beuno-lunch [17:34] ALL: I'll be ignoring IRC for the next few hours. If you need me, please SMS or call me. [17:39] Is anyone else finding ec2test to be massively, painfully slow to start up today? [17:39] It's bugging the hell out of me. [17:50] rockstar: congrats on branch->bug linking. when i use it, the spinner appears above the action icon, instead of over it. is that intentional? === deryck[lunch] is now known as deryck [18:03] Okay guys, see you Monday! === matsubara-lunch is now known as matsubara === gary-lunch is now known as gary_poster [18:29] sinzui, what is the role of the facet property on menus? [18:29] beuno-lunch: ping -> #launchpad-reviews when you return [18:30] facet binds the menu to a specific application bugs, or answers for example [18:30] rockstar: it is a dead branch in zope evolution. we should be using ILayer [18:33] sinzui, so my facets should be 'answers' ? I'm seeing things like 'overview' [18:36] I'm just not sure what they do. === beuno-lunch is now known as beuno === abentley1 is now known as abentley === abentley1 is now known as abentley [19:05] rockstar, abentley: Can I assign one of you a question concerning pushing a branch to LP and the user gets 'different rich-root support' errors? [19:05] EdwinGrubbs: Sure. [19:06] abentley: thanks === abentley1 is now known as abentley [20:14] danilos: can I assign you a translations question? === salgado is now known as salgado-brb [21:42] abentley, rockstar: could one of you respond to the email message on launchpad-users with the subject "merge request resubmission"? [21:42] EdwinGrubbs, I'll take care of it. [21:44] rockstar: thanks === salgado-brb is now known as salgado === salgado is now known as salgado-afk === matsubara is now known as matsubara-afk [22:35] have a good weekend! [23:20] matsubara-afk: I am now. [23:36] bac: ping