[12:05] bradb, well, it currently tracebacks, and that's pretty bad
[12:06] kiko: right, i'll file a bug on that. thanks for pointing it out.
[12:06] salgado: i'll file a bug on that too. i believe that param used to be used before the search page was deanorakified somewhat.
[12:07] bradb, no need. I already fixed
[12:07] salgado: awesome! thanks. :)
[12:07] and I'm going to add code that uses it and is tested.
[12:08] great, much appreciated
=== bradb awes at the amount of bugmail dilys is not generating right now. daf! help!
[12:10] bradb, is there any page in malone which shows the bugs I reported?
[12:10] salgado: just the one you created
[12:10] i haven't really looked at that page though
[12:10] (i say "you created" because it's a FOAF link, but maybe someone else created it, dunno)
[12:11] yep, I understood it that way
[12:12] SteveA: pong again
[12:12] bradb: no, she doesn't grok the new bugmail format
[12:13] bradb: http://muse.19inch.net/~daf/arch/daf@muse.19inch.net--2005/dilys--devel--0
[12:13] heh
[12:13] is that your way of saying she'll be broken for a while yet?
[12:14] well, maybe I can fix her tomorrow
[12:14] but don't count on it
[12:14] bradb, tell me, where can I find out all the magical slots in an editform?
[12:14] kiko: which editform?
[12:15] kiko: in a nutshell, look in bugtask.zcml, for each of the "browser:editform" directives there are two attributes you'll probably be interested in:
[12:15] 1. for="..." -- the iface for which this is an edit form
[12:16] hmmm
[12:16] okay, it's in zope
[12:16] 2. fields="... ... ..." the fields of that iface that are available in the form.
=== daf -> bed
[12:17] lifeless: hi. might you have a moment to cherrypick an important patch into prod?
=== kiko hacks!
[12:19] bradb, do you know if the label zcml attribute allows doing ${bug/id}?
[12:19] kiko: i don't believe it does allow dynamic content.
[12:20] kiko: fwiw, i tried changing the titles too. i've already nagged SteveA about that.
[12:20] I've fixed that
[12:20] just use the headings slow
[12:20] it's not too hard
[12:20] slot
=== kiko tries to confuse bradb
[12:20] kiko: how do you i18n that?
[12:20] in the template?
[12:21] kiko: and will maintainers expect that? i expect pagetitles.py.
[12:21] oh
[12:21] not titles, I'm talking headers
[12:21] sorry
[12:21] oh, ok, gotcha
[12:22] mpt: how difficult is it to sort a table when clicking the table header?
[12:22] sabdfl, what do you mean by "difficult"?
[12:23] kiko: as in, is it something we can easily add to a table?
[12:23] you need to submit a get variable, pick that up, reissue the query, display the results, store the last sort in a variable.
[12:23] oh
[12:23] no, it's possible to do it all in JS
[12:23] you mean client-side sorting
[12:23] yes
[12:23] well, that won't take into account differences between display and storage
[12:23] how does that work with paging?
[12:23] I don't know if that is a showstopper or not
[12:24] i'm thinking of places where we don't use paging
[12:24] like the lists of languages with translation
[12:24] https://launchpad.ubuntu.com/distros/ubuntu/hoary/+lang/ca
[12:25] bradb, christian.reis@canonical.com--lozenge/launchpad--devel--0 is ready for you
[12:25] it fixes about 10 bugs
[12:25] and does some UI fixage with it
[12:25] enjoy
[12:25] add tests please
[12:25] kiko: do all of them need tests?
[12:26] kthxbye
[12:26] ;)
[12:26] nah, just one or two
[12:26] heh, ok
[12:26] you'll see the code changes
[12:26] they are the ones that need testing
[12:27] kiko-afk: ok if i look at it tomorrow then?
[12:27] sabdfl, it's some tricky JS to sort, but there may be some ready-made stuff we can just plug it in
[12:27] bradb, of course
=== asgeirf [~asgeirf@nat-pool-brisbane.redhat.com] has joined #launchpad
[12:27] kiko-afk: thanks
[12:33] lifeless: when will the day come that i'm going to be able to ask baz to tell me all of my branches which have patches missing from rf, and which patches those are? i'm currently actively working on six different branches, and have occassionally found myself simply losing track (before i was forced into tracking this info in a text file.)
[12:34] (er, make that seven; i'm branching again to do a sampledata change on the sixth branch i'm working on)
[01:07] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fix BugTaskSet.search() (just one argument that was not consistent with the column name it should be matched) and add code that uses the fixed part to make sure it's tested. (patch-2088: guilherme.salgado@canonical.com)
[01:39] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] fix presentation details for coc pages, pagetest added. (patch-2089: celso.providelo@canonical.com)
=== zer [~hor@p5480A425.dip0.t-ipconnect.de] has left #launchpad []
[01:44] sabdfl, http://www.kryogenix.org/code/browser/sorttable/
[01:46] thanks!
[01:47] that's a quite nice implementation we could borrow
[01:48] very
=== kiko-afk tries to integrate
[01:52] hah
[01:52] sabdfl, it works already :-)
[01:52] man that was pretty easy
[01:52] @@ -5,6 +5,10 @@
[01:52]
[01:52]
[01:52]
[01:52] +
[01:53] +
[01:53] +
[01:53] +
[01:53]
[01:53]
[01:53]
[01:53] @@ -22,7 +26,7 @@
[01:53] Select a template name to begin translating immediately!
[01:53]
[01:53]
[01:53] -
[01:53] +
[01:53]
[01:53] Source |
[01:53] Template Name |
=== kiko-afk floods with joy
=== terrex [~terrex@84-122-80-126.onocable.ono.com] has joined #launchpad
[01:53] sabdfl, r=sabdfl? :-)
[01:53] wait
[01:54] Did you hack sorttable.js to look for translationstatuses?
[01:54] ;)
[01:54] nope
[01:54] no hacking involved
[01:54] It looks for any table with an id?
[01:54] I'll post the diff and file to launchpad-list
[01:54] I think so
[01:54] you be the judge in 2m
[01:54] What's the license?
[01:54] MIT
[01:55] right
[01:55] ah, cool, we can use it while still being non-Free, and relicense it however
[01:56] night guys
[01:56] kiko-afk: So you should have class="listing sortable", right?
[01:57] mail sent
[01:57] oh, I didn't change the class -- it still works :)
[01:59] wow
[01:59] it actually /does/ support dates
[02:02] mpt, send me your passport number
[02:02] NOW
[02:23] muwahahaha
[02:28] that sorting won't work for any list of more than 20 bugs
[03:30] mpt: were you working on Facet code for any of the other LP objects than IProduct?
[03:30] jamesh: no
[03:30] okay.
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has left #launchpad []
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
[03:46] oh, the sorting doesn't need to work for bugs, duh
[03:50] stub: ping?
[03:52] jamesh: pong
[03:54] stub: with one of the branches I've got in review at the moment, the issue of the Person.timezone default value came up
[03:54] stub: would setting the default for that column to the string 'UTC' be a problem, or would you prefer to have it NULL when it hasn't been explicitly set?
[03:55] I have no preference one way or the other. Do whatever makes the code most readable.
[03:55] okay. That'd be to set the column to 'UTC' then.
[04:54] so "baz build-config" has a --update flag now
[04:54] should make using configs less painful
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
[06:19] Merge to rocketfuel@canonical.com/launchpad--devel--0: Remove obsolete code from the librarian, expand zopeless transaction tests a little, remove redundant begin from Librarian test tearDown. r=SteveA. (patch-2090: andrew.bennetts@canonical.com)
[06:45] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] fix product links in portal when used on product page (patch-2091: james.henstridge@canonical.com)
[07:10] Merge to rocketfuel@canonical.com/launchpad--production--1.25: Cherry pick patch-2074 into production (patch-2: celso.providelo@canonical.com, rocketfuel@canonical.com)
=== mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad
=== mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad
[08:35] lifeless: pqm has hung
[08:53] hi stub
[08:54] what's the ETA for turning on the email interface?
[08:58] Launchpad needs an update before we can do that, hopefully I can get onto it today after I finished this review.
[08:58] cool, thanks
[08:58] BjornT: There is no way to configure it at the moment without manually hacking script.zcml, because scripts don't process .zcml overrides
[09:03] mpt: I was working on some facet menus for people and projects, and had a question.
[09:04] mpt: there currently isn't a URL for "bugs associated with this project", so do you think the link should be disabled, or point at "/malone", or not appear?
[09:05] stub: well, can't you put it in package-includes? it's nothing that gets overridden
[09:05] jamesh: Ideally disabled, but I don't think the menus system supports that at the moment
[09:05] jamesh: So point it to /malone, and report a bug that /projects/whatever/+bugs should exist
[09:05] mpt: it was about 5 lines to add support for disabled facet menu links
[09:05] cool
[09:05] mpt: I've got it disabled in my branch currently.
[09:06] So it appears as plain text, not linked, right?
[09:06] yeah
[09:07] same colour as the other non-highlighted links but no underline
[09:07] it'd be trivial to set the colour different, of course.
[09:07] ok, I might twiddle that style later
[09:07] BjornT: I guess, but it will be blown away each rollout.
[09:07] stub: oh, ok
[09:10] spiv: ping
[09:11] BjornT: pong
[09:11] hi
[09:11] hi all
[09:12] jamesh: how did you add disabled facet menu links? i'm doing some work on that at the moment.
[09:12] spiv: i have some problems with sqlobject. i'd like to select distinct bugtasks, while ordering them on some external table column like Bug.id. but it doesn't work since Bug.id isn't in the SELECT list.
[09:13] SteveA: just added a "linked" argument to the Link() constructor, and edited the page template to not generate an tage for items with linked=False
[09:13] jamesh: i am introducing an explicit default state for the linked and selected properties, so that the menus system can know if a link is explicitly linked or unlinked, or just not yet set up
[09:13] jamesh: setting linked to False in the link constructor works kind of by accident :-)
[09:13] BjornT: Hmm.
[09:14] i want to make it work on purpose
[09:14] spiv: it works if i don't set distinct=True
[09:14] i have an addition to facet menus that makes it easy to include menus from higher-up facet menus
[09:14] jamesh, mpt: do you think we need a 'disabled' property in links?
[09:15] at the moment, with james' addition, the linked property is used in two cases
[09:15] SteveA: Since most things won't have their own calendars, yes.
[09:15] 1. when you're on the same page as a menu link would link to
[09:15] 2. when the thing the link points to is unavailable
[09:15] would you want to visually distinguish between these?
[09:16] SteveA: my code is at james.henstridge@canonical.com--2004/launchpad--facets--0
[09:16] thanks james
[09:16] SteveA: it also adds a calendar facet
[09:16] cool
[09:16] BjornT: I think I know how to fix this.
[09:16] SteveA: Definitely. Otherwise on a few pages it would appear as if there were two active facets.
[09:16] do you want me to put it up for review, or do you want to handle this?
[09:17] spiv: cool. how? :)
[09:17] jamesh: add it to my review queue. i'll either merge it as is, or merge it into my menus branch.
[09:17] okay
[09:17] BjornT: by explicitly distincting on only columns from the relevant table.
[09:18] spiv: did you make sqlobject make transactions obsolete on commit now?
[09:18] BjornT: Or rather, by explicitly doing DISTINCT ON (Foo.id) rather than just DISTINCT.
[09:18] SteveA: It's just been submitted to pqm.
[09:19] mpt: not so... one would be selected and unlinked, the other would be unselected and unlinked.
[09:19] mpt: but, maybe you want to make it more specific
[09:19] um, explicit
[09:19] o i c
[09:19] spiv: cool. once that's in, i'll try removing some of my sqlos hacks.
[09:20] SteveA: All other things being equal, I'd prefer whatever approach didn't produce ambiguous combinations of properties
[09:21] mpt: fair enough. i'll think about this a bit.
[09:21] mpt: can you give names to the different kinds of links we have?
[09:22] then, i could make an API specifically for displaying them
[09:22] for example
[09:22] - disabled links
[09:22] - current link (which might be linked or unlinked, depending on the current page)
[09:22] - available non-current link
[09:23] in fact, those may be the only three you care about
[09:23] that's pretty much it
[09:23] on my branch those are represented as (1) selected=False, linked=False, (2) selected=True and linked=True or False, (3) selected=False, linked=True
[09:24] right
[09:24] BjornT: Hmm, actually, I think I need to fix it differently. Anyway, I'll work on it :)
[09:24] so, we can just add a wrapper around an ILink before it gets to the page template
[09:25] that processes these combinations of properties into something convenient for the template to use
[09:25] for example: tal:condition="link/type-is/disabled"
[09:25] tal:condition="link/type/is-disabled" maybe
[09:26] something like this would make the page template sections to display links very easy to read and write
[09:26] spiv: really? it seemed to work with having all order-by columns and all select columns in a distint on(...).
[09:26] spiv: thanks for doing it, let me know how it goes :)
[09:27] BjornT: Oh, good. I'm still fiddling with making a proper sqlobject test case for it, once I have that I can stop guessing ;)
=== bradb-afk [~bradb@modemcable082.64-130-66.mc.videotron.ca] has joined #launchpad
=== stu1 [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
[09:48] SteveA: i've removed the database imports, that you told me to fix yesterday. do you want to take a quick look at it?
[09:48] sure, be glad to
[09:52] BjornT: Actually, I'm confused.
[09:52] BjornT: If you want to order bugtasks by Bug.id, isn't that the same as ordering them by BugTask.bug?
[09:53] spiv: ok, bad example :) let's say that i want to order by SourcePackageName.name instead
[09:54] Ok, that's less crazy ;)
[09:55] SteveA: ok, sent you the diff by mail
[09:57] BjornT: I wonder about the bugtaskdelta
[09:57] what if it worked like this:
[09:57] delta = IDelta(some_bug_task)
[09:57] delta.setDifference(... various kw args)
[09:57] just an idea, don't know if it is better or not
[09:59] is there any test for BugDelta and BugTaskDelta?
[09:59] it would be good to have a test that just imports the classes, and instantiates them, as a minimum
[09:59] other than these comments, it looks good
[10:03] SteveA: there are some tests in bugnotification-email.txt. your suggestion is an improvment, but it's not something i want to spend time on doing right now.
[10:04] okay. will you file a bug for doing it?
=== lifeless [~robertc@dsl-211.17.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad
[10:17] SteveA: ok, i'll file a bug about it
[10:48] BjornT: andrew.bennetts@canonical.com/sqlobject--distinct-orderby-other-fix--0 should fix distinct for your case. Want to try it out?
[10:49] spiv: thanks. sure, i'll try it out
=== rob^ [~rob@rob-ubuntu.student.supporter.pdpc] has joined #launchpad
[10:53] hi, I have forgoten my password for the Ubuntu wiki, attempting to recover it asks me to use Launchpad to do so, however it doesn't change the wiki password only Launchpads
[10:53] any ideas on what I'm doing wrong?
[10:55] rob^: The ubuntu wiki uses the launchpad user database.
[10:55] yes thats what I thought
[10:56] rob^: So you should be able to use your launchpad login and password.
[10:57] ok that works, but why did I sign up with a different username initially?
[10:58] and its linked the accounts?
[11:02] When the Ubuntu wiki was originally using Moin, it had its own user database and wasn't linked to anything. We moved the content over to zwiki on www.ubuntu.com, which used launchpad logins, and more recently we moved the content back to moin, but still using the launchpad user database... so unless you signed up to edit the wiki before the original move to zwiki, the username shouldn't have changed.
[11:04] maybe
[11:04] Well, bugs do happen :)
[11:04] yeah :)
[11:08] thanks
=== rob^ [~rob@rob-ubuntu.student.supporter.pdpc] has left #launchpad ["Leaving"]
[11:09] SteveA/sabdfl: To what sort of places will the Rosetta 1.0 announcement be distributed?
[11:10] mpt: as widely as possible
[11:10] hopefully /.
[11:10] ok
[11:10] various blogs, i expect
[11:10] I'll put in a paragraph about what Rosetta actually is, then ;-)
[11:11] mpt: guuuuurd thinkin'!
[11:13] When is the launchpad.ubuntu.com --> launchpad.net switchover scheduled?
=== spiv [~andrew@fuchsia.puzzling.org] has joined #launchpad
[11:32] spiv: your fix almost work. please add a test where you're ordering descending, and make it pass as well
[11:32] Ah, good point :)
[11:36] mpt: As soon as I can get some elmo time.
[11:36] ok
[11:37] because if Rosetta 1.0 is released and everything's still pointing at launchpad.ubuntu.com, that could be a lot of Googlejuice down the drain
[11:39] Indeed - we should not make announcements until it is sorted
[11:47] mpt, you going to fix that cert issue as well?
[11:50] Which one? I don't think there is a single valid certificate on *any* of our systems ;)
[11:51] Its been on the todo list for ages - hopefully we get a real one now we have a final domain.
[11:52] yes, that one
[11:55] could file a bug in malone to get an Ubuntu CA cert added to the mozilla-firefox package
[11:55] that'd fix it
[11:55] that is a hack
[11:56] and non-ubuntu people are going to be using rosetta
[11:56] as opposed to all the other CA certs preloaded in Firefox?
[11:58] hmm
[11:58] but the 2nd point still stands
[12:08] jamesh: and then, you'd mark it as a security vulnerability so that it gets to existing browsers as a security update ;-)
[12:08] i don't think that'll fly with the distro folks
[12:09] It's not like it's that expensive for a certificate
[12:10] Pepperfish buy theirs in 2 year chunks for 89 US$
[12:10] Before anyone submits a bug, clear it with Mark. He might be restricted from reentering the certificate market (and this might be considered just that)
[12:11] We already are supposed to have real certificates - approved and everything. Just it never actually happened.
[12:23] Burgundavia: A couple of years ago I reported a bug that Mozilla should be shipped with no CA certs by default :-)
[12:24] what was the answer to that?
[12:24] I was wrong
[12:24] As long as SSL works the way it does, you have to trust your browser vendor to trust CAs to trust organizations
[12:25] It's very awkward and not very trust-*worthy*, but nuking the list wouldn't fix anything
[12:26] (or rather, you have to (1) trust your browser vendor to (2) trust CAs to (3) trust organizations to (4) trust the competence+honesty of their Webmasters)
[12:37] if verisign is still giving certs like they did 4-5 years ago, anybody can get a cert for about every domain name...
[12:38] so I don't trust certs except for self-signed certs that I can check with the site author :-P
[12:38] Right, and Verisign is in the default CA list for major browsers, which prompted my bug report
=== terrex [~terrex@84-122-82-59.onocable.ono.com] has joined #launchpad
=== terrex [~terrex@84-122-82-59.onocable.ono.com] has joined #launchpad
=== ddaa [~ddaa@ordo.xlii.org] has joined #launchpad
=== cprov [~cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
[01:15] morning guys
[01:15] Hi cprov
[01:16] hi there
[01:19] spiv: http://librarian.ubuntu.com is supposed to be the librarian, isn't it?
[01:19] iirc, yes.
=== stub sighs
[01:22] stub: didn't you cherry pick the RF-2089, fix for CoC pages, into production ?
[01:22] cprov: I did
[01:23] cprov: it is second in the pqm queue
[01:23] I rolled out a branch instead of the rocketfuel one because pqm is blocked
[01:23] stub: jamesh : ohh ok ... thank you for instance
[01:24] cprov: ssh into chinstrap and run "lynx http://localhost:8000"
=== cprov is anxious
[01:26] spiv: Don't worry. User error.
[01:27] jamesh: absolutely cool ... also including some missed "-----BEGIN PGP SIGNED MESSAGE-----", which produce fun anyway ;) external access restricted to pass or certificates ETA ?
[01:28] cprov: I think that's just the head of the message sent to PQM (which is a just a PGP blob). lifeless would know.
[01:29] BjornT: email gateway is cronned up and running. It produced no output when I ran it, which I suspect means it is either working correctly or very broken.
[01:29] cprov: thanks :)
[01:29] Do we not get dilys reporting baz bugs here any more?
[01:30] cprov: yes, thats the first line of the saved message, I have not (yet) made the lines() method determine gpg wrapping vs commands.
[01:30] stub: pqm is unblocked
[01:30] lifeless: You can kill that current pqm job to speed things up - a later merge will take it
[01:30] stub: ok
[01:30] jamesh: yeah, it doesn't hurt and it is the only effort I can see to have RT PQM feedback
=== cprov congrats lifeless
[01:31] if anyone wants to hack on the twisted ui, its just arch_pqm/ui/twisted.py
[01:31] still in the review queue IIRC ;0
[01:31] stub: it should mean that it works. i'll try it out
[01:33] lifeless: I'll look but I can't garantee any it'll be fast, If you don't mind ...
[01:33] BjornT: It is running every three minutes
[01:34] cprov: ;)
[01:34] cprov: it was a quick hack I could do that wasn't reinventing the wheel nor spamming everyone.
[01:35] cprov: I'm going to put it up on pqm.ubuntu.com when I finally track elmo down.
[01:36] lifeless: fantastic, It has been my dream since the very begining, pqm will rock soon.
[01:37] yay
[01:37] probably the biggest thing would be a patch to the main script to timeout and reap all its children with increasing severity after X minutes with no output
=== terrex [~terrex@84-122-82-59.onocable.ono.com] has joined #launchpad
[01:40] stub: Can you see what's up with the pg backups on mawson, it's all stuck solid right now
[01:40] lifeless: althrough it's not as selective as we expected, but I suspect it solves most of pqm human interation needs
[01:42] Anyone here know what I need to put in my .vimrc to make it break hardlinks by default?
[01:45] set backupcopy=breakhardlink,auto
[01:45] and 'vi foo.c' will use .vimrc, it's not mad or anything?
[01:47] Kinnison: Bounced it all
[01:48] stub: thanks
[01:48] cprov: did that fix it?
[01:48] Kinnison: I believe so, but my fingers are trained to always type "vim" :)
[01:49] spiv: *grin*
=== Kinnison 's fingers normally go to the emacs desktop and use that, but I was doing a bunch of one line fixes
=== Kinnison submits a merge of some trivial packaging fixes and goes to lunch
[01:50] Kinnison: stub: mawson pg* are fixed ? what did go wrong ?
[01:51] Kinnison: fl-cow
[01:51] Kinnison: please.
[01:51] Dunno. I just bounced it. mawson has locked before with no logs or hints, but I havn't seen it happen elsewhere and am not particularly bothered.
[01:51] Kinnison: as various $tools are NOT LINKSAFE
[01:51] Kinnison: link, for instance, AUTOCONF.
[01:52] lifeless: like bicyclerepair? ;)
[01:52] spiv: dunno, probably not.
[01:52] spiv: file a bug ;-0
[01:52]