/srv/irclogs.ubuntu.com/2005/07/16/#launchpad.txt

dilysNew Malone bug 1358 filed on product Malone by Matthew Paul Thomas: Sort order should be indicated in Malone results12:06
dilyshttps://launchpad.ubuntu.com/malone/bugs/135812:06
dilysNew Malone bug 1359 filed on product Malone by Matthew Paul Thomas: Don't display unmodified bug description as a comment12:29
dilyshttps://launchpad.ubuntu.com/malone/bugs/135912:29
=== jbailey [~jbailey@modemcable134.23-201-24.mc.videotron.ca] has joined #launchpad
jbaileympt: ping12:50
mptjbailey: pong12:50
jbaileympt: 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
mptheh12:51
mptum12:51
mptWell, 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 alone12:52
mptand not thinking about it12:52
jbaileyAnd I don't until main gets converted over.12:54
jbaileyI'll avoid reading Bjorn's message then.  Feel free to poke me with things if you need.12:54
jbaileyFWIW, I can give you access to Canonical's RT system.12:55
=== comadreja [~comadreja@comadreja.active.supporter.pdpc] has joined #launchpad
comadrejahowdy all02:06
comadrejaI'm missing the version number in the bug reporting tool02:06
comadrejaI mean to be able to state the version of the package that is being reported as buggy02:06
=== 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
dilysNew Malone bug 1365 filed on product Malone by Matthew Paul Thomas: Priority should default to a null value07:41
dilyshttps://launchpad.ubuntu.com/malone/bugs/136507:41
jameshmpt: I added a few bug linkifying examples to https://wiki.launchpad.canonical.com/DisplayingParagraphsOfText07:49
mptjamesh: ah, I wasn't expecting bug links to be part of the same algorithm07:51
mptbut to be Malone-specific07:51
jameshmpt: I think it needs to be done in one pass07:51
jameshmpt: considering "http://example.com/bug#123" vs. "bug#123"07:51
jameshone being a URL, the other being a bug link07:51
mptWell, for example, if release notes for some Gnome app say "fix bug 27847", they're talking about bugzilla.gnome.org, not Malone.07:51
mptSame for KDE and Mozilla and most other upstreams.07:52
jameshmpt: okay.  The bug tracker I used in the examples is secondary -- I was mainly trying to think of corner cases for the text processing07:52
jameshmpt: feel free to modify the examples as you see fit.07:53
mptThey all look reasonable to me, jamesh07:54
mptPerhaps we just need a flag saying "do bug linkifying as well"07:54
mptthat can be on for Malone use, and off everywhere else07:54
mptthanks for the examples.07:54
mptheh, Breezy has *2* bugs in Malone07:59
jameshmpt: 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
mptyes08:08
mptApplicationMenu08:09
jameshcool.  I'll look at doing that08:09
mptthanks08:09
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Index required by Gina (patch-2071: stuart.bishop@canonical.com)08:23
=== 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
BjornTmpt: hi. launchpad--decruftify-b--1 has conflicts. if you resolve them, I'll review it today.09:54
mptok, thanks BjornT09:55
=== carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad
carlosmorning09:55
sivangmorning carlos 10:01
carlosstub, could you kill all poimport scripts?10:10
carlosstub, 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 stalled10:10
stubcarlos: Done10:13
carlosstub, thank you10:15
=== carlos -> breakfast
lifelesscarlos: can we cron the kill ?10:16
morgsstub: 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
morgsstub: This is besides patch 2050 which fixes the lack of links to product releases from the product and product series pages...10:18
stubmorgs: I couldn't cherry pick that patch (2050). Neither sounds critical enough to rollout today instead of tomorrow.10:19
morgsstub: I'd just like these things to go live before next Tuesday... What patch is going up to production?10:20
stubmorgs: Don't know yet, but I'll make sure those two go in.10:20
morgsstub: thanks, that's fine. Just wanted to make sure it wasn't the exact patch as of the Thursday meeting...10:21
stubpqm issues made that problematic10:21
carloslifeless, 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 days10:25
lifelessjamesh: so did you do the equivalent of get ...366, diff rocketfuel ?10:26
mptIt seems like months since a rollout10:26
SteveA  DeprecationWarning)10:26
SteveA /scratch/dists/launchpad/lib/canonical/launchpad/database/product.py:222: DeprecationWarning: Product.potemplates is obsolete, should be on ProductRelease10:27
SteveA  DeprecationWarning)10:27
jameshlifeless: 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
SteveAmorgs: can you fix that?10:27
jameshlifeless: i.e. diff "rocketfuel with the old rev merged" and "rocketfuel with the new rev merged"10:27
morgsSteveA: I'll take a look...10:28
lifelessjamesh: uhm10:28
lifelessjamesh: yes, that should give reasonable results, modulo merges from third party branches10:29
jameshlifeless: is there a better way to perform that operation then?10:30
lifelessin which case, yes you picked bad patches.10:30
lifelessas the only patches that needed reviewing as new were 364,365,36610:30
lifelessI don't really mind -code quality is code quality - but it was surprising :[10:31
jameshlifeless: 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 other10:32
jameshthe difference between those two trees should be the changes on your branch minus rocketfuel merges, right?10:32
jameshit would only have third party merges if they were in your branch, I think10:33
lifelesslets unmultiplex this10:33
lifelessI was complaining cause you reviewed 350-366, when you'd already done 350-363, and got different review feedback10:34
jameshokay.  I picked the wrong revisions.10:34
lifelessactually, you'10:35
lifelessd probably done 350-362 or something, as there was a rf merge or so in there.10:36
lifelessbut anyhoo.10:36
lifelessI'm not stressed - but it was surprising and somewhat confusing.10:36
lifelessI'm acting on the review now.10:36
lifelesswith regards the baz gymnastics ...10:37
lifelessgrabbing 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 TO10:37
lifelessbut that assumes a clean triangle.10:38
lifelessif for example I imported a branch from ddaa which was being separately reviewed, you'd see that in the diff10:38
jameshyes10:38
lifelessthats what I meant by third party branch.10:39
jameshthat happened when I was reviewing Mark's debbugs branch (which included some stuff he'd passed off to Scott)10:40
lifelessinterestingly, we could import the code into a weave and generate a synthetic my-branch-only list of changes.10:40
lifelessbut thats Future.10:40
jameshof course, it does tell me what would be going into rocketfuel if the branch was merged10:40
jameshwhich is one of the things I want to know when reviewing something10:40
lifelessright10:41
lifelesstheres a balance there.10:41
lifelessw.r.t. performance, it might be faster to do delta rf<->rf, delta branch<->branch, and interdiff10:42
lifelessthen you'd have no merges at alll10:42
lifelessbaz delta --diffs first second > branch-to-merge.diff would also shave a second or two off10:43
jameshI didn't notice that function.10:44
lifelessoh10:45
lifelessyou can cp -al first second10:45
lifelessthat will be much faster10:45
lifelesstry this10:46
lifelessbaz get rocketfuel@canonical.com/launchpad--devel--0 first10:46
lifelessbaz merge -d first --star-merge branch-to-merge--patch-XXX10:46
mptwoohoo, botched invariant again10:46
lifelesscp -al first second10:46
lifelessbaz merge -d second --star-merge branch-to-merge10:47
lifelessbaz delta --diffs first second > branch-to-merge.diff10:47
jameshso that'll give the minimum number of files with different inode numbers between the two trees?10:48
jameshand speed up the diff10:48
lifeless-al makes a hardlink of the two10:48
jameshyeah10:48
lifelessthe diff won't be optimised at all with changeset10:48
lifelessit may with delta, but what you really need is baz 1.5's tree format that I'm hacking on at the moment10:48
lifelessit will optimise 10:49
=== terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad
lifelessoh, with -al it will skip diffing all the linked-but-not-mutated files10:51
lifelessso it should be quite a lot faster really.10:51
lifelessgive it a try ;010:51
lifeless:8910:51
jameshthat's what I was getting at10:51
lifelessyah. 10:52
=== lifeless zombies
jameshdoing the copy after the first merge would reduce the amount of comparisons over doing the copy before either merge10:52
lifelessright, that was one of the reasons I suggested that. It also reduces the size of the merge to do10:52
lifelessand gives a pristine tree of the relevant revision to use as the merge bases10:52
lifelessthis if block :10:53
lifeless       return (len(lines) < 410:53
lifeless                or not lines[2] .startswith('---')10:53
lifeless                or not lines[3] .startswith('+++'))10:53
lifelesswhen I write it with a not, it becomes less clear to me10:53
lifelesscan you articulate why you think its more readable inversed ?10:54
jameshI 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
jameshso you want o return the opposite of that10:54
lifelessso I see it as 'an invalid diff has less than 4 lines, or does not have a 3rd line beginning with '---' ....10:55
lifelesswhen 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 isValidPath10:56
lifelessw10:56
jameshfeel free to leave it as is then.10:56
lifelessk10:56
=== morgs gets a botched invariant too
morgs--star-merge worked though10:56
SteveAit 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
lifelessuse --star-merge, I think there is something buggered in HEAD right now10:57
=== morgs reaches for the --star-merges
=== carlos -> out
SteveAwhat 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:57
SteveAin 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
lifelessSteveA: right. the thing I don't like about inverting the if block in-line is that it becomes a double negatic10:58
lifelessbetter to invert, remove the not, invert the function name instead.10:58
SteveArather 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:58
SteveAyes10:59
SteveAyour wording fits better with me if i remove my python hat and put on a functional hat10:59
lifelessmmm11:00
lifelessI think isNullPatch (asis), or isValidPatch (inverted with leading not removed) are equivalent.11:00
lifelessisNullPatch (inverted) feels wrong and ugly.11:01
=== SteveA proceeds to remove most of the warnings from when you run the launchpad test suite
lifelessjamesh: 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
KinnisonApplication error.  Unauthenticated user POSTing to page that requires authentication.11:07
KinnisonSteveA: should we present a login page ^^ then, and when logged in, re-POST the contents?11:07
jameshlifeless: sure.  which revs should I be looking at? :)11:07
mptKinnison: yes, that bug's reported11:07
Kinnisonmpt: okay thanks11:08
=== Kinnison growls and hopes that if he presses "back" his long and complex bug comment will be retained
lifelessjamesh: well, reviews page lists the specific revs for other things11:08
=== morgs wonders who Richard Braine is, inventor of crackful dhtml in the series +source page...
SteveAKinnison: yes, kind of, there's a bug on this.  we'll design it in brazil.11:08
lifelessjamesh: and 364 -> 371 are the ones you have not reviewed to date11:08
KinnisonSteveA: okay ta11:08
jameshlifeless: thanks11:08
SteveAKinnison: right now, if launchpad presents you with an opportunity to get that page, there is a bug in the page that led you there.11:08
=== Kinnison kicks firefox and types a shorter bug message in and hits submit
mptmorgs: Friend of sabdfl's, party photographer and purveyor of completely-JavaScript-dependent Web sites11:09
morgsmpt: Ah, purveyor of bits of launchpad.js...11:09
=== 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
guimHi11:26
mptarg11:29
mptBjornT: why do /malone/assigned and /people/whoever/+assignedbugs both exist?11:29
jameshmpt: the first is probably the older.11:32
mptWell the first has undergone major changes recently11:32
BjornTmpt: 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:34
SteveABjornT: browser/person.py, line 200 ish11:40
SteveA    def assignedBugsToShow(self):11:40
SteveA        """Return True if there's any bug assigned to this person that match11:40
SteveA        the criteria of mostImportantBugTasks() or mostRecentBugTasks()."""11:40
SteveA        return bool(self.mostImportantBugTasks() or self.mostRecentBugTasks())11:40
SteveA11:40
SteveAone or both of those queries lacks an orderby11:40
SteveAso, when bool is used on them, we get a warning about unpredictable order11:41
dilysNew Malone bug 1367 filed on product Malone by Matthew Paul Thomas: Merge /malone/assigned and /people/whoever/+assignedbugs11:41
dilyshttps://launchpad.ubuntu.com/malone/bugs/136711:41
guimhi all11:46
guimI have a problem that maybe someone can help here11:47
guimI tried to subsrcibe to the edubuntu wiki, 11:47
guimthen I had to creat a launchpad account (so far, this is at least what I understood)11:48
guimbut it seems like the wiki do not recognize the login/pwd it gave me11:48
guimanyone to tell me what I did wrong?11:49
guimlogin/pwd works on the launchpad page11:50
lifelesshmm11:50
lifelessSteveA: does anyone other than spiv grok that foo ?11:50
BjornTSteveA: 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:52
SteveABjornT: okay.  i'm on a crusade to get rid of warnings when we run tests.11:53
BjornTcool11:53
lifelessguim: I'm sorry, I can't help you ...11:53
SteveAguim: are you using exactly the same login and password as works for launchpad?11:54
SteveAthat is, an email address, and the password?11:54
guimok 11:54
guimI check again, I might have done a silly mistake11:55
SteveAthanks.  come back if it doesn't work and we'll check out other things that might be wrong.11:55
guimthanks,11:56
guimi misunderstood the fact that login is e-mail and not name11:56
SteveAwhat were you using?  a WikiName ?11:57
guimsorry11:57
SteveAif you misunderstood, then it is probably that our system is hard to understand.11:57
SteveAso, maybe we can fix it.11:57
SteveAdid you try to log in using your WikiName ?11:57
guimi tried with a a name yes11:59
guimthe name i gave in the launchpad account 11:59
lifelessoh, like 'guim' ?12:00
jameshguim: I think you need to use one of the email addresses registered with Launchpad as the username12:01
guimyes12:01
lifelessjamesh: we're past thata already ;012:01
guimyes jamesh 12:01
jameshoh :)12:01
lifelessguim: thanks, that helps.12:01
guimno problem12:01
jameshthat's what worked for the main ubuntu wiki after the auth change12:01
jameshfor me12:01
SteveAlifeless: do we have zope3 in the supermirror yet?12:01
lifelessSteveA: let me see12:01
SteveAsomeone is sending patches to the zope.interface mailing list12:02
SteveAand asking if there's a better way to show their ongoing proposed improvements12:02
mptSteveA: https://wiki.launchpad.canonical.com/LaunchpadHierarchyNavigation#head-eb01bf04c9a0e8a71c45816513df424f1c7ffedb12:02
SteveAworking on an svn branch is one option12:02
SteveAworking on a baz branch would be sweet, though, as they wouldn't need svn access12:02
SteveAthanks mpt, i'll take a look12:03
lifelessit failed12:03
lifelessI've marked it for retest12:03
SteveAthey use lots of fancy stuff to do with linking many different svn areas together12:03
jameshsvn:externals, I suppose12:04
SteveAjamesh: i used to know what it was.  i cleared that space for arch stuff ;-)12:04
lifelessSteveA: we need to do each area separately.12:07
lifelessSteveA: it'll be a pain12:07
mptcarlos: ping12:12
SteveAmpt: i still need to know what to call one "breadcrumb"12:13
carlosmpt, pong12:13
mptSteveA: a hierarchy item?12:14
mptNot very catchy, is it...12:14
SteveAclass POTemplateNavigation(Navigation):12:14
SteveA    hierarchy_item = None12:14
SteveA12:14
SteveAfor example?12:14
SteveAi had it sketched as 'breadcrumb'12:14
SteveAit will actually be a function that returns a BreadcrumbLink12:14
SteveAor a HierarchyItemLink12:15
SteveAbleh12:15
mptChain12:15
mptChainLink12:15
mpt?12:15
SteveAcan't i just call them "breadcrumbs" ?12:15
mptsure, if you like12:15
SteveAthey seem to me to be breadcrumbs, but just selectively displayed12:15
SteveAand intelligently displayed12:15
jameshSteveA: 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:16
SteveAthey should all go in the approprite browser/thing.py module12:17
SteveAi don't know what's in browser/launchpad.py12:17
SteveAbut, perhaps the ones for the "system homes" should go in there12:17
jameshokay.  I was just noticing that the only file in browser/ that imports ApplicationMenu is browser/launchpad.py12:18
SteveAwe have few application menus yet12:18
jameshit includes the Rosetta ApplicationMenu 12:18
SteveAright12:18
SteveAfor Rosetta the "system homepage" for rosetta12:18
SteveAi should put them into "system homes" or soemthing12:18
SteveAjamesh: i want to walk up the current execution stack, looking for a particular kind of class 12:19
SteveAknow any shortcuts, or should i just walk sys._getFrame, and its parent?12:19
jameshI don't know of a shortcut12:20
mptcarlos: 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
SteveAhmm, inspect has currentFrame12:20
jameshfinding the class for the frame can probably be done using a few heuristics12:21
SteveAthe inspect stuff will get me what i need12:22
SteveAta12:22
carlosmpt, hmmm12:23
carlosmpt, from there I think the idea is to have a link as part of the suggestions12:23
carlosthat lets you get the edit form for that language and string so you can edit it12:23
carlosand 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 from12:24
carlosthe 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:25
carlosand show it by default with the translation form12:26
=== terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad
mptcarlos: oh, multiple source languages?12:31
mpte.g. looking at the Portugese translations while doing the Brazilian Portugese one12:32
carlosmpt, yes12:32
carlosmpt, did you see current translation form?12:32
mptcarlos: Has it changed recently?12:32
carlosmpt, yes12:32
mptcrap12:32
mptI have a branch to clean it up, but I'm a bit stuck12:33
carlosmpt, mark added a language selector to see suggestions12:33
carlosso you choose another language to see the suggestions12:33
mptmpt@canonical.com/launchpad--translation-cleanup--012:33
carlosmpt, 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 wrong12:33
mptthat sounds like fun12:34
carlosmpt, and a way to select by default a language so you don't need to select it every time12:34
mptclick the link, and blow away the work you were doing on that page12:34
mptok12:34
mptBjornT: mpt@canonical.com/launchpad--decruftify-b--1 is ready12:34
SteveAc12:36
SteveAEWINDOW12:36
BjornTmpt: cool. i'll review it after lunch12:38
SteveAstub: does canonical.launchpad.mailnotification need to directly access database code?12:53
SteveAcarlos: does canonical.rosetta need to directly access database code?12:53
carloscanonical.rosetta?12:54
stubstub: Don't know - not my baby12:54
SteveAwhose?12:54
stubbradb I think12:54
carlosoh, I see what do you mean12:54
=== carlos checks
carlosSteveA, I think we can fix it easily12:55
carlosSteveA, Mark added it to get some statistics12:55
carlosbut we can do it with some methods added to the objectsets instead of using the database code12:56
SteveAokay, goo12:56
SteveAd12:56
=== Kinnison 's toys have arrived
Kinnisontonight I build myself a hoary-based PVR01:05
=== Kinnison bounces
mptthanks BjornT01:08
=== 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
jameshSteveA: have time for an ApplicationMenu question?01:39
SteveAok01:39
=== ddaa [~ddaa@marvin.xlii.org] has joined #launchpad
jameshin 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:39
jameshI 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:40
jameshIf I attach the app menu to the ICalendar, I don't think I have any way to tell what date range is currently being displayed01:41
jamesh(which I need to know in order to make the menus point to the relevant pages)01:41
SteveAif you attach the app menu to ICalendar, it won't be displayed for a date range in that calendar anyway01:43
jameshokay.01:43
SteveAan app menu is chosen according to the name of the currently selected facet link, but the app menu is specific to the current context01:43
SteveAso, you need to have the app menu working with the current date range context01:44
SteveAyou should be able to get the calendar from a particular date range object01:44
SteveAand then you can get the canonical_url for other date ranges, got from the calendar01:44
jameshI'll try switching over to canonical_url() and see if that makes things work a bit nicer01:45
jameshthat seems to work better01:53
=== debonzi [~debonzi@201-13-41-28.dsl.telesp.net.br] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  import BugSetBase from the correct place. (patch-2072: bjorn.tillenius@canonical.com)02:37
carloslifeless, ddaa, jblack  https://chinstrap.ubuntu.com/~dsilvers/paste/filedwkhcR.html02:39
carlosI'm not able to merge from rocketfuel02:39
carlosBazaar version 1.5~20050709104902:40
Kinnisoncarlos: use baz merge --star-merge02:41
carlosKinnison, hmm, that error does not looks like that kind of error, but anyway, will try02:42
carlosthank you02:42
=== carlos -> lunch
Kinnisoncarlos: it's not, but star-merge is different codepaths so it won't have the issue02:43
Kinnisonmesh merge needs a lot of work02:43
ddaacarlos: 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:44
ddaaas Kinnison said, merge does a lot of things that star-merge never even heard of.02:45
ddaathat's a lot of opportunities for bugs to creep in.02:45
=== elmo [~james@a130-233-4-133.debconf5.hut.fi] has joined #launchpad
cprovsomeone knows if Staging is sending email correctly ?02:46
=== ChanServ [ChanServ@services.] has joined #launchpad
stubStaging does not send emails at the moment03:05
cprovstub:?! 03:06
=== cprov was late ...
=== terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad
bradbmorning03:15
bradbmpt: as for why +assignedbugs exists, you'd have to ask salgado03:15
bradbSteveA: mailnotification.py shouldn't need to directly access db code03:15
bradbmpt: do you have time to discuss menus, by any chance?03:19
mptbradb: yes03:19
bradbgreat, let's do it03:19
mptand hey, Kinnison and cprov are here for Soyuz menus too03:20
mptbradb: arh, I was supposed to put them in the LPMenus spec, and I forgot03:20
mptsorry03:20
bradbno worries03:21
cprovmpt: sure, no worries 03:21
mptbradb: ok, so any page belonging to Malone has the "Bugs" facet selected03:22
mptthat includes /malone/anything03:22
mptand /people/anyone/+bugs03:23
mptand /people/anyone/+assignedbugs03:23
mptand /anything/+filebug03:23
mptok?03:24
bradbyes03:24
mptThen most of those pages have the Malone app tabs03:24
mptprobably the /people/something pages don't, because it doesn't make much sense to report a bug about a person03:24
mptbut all the software ones do03:24
mptand the /malone ones do03:25
mptand the app menus are: "<context> Bugs", "Report a Bug", "Show Reports", "Admin"03:25
mpt"<context> Bugs" is the selected tab for any page whose URL ends in +bugs03:26
mpt"Report a Bug" is any page whose URL contains +filebug03:26
mpt"Show Reports" is selected when you're displaying a search or a bug report03:26
mptand "Admin" is ... erm ... does Malone have any admin functions?03:27
bradbsorry, was on phone again03:28
bradbso, "Show Reports" highlighted for advanced search too?03:29
mptyep03:29
bradbMalone has no Admin functions presently03:29
mptok, so we don't need that tab then03:29
mptgood03:29
bradbok03:29
bradbpresumably i can hunt through the code to find some examples of how this stuff is used03:30
cprovmpt: can we move to soyuz ?03:30
bradband, with the menu structure you've just given me, i should be able to take care of the rest03:30
mptbradb: 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
mptcprov: sure03:30
bradbmpt: sounds good, thanks.03:31
=== cprov will follow bradb hunting usage examples
mptcprov: So give me some example Soyuz URLs03:31
mptbecause to be perfectly honest, I'm a bit fuzzy on what is Soyuz and what isn't03:31
cprovmpt: /distros/03:32
mpt(that's not a good way to make you feel loved, is it003:32
mpt)03:32
cprovmpt: /distros/ubuntu03:32
mptok...03:32
mptcprov: you have it easy, then03:32
cprovmpt: no, definitively I don't feel loved at all  03:33
mptaww03:33
=== mpt gives cprov a hug
mptcprov: So all you need to do for the moment, I think, is make sure the facet menus are working properly in the /distros pages03:33
cprovmpt: wait they were easy ones ... what about distros/ubuntu/hoary/i386/firefox 03:34
=== cprov is pleased with a hug
mptYou have the same facets as everyone else: Overview, Bugs, Translations, Bounties (eventually), Calendar03:35
mptFor /distros, /distros/ubuntu, and /distros/ubuntu/hoary/i386/firefox, "Overview" is selected03:35
cprovmpt: sure, I don't think we will have a Soyuz facet soon ... since soyuz has most read-only package browsing feature03:35
mptand that already works in production03:35
mptexcept /distros says "Launchpad" instead of "Overview", a slight bug03:36
mptso the main job is making sure the other facets go off to the right place03:36
mptok, already working for /distros/ubuntu and /distros/ubuntu/hoary ...03:37
cprovmpt: yes, just one detail, /distros/ubuntu/i386 has 3 left-portles (distro, release, arch.. details) isn't it too much ?03:37
mptalready working for /distros03:37
mpt /distros/ubuntu/i386 gives me a system error03:38
bradb* Applying 200 revisions .....................................................*falls asleep on desk*..........03:38
mptKeyError: u'i386'03:38
cprovmpt: production wasn't rolled yet ... solved on RF 03:38
lifelessbradb: you should not ever see a 200 rev patch queue, 50 should be the maximum you see03:38
cprovmpt: debonzi did it friday03:39
bradblifeless: http://rafb.net/paste/results/nh3isr25.html03:39
mptcprov: This is rocketfuel as of a few hours ago03:39
cprovmpt: briefly the task for soyuz is : ensure factes are working for distros/release, distros/release/arch and so on 03:40
mpt /distros/ubuntu/hoary/i386 works though03:40
bradblifeless: version 1.5~20050709104903:40
mptcprov: yup03:40
debonzimpt,  /distros/ubuntu/i386 is wrong03:40
cprovmpt: really ? I've just got a merge and it's working .. I'll investigate 03:40
mptdebonzi: I realize that now, but it should be giving me a 404, not a system error :-)03:41
lifelessjamesh: so is that faster ?03:41
cprovmpt: yep ...is that all for soyuz ? I'd expect as result more informative (and rich) pages ...03:43
mptcprov: It's only navigation. It's not supposed to be exciting. :-)03:44
bradbmpt: does this mean that the actions portlet is here to stay? i haven't yet heard any mention of content-level tabs/menu options03:44
lifelessbradb: hmm, mirroring is bnorked03:46
bradblifeless: just mine?03:46
lifelessno03:46
bradboh, ok03:47
carlosKinnison, it worked with --star-merge, thanks for the suggestion03:47
lifelessbradb: semi-fixed03:48
lifelessbradb: dunno why its broken, but I've mirrored the cacherev03:48
bradblifeless: would it help me for me to restart the branch operation?03:48
mptbradb: No, you'll find that the applicaiton menu removes the need for some of the tabs in the actions portlet03:48
lifelessbradb: where is it up to ?03:48
bradblifeless: i restarted it (completely blew away my revlib except =greedy and =sparse, but same problem)03:49
Kinnisoncarlos: no problem03:49
lifelessbradb: do you have a local mirror ?03:49
mptbradb: actually, that's not true for Malone, now I look03:49
lifelessbradb: blowing away your revlib is generally a bad idea, it hurts performance.03:49
bradbmpt: it removes exactly one Malone action portlet item. there are still half a dozen others, at least (and more on the way)03:49
bradblifeless: i do it so that i don't run out of space on my home partition03:50
lifelessbradb: ah03:50
mptbradb: LaunchpadMenus wasn't intended as a "Death to the actions portlet!" effort, it was intended as consistent navigation03:50
cprovmpt: yes, I see .. thanks for the help03:50
mptcprov: no problem03:50
mptbradb: I'd rather that actions were next to the thing they're acting on03:51
mptbradb: 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 duplication03:51
bradbfair 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:51
bradb(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
mptbradb: 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:52
mptand "Activity Log" isn't an action, so it shouldn't be in the portlet at all.03:54
bradbmpt: "the list of bug trackers" where?03:54
mptthe list of bug trackers is underneath the actions portlet03:54
bradbonly when there's an external bugwatch already added, right?03:55
mptah03:55
mptwell, duplicate links is still wrong03:55
mptSo, make the portlet exist all the time03:55
mptcontaining only the "Add watch" link if there are no watches yet03:55
bradb6 empty portlets existing all the time?03:56
mpt6?03:56
bradbmaybe even 703:56
mptbug trackers, Web links (which should die), and CVE refs. That's 3.03:56
mptWhat are the other 3~4?03:56
bradbinfestations, activity log (where else would we put that link?), web link (because we still have it), mark as duplicate.03:57
bradb(infestation is currently divided into upstream and package...possibly merge eventually)03:57
=== mpt wonders why he doesn't see infestations anywhere
mptI saw them yesterday...03:58
mptI don't think duplicates belong in a portlet at all03:59
mptthat would turn into a skyscraper at b.m.o scales03:59
bradbi 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
mptI keep a list of my current branches in a text fiel03:59
mptfile, even03:59
bradbmpt: easy enough to condense it03:59
bradblifeless: branch was much quicker now, thanks04:00
mptbradb: Well, pull out the links that are *already* duplicated04:04
mptthat would at least make the remaining items quicker to scan.04:04
bradbsure04:05
=== guim [~glederer@193.190.183.237] has left #launchpad ["Leaving"]
=== sabdfl [~mark@pc-n253.wlan.inet.fi] has joined #launchpad
bradbmpt: btw, is changing the sidebar into a portlet on the bug listing page something you can do fairly quickly?04:22
bradb(i had opened a bug on that and given it to you; not sure if you noticed)04:22
sabdflstuhey bradb04:23
sabdflerk04:23
sabdflhey bradb04:23
mptbradb: yes, I saw, I'm just keeping in mind the number of people pestering me to make the table take up the *entire* page width04:23
bradbhey sabdfl :)04:23
sabdflstub's retired?04:23
bradbmpt: indeed, indeed04:23
mptanyway, it's way past my bedtime04:24
sabdflmpt: i have a branch for you!04:24
mptooh, a branch04:24
mptdelicious04:24
sabdflyour inner koala?04:24
mptperhaps04:24
sabdflthis one will make you drop04:24
=== mpt wonders whether that's a good thing or a bad thing
sabdflit's a guuuuurd thing04:25
sabdflmark.shuttleworth@canonical.com/launchpad--ui-cleanup--004:25
mptok, I'm switching now, I'll look at it first thing tomorrow04:26
mptthanks sabdfl04:26
sabdfllots of foaf stuff there for you and salgado04:26
sabdflmpt: thank you too!04:26
sabdflsleep tight04:26
sabdflbradb: do you know how to check what branch is headed to production tomorrow?04:26
sabdflmy branch last merged rocketfuel at Fri Jul  8 09:06:58 BST 200504:27
sabdfland i'm kinda hoping to get it reviewed and landed on production directly, if stub tagged off from RF after the above date04:27
bradbsabdfl: not sure. wasn't our cutoff date thursday morning meeting?04:27
sabdflbecause it has lots of nice cleanup04:27
bradbmaybe SteveA could confirm04:28
sabdflstub hadn't tagged off thursday evening, i don't know if he did it during the day on friday04:28
sabdflmpt: do a baz update first thing in the morning, there may be extra pressies04:28
=== bradb is integrating malone menus right now
sabdflcarlos: i've put a person-translations.pt in there04:29
SteveAbradb: i do not know exactly what is going into production in this rollout04:29
sabdflcarlos: btw, people seem to really like the look of rosetta04:29
carlossabdfl, cool, thanks04:29
carlosyeah, althougt we have some missing bits04:30
carlossabdfl, did you implemented suggestions for textareas?04:30
carloswe got a bug about that and I want to look into it this week if the feature is not yet implemented04:30
carlosbecause it's confusing for non editor translations04:30
sabdflcarlos: no, i think we should only have those on a /pomsgmset/+translate page, with some fancy JS to make the page size manageable04:31
sabdflin brazil i want to spec out a detailed page just on a single msgset04:31
carlossabdfl, 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 them04:32
sabdflcarlos: good point04:33
sabdflwe could show (n additional suggestions, latest from Foo Bar)04:33
sabdflas a piece of text04:33
sabdflso they see their name and see the number go up04:33
sabdflwith a [view]  link04:33
sabdflto ../pomsgset/+suggestions04:33
sabdflshould be easy enough04:33
sabdflwe also need to show WHO provided the current active translation04:34
sabdflthere's lots of good stuff to be done04:34
carlosyeah04:34
carlossabdfl, 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:37
sabdflcarlos: show "n additional suggestions, latest by Foo Bar", as link to a page which lists them all, at /path/to/pofile/potmsgsetseq/+suggestions04:38
carlosI thought you wanted to spec that at Brazil04:38
sabdflcarlos:  happy for you to do a qnd implementation before then, or just leave that bug for 1.004:39
sabdflcarlos: did the 1.0 pre-announcement go out?04:40
carlosnot yet, I pinged daf about the status of the annoucement this morning04:40
bradbmpt: what do overview and translations link to when view the bug page?04:45
bradbs/view/viewing/04:45
=== 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
SteveAcarlos: i think the staging server should send all email to a single address05:24
SteveAwhere it can be read from one of the pop3 mailboxes at the DC05:24
SteveAan extra header in the email can give the address it was meant to be sent to05:24
=== cprov lunch
=== SnakeBite [~SnakeBite@84.242.143.64] has joined #launchpad
mptbradb: Bug pages don't have any context, so Overview goes straight up to /, and Translations to /rosetta05:59
bradbmpt: ok, that's what i expected, thanks05:59
=== rob^ [~rob@rob-ubuntu.student.supporter.pdpc] has joined #launchpad
=== mgalvin [~mgalvin@host-66-202-95-170.spr.choiceone.net] has joined #launchpad
rob^hi. what keyserver does Lauchpad use to import gpg keys?06:03
SteveAkeyserver.ubuntu.com06:07
SteveAit's on the main rotation of keyservers06:07
rob^thanks06:07
=== rob^ [~rob@rob-ubuntu.student.supporter.pdpc] has left #launchpad ["Leaving"]
=== rob^ [~rob@rob-ubuntu.student.supporter.pdpc] has joined #launchpad
rob^hi again, one more question.06:09
rob^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
rob^I've sent my key to keyserver.ubuntu.com06:10
rob^how can I fix this?06:11
SteveAhave you already told launchpad about the email addresses on your gpg key?06:11
rob^yes06:11
SteveAcprov: around?06:12
SteveAcprov may be able to help you06:12
rob^ah ok06:12
SteveAotherwise, please file a bug on launchpad in launchpad06:13
rob^ok06:13
SteveAcprov went to lunch a little while ago.  he'll be back in a while.06:17
rob^I'm gonna hit the sack, might catch him later. Thanks for your help though06:21
sabdflhey SteveA!06:23
SteveAhiya06:23
sabdflis it as hot in lithuania?06:23
SteveAyes06:23
SteveAprobably06:23
SteveAstill... winter in brazil soon06:23
sabdflSteveA: silicon works best when cooled ;-)06:24
SteveAso does beer06:30
mgalvincprov, i'm also having the prob rob^ is having, any pointers would be great06:32
carlosSteveA, that's a really good idea06:34
carlosSteveA, did you tell that to stub?06:38
sabdflcarlos: are the breezy imports working now?06:40
sabdfldid we fix those import/transaction issues?06:40
carlosnot yet06:41
carlosthe imports work06:41
carlosbut the transaction is not done06:41
carlosI fixed most of the .pot issues06:41
carlosand schooltool, gourmet and others are now fixed06:42
sabdflfixing transactions in scripts should be easy06:42
carlossabdfl, I'm fixing other things at the same time06:42
sabdfljust know when to ztm.commit() and ztm.begin()06:42
sabdflok06:42
carlosI wrote a spec about it06:42
carloshttps://wiki.launchpad.canonical.com/LaunchpadPoImportFeedback06:43
carlosit's a bit difficult to read current output and our users are not getting enough feedback06:43
sabdflcarlos: my main priority for production tomorrow is to be able to show people the new distrorelease-translation-status pages06:52
SteveA /scratch/dists/launchpad/lib/canonical/launchpad/components/poparser.py:315: POSyntaxWarning: PO file header entry has no content-type field06:53
SteveA  warnings.warn(POSyntaxWarning(msg='PO file header entry has no content-type field'))06:53
SteveAcarlos: is this warning important or something we should fix code to stop?06:53
cprovSteveA: here06:54
SteveAhi cprov 06:54
SteveAsome people were having trouble getting their gpg keys into launchpad06:54
cprovSteveA: yep, rob^ still arround? 06:55
SteveAit was rob^ and mgalvin 06:55
mgalvini am here cprov06:55
cprovSteveA: I'm confident it will be solved in next production rollout ..06:55
cprovSteveA: the error was cause by the previous workflow weakness, all GPG uids were already validated in LP ..06:56
cprovmgalvin: hope the comment above fits in your case too, or not ? be patient and thank you for your feedback 06:58
cprovSteveA:  I agree with you about the need of being able to handle emails sent from Staging, otherwise all token-related features are compromised 07:01
SteveAi want us to build a full end-to-end test of bug email07:02
SteveAfor running on staging07:02
SteveAanyway, --> exercise.  back later.07:02
cprovSteveA: ok, see u later07:03
mgalvincprov, it does, thnx, i'll try again when you guys rollout the next release07:03
carlosSteveA, no, that warning is that we detected a value that is missing and it should be there07:04
cprovmgalvin: thank you, keep playing with other LP features, there still having a lot of fun apart of GPG ;)07:05
=== cprov -> afk 30 min
carlossabdfl, breezy's .pot files are importe already, the part that is missing is the .po imports but it should be done between today and tomorrow07:05
carlosin about 10 minutes I will get an email that will tell me current status07:06
carloswith the number of .po files pending to be imported07:06
=== lamont is now known as lamont-away
=== salgado [~salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== cprov back
kikohello hackers07:37
kiko630 unread07:37
kikoisn't life fun07:37
=== Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
carlosSteveA, lib/canonical/launchpad/scripts/rosetta.py starts growing a lot like helpers.py did, could we move it into rosetta/$script.py ?08:48
=== 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
kikoheh09:05
dilysNew Malone bug 1375 filed on product FOAF by Brad Bollenbach: IRC nick details don't appear to persist09:06
dilyshttps://launchpad.ubuntu.com/malone/bugs/137509:06
SteveAcarlos: ping09:28
SteveAkiko-afk: afk?  slacker! ;-)09:28
carlosSteveA, pong09:28
SteveAhi carlos09:28
carloshi09:28
SteveAso, first of all, about that warning09:28
SteveAlet me understand this properly09:28
SteveAso, is the test supposed to produce that warning?09:29
carlosno, we are not testing that warning09:29
carlosI suppose the sample data we use for the test produces it so it could be easily removed09:30
carlosfixing sample data09:30
carlosI fixed already a couple of related warnings, but I suppose I miss that one09:30
SteveAwhat do you expect to do with such warnings in production?09:31
carloswell, we can remove them if you want, it's part of our crapy po parser that I hope we substitute soon09:32
carlosthey were errors sometime ago, and I moved them to warnings because real data is not so "perfect"09:32
SteveAso, is the message "here's something legitimate that the parser can't handle" ?09:32
carlosand of course is not a big issue if we don't have that information09:33
SteveAhere's the story09:33
carlosno, it's just a "this po file is not perfect"09:33
SteveAi've spent some time today sorting out the warnings and other things that launchpad produces when you run the test suite09:33
SteveAthe principle i'm using is, everything that is warned about should be able to be fixed09:33
SteveAand the test suite's output should tell you the information you need to fix it09:33
SteveAKeybuk: ping09:34
carlosunder that point of view, those warning should be removed as it depends on the real world data we get09:34
SteveAwell, another use of warnings is what should really be log messages09:35
SteveAthat is, we log things in production09:35
SteveAthen scan the log files for things we should do somethig about09:35
SteveAwhich might be looking for edge cases to improve parsers09:35
SteveAor to fix up data manually, or inform people of buggy third party software09:35
SteveAthat kind of thing09:35
SteveAso, maybe you should change the warning to a log message?09:36
carloshmm, I think I should be able now that we are using python2.4 so we don't need the logger object sent as an argument09:37
carlosand thus, I don't need to change the parser api09:37
SteveAokay, let's do that09:37
SteveAthen i don't need to worry about that warning09:37
kiko-afkSteveA, yo!09:38
kikolaundry09:38
carlosok09:38
SteveAkiko: 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:40
SteveAddaa: do you know much about the hct backend ?09:42
ddaaNot really.09:44
ddaaHCT is Keybuk's realm,09:44
kikoSteveA, alan moulder was a wizard09:44
carlosSteveA, did you see my comment about lib/canonical/launchpad/scripts/rosetta.py?09:44
SteveAcarlos: maybe09:44
SteveAplease repeat it09:44
carloscarlos 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
ddaaSteveA: 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
carlosdaf did it already for new scripts but putting them inside scripts/$script.py directly09:45
SteveAwell... it isn't quite like helpers.py, in that it is all focused on rosetta scripts09:45
SteveAnot just on anything09:45
carlosSteveA, right, but unrelated scripts09:46
SteveAi think keeping things flatter and putting them inside /scripts/ is better09:46
carloswe are not sharing any code between scripts there09:46
SteveAjust make sure the module name is clear09:46
ddaaSteveA: maybe if you asked a more pointed question, I could be more specific on my level of uselessness in answering it :)09:46
carlosok09:46
SteveAi'd prefer /scripts/....py than /scripts/rosetta/...py09:46
carloswill do it that way09:46
SteveAgreat09:46
carlosthank you09:46
kikoddaa, ping?09:47
SteveAddaa: in my work on cleaning up the test suite output, i discovered that the launchpad hct back-end is producing a bunch of fixable warnings09:47
SteveAi want to fix them, but want to bounce it off someone who knows the code09:47
ddaakiko: did I make any impression of being away right now? :)09:47
kikoddaa, can you msg me your passport number and country of emission?09:47
kikono!09:47
=== debonzi -> 15min break
ddaaSteveA: 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:49
ddaakikotours: ok09:50
SteveAi'm sure Keybuk will be fine with my changes.09:50
ddaabig hammer way "here are some patches, kthxbye" is also my favourite :)09:51
SteveAkiko: alan moulder?  bob mould?09:54
kikowow, you just cleared up a decades-long confusion09:55
kikoBjornT?09:59
kikodaf?10:03
SteveAdaf is @ debconf10:03
=== carlos -> dinner
=== Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
carlossee you later10:03
BjornThi kiko 10:04
kikoaha10:04
kikoBjornT, can you msg me your passport number and country of emission?10:04
kikoor read your email :-)10:04
SteveAwhat does "country of emission" mean?10:04
carlosSteveA, I suppose it's the country that gave you it10:05
carlosSteveA, for instance, bradb has two of them10:05
SteveAor the country you're leaving to come to brazil?10:05
carlosSteveA, my english is not too good, but I don't think kiko means from where are we "emitted" :-P10:06
kikothe country your passport was emitted.10:06
kikosorry for the implied context10:07
SteveAi think it is "country of issue" or "issuing country" on my passport10:07
SteveAkiko: do you need my details?10:07
=== carlos out
kikoright10:07
kikoSteveA, nope.10:07
=== terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad
SteveAsalgado: ping10:24
=== lamont [~lamont@15.238.5.49] has joined #launchpad
salgadohi SteveA 10:26
SteveAhi salgado10:26
SteveAdo you have time to do a bit of foaf clean-up ?10:26
salgadoSteveA, sure. I'm into it right now10:26
SteveAokay, great10:26
SteveAso, i've been improving the way the tests run10:27
SteveAand sorting out warnings10:27
SteveAthere are a bunch of foaf queries that are used for things like displaying batched results10:27
SteveAwhich should have an order by clause in them10:27
SteveAbut which don'e10:27
SteveA10:28
bradbanyone know how i give a page a title if the page is using default-editform.pt?10:28
SteveAThe expression: (list(bn.currentBatch())) in people-list.pt10:28
SteveAThe method PeopleListView.__call__10:28
SteveArequest url: http://localhost:9000/people/+peoplelist10:28
SteveAThe expression: (list(bn.currentBatch())) in people-index.pt10:28
SteveAThe method FOAFSearchView.__call__10:28
SteveArequest url: http://localhost:9000/people/+index10:28
SteveAThe method PersonView.assignedBugsToShow10:28
SteveArequest url: http://localhost:9000/people/sabdfl/+assignedbugs10:28
SteveAThe method PersonView.__call__10:28
SteveArequest url: http://localhost:9000/people/sabdfl/+assignedbugs10:28
SteveAThe expression: (list(bn.currentBatch())) in people-list.pt10:28
SteveAThe method TeamListView.__call__10:28
SteveArequest url: http://localhost:9000/people/+teamlist10:28
SteveAbradb: there was a way to do that a while ago.  i just looked, and it's been removed,10:31
SteveAsalgado:  that's some output from my warning helper10:31
=== mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad
bradbSteveA: do i have to create a boiler plate template to make this possible then?10:31
SteveAsalgado: check out browser/person.py, getTeamsList, getPeopleList and getUbuntitesList10:32
salgadoSteveA, I see.10:32
SteveAsalgado: especially getUbuntitesList, where it says list(results).  that looks wrong to me10:32
SteveAshould be shortlist, or more probably, no list at all10:32
salgadono list at all, I'd say10:32
salgadoI'll talk to cprov to make sure that list() is not needed10:33
SteveAalso10:33
SteveA _findPeopleByName10:33
SteveAi see no reason for this to be just method10:34
SteveAbe just one method10:34
SteveAit can be split into three methods10:34
salgadoalmost all methods of IPersonSet already accept an orderBy argument. I'll just have to fix the callsites10:34
cprovsalgado: SteveA: I suspect you're right, list() isn't necessary 10:34
SteveAwhy can't there be a default ordering of 'id' ?10:34
SteveAkas.selectByCategoryAndPerson(actionCategory, self.context)10:35
SteveAalso, that needs an order by10:35
cprovsalgado: I'm repairing it in the current [trivial]  change you requested, ok ?10:35
SteveAassignedBugsToShow too10:35
salgadocprov, I can fix it. there's some other fixes I'll have to do10:35
cprovsalgado: ok, won't touch 10:36
salgadoSteveA, shouldn't the Person._defaultOrder be used if I don't specify orderBy=None?10:36
salgadoif I specify orderBy=None10:36
SteveAbradb: is this urgent?10:36
SteveAsalgado:  i don't know10:36
bradbSteveA: no10:36
SteveAbradb: okay, maybe file a bug on it for me?10:37
bradbwill do, thanks10:37
SteveAsalgado: 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.10:38
=== SteveA --> food
salgadoSteveA, okay. thank you10:40
salgadoSteveA, still here?10:47
dilysMerge 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:06
kikocarlos?11:08
=== debonzi -> BBL
carloskiko, ?11:20
SteveAsalgado: hi11:20
=== jbailey [~jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #launchpad
kikocarlos, you know about the error we're getting when running the export queue?11:25
carloskiko, the one related with .mo files?11:26
kikoright, when compiling a pofile.11:26
salgadoSteveA, 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
carloskiko, yes, I hope tomorrow will have it fixed, it's a matter of data migration 11:27
jbaileybradb: 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
kikocarlos, ah, is it about the newlines issue?11:27
SteveAkiko: where does that go?11:27
kikojbailey, sounds sane.11:27
carloskiko, yes11:27
kikoSteveA, launchpad-error-reports.11:27
kikocarlos, thanks.11:27
carlosnp11:28
salgadoso, 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
SteveAi meant salgado, and i meant, where does the link go11:28
jbaileybradb: 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
kikosalgado, a checkbox?11:28
bradbjbailey: 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:28
bradbjbailey: sure, one sec11:29
salgadoSteveA, 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 anymore11:29
salgadothat's how I found it's a common use case11:29
bradbjbailey: can i paste them to you in a msg?11:29
jbaileybradb: Yup! =)11:30
salgadokiko, yes. a checkbox. is there anything wrong?11:30
SteveAsalgado: i see.  we could make +login go to the root login page in that case11:30
kikosalgado, sounds kinda weird. why ask the user? why not do the right thing automatically?11:30
salgadoSteveA, that would be good, but I don't think it would be a problem after my changes11:31
salgadokiko, 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 noticing11:32
SteveAcan 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 have11:32
salgadothat's why I choosed to use a checkbox (checked by default)11:32
salgadoSteveA, sure. I'll do that11:32
SteveAthanks11:33
salgadoSteveA, but anyway, what I wanted to ask you is something else.11:33
kikosalgado, hmmm. why not have him log himself out?11:33
kikosalgado, can you check with mpt? I'm sure he'll have an opinion11:33
salgadohe could not even notice that he was logged in11:33
salgadosure. I'll talk to mpt.11:33
salgadoSteveA, so, if I can log a person in while resetting his password, I would be able to remove that removeSecurityProxy() call. (remember it?)11:34
SteveAokay, that sounds reasonable.  you have credentials in the form of the token11:35
bradbSteveA: 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
SteveAbradb: a couple of days ago11:35
bradbok11:35
SteveAbradb: i use bugs11:35
SteveAsalgado: but, don't ask me how to do it tonight :-)11:36
=== sabdfl [~mark@pc-n253.wlan.inet.fi] has joined #launchpad
salgadoSteveA, 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:36
salgadoI expect that would take care of giving me an object where I would be able to change the password11:38
sabdflcarlos: re po imports, ok cool thanks11:38
SteveAsalgado: logging in is a bit complex, when you want to log in during the rendering of a page.11:39
carlossabdfl, I found a problem importing .po files related with some changes I did last week11:39
carlossabdfl, will try to have a patch ready tonight 11:39
carlossabdfl, it only affects .po imports .pot imports work11:39
SteveAsalgado: 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
SteveAsalgado: send me an email about it11:39
sabdflcarlos: ok cool11:40
salgadoSteveA, sure. I'll do it. thank you again. :)11:40
carlossabdfl, 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
sabdflcarlos:  i hope it doesn't!11:40
carlosme too11:40
SteveAsalgado: i'd like you to look at those order-by issues soon.  they'll tidy up the test output a lot11:41
carlosbut it's the only thing I can think on11:41
salgadoSteveA, I'll look at them today. I'm just finishing these logintoken-related changes11:42
SteveAokay.  when you merge from rf, and run the tests, you'll see some output that tells you exactly where you need to look.11:42
SteveAalso, update sqlobject and sqlos11:43
SteveAfor a cleaner test-run experience11:44
dilysMerge 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:45
bradbhello? pqm? what happened to my two merge requests? *taps mic* is this thing on?11:48
bradba little bit earlier:11:50
bradb                             PQM Queue: 2 commands11:50
bradb    1. /home/pqm/arch/queue/patch.1121115010: bradb@bbnet.ca (Brad11:50
bradb       Bollenbach), '[trivial]  de-underline release bug portlet links',11:50
bradb       -----BEGIN PGP SIGNED MESSAGE-----11:50
bradb    2. /home/pqm/arch/queue/patch.1121115977: bradb@bbnet.ca (Brad11:50
bradb       Bollenbach), '[trivial]  small title fixes', -----BEGIN PGP SIGNED11:50
bradb       MESSAGE-----11:50
bradband now:11:50
bradbbradb@oxygen:~/launchpad $ ssh chinstrap.warthogs.hbd.com lynx --dump http://localhost:8000/11:50
bradb                             PQM Queue: 0 commands11:51
=== kiko grins at bradb
bradbmaybe it's got Intelligent Delay Technology for sending my failure messages or something? still nothing in my Inbox...11:52
jbaileybradb: Need me for anything else?11:52
bradbjbailey: nope, that clarifies things, thanks11:52
jbaileyCool.  /me sails off to the sunset.11:52
=== jbailey [~jbailey@modemcable139.249-203-24.mc.videotron.ca] has left #launchpad ["Leaving"]
lifelessbradb: small title fixes failed - two failues11:53
lifelessmessaging you11:53

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