[12:06] New Malone bug 1358 filed on product Malone by Matthew Paul Thomas: Sort order should be indicated in Malone results [12:06] https://launchpad.ubuntu.com/malone/bugs/1358 [12:29] New Malone bug 1359 filed on product Malone by Matthew Paul Thomas: Don't display unmodified bug description as a comment [12:29] https://launchpad.ubuntu.com/malone/bugs/1359 === jbailey [~jbailey@modemcable134.23-201-24.mc.videotron.ca] has joined #launchpad [12:50] mpt: ping [12:50] jbailey: pong [12:51] mpt: Are you interested in my answers to the some of the questions you posed (as to what I was thinking, etc.) or is it better that I stay out of it and not think about it so that brad can use me as a test case again in a month when I've generally forgotten what I saw? [12:51] heh [12:51] um [12:52] Well, if you don't have to use Malone yet, my guess would be that you're more valuable as a test subject by leaving it alone [12:52] and not thinking about it [12:54] And I don't until main gets converted over. [12:54] I'll avoid reading Bjorn's message then. Feel free to poke me with things if you need. [12:55] FWIW, I can give you access to Canonical's RT system. === comadreja [~comadreja@comadreja.active.supporter.pdpc] has joined #launchpad [02:06] howdy all [02:06] I'm missing the version number in the bug reporting tool [02:06] I mean to be able to state the version of the package that is being reported as buggy === Burgundavia [~corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad === daf [daf@muse.19inch.net] has joined #launchpad === sivang [~sivang@box79162.elkhouse.de] has joined #launchpad === lamont [~lamont@mix.mmjgroup.com] has joined #launchpad === jblack [jblack@209.158.45.74] has joined #launchpad === superted [~superted@213.167.101.222] has joined #launchpad === Kinnison [~dsilvers@haddenham.pepperfish.net] has joined #launchpad === Burgundavia [~corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad === daf [daf@muse.19inch.net] has joined #launchpad === sivang [~sivang@box79162.elkhouse.de] has joined #launchpad === lamont [~lamont@mix.mmjgroup.com] has joined #launchpad === jblack [jblack@209.158.45.74] has joined #launchpad === superted [~superted@213.167.101.222] has joined #launchpad === Kinnison [~dsilvers@haddenham.pepperfish.net] has joined #launchpad === Burgundavia [~corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad === daf [daf@muse.19inch.net] has joined #launchpad === sivang [~sivang@box79162.elkhouse.de] has joined #launchpad === lamont [~lamont@mix.mmjgroup.com] has joined #launchpad === jblack [jblack@209.158.45.74] has joined #launchpad === superted [~superted@213.167.101.222] has joined #launchpad === Kinnison [~dsilvers@haddenham.pepperfish.net] has joined #launchpad === comadreja [~comadreja@80.224.108.186] has joined #launchpad === asgeirf [~asgeirf@203-206-229-169.dyn.iinet.net.au] has joined #launchpad === stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad [07:41] New Malone bug 1365 filed on product Malone by Matthew Paul Thomas: Priority should default to a null value [07:41] https://launchpad.ubuntu.com/malone/bugs/1365 [07:49] mpt: I added a few bug linkifying examples to https://wiki.launchpad.canonical.com/DisplayingParagraphsOfText [07:51] jamesh: ah, I wasn't expecting bug links to be part of the same algorithm [07:51] but to be Malone-specific [07:51] mpt: I think it needs to be done in one pass [07:51] mpt: considering "http://example.com/bug#123" vs. "bug#123" [07:51] one being a URL, the other being a bug link [07:51] Well, for example, if release notes for some Gnome app say "fix bug 27847", they're talking about bugzilla.gnome.org, not Malone. [07:52] Same for KDE and Mozilla and most other upstreams. [07:52] mpt: okay. The bug tracker I used in the examples is secondary -- I was mainly trying to think of corner cases for the text processing [07:53] mpt: feel free to modify the examples as you see fit. [07:54] They all look reasonable to me, jamesh [07:54] Perhaps we just need a flag saying "do bug linkifying as well" [07:54] that can be on for Malone use, and off everywhere else [07:54] thanks for the examples. [07:59] heh, Breezy has *2* bugs in Malone [08:08] mpt: for the calendar code, do you think that the links between day, week, month and year views should be using the LaunchpadMenus code? [08:08] yes [08:09] ApplicationMenu [08:09] cool. I'll look at doing that [08:09] thanks [08:23] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Index required by Gina (patch-2071: stuart.bishop@canonical.com) === superted [~superted@213.167.101.222] has joined #launchpad === jblack [jblack@static-209-158-45-74.scr.east.verizon.net] has joined #launchpad === daf [daf@muse.19inch.net] has joined #launchpad === ChanServ [ChanServ@services.] has joined #launchpad === lifeless [~robertc@dsl-211.17.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad === BjornT [10183@82-135-221-189.ip.takas.lt] has joined #launchpad === Burgundavia [~corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad === lamont [~lamont@mix.mmjgroup.com] has joined #launchpad === Kinnison [~dsilvers@haddenham.pepperfish.net] has joined #launchpad === superted [~superted@213.167.101.222] has joined #launchpad === jblack [jblack@209.158.45.74] has joined #launchpad === sivang [~sivang@box79162.elkhouse.de] has joined #launchpad === Keybuk_ [~scott@amnesiac.heapspace.net] has joined #launchpad === sivang_ [~sivang@box79162.elkhouse.de] has joined #launchpad === mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad === JanC [~janc@JanC.member.lugwv] has joined #launchpad === jblack_ [jblack@static-209-158-45-74.scr.east.verizon.net] has joined #launchpad === Nafallo [nafallo@c-459571d5.07-44-73746f50.cust.bredbandsbolaget.se] has joined #launchpad === bob2 [~rob@crumbs.ertius.org] has joined #launchpad === comadreja [~comadreja@comadreja.active.supporter.pdpc] has joined #launchpad === jordi [~jordi@115.Red-213-96-69.pooles.rima-tde.net] has joined #launchpad === SteveA [~steve@adsl-213-190-44-43.takas.lt] has joined #launchpad === zyga [~zyga@2-mi2-1.acn.waw.pl] has joined #launchpad === bradb-afk [~bradb@modemcable082.64-130-66.mc.videotron.ca] has joined #launchpad === dand [~dand@83.103.205.136] has joined #launchpad === morgs|away [~morgan@wblv-146-236-76.telkomadsl.co.za] has joined #launchpad === asmodai [~asmodai@sakko.demon.nl] has joined #launchpad === jamesh [~james@203-59-251-126.dyn.iinet.net.au] has joined #launchpad === superted_ [~superted@213.167.101.222] has joined #launchpad === asmodai_ [~asmodai@sakko.demon.nl] has joined #Launchpad === kiko-afk [~kiko@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === Keybuk [~scott@amnesiac.heapspace.net] has joined #launchpad === stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad === jblack [jblack@static-209-158-45-74.scr.east.verizon.net] has joined #launchpad === sivang [~sivang@box79162.elkhouse.de] has joined #launchpad === asmodai_ is now known as asmodai === Nafallo [nafallo@c-459571d5.07-44-73746f50.cust.bredbandsbolaget.se] has joined #launchpad === daf [daf@muse.19inch.net] has joined #launchpad === lifeless [~robertc@dsl-211.17.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad === SteveA [~steve@adsl-213-190-44-43.takas.lt] has joined #launchpad === comadreja [~comadreja@comadreja.active.supporter.pdpc] has joined #launchpad === BjornT [10183@82-135-221-189.ip.takas.lt] has joined #launchpad === Burgundavia [~corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad === Kinnison [~dsilvers@haddenham.pepperfish.net] has joined #launchpad === JanC [~janc@JanC.member.lugwv] has joined #launchpad === lamont [~lamont@mix.mmjgroup.com] has joined #launchpad === mpt [~mpt@203.167.186.120] has joined #launchpad === Burgundavia [~corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad === BjornT_ [10183@82-135-221-189.ip.takas.lt] has joined #launchpad === jordi [~jordi@115.Red-213-96-69.pooles.rima-tde.net] has joined #launchpad === elmo [~james@a130-233-4-133.debconf5.hut.fi] has joined #launchpad === dilys [daf@muse.19inch.net] has joined #launchpad [09:54] mpt: hi. launchpad--decruftify-b--1 has conflicts. if you resolve them, I'll review it today. [09:55] ok, thanks BjornT === carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad [09:55] morning [10:01] morning carlos [10:10] stub, could you kill all poimport scripts? [10:10] stub, I'm fixing that problem already, but seems like we will need to kill the script once/day until breezy is imported or the process will be stalled [10:13] carlos: Done [10:15] stub, thank you === carlos -> breakfast [10:16] carlos: can we cron the kill ? [10:18] stub: I've another RF patch for cherrypicking for the rollout, if that's OK... patch-2059 is a bugfix for the RDF exporting, to make the output actually RDF compliant and Edd Dumbill less sad. Not critical, but it's not a big patch IMHO and it would be nice to get into production :-) [10:18] stub: This is besides patch 2050 which fixes the lack of links to product releases from the product and product series pages... [10:19] morgs: I couldn't cherry pick that patch (2050). Neither sounds critical enough to rollout today instead of tomorrow. [10:20] stub: I'd just like these things to go live before next Tuesday... What patch is going up to production? [10:20] morgs: Don't know yet, but I'll make sure those two go in. [10:21] stub: thanks, that's fine. Just wanted to make sure it wasn't the exact patch as of the Thursday meeting... [10:21] pqm issues made that problematic [10:25] lifeless, hmmm, perhaps, as the process will restart the import next time it's executed, we could kill it at anytime we want, until breezy import is done in one or two days [10:26] jamesh: so did you do the equivalent of get ...366, diff rocketfuel ? [10:26] It seems like months since a rollout [10:26] DeprecationWarning) [10:27] /scratch/dists/launchpad/lib/canonical/launchpad/database/product.py:222: DeprecationWarning: Product.potemplates is obsolete, should be on ProductRelease [10:27] DeprecationWarning) [10:27] lifeless: I used the commands at the bottom of https://wiki.launchpad.canonical.com/TipsForReviewers (which I think is the right way to get the diffs in this case) [10:27] morgs: can you fix that? [10:27] lifeless: i.e. diff "rocketfuel with the old rev merged" and "rocketfuel with the new rev merged" [10:28] SteveA: I'll take a look... [10:28] jamesh: uhm [10:29] jamesh: yes, that should give reasonable results, modulo merges from third party branches [10:30] lifeless: is there a better way to perform that operation then? [10:30] in which case, yes you picked bad patches. [10:30] as the only patches that needed reviewing as new were 364,365,366 [10:31] I don't really mind -code quality is code quality - but it was surprising :[ [10:32] lifeless: if I create two rocketfuel trees of the same patch level, and merge your branch at one patch level into one, and your branch at another patch level into the other [10:32] the difference between those two trees should be the changes on your branch minus rocketfuel merges, right? [10:33] it would only have third party merges if they were in your branch, I think [10:33] lets unmultiplex this [10:34] I was complaining cause you reviewed 350-366, when you'd already done 350-363, and got different review feedback [10:34] okay. I picked the wrong revisions. [10:35] actually, you' [10:36] d probably done 350-362 or something, as there was a rf merge or so in there. [10:36] but anyhoo. [10:36] I'm not stressed - but it was surprising and somewhat confusing. [10:36] I'm acting on the review now. [10:37] with regards the baz gymnastics ... [10:37] grabbing branch A twice, merging FROM to one copy and TO to another copy has the effect of cancelling out branch A's changes to FROM and TO [10:38] but that assumes a clean triangle. [10:38] if for example I imported a branch from ddaa which was being separately reviewed, you'd see that in the diff [10:38] yes [10:39] thats what I meant by third party branch. [10:40] that happened when I was reviewing Mark's debbugs branch (which included some stuff he'd passed off to Scott) [10:40] interestingly, we could import the code into a weave and generate a synthetic my-branch-only list of changes. [10:40] but thats Future. [10:40] of course, it does tell me what would be going into rocketfuel if the branch was merged [10:40] which is one of the things I want to know when reviewing something [10:41] right [10:41] theres a balance there. [10:42] w.r.t. performance, it might be faster to do delta rf<->rf, delta branch<->branch, and interdiff [10:42] then you'd have no merges at alll [10:43] baz delta --diffs first second > branch-to-merge.diff would also shave a second or two off [10:44] I didn't notice that function. [10:45] oh [10:45] you can cp -al first second [10:45] that will be much faster [10:46] try this [10:46] baz get rocketfuel@canonical.com/launchpad--devel--0 first [10:46] baz merge -d first --star-merge branch-to-merge--patch-XXX [10:46] woohoo, botched invariant again [10:46] cp -al first second [10:47] baz merge -d second --star-merge branch-to-merge [10:47] baz delta --diffs first second > branch-to-merge.diff [10:48] so that'll give the minimum number of files with different inode numbers between the two trees? [10:48] and speed up the diff [10:48] -al makes a hardlink of the two [10:48] yeah [10:48] the diff won't be optimised at all with changeset [10:48] it may with delta, but what you really need is baz 1.5's tree format that I'm hacking on at the moment [10:49] it will optimise === terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad [10:51] oh, with -al it will skip diffing all the linked-but-not-mutated files [10:51] so it should be quite a lot faster really. [10:51] give it a try ;0 [10:51] :89 [10:51] that's what I was getting at [10:52] yah. === lifeless zombies [10:52] doing the copy after the first merge would reduce the amount of comparisons over doing the copy before either merge [10:52] right, that was one of the reasons I suggested that. It also reduces the size of the merge to do [10:52] and gives a pristine tree of the relevant revision to use as the merge bases [10:53] this if block : [10:53] return (len(lines) < 4 [10:53] or not lines[2] .startswith('---') [10:53] or not lines[3] .startswith('+++')) [10:53] when I write it with a not, it becomes less clear to me [10:54] can you articulate why you think its more readable inversed ? [10:54] I saw it as "a valid diff is at least 4 lines long, the 3rd line starting with '---' and the 4th line starting with '+++'" [10:54] so you want o return the opposite of that [10:55] so I see it as 'an invalid diff has less than 4 lines, or does not have a 3rd line beginning with '---' .... [10:56] when I have to invert the whole thing, it doesn't make as much sense. I could invert it, remove the leading not, invert the function to isValidPatch, and then use not isValidPath [10:56] w [10:56] feel free to leave it as is then. [10:56] k === morgs gets a botched invariant too [10:56] --star-merge worked though [10:57] it is much easier for me to think about things that include something in a set, rather than things that exlude something from a set. [10:57] use --star-merge, I think there is something buggered in HEAD right now === morgs reaches for the --star-merges === carlos -> out [10:57] what i mean is, in jamesh's wording, i can think about it as "i'm examining a diff. does it fit? let's see... four line long. check. third line starts with ---, check. etc." [10:58] in lifeless's wording , i'm saying "is this diff invalid? does it have less then four lines. no. otherwise, does it have the third line begining... " [10:58] SteveA: right. the thing I don't like about inverting the if block in-line is that it becomes a double negatic [10:58] better to invert, remove the not, invert the function name instead. [10:58] rather than building up the predicates using "and" and building on the state you have built up before, you need to start again for each part of the "or" [10:59] yes [10:59] your wording fits better with me if i remove my python hat and put on a functional hat [11:00] mmm [11:00] I think isNullPatch (asis), or isValidPatch (inverted with leading not removed) are equivalent. [11:01] isNullPatch (inverted) feels wrong and ugly. === SteveA proceeds to remove most of the warnings from when you run the launchpad test suite [11:07] jamesh: so, for my sins, I've committed a fix to that, but there are now other commits (separately in the review queue)... can I impose on you to be the review for them, for simplicity ? [11:07] Application error. Unauthenticated user POSTing to page that requires authentication. [11:07] SteveA: should we present a login page ^^ then, and when logged in, re-POST the contents? [11:07] lifeless: sure. which revs should I be looking at? :) [11:07] Kinnison: yes, that bug's reported [11:08] mpt: okay thanks === Kinnison growls and hopes that if he presses "back" his long and complex bug comment will be retained [11:08] jamesh: well, reviews page lists the specific revs for other things === morgs wonders who Richard Braine is, inventor of crackful dhtml in the series +source page... [11:08] Kinnison: yes, kind of, there's a bug on this. we'll design it in brazil. [11:08] jamesh: and 364 -> 371 are the ones you have not reviewed to date [11:08] SteveA: okay ta [11:08] lifeless: thanks [11:08] Kinnison: right now, if launchpad presents you with an opportunity to get that page, there is a bug in the page that led you there. === Kinnison kicks firefox and types a shorter bug message in and hits submit [11:09] morgs: Friend of sabdfl's, party photographer and purveyor of completely-JavaScript-dependent Web sites [11:09] mpt: Ah, purveyor of bits of launchpad.js... === morgs goes out for a while... === elmo [~james@a130-233-4-133.debconf5.hut.fi] has joined #launchpad === guim [~glederer@193.190.183.237] has joined #launchpad [11:26] Hi [11:29] arg [11:29] BjornT: why do /malone/assigned and /people/whoever/+assignedbugs both exist? [11:32] mpt: the first is probably the older. [11:32] Well the first has undergone major changes recently [11:34] mpt: good question. personally i'd like to see them merged so that only the latter would exist. should talk to bradb-afk and salgado about it. [11:40] BjornT: browser/person.py, line 200 ish [11:40] def assignedBugsToShow(self): [11:40] """Return True if there's any bug assigned to this person that match [11:40] the criteria of mostImportantBugTasks() or mostRecentBugTasks().""" [11:40] return bool(self.mostImportantBugTasks() or self.mostRecentBugTasks()) [11:40] [11:40] one or both of those queries lacks an orderby [11:41] so, when bool is used on them, we get a warning about unpredictable order [11:41] New Malone bug 1367 filed on product Malone by Matthew Paul Thomas: Merge /malone/assigned and /people/whoever/+assignedbugs [11:41] https://launchpad.ubuntu.com/malone/bugs/1367 [11:46] hi all [11:47] I have a problem that maybe someone can help here [11:47] I tried to subsrcibe to the edubuntu wiki, [11:48] then I had to creat a launchpad account (so far, this is at least what I understood) [11:48] but it seems like the wiki do not recognize the login/pwd it gave me [11:49] anyone to tell me what I did wrong? [11:50] login/pwd works on the launchpad page [11:50] hmm [11:50] SteveA: does anyone other than spiv grok that foo ? [11:52] SteveA: ok, both lack an order by. i'll take a look at it to see if i can make it use the search interface or something, since there's some code duplication. if not, i'll make the same fix i made to the search method. [11:53] BjornT: okay. i'm on a crusade to get rid of warnings when we run tests. [11:53] cool [11:53] guim: I'm sorry, I can't help you ... [11:54] guim: are you using exactly the same login and password as works for launchpad? [11:54] that is, an email address, and the password? [11:54] ok [11:55] I check again, I might have done a silly mistake [11:55] thanks. come back if it doesn't work and we'll check out other things that might be wrong. [11:56] thanks, [11:56] i misunderstood the fact that login is e-mail and not name [11:57] what were you using? a WikiName ? [11:57] sorry [11:57] if you misunderstood, then it is probably that our system is hard to understand. [11:57] so, maybe we can fix it. [11:57] did you try to log in using your WikiName ? [11:59] i tried with a a name yes [11:59] the name i gave in the launchpad account [12:00] oh, like 'guim' ? [12:01] guim: I think you need to use one of the email addresses registered with Launchpad as the username [12:01] yes [12:01] jamesh: we're past thata already ;0 [12:01] yes jamesh [12:01] oh :) [12:01] guim: thanks, that helps. [12:01] no problem [12:01] that's what worked for the main ubuntu wiki after the auth change [12:01] for me [12:01] lifeless: do we have zope3 in the supermirror yet? [12:01] SteveA: let me see [12:02] someone is sending patches to the zope.interface mailing list [12:02] and asking if there's a better way to show their ongoing proposed improvements [12:02] SteveA: https://wiki.launchpad.canonical.com/LaunchpadHierarchyNavigation#head-eb01bf04c9a0e8a71c45816513df424f1c7ffedb [12:02] working on an svn branch is one option [12:02] working on a baz branch would be sweet, though, as they wouldn't need svn access [12:03] thanks mpt, i'll take a look [12:03] it failed [12:03] I've marked it for retest [12:03] they use lots of fancy stuff to do with linking many different svn areas together [12:04] svn:externals, I suppose [12:04] jamesh: i used to know what it was. i cleared that space for arch stuff ;-) [12:07] SteveA: we need to do each area separately. [12:07] SteveA: it'll be a pain [12:12] carlos: ping [12:13] mpt: i still need to know what to call one "breadcrumb" [12:13] mpt, pong [12:14] SteveA: a hierarchy item? [12:14] Not very catchy, is it... [12:14] class POTemplateNavigation(Navigation): [12:14] hierarchy_item = None [12:14] [12:14] for example? [12:14] i had it sketched as 'breadcrumb' [12:14] it will actually be a function that returns a BreadcrumbLink [12:15] or a HierarchyItemLink [12:15] bleh [12:15] Chain [12:15] ChainLink [12:15] ? [12:15] can't i just call them "breadcrumbs" ? [12:15] sure, if you like [12:15] they seem to me to be breadcrumbs, but just selectively displayed [12:15] and intelligently displayed [12:16] SteveA: should all the ApplicationMenu subclasses go in browser/launchpad.py, or would it be better to group them with the associated component's code? [12:17] they should all go in the approprite browser/thing.py module [12:17] i don't know what's in browser/launchpad.py [12:17] but, perhaps the ones for the "system homes" should go in there [12:18] okay. I was just noticing that the only file in browser/ that imports ApplicationMenu is browser/launchpad.py [12:18] we have few application menus yet [12:18] it includes the Rosetta ApplicationMenu [12:18] right [12:18] for Rosetta the "system homepage" for rosetta [12:18] i should put them into "system homes" or soemthing [12:19] jamesh: i want to walk up the current execution stack, looking for a particular kind of class [12:19] know any shortcuts, or should i just walk sys._getFrame, and its parent? [12:20] I don't know of a shortcut [12:20] carlos: Do you know what sabdfl is talking about when he says "ability to switch to the alt language and correct it. perhaps also having a persistent alt language, rather than having to select it every time"? [12:20] hmm, inspect has currentFrame [12:21] finding the class for the frame can probably be done using a few heuristics [12:22] the inspect stuff will get me what i need [12:22] ta [12:23] mpt, hmmm [12:23] mpt, from there I think the idea is to have a link as part of the suggestions [12:23] that lets you get the edit form for that language and string so you can edit it [12:24] and also a way to store a preference for every user so they can choose the main language to translate into and a list of alternative languages they want to get suggestions from [12:25] the first should be easy, the later, I think it's a matter of expand our current language preferences page so the user can select a "default persistent alt language" [12:26] and show it by default with the translation form === terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad [12:31] carlos: oh, multiple source languages? [12:32] e.g. looking at the Portugese translations while doing the Brazilian Portugese one [12:32] mpt, yes [12:32] mpt, did you see current translation form? [12:32] carlos: Has it changed recently? [12:32] mpt, yes [12:32] crap [12:33] I have a branch to clean it up, but I'm a bit stuck [12:33] mpt, mark added a language selector to see suggestions [12:33] so you choose another language to see the suggestions [12:33] mpt@canonical.com/launchpad--translation-cleanup--0 [12:33] mpt, so that's done more or less already, what is missing is a link to the edit form for that language just in case you see something wrong [12:34] that sounds like fun [12:34] mpt, and a way to select by default a language so you don't need to select it every time [12:34] click the link, and blow away the work you were doing on that page [12:34] ok [12:34] BjornT: mpt@canonical.com/launchpad--decruftify-b--1 is ready [12:36] c [12:36] EWINDOW [12:38] mpt: cool. i'll review it after lunch [12:53] stub: does canonical.launchpad.mailnotification need to directly access database code? [12:53] carlos: does canonical.rosetta need to directly access database code? [12:54] canonical.rosetta? [12:54] stub: Don't know - not my baby [12:54] whose? [12:54] bradb I think [12:54] oh, I see what do you mean === carlos checks [12:55] SteveA, I think we can fix it easily [12:55] SteveA, Mark added it to get some statistics [12:56] but we can do it with some methods added to the objectsets instead of using the database code [12:56] okay, goo [12:56] d === Kinnison 's toys have arrived [01:05] tonight I build myself a hoary-based PVR === Kinnison bounces [01:08] thanks BjornT === ddaa [~ddaa@marvin.xlii.org] has joined #launchpad === sivang [~sivang@box79162.elkhouse.de] has joined #launchpad === cprov [~cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === cprov says morning ... === dda1 [~ddaa@marvin.xlii.org] has joined #launchpad [01:39] SteveA: have time for an ApplicationMenu question? [01:39] ok === ddaa [~ddaa@marvin.xlii.org] has joined #launchpad [01:39] in the calendar code, I have an ICalendar object at parent/+calendar, which has child contexts for the range being displayed (a particular day, week, month or year) [01:40] I was looking at doing app menus attached to the date range contexts, but that means all the relative links are like "../yyyy-mm-dd" (or similar) [01:41] If I attach the app menu to the ICalendar, I don't think I have any way to tell what date range is currently being displayed [01:41] (which I need to know in order to make the menus point to the relevant pages) [01:43] if you attach the app menu to ICalendar, it won't be displayed for a date range in that calendar anyway [01:43] okay. [01:43] an app menu is chosen according to the name of the currently selected facet link, but the app menu is specific to the current context [01:44] so, you need to have the app menu working with the current date range context [01:44] you should be able to get the calendar from a particular date range object [01:44] and then you can get the canonical_url for other date ranges, got from the calendar [01:45] I'll try switching over to canonical_url() and see if that makes things work a bit nicer [01:53] that seems to work better === debonzi [~debonzi@201-13-41-28.dsl.telesp.net.br] has joined #launchpad [02:37] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] import BugSetBase from the correct place. (patch-2072: bjorn.tillenius@canonical.com) [02:39] lifeless, ddaa, jblack https://chinstrap.ubuntu.com/~dsilvers/paste/filedwkhcR.html [02:39] I'm not able to merge from rocketfuel [02:40] Bazaar version 1.5~200507091049 [02:41] carlos: use baz merge --star-merge [02:42] Kinnison, hmm, that error does not looks like that kind of error, but anyway, will try [02:42] thank you === carlos -> lunch [02:43] carlos: it's not, but star-merge is different codepaths so it won't have the issue [02:43] mesh merge needs a lot of work [02:44] carlos: trying with --star-merge is always the first thing you should do after "baz merge" failed. The second thing is reporting the problem (yadda yadda revisions yadda reproducible yadda bug report) [02:45] as Kinnison said, merge does a lot of things that star-merge never even heard of. [02:45] that's a lot of opportunities for bugs to creep in. === elmo [~james@a130-233-4-133.debconf5.hut.fi] has joined #launchpad [02:46] someone knows if Staging is sending email correctly ? === ChanServ [ChanServ@services.] has joined #launchpad [03:05] Staging does not send emails at the moment [03:06] stub:?! === cprov was late ... === terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad [03:15] morning [03:15] mpt: as for why +assignedbugs exists, you'd have to ask salgado [03:15] SteveA: mailnotification.py shouldn't need to directly access db code [03:19] mpt: do you have time to discuss menus, by any chance? [03:19] bradb: yes [03:19] great, let's do it [03:20] and hey, Kinnison and cprov are here for Soyuz menus too [03:20] bradb: arh, I was supposed to put them in the LPMenus spec, and I forgot [03:20] sorry [03:21] no worries [03:21] mpt: sure, no worries [03:22] bradb: ok, so any page belonging to Malone has the "Bugs" facet selected [03:22] that includes /malone/anything [03:23] and /people/anyone/+bugs [03:23] and /people/anyone/+assignedbugs [03:23] and /anything/+filebug [03:24] ok? [03:24] yes [03:24] Then most of those pages have the Malone app tabs [03:24] probably the /people/something pages don't, because it doesn't make much sense to report a bug about a person [03:24] but all the software ones do [03:25] and the /malone ones do [03:25] and the app menus are: " Bugs", "Report a Bug", "Show Reports", "Admin" [03:26] " Bugs" is the selected tab for any page whose URL ends in +bugs [03:26] "Report a Bug" is any page whose URL contains +filebug [03:26] "Show Reports" is selected when you're displaying a search or a bug report [03:27] and "Admin" is ... erm ... does Malone have any admin functions? [03:28] sorry, was on phone again [03:29] so, "Show Reports" highlighted for advanced search too? [03:29] yep [03:29] Malone has no Admin functions presently [03:29] ok, so we don't need that tab then [03:29] good [03:29] ok [03:30] presumably i can hunt through the code to find some examples of how this stuff is used [03:30] mpt: can we move to soyuz ? [03:30] and, with the menu structure you've just given me, i should be able to take care of the rest [03:30] bradb: I did an example for /products/foo, and daf has examples for Rosetta (I'm not sure what state they are at the moment) [03:30] cprov: sure [03:31] mpt: sounds good, thanks. === cprov will follow bradb hunting usage examples [03:31] cprov: So give me some example Soyuz URLs [03:31] because to be perfectly honest, I'm a bit fuzzy on what is Soyuz and what isn't [03:32] mpt: /distros/ [03:32] (that's not a good way to make you feel loved, is it0 [03:32] ) [03:32] mpt: /distros/ubuntu [03:32] ok... [03:32] cprov: you have it easy, then [03:33] mpt: no, definitively I don't feel loved at all [03:33] aww === mpt gives cprov a hug [03:33] cprov: So all you need to do for the moment, I think, is make sure the facet menus are working properly in the /distros pages [03:34] mpt: wait they were easy ones ... what about distros/ubuntu/hoary/i386/firefox === cprov is pleased with a hug [03:35] You have the same facets as everyone else: Overview, Bugs, Translations, Bounties (eventually), Calendar [03:35] For /distros, /distros/ubuntu, and /distros/ubuntu/hoary/i386/firefox, "Overview" is selected [03:35] mpt: sure, I don't think we will have a Soyuz facet soon ... since soyuz has most read-only package browsing feature [03:35] and that already works in production [03:36] except /distros says "Launchpad" instead of "Overview", a slight bug [03:36] so the main job is making sure the other facets go off to the right place [03:37] ok, already working for /distros/ubuntu and /distros/ubuntu/hoary ... [03:37] mpt: yes, just one detail, /distros/ubuntu/i386 has 3 left-portles (distro, release, arch.. details) isn't it too much ? [03:37] already working for /distros [03:38] /distros/ubuntu/i386 gives me a system error [03:38] * Applying 200 revisions .....................................................*falls asleep on desk*.......... [03:38] KeyError: u'i386' [03:38] mpt: production wasn't rolled yet ... solved on RF [03:38] bradb: you should not ever see a 200 rev patch queue, 50 should be the maximum you see [03:39] mpt: debonzi did it friday [03:39] lifeless: http://rafb.net/paste/results/nh3isr25.html [03:39] cprov: This is rocketfuel as of a few hours ago [03:40] mpt: briefly the task for soyuz is : ensure factes are working for distros/release, distros/release/arch and so on [03:40] /distros/ubuntu/hoary/i386 works though [03:40] lifeless: version 1.5~200507091049 [03:40] cprov: yup [03:40] mpt, /distros/ubuntu/i386 is wrong [03:40] mpt: really ? I've just got a merge and it's working .. I'll investigate [03:41] debonzi: I realize that now, but it should be giving me a 404, not a system error :-) [03:41] jamesh: so is that faster ? [03:43] mpt: yep ...is that all for soyuz ? I'd expect as result more informative (and rich) pages ... [03:44] cprov: It's only navigation. It's not supposed to be exciting. :-) [03:44] mpt: does this mean that the actions portlet is here to stay? i haven't yet heard any mention of content-level tabs/menu options [03:46] bradb: hmm, mirroring is bnorked [03:46] lifeless: just mine? [03:46] no [03:47] oh, ok [03:47] Kinnison, it worked with --star-merge, thanks for the suggestion [03:48] bradb: semi-fixed [03:48] bradb: dunno why its broken, but I've mirrored the cacherev [03:48] lifeless: would it help me for me to restart the branch operation? [03:48] bradb: No, you'll find that the applicaiton menu removes the need for some of the tabs in the actions portlet [03:48] bradb: where is it up to ? [03:49] lifeless: i restarted it (completely blew away my revlib except =greedy and =sparse, but same problem) [03:49] carlos: no problem [03:49] bradb: do you have a local mirror ? [03:49] bradb: actually, that's not true for Malone, now I look [03:49] bradb: blowing away your revlib is generally a bad idea, it hurts performance. [03:49] mpt: it removes exactly one Malone action portlet item. there are still half a dozen others, at least (and more on the way) [03:50] lifeless: i do it so that i don't run out of space on my home partition [03:50] bradb: ah [03:50] bradb: LaunchpadMenus wasn't intended as a "Death to the actions portlet!" effort, it was intended as consistent navigation [03:50] mpt: yes, I see .. thanks for the help [03:50] cprov: no problem [03:51] bradb: I'd rather that actions were next to the thing they're acting on [03:51] bradb: For example, "Subscribe"/"Add Subscribers" is at the bottom of the list of subscribers, where it belongs, so putting it in the actions portlet too is duplication [03:51] fair enough. the good news is that, in my observations, users seem to quickly get used to the idea of the portlet in the top right-hand corner being the place they look when they want to do stuff. [03:52] (of course, we're really cheating them when they find out that's *not* where you look if you want to fix or assign a task) [03:52] bradb: Similarly, "+ Link to other bug tracker" is at the bottom of the list of bug trackers, so having it in the actions portlet as well is duplication. [03:54] and "Activity Log" isn't an action, so it shouldn't be in the portlet at all. [03:54] mpt: "the list of bug trackers" where? [03:54] the list of bug trackers is underneath the actions portlet [03:55] only when there's an external bugwatch already added, right? [03:55] ah [03:55] well, duplicate links is still wrong [03:55] So, make the portlet exist all the time [03:55] containing only the "Add watch" link if there are no watches yet [03:56] 6 empty portlets existing all the time? [03:56] 6? [03:56] maybe even 7 [03:56] bug trackers, Web links (which should die), and CVE refs. That's 3. [03:56] What are the other 3~4? [03:57] infestations, activity log (where else would we put that link?), web link (because we still have it), mark as duplicate. [03:57] (infestation is currently divided into upstream and package...possibly merge eventually) === mpt wonders why he doesn't see infestations anywhere [03:58] I saw them yesterday... [03:59] I don't think duplicates belong in a portlet at all [03:59] that would turn into a skyscraper at b.m.o scales [03:59] i had removed them in a branch somewhere, but lost track of it (too many branches these days, without the ability to ask "which branches do i have that have patches missing from rocketfuel?" makes life difficult) [03:59] I keep a list of my current branches in a text fiel [03:59] file, even [03:59] mpt: easy enough to condense it [04:00] lifeless: branch was much quicker now, thanks [04:04] bradb: Well, pull out the links that are *already* duplicated [04:04] that would at least make the remaining items quicker to scan. [04:05] sure === guim [~glederer@193.190.183.237] has left #launchpad ["Leaving"] === sabdfl [~mark@pc-n253.wlan.inet.fi] has joined #launchpad [04:22] mpt: btw, is changing the sidebar into a portlet on the bug listing page something you can do fairly quickly? [04:22] (i had opened a bug on that and given it to you; not sure if you noticed) [04:23] stuhey bradb [04:23] erk [04:23] hey bradb [04:23] bradb: yes, I saw, I'm just keeping in mind the number of people pestering me to make the table take up the *entire* page width [04:23] hey sabdfl :) [04:23] stub's retired? [04:23] mpt: indeed, indeed [04:24] anyway, it's way past my bedtime [04:24] mpt: i have a branch for you! [04:24] ooh, a branch [04:24] delicious [04:24] your inner koala? [04:24] perhaps [04:24] this one will make you drop === mpt wonders whether that's a good thing or a bad thing [04:25] it's a guuuuurd thing [04:25] mark.shuttleworth@canonical.com/launchpad--ui-cleanup--0 [04:26] ok, I'm switching now, I'll look at it first thing tomorrow [04:26] thanks sabdfl [04:26] lots of foaf stuff there for you and salgado [04:26] mpt: thank you too! [04:26] sleep tight [04:26] bradb: do you know how to check what branch is headed to production tomorrow? [04:27] my branch last merged rocketfuel at Fri Jul 8 09:06:58 BST 2005 [04:27] and i'm kinda hoping to get it reviewed and landed on production directly, if stub tagged off from RF after the above date [04:27] sabdfl: not sure. wasn't our cutoff date thursday morning meeting? [04:27] because it has lots of nice cleanup [04:28] maybe SteveA could confirm [04:28] stub hadn't tagged off thursday evening, i don't know if he did it during the day on friday [04:28] mpt: do a baz update first thing in the morning, there may be extra pressies === bradb is integrating malone menus right now [04:29] carlos: i've put a person-translations.pt in there [04:29] bradb: i do not know exactly what is going into production in this rollout [04:29] carlos: btw, people seem to really like the look of rosetta [04:29] sabdfl, cool, thanks [04:30] yeah, althougt we have some missing bits [04:30] sabdfl, did you implemented suggestions for textareas? [04:30] we got a bug about that and I want to look into it this week if the feature is not yet implemented [04:30] because it's confusing for non editor translations [04:31] carlos: no, i think we should only have those on a /pomsgmset/+translate page, with some fancy JS to make the page size manageable [04:31] in brazil i want to spec out a detailed page just on a single msgset [04:32] sabdfl, then, we should not allow non editors to submit translations into textareas because they will be lost in our db as the ui will not show them [04:33] carlos: good point [04:33] we could show (n additional suggestions, latest from Foo Bar) [04:33] as a piece of text [04:33] so they see their name and see the number go up [04:33] with a [view] link [04:33] to ../pomsgset/+suggestions [04:33] should be easy enough [04:34] we also need to show WHO provided the current active translation [04:34] there's lots of good stuff to be done [04:34] yeah [04:37] sabdfl, what do you prefer?, lock the textarea translations until the pomsgset URL appears or show only latest suggestion if it's a textarea entry? [04:38] carlos: show "n additional suggestions, latest by Foo Bar", as link to a page which lists them all, at /path/to/pofile/potmsgsetseq/+suggestions [04:38] I thought you wanted to spec that at Brazil [04:39] carlos: happy for you to do a qnd implementation before then, or just leave that bug for 1.0 [04:40] carlos: did the 1.0 pre-announcement go out? [04:40] not yet, I pinged daf about the status of the annoucement this morning [04:45] mpt: what do overview and translations link to when view the bug page? [04:45] s/view/viewing/ === carlos -> out === elmo [~james@a130-233-4-133.debconf5.hut.fi] has joined #launchpad === terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad === debonzi -> Lunch [05:24] carlos: i think the staging server should send all email to a single address [05:24] where it can be read from one of the pop3 mailboxes at the DC [05:24] an extra header in the email can give the address it was meant to be sent to === cprov lunch === SnakeBite [~SnakeBite@84.242.143.64] has joined #launchpad [05:59] bradb: Bug pages don't have any context, so Overview goes straight up to /, and Translations to /rosetta [05:59] mpt: ok, that's what i expected, thanks === rob^ [~rob@rob-ubuntu.student.supporter.pdpc] has joined #launchpad === mgalvin [~mgalvin@host-66-202-95-170.spr.choiceone.net] has joined #launchpad [06:03] hi. what keyserver does Lauchpad use to import gpg keys? [06:07] keyserver.ubuntu.com [06:07] it's on the main rotation of keyservers [06:07] thanks === rob^ [~rob@rob-ubuntu.student.supporter.pdpc] has left #launchpad ["Leaving"] === rob^ [~rob@rob-ubuntu.student.supporter.pdpc] has joined #launchpad [06:09] hi again, one more question. [06:10] I'm getting this when trying to add my key to the GPG Key Management: Key was claimed, sending email to :.At least one UID should be validated to get the key imported as yours. [06:10] I've sent my key to keyserver.ubuntu.com [06:11] how can I fix this? [06:11] have you already told launchpad about the email addresses on your gpg key? [06:11] yes [06:12] cprov: around? [06:12] cprov may be able to help you [06:12] ah ok [06:13] otherwise, please file a bug on launchpad in launchpad [06:13] ok [06:17] cprov went to lunch a little while ago. he'll be back in a while. [06:21] I'm gonna hit the sack, might catch him later. Thanks for your help though [06:23] hey SteveA! [06:23] hiya [06:23] is it as hot in lithuania? [06:23] yes [06:23] probably [06:23] still... winter in brazil soon [06:24] SteveA: silicon works best when cooled ;-) [06:30] so does beer [06:32] cprov, i'm also having the prob rob^ is having, any pointers would be great [06:34] SteveA, that's a really good idea [06:38] SteveA, did you tell that to stub? [06:40] carlos: are the breezy imports working now? [06:40] did we fix those import/transaction issues? [06:41] not yet [06:41] the imports work [06:41] but the transaction is not done [06:41] I fixed most of the .pot issues [06:42] and schooltool, gourmet and others are now fixed [06:42] fixing transactions in scripts should be easy [06:42] sabdfl, I'm fixing other things at the same time [06:42] just know when to ztm.commit() and ztm.begin() [06:42] ok [06:42] I wrote a spec about it [06:43] https://wiki.launchpad.canonical.com/LaunchpadPoImportFeedback [06:43] it's a bit difficult to read current output and our users are not getting enough feedback [06:52] carlos: my main priority for production tomorrow is to be able to show people the new distrorelease-translation-status pages [06:53] /scratch/dists/launchpad/lib/canonical/launchpad/components/poparser.py:315: POSyntaxWarning: PO file header entry has no content-type field [06:53] warnings.warn(POSyntaxWarning(msg='PO file header entry has no content-type field')) [06:53] carlos: is this warning important or something we should fix code to stop? [06:54] SteveA: here [06:54] hi cprov [06:54] some people were having trouble getting their gpg keys into launchpad [06:55] SteveA: yep, rob^ still arround? [06:55] it was rob^ and mgalvin [06:55] i am here cprov [06:55] SteveA: I'm confident it will be solved in next production rollout .. [06:56] SteveA: the error was cause by the previous workflow weakness, all GPG uids were already validated in LP .. [06:58] mgalvin: hope the comment above fits in your case too, or not ? be patient and thank you for your feedback [07:01] SteveA: I agree with you about the need of being able to handle emails sent from Staging, otherwise all token-related features are compromised [07:02] i want us to build a full end-to-end test of bug email [07:02] for running on staging [07:02] anyway, --> exercise. back later. [07:03] SteveA: ok, see u later [07:03] cprov, it does, thnx, i'll try again when you guys rollout the next release [07:04] SteveA, no, that warning is that we detected a value that is missing and it should be there [07:05] mgalvin: thank you, keep playing with other LP features, there still having a lot of fun apart of GPG ;) === cprov -> afk 30 min [07:05] sabdfl, breezy's .pot files are importe already, the part that is missing is the .po imports but it should be done between today and tomorrow [07:06] in about 10 minutes I will get an email that will tell me current status [07:06] with the number of .po files pending to be imported === lamont is now known as lamont-away === salgado [~salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === cprov back [07:37] hello hackers [07:37] 630 unread [07:37] isn't life fun === Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad [08:48] SteveA, lib/canonical/launchpad/scripts/rosetta.py starts growing a lot like helpers.py did, could we move it into rosetta/$script.py ? === lamont [~lamont@15.238.5.49] has joined #launchpad === elmo [~james@a130-233-4-133.debconf5.hut.fi] has joined #launchpad === Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad === Burgundavia [~corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad [09:05] heh [09:06] New Malone bug 1375 filed on product FOAF by Brad Bollenbach: IRC nick details don't appear to persist [09:06] https://launchpad.ubuntu.com/malone/bugs/1375 [09:28] carlos: ping [09:28] kiko-afk: afk? slacker! ;-) [09:28] SteveA, pong [09:28] hi carlos [09:28] hi [09:28] so, first of all, about that warning [09:28] let me understand this properly [09:29] so, is the test supposed to produce that warning? [09:29] no, we are not testing that warning [09:30] I suppose the sample data we use for the test produces it so it could be easily removed [09:30] fixing sample data [09:30] I fixed already a couple of related warnings, but I suppose I miss that one [09:31] what do you expect to do with such warnings in production? [09:32] well, we can remove them if you want, it's part of our crapy po parser that I hope we substitute soon [09:32] they were errors sometime ago, and I moved them to warnings because real data is not so "perfect" [09:32] so, is the message "here's something legitimate that the parser can't handle" ? [09:33] and of course is not a big issue if we don't have that information [09:33] here's the story [09:33] no, it's just a "this po file is not perfect" [09:33] i've spent some time today sorting out the warnings and other things that launchpad produces when you run the test suite [09:33] the principle i'm using is, everything that is warned about should be able to be fixed [09:33] and the test suite's output should tell you the information you need to fix it [09:34] Keybuk: ping [09:34] under that point of view, those warning should be removed as it depends on the real world data we get [09:35] well, another use of warnings is what should really be log messages [09:35] that is, we log things in production [09:35] then scan the log files for things we should do somethig about [09:35] which might be looking for edge cases to improve parsers [09:35] or to fix up data manually, or inform people of buggy third party software [09:35] that kind of thing [09:36] so, maybe you should change the warning to a log message? [09:37] hmm, I think I should be able now that we are using python2.4 so we don't need the logger object sent as an argument [09:37] and thus, I don't need to change the parser api [09:37] okay, let's do that [09:37] then i don't need to worry about that warning [09:38] SteveA, yo! [09:38] laundry [09:38] ok [09:40] kiko: i'm about to put on "A gesture of kindness" by The Karl Hendricks Trio. Tom Hoffman, project manager of schooltool was the drummer. They sound to me like husker du. [09:42] ddaa: do you know much about the hct backend ? [09:44] Not really. [09:44] HCT is Keybuk's realm, [09:44] SteveA, alan moulder was a wizard [09:44] SteveA, did you see my comment about lib/canonical/launchpad/scripts/rosetta.py? [09:44] carlos: maybe [09:44] please repeat it [09:45] carlos SteveA, lib/canonical/launchpad/scripts/rosetta.py starts growing a lot like helpers.py did, could we move it into rosetta/$script.py ? [09:45] SteveA: I sort of recall there was talking about a xml-rpc backend for use in clients, and a postgres backend for use at the DC. [09:45] daf did it already for new scripts but putting them inside scripts/$script.py directly [09:45] well... it isn't quite like helpers.py, in that it is all focused on rosetta scripts [09:45] not just on anything [09:46] SteveA, right, but unrelated scripts [09:46] i think keeping things flatter and putting them inside /scripts/ is better [09:46] we are not sharing any code between scripts there [09:46] just make sure the module name is clear [09:46] SteveA: maybe if you asked a more pointed question, I could be more specific on my level of uselessness in answering it :) [09:46] ok [09:46] i'd prefer /scripts/....py than /scripts/rosetta/...py [09:46] will do it that way [09:46] great [09:46] thank you [09:47] ddaa, ping? [09:47] ddaa: in my work on cleaning up the test suite output, i discovered that the launchpad hct back-end is producing a bunch of fixable warnings [09:47] i want to fix them, but want to bounce it off someone who knows the code [09:47] kiko: did I make any impression of being away right now? :) [09:47] ddaa, can you msg me your passport number and country of emission? [09:47] no! === debonzi -> 15min break [09:49] SteveA: AFAIK the only person that knows the code is Keybuk. He was a bit protective previously (my baby hct), so you probably want to use either soft gloves or or a big hammer when communicating about it. [09:50] kikotours: ok [09:50] i'm sure Keybuk will be fine with my changes. [09:51] big hammer way "here are some patches, kthxbye" is also my favourite :) [09:54] kiko: alan moulder? bob mould? [09:55] wow, you just cleared up a decades-long confusion [09:59] BjornT? [10:03] daf? [10:03] daf is @ debconf === carlos -> dinner === Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad [10:03] see you later [10:04] hi kiko [10:04] aha [10:04] BjornT, can you msg me your passport number and country of emission? [10:04] or read your email :-) [10:04] what does "country of emission" mean? [10:05] SteveA, I suppose it's the country that gave you it [10:05] SteveA, for instance, bradb has two of them [10:05] or the country you're leaving to come to brazil? [10:06] SteveA, my english is not too good, but I don't think kiko means from where are we "emitted" :-P [10:06] the country your passport was emitted. [10:07] sorry for the implied context [10:07] i think it is "country of issue" or "issuing country" on my passport [10:07] kiko: do you need my details? === carlos out [10:07] right [10:07] SteveA, nope. === terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad [10:24] salgado: ping === lamont [~lamont@15.238.5.49] has joined #launchpad [10:26] hi SteveA [10:26] hi salgado [10:26] do you have time to do a bit of foaf clean-up ? [10:26] SteveA, sure. I'm into it right now [10:26] okay, great [10:27] so, i've been improving the way the tests run [10:27] and sorting out warnings [10:27] there are a bunch of foaf queries that are used for things like displaying batched results [10:27] which should have an order by clause in them [10:27] but which don'e [10:28] [10:28] anyone know how i give a page a title if the page is using default-editform.pt? [10:28] The expression: (list(bn.currentBatch())) in people-list.pt [10:28] The method PeopleListView.__call__ [10:28] request url: http://localhost:9000/people/+peoplelist [10:28] The expression: (list(bn.currentBatch())) in people-index.pt [10:28] The method FOAFSearchView.__call__ [10:28] request url: http://localhost:9000/people/+index [10:28] The method PersonView.assignedBugsToShow [10:28] request url: http://localhost:9000/people/sabdfl/+assignedbugs [10:28] The method PersonView.__call__ [10:28] request url: http://localhost:9000/people/sabdfl/+assignedbugs [10:28] The expression: (list(bn.currentBatch())) in people-list.pt [10:28] The method TeamListView.__call__ [10:28] request url: http://localhost:9000/people/+teamlist [10:31] bradb: there was a way to do that a while ago. i just looked, and it's been removed, [10:31] salgado: that's some output from my warning helper === mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad [10:31] SteveA: do i have to create a boiler plate template to make this possible then? [10:32] salgado: check out browser/person.py, getTeamsList, getPeopleList and getUbuntitesList [10:32] SteveA, I see. [10:32] salgado: especially getUbuntitesList, where it says list(results). that looks wrong to me [10:32] should be shortlist, or more probably, no list at all [10:32] no list at all, I'd say [10:33] I'll talk to cprov to make sure that list() is not needed [10:33] also [10:33] _findPeopleByName [10:34] i see no reason for this to be just method [10:34] be just one method [10:34] it can be split into three methods [10:34] almost all methods of IPersonSet already accept an orderBy argument. I'll just have to fix the callsites [10:34] salgado: SteveA: I suspect you're right, list() isn't necessary [10:34] why can't there be a default ordering of 'id' ? [10:35] kas.selectByCategoryAndPerson(actionCategory, self.context) [10:35] also, that needs an order by [10:35] salgado: I'm repairing it in the current [trivial] change you requested, ok ? [10:35] assignedBugsToShow too [10:35] cprov, I can fix it. there's some other fixes I'll have to do [10:36] salgado: ok, won't touch [10:36] SteveA, shouldn't the Person._defaultOrder be used if I don't specify orderBy=None? [10:36] if I specify orderBy=None [10:36] bradb: is this urgent? [10:36] salgado: i don't know [10:36] SteveA: no [10:37] bradb: okay, maybe file a bug on it for me? [10:37] will do, thanks [10:38] salgado: i just sent my work off to be merged. it will conflict with your fixes a little. so you may want to merge from RF once my work gets merged. === SteveA --> food [10:40] SteveA, okay. thank you [10:47] SteveA, still here? [11:06] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] improved warning output for tests, and fixed a bunch of ambiguous use of select results warnings. some xxx comments left in person code. one untested codepath in hct backend. (patch-2073: steve.alexander@canonical.com) [11:08] carlos? === debonzi -> BBL [11:20] kiko, ? [11:20] salgado: hi === jbailey [~jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #launchpad [11:25] carlos, you know about the error we're getting when running the export queue? [11:26] kiko, the one related with .mo files? [11:26] right, when compiling a pofile. [11:27] SteveA, by looking at the error logs, I found that a common use case we have is people clicking on the top-right login link after consuming a logintoken (i.e. validating an email, resetting the password, etc) [11:27] kiko, yes, I hope tomorrow will have it fixed, it's a matter of data migration [11:27] bradb: mpt suggested that since I'm not likely to use malone much in the next little bit, I might be a better test subject if I didn't follow the usability discussions. Chances are by the time the rework is done, I might be a useful testcase again. [11:27] carlos, ah, is it about the newlines issue? [11:27] kiko: where does that go? [11:27] jbailey, sounds sane. [11:27] kiko, yes [11:27] SteveA, launchpad-error-reports. [11:27] carlos, thanks. [11:28] np [11:28] so, I'm adding a checkbox to all logintoken pages to allow people to be automatically logged in after validating something via logintoken. (only for the cases where they provided a password, of course) [11:28] i meant salgado, and i meant, where does the link go [11:28] bradb: Given that, if you have questions, can you extract them for me? I happened to notice the Jeff: at the top of the message while I was dragging it to the archive folder. =) [11:28] salgado, a checkbox? [11:28] jbailey: indeed, don't worry about following the usability discussions, but it might be useful to us if you answer the questions that would help clarify exactly what confused you. [11:29] jbailey: sure, one sec [11:29] SteveA, the link points to the right place (/token/randomstring/+login), and people can login. but after that they got redirected to the logintoken page which doesn't exist anymore [11:29] that's how I found it's a common use case [11:29] jbailey: can i paste them to you in a msg? [11:30] bradb: Yup! =) [11:30] kiko, yes. a checkbox. is there anything wrong? [11:30] salgado: i see. we could make +login go to the root login page in that case [11:30] salgado, sounds kinda weird. why ask the user? why not do the right thing automatically? [11:31] SteveA, that would be good, but I don't think it would be a problem after my changes [11:32] kiko, I was going to do that, but what if you're in someone else's computer and are just following the link to validate something but you don't want to do anything else on that computer? you could endup logged in without even noticing [11:32] can you file a bug on me, saying that the +login link behaviour should change for those pages, and describe exactly what URLs those pages will have [11:32] that's why I choosed to use a checkbox (checked by default) [11:32] SteveA, sure. I'll do that [11:33] thanks [11:33] SteveA, but anyway, what I wanted to ask you is something else. [11:33] salgado, hmmm. why not have him log himself out? [11:33] salgado, can you check with mpt? I'm sure he'll have an opinion [11:33] he could not even notice that he was logged in [11:33] sure. I'll talk to mpt. [11:34] SteveA, so, if I can log a person in while resetting his password, I would be able to remove that removeSecurityProxy() call. (remember it?) [11:35] okay, that sounds reasonable. you have credentials in the form of the token [11:35] SteveA: is putting bugs in launchpad a good way to get you to look at them fairly soonish? (when's the last time you marked a bug fixed in LP?) [11:35] bradb: a couple of days ago [11:35] ok [11:35] bradb: i use bugs [11:36] salgado: but, don't ask me how to do it tonight :-) === sabdfl [~mark@pc-n253.wlan.inet.fi] has joined #launchpad [11:36] SteveA, but that doesn't seem to work. even if I call the login method (which does login) and after that get a person using getUtility() [11:38] I expect that would take care of giving me an object where I would be able to change the password [11:38] carlos: re po imports, ok cool thanks [11:39] salgado: logging in is a bit complex, when you want to log in during the rendering of a page. [11:39] sabdfl, I found a problem importing .po files related with some changes I did last week [11:39] sabdfl, will try to have a patch ready tonight [11:39] sabdfl, it only affects .po imports .pot imports work [11:39] salgado: can you make a branch, and point out the place you want to do a login, tell me the things i need to do to use it, and i'll make sure it works. [11:39] salgado: send me an email about it [11:40] carlos: ok cool [11:40] SteveA, sure. I'll do it. thank you again. :) [11:40] sabdfl, about the transaction thing... we do the commit and the abort correctly so the only issue I can think on is when we call SQLObject.sync() I need to debug it a bit just in case it does the commit... [11:40] carlos: i hope it doesn't! [11:40] me too [11:41] salgado: i'd like you to look at those order-by issues soon. they'll tidy up the test output a lot [11:41] but it's the only thing I can think on [11:42] SteveA, I'll look at them today. I'm just finishing these logintoken-related changes [11:42] okay. when you merge from rf, and run the tests, you'll see some output that tells you exactly where you need to look. [11:43] also, update sqlobject and sqlos [11:44] for a cleaner test-run experience [11:45] Merge to rocketfuel@canonical.com/sqlobject--test--0.6: [trivial] add checks to obj.expire() to suppress attribute errors when it is used during transaction __del__ (patch-25: steve.alexander@canonical.com) [11:48] hello? pqm? what happened to my two merge requests? *taps mic* is this thing on? [11:50] a little bit earlier: [11:50] PQM Queue: 2 commands [11:50] 1. /home/pqm/arch/queue/patch.1121115010: bradb@bbnet.ca (Brad [11:50] Bollenbach), '[trivial] de-underline release bug portlet links', [11:50] -----BEGIN PGP SIGNED MESSAGE----- [11:50] 2. /home/pqm/arch/queue/patch.1121115977: bradb@bbnet.ca (Brad [11:50] Bollenbach), '[trivial] small title fixes', -----BEGIN PGP SIGNED [11:50] MESSAGE----- [11:50] and now: [11:50] bradb@oxygen:~/launchpad $ ssh chinstrap.warthogs.hbd.com lynx --dump http://localhost:8000/ [11:51] PQM Queue: 0 commands === kiko grins at bradb [11:52] maybe it's got Intelligent Delay Technology for sending my failure messages or something? still nothing in my Inbox... [11:52] bradb: Need me for anything else? [11:52] jbailey: nope, that clarifies things, thanks [11:52] Cool. /me sails off to the sunset. === jbailey [~jbailey@modemcable139.249-203-24.mc.videotron.ca] has left #launchpad ["Leaving"] [11:53] bradb: small title fixes failed - two failues [11:53] messaging you