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

bradbsalgado: ah, found the cause of that bug whose exception you showed me12:17
salgadobradb, cool. what was it?12:17
bradbi can reproduce it when I click "Change" on the +duplicate form, where there's an ID in there and I don't chagne it12:17
bradbhence the "empty bug_delta" bit of the error msg12:17
=== asgeirf [~asgeirf@203-206-229-169.dyn.iinet.net.au] has joined #launchpad
lifelesstry pqm again please12:31
lifelessbad config foo by me.12:31
cprovlifeless: anything wrong with PQM ?12:35
cprovExecuting pre-commit hook "TZ=Asia/Calcutta make check_merge" at Thu Jul  7 23:31:48 2005   /bin/sh: TZ=Asia/Calcutta make check_merge: No such file or directory   pre-commit hook failed with error code 32257 at Thu Jul  7 23:31:48 200512:35
cprovlifeless: sorry, have seen the email from salgado 12:36
lifelesscprov: ^^^12:36
cprovtime to go ... see you later tonight12:37
=== terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad
=== Keybuk [~scott@syndicate.netsplit.com] has joined #launchpad
Keybukmeh01:41
KeybukPython's re module doesn't understand [[:digit:] ] 01:41
lifelessreally?01:51
Keybukyeah01:51
Keybukthis, children, is why we don't use regexps as "interoperable" config01:52
ddaait does understand \d though01:52
Keybuksure, but when you're parsing someone else's config that uses regexps for special things ...01:53
=== ddaa slowly dawns to the realisation that this idea of a p2p protocol for the collaborative editor was probably just crack
lifelessddaa: hey, we're running 1.4 in importd-land now right ?01:59
ddaalifeless: it would be surprised of learning otherwise01:59
lifelessddaa: I've some code I'd like to to spend some time on tomorrow - say a half days worth, see where it gets to - the locations support.01:59
ddaainteresting problem, but either too much (it makes resource aquisition, like nicknames or document ids, quite complex) or too little (it's not really robust as it's limited to star-topology)...02:00
ddaalifeless: well, I think I specced the thing quite thoroughly, doing it just one of those "simple matter of engineering"...02:00
ddaalifeless: please specify "half day"02:01
ddaaI can imagine at least three different values for that.02:01
ddaa12h (half of a legal day), 8h (half of a waking day), 4h (half a working day), 3h (half of a working day minus email etc.), 1h (half of what is left after imports on a good day)...02:02
lifelessddaa: 4h minimum, you may choose 8inventory_link_target or 12 at your discretion.02:04
ddaathat's funny how random bits of baz source code make irruption in your speech... have you considered seeking counsel?02:05
ddaaI mean, that's starting to be concerning...02:05
ddaalifeless: here is a design challenge.02:06
ddaaI have this body of well tested, designed, document source code. But I want to replace by something simple and less functional to go forward.02:06
ddaaShould I just rm the stuff?02:06
lifelessis anything using the stuff you don't want ?02:07
ddaaOr do you have an idea how to keep it around while preservig it from bitrot?02:07
carloslifeless, ddaa hi, I need some support with bazaar02:08
ddaaIt's not a matter of "don't want". It's just that it has assumptions that make it more complex to develop than what I can be bothered to put up with right now. So I want to replace by something that makes more assumptions.02:08
carloslifeless, ddaa I'm trying to merge a patchset into production because stub got some conflicts and asked me to do it02:08
ddaareplay?02:09
carlosand the merge gives me conflicts and touches lots of files I didn't changed with that changeset02:09
carlosddaa, replay?02:09
ddaaneverming02:09
carlosno, merge02:09
lifelesscarlos: you should not be merging to do a cherry pick02:09
carlosThis is the output of the merge:02:09
carloshttps://chinstrap.ubuntu.com/~dsilvers/paste/fileEimVAo.html02:09
lifelesscarlos: you need to :02:09
carloslifeless, ok, then?02:09
lifelessswitch to the production branch02:09
lifelessreplay your specific patchset 02:10
carloslifeless, stuart asked me to branch from production02:10
carlosI'm working on my own branch02:10
lifelessfigure out whether it needs other patch sets that are in devel but not production, or deal with the conflicts02:10
lifelessok, on your branch then02:10
carloscarlos.perello@canonical.com--2004/launchpad--production--1.24--base-002:10
carlosok02:10
lifelessso use 'replay' to get a single patch.02:11
carlosperfect, it works now02:11
carlosthe conflict is with the test02:11
carlosI suppose it's ok if I just fix it, right?02:11
lifelessfix and commit02:12
lifelessthen we can pull that into production02:12
lifelessddaa: so...02:13
lifelessddaa: you have a codebase A that is used by some client code, but is proving hard to change, OR02:13
lifelessddaa: you have a codebase A that is not used by client code and is proving hard to change02:14
ddaait's used by client code02:14
ddaabut the client code can be easily modified02:14
lifelessdo you think the codebase is right - is it the correct solution ?02:14
ddaaThinking of it... the interface probably needs not change much...02:15
ddaaIt is generally heading in the right direction for the problem it's trying to solv.02:15
ddaaThe issue is that I want to change for a simpler problem.02:15
lifelessok02:15
lifelessso - start writing the code for the simpler problem in terms of the current codebase.02:16
lifelessmigrate client code to that using standard refactorings02:16
ddaaMh... so you are saying "remove tests and support code for cases that will no longer be supported"?02:17
lifelessif you don't want to solve the problem they try to solve - yes02:17
ddaamh...02:17
lifelessif you do, but you just want a simpler api for the client code, then you need to work on a simpler api that uses the more complex code. Unsurprisingly these approaches are nearly identical.02:18
ddaaI'm pondering whether the interesting uses cases (mostly bridging nat boundaries and improving latency between close nodes) can be supported eventually without rewriting the same code I'm going to remove...02:20
ddaaI guess yes... I can still have those use cases with a central arbitrator for resource allocation...02:22
ddaaAnd a mesh-topology p2p network is an order of magnituder more complex that what I'm doing now... would probably need a near complete rewrite of the internals...02:23
ddaaalways sad to have to throw away some good crack...02:24
ddaaactually... I can get p2p functionality only client-server support in the leafs... and that's probably even better design.02:26
ddaalifeless: thanks02:26
carloslifeless, mirroring the branch. Thank you 02:28
=== lamont-away is now known as lamont
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
carlosgood night03:12
=== Ronny_2568975125 [~smiley357@nzsbs.communio.co.nz] has joined #launchpad
=== Ronny_2568975125 [~smiley357@nzsbs.communio.co.nz] has left #launchpad []
dilysMerge to rocketfuel@canonical.com/launchpad--production--1.24: Cherry pick Rosetta fixes into production (patch-4: carlos.perello@canonical.com, rocketfuel@canonical.com)04:31
bradbdoes that mean she's fixed?04:49
=== bradb returns from jazz festivaling
=== bradb reads that email. ah.
=== sidnei [~sidnei@dreamcatcher.plone] has joined #launchpad
=== sidnei [~sidnei@dreamcatcher.plone] has left #launchpad ["Leaving"]
=== mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad
jameshmpt: looks like I'll be on the same flight to Brazil as you now.06:09
mptYou're going via Auckland?06:10
jameshyep06:11
mptcool06:11
jameshPerth -> Sydney -> Auckland -> Buenos Aires -> Sao Paulo06:11
=== mpt wonders what https://wiki.canonical.com/BrazilWhiteBoard is all about
jameshmpt: there was a meeting in Brazil last year (before I joined)06:12
mptheh, someone called Malone "the Universe Bugzilla"06:14
mptWho deals with Launchpad login problems?06:14
mptjamesh: Do you want to talk about calendar menus sometime?06:17
bradbmpt: my guess is that SteveA deals with lp login problems06:19
mpthey bradb, sorry I'm late06:20
mptwe could talk Malone menus now if you like06:20
bradbhm, how long would that take, do you think/06:20
bradbi wasn't planning on doing that tonight, to be honest, but if it's pretty quick, maybe (it's 0h20 here)06:21
mptbradb: probably half an hour06:25
mptno particular hurry, I can add them myself (just a bit slower than Real Zope Hackers)06:26
bradbwhat do i have to know from you about menus?06:26
mptwhat menus should appear where, and what should be the selected item on particular pages06:26
mptI guess I could just put that in the LaunchpadMenus spec06:26
bradbi.e. you'll tell me exactly what menu items to put on what pages, etc?06:27
mptyah06:27
bradbwild. yeah, it might be more effective if you could either 1. update the spec or 2. write a little email about that. if you'd prefer to do neither of those, perhaps we can try to find another time (on the weekend? busy tomorrow night) to discuss them. your call.06:28
mptok, I'll do (1)06:28
bradblifeless: i just saw this in another failure mail from pqm (longish paste):06:30
bradbTraceback (most recent call last):06:30
bradb  File "/home/pqm/arch/queue/workdir/rocketfuel@canonical.com/rocketfuel@canonical.com---launchpad--devel--0/launchpad/lib/CVS/tests/test_CVS.py", line06:30
bradb+1927, in testChangeLog06:30
bradb    self.assertEqual(logForChangeset(cs), expectedLog)06:30
bradbAssertionError: 'Summary: aa\nCSCVSID: MAIN.2\nKeywords: cscvs:MAIN.2\n\nAuthor: foo\nDate: 1970-01-12 13:50:00 Asia/Culcutta\naa\n' != 'Summary:06:30
bradb+aa\nCSCVSID: MAIN.2\nKeywords: cscvs:MAIN.2\n\nAuthor: foo\nDate: 1970-01-12 13:50:00 Asia/Culc\naa\n'06:30
lifelesshahahah06:30
lifelessfixing06:30
bradbthanks06:31
lifelessturns out cscvs's test suite depends on TZ :!06:31
bradbmpt: good idea, thanks.06:31
lifelessor something like that anyway06:31
lifelesssubmit again please06:32
bradbok, waiting for make check to finish here then will resubmit two branches06:32
=== mpt admires the new ":"-less baz
=== bradb jumps for joy a the Google toolbar for ffox. I now have a new weapon in the fight against the Standard Python Documentation
mptah, crud, /home has run out of space again06:39
bradbHEH06:39
bradblifeless: resubmitted both branches. fingers crossed!06:39
mptThe cure for this is deleting one's revlib, correct?06:39
bradbyes06:40
bradbthat's what i do anyway06:40
mptand my revlib is ~/archives/mpt@canonical.com?06:40
lifelessNO06:40
bradbno!06:40
mptok ok06:40
lifelessbaz my-revision-library06:40
lifelessdon't delete the revlib itself.06:40
mpt /home/mpt/.arch-revlib06:40
lifelessrm -rf $(baz my-revision-library | head -n 1)/*@*06:41
bradblifeless: will Bad Things Happen if you remove the revlib dir itself?06:41
lifelessYes06:42
mptbash vs. nautilus cagefight!06:42
lifelessyou will nuke the config in the revlib, disabling it and making it greedy rather than sparse.06:42
bradbright06:42
lifelessneither of which are desirable.06:42
mptMine contains both =greedy and =sparse files06:43
lifelessthey need to be preserved06:43
mptboth of which are empty06:43
lifelessthats fine06:43
=== mpt wishes rm had a progress indicator :-)
lifelessrm -V ?06:57
lifelessbah06:57
lifeless-v06:57
mptI mean a percentage, not a scroll of filenames07:00
mptso I could calculate whether I have enough time to get (a) a drink, (b) fish and chips, or (c) a social life07:01
lifelesscount =(($(find . | wc-l )) ; rm -v | ....07:02
lifeless;007:02
lifelessheres a trick you can use07:02
lifelessrather than deleting them, rename them 07:03
lifelessi.e. rename s/^/foooo/ .../*@*07:03
lifelessnow they won't be used.07:03
lifelessrm -rf .../fooooo*@*07:03
lifelessand just start working again07:03
lifelessext3 is very slow at deleting such stuff :|07:04
mptoh, it finished several minutes ago07:09
mptI didn't know it was going to take that long, though07:10
mptOne day I'll have time to learn all that shell trickery07:10
mptafter I retire, maybe07:10
mptA real smart delete command would show me the progress only if the prorgress was doing to take longer than a few seconds07:13
jameshIt's almost worth creating a non-ext3 filesystem to store the revlib07:19
jamesh(maybe mounted via loopback, if you don't want to mess with partitions)07:20
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  autofocus the searchtext field when the bug listing page is loaded (patch-2048: brad.bollenbach@canonical.com)07:20
bradbwhen fl-cow gets into ubuntu, maybe i'll try out some hard link fu with baz07:22
jameshfl-cow?07:22
jameshah.  copy on write07:23
bradbright07:23
bradbdaf seems to use it with success with baz hard link trickery07:23
jameshbradb: just use an editor that breaks links on save07:23
jamesh:)07:23
bradbi'm already grasping at my sanity as it is07:24
bradb:P07:24
jblackjamesh: If only it were that simple. All of your tools need to break hardlinks 07:24
jameshI should see if using --link speeds up the pending-reviews/ page07:24
bradbjblack: /exactly/ :)07:24
jameshsince it only touches the tree with baz and rm07:24
jblackbtw, yreah. putting revlib on something else like reiser is a good idea. just lvm a 4-5 gig partition for it. 07:24
jameshI suppose reiser isn't too bad an idea, since it doesn't matter if the data gets trashed :)07:26
jblackIn five years of heavy reiser use, I've had one serious problem.07:26
jblackNo. two.07:26
jblackwhen it breaks, it does tend to break badly though.07:27
jameshthat's including or excluding hardware related problems?07:27
bradb2 x 5 = 10 (years shortened lifespan)07:27
jblackboth were software. 07:28
jameshjblack: okay then.  that's two more than I've run into with ext2/ext3 then.07:28
jblackYeah. I've never had a massive software ext failure07:29
jameshanyway, ~ 2 catastrophic failures in 5 years is no problem for a revision library (which is just a cache)07:29
jblackbtw, one of the failures was a unintentionally hand-wiped partition table. ;) 07:30
=== bradb hits the sack. later all.
jblackbut yeah. I'd try it for .arch-cache, your revlib, /tmp, various odds-n-ends where you could see performance benefits but wouldn't feel bad if the data went away.07:32
jblackNight. 07:32
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=SteveA]  fix bug and task page titles to be 1. consistent, 2. alphabetize well, 3. be better microcontent (i.e. lose the word 'Editing ...'). some other trivial fixes that would have been merged separately already if pqm didn't break. (patch-2049: brad.bollenbach@canonical.com)08:04
SteveAmorning08:36
SteveAlifeless: how's the pqm hanging?08:37
lifelessSteveA: I broke the config last night08:39
lifelessSteveA: but other wise, much improved I think08:39
SteveAcool08:40
SteveAi'll try a merge08:40
sabdflmorning09:33
sabdflstub: does staging have the branch you tagged off for production on tuesday?09:34
stubsabdfl: I havn't selected the production patch level yet. Staging just runs head.09:35
stubCurrently running head as of about 7 hours ago09:35
sabdflstub: there is some major issue with anything related to distro's, is it a known problem?09:35
stubNothing that I'm aware of09:35
sabdflhttps://staging.ubuntu.com/distros/ubuntu/hoary/09:36
sabdflthis is odd, i cant reproduce the staging bug on my local machine at all09:43
sabdflbradb-away: if you get this, please ack09:45
SteveAmpt: ping09:56
stubsabdfl: That page is broken because DistroRelease.architectures fails with more than one DistroReleaseArchitecture. I tracked it down for debonzi last night. I don't know if he has a fix in for review or not.09:57
stub(because the orderBy clause is stuffed)09:57
mptSteveA: pong09:59
SteveAmpt: on linkifying.  what is most useful to me for adding it to DPoT is not algorithms as such, but test cases 10:00
mptok10:00
SteveAi develop this kind of thing in a test-driven way 10:00
SteveAand test cases are the best way to ensure that it comes out the way it should, and that any bugs or changes are clearly communicated and dealt with10:01
SteveAso, can you stick some test cases on the DPoT page10:01
SteveAand, then i10:01
SteveA 'll add linkfying to that work10:01
mptsure, thanks10:01
SteveAjamesh: thanks for the input on the linkification thread.  I must say though, I think the thread's been missing the point, in the sense that it's been about exchanging regexes rather than examples / test cases.10:02
mptoh daf10:03
SteveAi think the problem occured because kiko developed a proof-of-concept patch to linkify text10:04
=== mpt wonders when typing "launchpad.net" into the URL bar will work
SteveAbut rather than using this as merely a proof of concept, it became elevated into "the solution"10:04
sabdflstub: that fix definitely needs to land in production :-)10:04
SteveAeven though the real thing that lands will look substantially different, because it needs to be integrated into the DPoT sequence of transformations10:05
jameshSteveA: I suppose so.  Do we have a page on the wiki for linkification?10:05
SteveAmpt is going to add examples to DisplayingParagraphsOfText10:05
SteveAand i'll implement it as part of that10:06
jameshI could probably whip up a few test cases10:06
SteveAif we need linkification in other kinds of presentation, then we'll generalize later10:06
SteveAi just want it working for paragraphs of text to start with10:06
SteveAjamesh: that would be helpful.  can you co-ordinate with mpt about what he is doing?10:06
jameshokay.10:07
SteveAi was thinking about this last night, and i know just how to integrate it with the DPoT code which Bjorn reviewed, which should land in pqm any minute10:07
dafmpt: ?10:10
mptdaf: Did the language selector work for you before you landed it?10:10
dafSteveA, jamesh: I'd like not to have any branches getting stale while I'm away, so I'd like to get them merged today if possible10:11
dafmpt: yes10:11
dafmpt: I've found a bug in it since10:11
dafmpt: which is awaiting review10:11
mptis it reported?10:11
SteveAdaf: so, do you have things that need instant review?10:11
mptdaf: https://launchpad.ubuntu.com/malone/bugs/964 ?10:11
dafSteveA: a quick review would be very much appreciated10:12
dafI have three branches pending review10:12
daftwo small, one large10:12
sabdflmpt: can we discuss menu layout?10:12
mptsabdfl: sure10:12
dafmenus, prefs page fix, import fascism10:12
mptdaf: the problem I have with it is that I can't see any languages10:13
dafthe import fascism one is mostly trivial, but with one or two things which are not thrown in10:13
SteveAdaf: are they up to date on jamesh's revew helper page?10:13
dafSteveA: yes10:13
sabdflmpt: in zermatt we said the menu system would look like this:10:13
dafmpt: hmm, that bug is not familiar10:13
SteveAdaf: i'm looking at the menus one10:13
dafmpt: is it a CSS bug?10:13
sabdfl - a major facet-selector in the top bar10:13
dafSteveA: great, thanks10:13
sabdfl - up to 5 tabs for the current context and facet10:14
sabdfl - an actions portlet containing actions for the current context, irrespective of facet, as well as10:14
mptdaf: not sure yet10:14
sabdfl - actions for the current context, and facet, that don't qualify to be tabs10:14
sabdflright?10:14
sabdflSteveA: ^?10:14
mptsabdfl: sounds right10:14
sabdflok10:15
sabdflthe current page layout is a good start10:15
SteveAthe   - an actions portlet containing actions for the current context, irrespective of facet,10:15
SteveAis not part of the menus system at present10:15
SteveAcould be added straightforwardly.  well actually...10:15
SteveAit is there10:15
SteveAunder a different name, for a different purpose10:16
SteveAso anyway...10:16
mptExtraFacetMenu?10:16
SteveAyeah10:16
SteveAsabdfl: i have a question and need some clarification 10:16
sabdflmpt: now let's talk layout10:16
SteveAactually, it isn't clear to me how to ask the question.10:17
sabdfli envisaged that the facet selectors would be a tight, distinctive tab-like cluster, two-layered (up and down), probably to the right of the top bar10:17
SteveAso instead, keep going, and if the menus system doesn't accommodate what you and mpt need, i'll fix.10:17
mptdaf: the box ends up being 20px high, and I can't see why10:17
sabdflin the current page style, i would have them occupying both the lightblue and the dark blue lines, to the right, in a block, with the current facet highlighted10:17
mptsabdfl: hmm, there's two problems with that10:18
sabdflthe tabs i imagined would go where you currently have the facets10:18
mpt(1) as I think I mentioned in Zermatt, that only works when you have an even number of facets10:18
sabdflthat would make it tighter10:18
sabdflno, there can be a blank facet10:18
sabdflbottom right10:18
mptand (2) it causes jumping tabs, as featured in the Interface Hall of Shame10:18
sabdfljumping tabs?10:19
SteveAmpt: why do they need to jump?10:19
mptbecause if it's going to look like a tab, the current facet has to go at the bottom10:19
mptotherwise it's disconnected from what it's being a tab for10:19
SteveAmpt: think of a set of selection buttons on an old radio10:19
sabdflstub: in the final landing of the new distrorelease translations pages, there's a cronscripts/update-stats.py10:20
mptsee the multi-row tabs in Windows (e.g. MS Word's prefs)10:20
SteveAthey are individually in or out10:20
SteveAnot really "tabs".  that's the mental image i got from mark's description just now10:20
mptSteveA: sure, hence the term "radio buttons" :-)10:20
SteveAclassic 1950s space craft controls...10:20
KinnisonMorning10:20
mptKinnison: How soon does cprov usually get in?10:21
sabdflstub: could you arrange for that to run every few hours, please?10:21
Kinnisonmpt: He tends to get in around 12:30 UTC10:21
stubsabdfl: sure. When did it land?10:21
sabdflthursday morning, with the rest of the prettiness10:22
mptKinnison: Ok, I'll try to wake early to discuss Soyuz menus10:22
Kinnisonmpt: Okay10:22
=== mpt wonders why dilys isn't reporting Malone bugs any more
sabdflmpt: i dont think it will be a problem10:23
sabdflthe facet is the facet, always in the same place10:23
carlosmorning10:23
Kinnisonmpt: I might not be around desperately late because I need to collect a van but I'll do my best to be around10:23
carlosdaf, around?10:23
sabdflbradb-away: had her rubbed out?10:23
sabdflthe tabs are the tabs, always in the same place10:23
sabdflnothing's jumping10:23
dafcarlos: yes10:23
carlosdaf, meeting?10:23
sabdflthe alternative is for us to lump all of this stuff into the actions portlet:10:24
sabdfl - facet10:24
sabdfl - facet10:24
sabdfl  - facet10:24
sabdfl  - facet10:24
sabdfl - tabs10:24
sabdfl - tabs10:24
sabdfl - tabs10:24
sabdfl - minor tab10:24
sabdfl  - minor tab10:24
sabdfl  - minor tab10:24
sabdfl - minor context menu10:24
sabdfl - minor context menu10:24
sabdflbut.. that would become rather long-winded10:24
mptyes10:25
dafcarlos: yes10:25
mptdaf: I think it's that the <div> doesn't have a height10:26
mpta height declared10:27
mptand it's a float10:27
sabdflstub: could you run that script on staging now, and tell me how long it takes to run?10:27
stubjblack: Do you have a time frame for supporting baz archives on the supermirror with branches containing that CONTINUATION marker? (I don't know what version of baz these appeared in)10:27
dafmpt: the CSS uses max-height: 20em, IIRC10:27
mptdaf: Yes, that's a max-height, it's not a height.10:27
dafhum10:27
dafit seems to work intermittently10:28
dafone would think it would default to a minimum height of the natural height of the content10:28
mptiz gecko bug10:28
dafyes10:28
dafif you could come up with a test case and report a bug, that'd be lovely10:28
jameshdaf: you could set an explcit height in em's10:28
dafkthxbye10:28
dafjamesh: the problem with that is that it looks ugly if you only have 3 items10:29
dafjamesh: but it would work in this particular case, yes10:29
jameshdaf: you don't have three items though ...10:29
dafsince there's always going to be many items10:29
dafwe do use the multi-selector in the PO export pages10:29
dafand they sometimes do have only 3 options10:29
jameshdaf: the div also needs a solid border10:29
carlosstub, hi, could you execute again the SQL sentences I gave you yesterday to know the po/pot import status?10:30
dafjamesh: I'll let mpt be the judge of that ;)10:30
carlosstub, btw, thanks for the production fix10:30
mptdaf: the div also needs a solid border10:31
stublaunchpad_prod=# SELECT COUNT(*) FROM POTemplate WHERE rawimportstatus=2;10:32
stub count10:32
stub-------10:32
stub   10210:32
stub(1 row)10:32
stublaunchpad_prod=# SELECT COUNT(*) FROM POFile WHERE rawimportstatus=2;10:32
dafmpt: feel free to [trivial]  that in then :)10:32
stub count10:32
stub-------10:32
stub 1659010:32
stub(1 row)10:32
stubcarlos: If you need that regularly, I can cron it.10:32
carlosok, so we are fucked, the poimport script is not importing anything...10:33
carlosstub, that would be a good idea until breezy is imported completely10:33
mptSteveA: Did you see http://lists.ubuntu.com/archives/ubuntu-devel/2005-July/008688.html ?10:45
mpt(I'd ask him to report a bug, but the problem is that he can't report bugs)10:45
SteveAoh10:45
SteveAhe's calling malone "bugzilla"10:46
SteveAi don't understand the report10:46
SteveAhmm10:46
SteveAokay\10:46
SteveAmaybe i do10:46
SteveAregistration mail isn't reaching the guy10:46
SteveAthat's on production, so that requires looking at production logs to work out if the mail was sent10:47
SteveAwe'd need to know if the mail he registered with is the one he is mailing with10:47
SteveAand then stub would need to look at the logs10:47
SteveAstub: have there been any problems with launchpad production sending out mail?10:48
sabdflstub: i've added a few more bits to BrazilTopics for you10:50
stubNothing I can see in the logs re: problems sending email. At least for the last couple of hours.10:54
Kinnisonstub: are we passing things off to the MTA directly on the appserver, or are we trying to smarthost it out straight away?10:55
stubsabdfl: The script took about 25 minutes10:56
stubKinnison: it goes SMTP to localhost10:56
SteveAsabdfl: in the add bounty browser code, it raises Unauthorized if there is no logged in user.  is that view protected by a launchpad.AnyPerson permission?  if so, the test and raise of Unauthorized can that be replaced with an assert.10:57
sabdflstub: thanks, could we cron that every 12 or 24 hours please?10:57
stubsabdfl: Yes.10:57
SteveAstub: Thu Jul 7 05:10:59 CDT 2005  was when the mail   http://lists.ubuntu.com/archives/ubuntu-devel/2005-July/008688.html  was sent10:57
sabdflSteveA: ok, will clean bount stuff out in due course10:57
SteveAi'm reviewing a small imports clean up from daf, and noticed this near by.  it does no particular harm as it is, just not squeaky clean.10:58
sabdflSteveA: quick questions about the zodb10:59
SteveAokay10:59
sabdfl - would that be a good way for a cronscript to leave behind cached values for the appservers?10:59
sabdfl - do scripts have access to it?10:59
sabdfl - is the api to store/retrieve items in the zodb documented anywhere?10:59
Kinnisonstub: so it's getting rid of the mails ASAP to a proper MTA, that's good11:00
SteveAit is not a good way for a cronscript to leave behind cached values for the appservers11:00
SteveAbecause we're using the zodb just for browser session information11:00
SteveAand there is one zodb storage per app server process11:00
dafSteveA: https://launchpad.ubuntu.com/malone/bugs/130311:01
dafseems bug mail is lagged11:01
SteveAaffinity is used to keep a browser always hitting the same app server11:01
KinnisonWhen are we moving to www.launchpad.net ?11:01
stubSteveA: Can't see anything in the logs with that email address11:01
SteveAstub: thanks.  any other ideas based on the report http://lists.ubuntu.com/archives/ubuntu-devel/2005-July/008688.html  ?11:02
sabdflSteveA: would the best way to cache system-wide value be to create a LaunchpadCache table with a single row?11:02
SteveAsounds like the cleanest way to me11:02
sabdflor name/value paired rows?11:02
SteveAwhat kind of value?11:02
SteveAa blob?  an int?11:02
stubSteveA: The usual - user error, browser cache problems. We could try doing the request using that email address and see what happens. 11:03
sabdfltrue, i guess it will just have to have a lot of columns, though i only care about int's at the moment11:03
SteveAmaybe cleaner to use a specific table for each type of caching11:04
stubBlech. We can do it with multiple columns, but I've seen what that approach looks like after 6 months of extensions...11:07
stubStick with just ints for the time being, and if we need to refactor it later we can.11:08
stubsabdfl: I suggested a LaunchpadCache (id serial, name integer, updated timestamp, value integer) table to Daf/Carlos originally11:09
SteveA'name' from a DBSchema? 11:09
stubYup11:09
dafstub: I was going to go with that, but sabdfl had the idea of calculating them at startup time in a utility, which means you don't need to have to worry about persistent storage11:10
dafthe first page load is slow, but it's fine after that11:10
stubWhich makes detecting slow pages on staging problematic ;)11:11
daftrue11:11
dafI guess we do restart production a fair bit11:12
dafwhich means that users will still get a very slow page fairly often11:12
stubcron is better. Any query with response times measured in seconds rather than milliseconds doesn't belong in the web app.11:12
daffair enough11:14
stublifeless: PQM is hung11:20
SteveAmpt: can you invite the universe "bugzilla" reporter to come onto #launchpad and be helped to log in here?11:23
mptok11:23
mptdone11:28
=== Keybuk [~scott@syndicate.netsplit.com] has joined #launchpad
dafKeybuk: you should know better11:29
Keybukthan?11:30
dafoh, wait11:30
dafmpt: it's not Keybuk, is it?11:31
Keybukhuh?11:31
mptdaf: No, someone called Frans Cool11:31
Keybukdaf: what are you waffling on about?11:31
stubEmail seems pretty screwed on production. I'm not seeing log messages and stuff isn't appearing in the queues.11:32
SteveAstub: do you need an elmo?11:33
stubI don't think messages are getting that far.11:33
SteveAoh, so they're getting lost in the launchpad 11:34
mptKool, rather11:34
SteveAstub: do you need assistance looking into this, or can i go and get lunch?11:35
stubI'll have a look. Messages are going out SMTP just fine, so things are being lost internally.11:37
dafah, that's why dilys is not announcing bugs reliably11:37
=== lamer1 [~lamer1@lamer1.albalug] has joined #launchpad
=== lamer1 [~lamer1@lamer1.albalug] has left #launchpad ["Leaving"]
=== mpt prods PQM
Kinnisonjamesh: thanks for that review, it looks great. I'll ask celso to do as much of what you asked as he can before we merge today12:08
=== sabdfl heads to helsinki
sabdflcheers all12:12
sabdflgreat work, launchpad team, i think it's really coming together nicely12:12
sabdflmpt: please could you play with the thoughts i laid out for the top bar?12:12
Kinnisonhave fun in HEL sab12:12
Kinnisonsee you in SC12:12
sabdflthe tabsl should go in nicely where the facets are currently if the facets shunt to the right12:12
sabdflstub: looking fwd to seeing the next production update, it should be looking very slick12:13
=== sabdfl [~mark@sabdfl.silver.supporter.pdpc] has left #launchpad []
=== elmo [~james@82.211.81.249] has joined #launchpad
Kinnisonhey elmo.12:14
elmohi Kinnison 12:15
dafI need to go out for a bit12:15
dafback later12:15
carlosstub, I'm improving Rosetta's poimport script and I'm adding support to use config files12:35
carlosstub, which one should I update? default/launchpad.conf ?12:35
carlosstub, anyone else?12:35
stubcarlos: staging/launchpad.conf would be good too for when I get those things running on staging. I like to configure the production config myself though.12:36
carlosok12:36
carloswhich one is used with tests?12:36
stubdefault/launchpad.conf in the <canonical testrunner> section12:37
carlosstub, there are also staging[1-4]  directories ...12:37
carloswhat about them?12:37
stubcarlos: I should remove them - they were being used for load balancing testing12:38
carlosok12:44
=== terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad
=== palmTree [~chatzilla@213.210.241.111] has joined #launchpad
=== palmTree [~chatzilla@213.210.241.111] has left #launchpad []
carlosSteveA, I have a friend that wants to blog about launchpad's wiki now that it's open01:19
carlosSteveA, is it ok or should wait for an official announcement?01:19
=== SteveA_ [~steve@213.226.190.85] has joined #launchpad
carlosSteveA_, did you see my question about launchpad's wiki?01:54
BjornTanyone know how I can select distinct BugTasks (using BugTask.select()), while ordering on, for example, Bug.id?02:00
=== cprov [~cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
BjornTif I set distinct=True, it complains that Bug.id is not in the select fields02:01
SteveA_carlos: no02:01
carloscarlos SteveA, I have a friend that wants to blog about launchpad's wiki now that it's open02:02
carloscarlos SteveA, is it ok or should wait for an official announcement?02:02
SteveA_BjornT: that's a good question for andrew, once he gets back next week02:02
BjornTSteveA_: yeah. i was hoping that someone else would know. but it can wait until next week.02:04
SteveA_carlos: i would prefer waiting for an official announcement, but if your friend is keen she (or he) should go ahead.  the wiki has been opened in a bit of an ad-hoc manner.  i'd like to check out with kiko what policies we need on there.02:04
carlosok02:04
SteveA_BjornT: i recall that spiv did some work in that area before, and i'm kind of surprised you're having a problem with it02:07
carlosSteveA_, distinct=True fails under some conditions, perhaps this is one of them02:09
carlosat least I remember that spiv said that02:10
=== salgado [~salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
salgadostub, around?02:34
stubsalgado: Yup02:34
salgadodo you remember the name change widget we discussed?02:35
=== debonzi [~debonzi@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
stubsalgado: Yup02:36
salgadoso, I'm stuck in a problem: 02:37
salgadoI can see at least two things that I want to validate02:37
salgado1) If the name follow the convention (no spaces, starting with a letter, etc)02:37
salgado2) if the name is not already used by someone else02:37
=== Kinnison lunches. ciao
salgadobut as we can specify only one constraint in our schema I can't see how to have validators for these two things02:38
stubAnd there is a reason you can't combine them into a single constraint 1) The name is not already in use and follows conventions ?02:39
bradbmorning02:40
bradbmpt: not sure if somebody later responded to your comment, but there was mail to the list about the intermittent mail failures *goes to read morning mail*02:41
salgadostub, then the validator function would have to receive a third argument, which is the current name02:42
salgadostub, and unless I make this function raise some exceptions, I will not be able to tell, for sure, what was the problem (if the names was already in use or invalid)02:43
stubI don't see what the difference between needing two validators and using a single validator. If you validate 'name not in use by someone else' then you either need to pass the current username in or pick it up from context somehow.02:44
SteveA_what does a validator get in order to do its job?02:46
SteveA_it's validating new input into a field02:46
SteveA_so, it should have access to the new input, and to the field02:46
SteveA_the field should be a bound field, of course, and so give access to the current value02:46
salgadostub, sorry, I'm not following you02:46
salgadoSteveA, AFAICT a validator function will get only the input value02:47
SteveA_salgado: the issue is not that you need two separate validators.  it is that you need to get certain information to a validator.02:47
SteveA_salgado: can you point me at a validator, and i'll take a look02:48
salgadoSteveA, launchpad.interfaces.person.valid_person_name()02:48
stubThe problem you said you had was "we can specify only one constraint in our schema I can't see how to have validators for these two things". The solution to that is you just have a single validator that performs both functions. 02:48
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Fix bugs 1284, 1285 - no links to product releases from product or productseries (patch-2050: morgan.collett@canonical.com)02:49
salgadobut as it is now, I can't perform the second validation in a validator function, because it doesn't get the old value02:49
SteveA_salgado: i will look at the validation infrastructure and tell you what you can do02:49
stubthe validator has access to the context I think, which is the field. You might be able to pull the initial value from the field, or traverse back to the object the field was generated from.02:50
stub(Which beats cheating and pulling it from the Launchbag02:50
SteveA_which would be wrong02:50
SteveA_oh,and i need to make the fascist forbid use of the launchbag in database code02:51
salgadoyep. /me requested that to Andrew. :)02:51
stubThis isn't database code - it is browser code02:52
salgadostub, the validators I'm aware of have access only to the input value. nothing else02:52
stuburgh.... actually it *is* database code :-(02:52
SteveA_i think it's a valid database constraint02:53
SteveA_it doesn't depend on the current person02:53
SteveA_just the current value of the field02:53
salgadoagreed02:54
=== SteveA_ does an evil python experiment with constraints
stubsalgado: Vocabularies get context. If you model your control on a Choice you can use the Choice validation, which simply asks the Vocabulary.02:56
SteveA_yeah02:57
SteveA_to do this with a normal constraint, you need to jump up a stack frame02:57
SteveA_inspect the bound field02:58
stub(Note that a vocabulary does not have to represent a finite set. All our existing Vocabulary instances implement IIterableVocabulary. The base vocabulary instances don't require it)02:58
stubYech!02:58
stubBad Steve!02:58
SteveA_that, or implement a TextField subclass to support this02:58
SteveA_overriding _validate02:59
SteveA_that is probably the best way to do it, if the vocabulary stuff doesn't work out02:59
SteveA_just implement a PersonNameField02:59
SteveA_class PersonNameField(TextField):03:00
SteveA_    def _validate(self, value):03:00
stubThat would be cleanest03:00
SteveA_        TextField._validate(self, value)03:00
SteveA_        # salgado's validation goes here03:00
salgadothis way it would first call the user-specified validator (the constraint argument) and later my validation?03:01
SteveA_stick it in interfaces/person.py, but don't include it in the __all__03:01
SteveA_yes03:01
SteveA_and, you get the current state from 'self'03:02
SteveA_and the new state from 'value'03:02
salgadobut I'd like to make this widget generic enough so it can be used for things that have a unique name other than a person03:03
SteveA_do we have any uses for this yet?03:03
salgadoI can see uses for products/projects/polls at least03:04
SteveA_i think you should do this for person now03:04
SteveA_and then make it generic once you have it working well for person03:04
SteveA_let's actually get it into production for Person first03:04
SteveA_or at least, on staging03:05
salgadolooks like a plan. I'll do this03:05
SteveA_i am not aware of any specs or open bugs that require it for other things right now03:05
SteveA_but i'm sure we can generalize it easily enough03:05
stubsalgado: You could make it generic by using a Vocabulary to say 'is this name in use', or by adapting self to something that provides a function to say 'is this name in use'03:07
stubsalgado: So it could be refactored easily once you get the basics working03:07
SteveA_and once we get a standard IFooSet base03:08
=== salgado haven't thought about that
SteveA_it may be that "is this name in use" or "get thing with this name" will be a standard api03:08
SteveA_in which case, you'd just give it an interface that extends IContentObjectSet03:09
=== ddaa [~ddaa@marvin.xlii.org] has joined #launchpad
SteveA_hi david03:10
salgadothanks SteveA and stub. :)03:10
=== ddaa grumbles indistinctly
SteveA_various people i know who speak some french were impressed with the example of shining wit you explicated yesterday.03:11
salgadostub, btw, I need to bother you some more: is there anything missing for the karmacache updater cronscript to be run?03:11
ddaaSteveA_: hu?03:11
stubsalgado: Someone with a better memory to do the rollouts?03:11
=== stub goes and switches it on
SteveA_the french version of spoonerism taken to the Nth degree03:11
salgadostub, heh. thanks03:12
ddaaSteveA_: there must be a slight desync...03:12
SteveA_"choix dans les dates" and all that03:13
ddaaSteveA_: the contrepteries I remember mentioning yesterday were quite ordinary...03:13
SteveA_they caused a snigger or two in lithuania03:13
SteveA_but really, i just wanted an example to say "shining wit" in that context.03:13
SteveA_s/example/opportunity/03:13
daf:)03:13
ddaaah!03:14
dafmaybe you can help me, Steve03:14
=== Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #LAUNCHPAD
dafI'm debugging a test failure03:14
SteveA_daf: what's up03:14
=== Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has left #LAUNCHPAD ["Leaving"]
ddaayou evil bastard03:14
=== Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=salgado]  some cleanup of calendar templates (patch-2051: mpt@canonical.com)03:14
dafso, there's a page on PublishedPackageSet03:14
dafand the view class for this page calls .query() on self.context03:15
SteveA_ddaa: it's the standard british response to a mention of spoonerism ;-)03:15
dafPublishedPackageSet implements IPublishedPackageSet03:15
dafand IPublishedPackageSet defines a query method03:15
ddaawe just call that "l'art de dcaler les sons"03:15
dafbut the page test fails with a ForbiddenAttribute error03:15
=== SteveA_ "l'art"s ddaa
ddaaI'm not totally clear on why the salinity of female organs is that important... but nevertheless03:16
dafaha03:17
dafI think I know what it is03:17
SteveA_your colloquialisms go over my head03:17
SteveA_daf: it sounds like it should work.  so, i guess something is amiss in the configuration.03:17
ddaa"l'art de dcaler les sons", that's self-referential03:17
dafSteveA_: the <securedutility> was missing an <allow>03:18
SteveA_"secaler" is to make dry?03:18
SteveA_daf: aha03:18
stubsalgado: It is very noise. I'm seeing lots of:03:18
stubException exceptions.AttributeError: "'NoneType' object has no attribute 'cache'" in <bound method Transaction.__del__ of <sqlobject.dbconnection.Transaction object at 0xb723ef6c>> ignored03:18
stubException exceptions.AttributeError: "'NoneType' object has no attribute 'cache'" in <bound method Transaction.__del__ of <sqlobject.dbconnection.Transaction object at 0xb719a04c>> ignored03:18
dafSteveA_: thanks for rubber ducking :)03:18
SteveA_stub: i have a fix to that coming03:18
SteveA_stub: it's part of my "rip parts out of sqlos"03:19
ddaa"dssaler" is to purge from its salt (as in sailing equipment)03:19
SteveA_ddaa: you can stop there03:19
ddaaI know you are familiar with the rest of it :)03:20
ddaaI can go with only explaining the non-dirty bit03:20
=== ddaa go looking for a way to increase shareholder value
SteveA_stub: basically, rather than returning None under these circumstances, the connection descriptor will return a dummy transaction that has a dummy cache03:22
salgadostub, please don't go to sleep. the karmacache updater just triggered a bug03:23
ddaarandom thought...03:24
ddaadid you guys considered compressing page (as in eliminating all non-significant whitespace, comments and other cruft) before sending them on the wire?03:25
stubsalgado: I can purge the KarmaCache table. Probably best.03:25
salgadostub, please do so then03:25
stubDone03:26
salgadohttps://launchpad.ubuntu.com/errors/showEntry.html?id=1120828917.60.85002460907903:26
salgadoI'm sure I have a test for that03:26
SteveA_ddaa: why bother?03:26
SteveA_ddaa: gzip content transfer encoding will do that03:26
lifelessSteveA_: either CE or TE, there is no CTE.03:27
SteveA_i obviously meant "we can GZIP the CONTENT for TRANSFER ENCODING" ;-)03:28
=== SteveA_ goes all revisionist
lifelessSteveA_: TE is very sparsely supported, for a number of reasons, and CE is seriously problematic for others - browser support has been heinous - such as send a CE gif to a netscape 4.x and crash it03:29
=== SteveA_ invents CTE as a new internet technology and goes to seek VC money
SteveA_i'm pretty sure that firefox <--> apache will gzip stuff03:30
SteveA_slashdot does it.  i just looked there with firefox03:31
elmonot opportunisitically it won't03:31
lifelessSteveA_: apache 2 has a replace mod_gzip of its own, the original mod_gzip guys who I did some work with are not very positive about it. The 1.3 mod_gzip will work fine with firefox yes - but you need to consider the impact of non compliant proxies (like the majority of soho ones) :[03:31
elmobut you can configure apache to do it (e.g. www.ubuntu.com does)03:31
SteveA_and it's doing gzip content encoding of the page03:31
lifelessone of the nastier things about CE is that it fucks with the content - is a gzip CE on a tar.gz meant to give you a tar on disk ? Its semantically unclear.03:32
=== lifeless stops before he starts on a http-1.1 bugs rant.
SteveA_my point is, i think we should turn on gzip encoding for our pages, before we look at stripping whitespace from our pages03:33
SteveA_pages are identified by their mime type03:33
lifelessSteveA_: sure.03:33
SteveA_lifeless: when are you writing http 2.0 ?03:33
lifelessSteveA_: heh.03:33
lifelessSteveA_: there likely won't be a 2.0. There may be a 1.2 if the current errata gets big enough.03:34
lifelessthe extension mechanism in 1.1 does work well - see dav et al.03:34
dafthere's an "et al"?03:35
SteveA_daf: you need a t-shirt saying "Daf, pronounced according to RFC 2518"03:37
dafthat's a good idea03:38
dafit would save a lot of bother03:38
=== ddaa does not find the string "daf" in rfc2518
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=BjornT]  DisplayingParagraphsOfText (patch-2052: steve.alexander@canonical.com, mpt@canonical.com)03:39
=== ddaa does not find the string "pron" for "pronounciation" or some such
=== ddaa will pronounce "daf" "PROPFIND"
SteveA_wow, that took its time03:41
=== daf wonders what happened to the merges he submitted a few hours ago
dafperhaps PQM is just backlogged03:42
dafit would be nice to be able to see the PQM queue somehow03:42
ddaalifeless: where is that code you wanted me to look at about archive locations?03:42
carlosdebonzi, Kinnison 13:11:38 ERROR   FMO courtesy of TROUP & TROUT inc. on gadfly (1:1.0.0-8ubuntu3)03:43
carlos?03:43
ddaalifeless: I guess you meant "code I want you to write"03:43
dafcarlos: that's a gina error03:43
carlosI know03:43
carlosbut I don't understand the error ;-)03:43
dafFMO being the technical term03:44
daffor when something or other happens to a source package03:44
debonzicarlos: it means that when tring to insert the binarypackage for gadfly the sourcepackage was not found03:44
carlosoh, ok03:45
SteveA_debonzi: did you see daf's message about broken searches03:49
SteveA_?03:49
debonziSteveA_: not yet..03:51
debonziSteveA_: will take a look now03:51
stub13:13:08 ERROR   FMO courtesy of TROUP & TROUT inc. on python-kde3 (3.11.3-1) 13:13:0803:56
stubWARNING Sourcepackage python-kde3 (3.11.3-1) not found for python2.3-kde3 (3.11.3-1)03:56
stubdebonzi: Do either of these actually deserve to be WARNING or ERROR? We have rather a lot of them...03:56
SteveA_stub: does "direct delivery" mean non-transactional ?03:58
stubSteveA: It is transactional. It means email is delivered as part of commit rather than queued, which slows down pages that trigger emails.03:59
debonzistub: Well.. personaly I think it could be WARNING... since it is just telling that a binarypackage could not be imported because gina could not find a binarypackage to it.03:59
debonzisorry03:59
debonzistub: a sourcepackage to it03:59
SteveA_stub: do we run queued mail delivery on staging in any way at all?03:59
dilysNew Malone bug 1306 filed on product FOAF by Guilherme Salgado: PersonSet.createPerson should produce nicer exceptions than IntegrityError04:00
dilyshttps://launchpad.ubuntu.com/malone/bugs/130604:00
stubdebonzi: So can we fix it so it doesn't happen? We need to shrink the output Gina sends - if they are actual problems that we need to fix, they should stay high level. If we just have to put up with them, they should become INFO or DEBUG.04:00
stubOr maybe they should stay warnings and we run gina with -qq and only output ERROR messages.04:02
SteveA_this sounds like the kind of information that the owner of the buildds will want to know04:04
debonzistub: I believe it happens in two cases: 1) The sourcepackage is not available on archive; 2) It is on archive, was imported into launchpad, but the binarypackage info has some problem on the SOURCE field and gina can't define the sourcepackage. The first one I think we can do nothing. The second one, we could try to improve the sourcepackage lookup but I don't know precisily how to do that.04:05
debonziSteveA_: agree.. I think it will be a problem for all the packages that build-depends on this one that could not be imported.04:06
stubok. So it sounds lilke the FMO one becomes an INFO or DEBUG and the WARNING stays the same04:06
stubor both waning...04:06
stubprobably both warnings...04:06
stubdebonzi: Let me know if you do any work on gina today and I'll give her a run tomorrow against staging.04:10
bradbstub: trying to customize SinglePopupWidget like:04:10
bradb        <browser:widget04:10
bradb           field="sourcepackagename"04:10
bradb           class="canonical.widgets.popup.SinglePopupWidget"04:10
bradb           extra="tabindex=1" />04:10
bradbi get this exception when viewing the page:04:10
bradb...04:10
bradb    *  Module zope.app.form, line 91, in __call__04:11
bradb      instance = self._widget_factory(*args)04:11
bradbTypeError: __init__() takes exactly 4 arguments (3 given)04:11
debonzistub: sure.. does she still stoped on the createPerson problem?04:11
bradbstub: i can customize a TextWidget in the same way just fine though (no errors, autofocus Just Works, etc.) any ideas?04:11
SteveA_bradb: i guess the SinglePopupWidget doesn't except extra args04:11
stubdebonzi: That was the last run I have tried. I got tied up with other stuff today.04:11
SteveA_bradb: probably a simple signature change04:11
bradbSteveA_: its base class has an extra attribute04:11
bradbSteveA_: the extra arg is actually vocabulary04:12
=== SteveA_ goes afk for a short while
stubbradb: I don't know if the extra attribute is wired up or was ever working. Feel free to fix it ;)04:12
bradb(i.e. the arg that the __init__ expected but didn't get is vocabulary)04:12
debonzistub: right.. no problem.. I saw it happens once and was a problem with Upper case letters on emails.. I fixed that.. will check why is happening again.04:12
stubdebonzi: When did you fix it? Am I running an old version?04:13
bradbItemsWidgetBase.__init__'s sig is:04:13
bradbdef __init__(self, field, vocabulary, request)04:13
bradbi don't understand why it expects both field /and/ vocabulary04:13
debonzistub: I don't believe so.. IIRC was just before I ask you to merge my branch into your04:14
bradbstub: would hacking SPW's __init__ to be self, field, request be horrid and wrong?04:14
stubok.04:14
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=jamesh]  testrunner improvements (?) (patch-2053: stuart.bishop@canonical.com)04:15
=== bradb tries it just for kicks
salgadoyou guys better bring warm cloathes when comming to Brazil. this place is getting quite cold. 04:15
stubbradb: I can't remember what it is supposed to be - I've forgotten how all that stuff works ;)04:15
salgados/cloathes/clothes04:16
stubAnd nobody wanted the conference in Bangkok!04:16
=== bradb wants a conf in Star City
bradbsalgado: how cold?04:20
salgadobradb, 10 degrees sometimes04:21
salgadothe problem is that we get this inside the office04:21
dafstub: I did!04:22
cprovsalgado: buddy, stop crying ! buy some descent closes or work outside, under sun ;) in the common world sense *BR HASN'T COLD WEATHER* 04:31
bradbheh04:33
SteveAso, i'm leaving sunny warm lithuania for 3 weeks to go to sub zero brazil?04:37
stubAhh stuff it. You guys can go to Brazil. I'm going to Bangkok and attending via IRC :)04:38
salgadowe have a swedish that's here for 7 months and he's complaining about the cold04:39
debonzisalgado: hey.. stop telling lies :)04:40
morgsSteveA: your DisplayingParagraphsOfText landing is great, but it puts &lt;p&gt; and not <p> in my product page...04:40
salgadothe problem is that we don't have heating stuff in houses and offices (we don't need them in 95% of the days in a year)04:40
cprovsalgado: don't trust those half-swedish people ;)04:40
SteveAmorgs: did you use the 'structure' keyword?04:40
morgsSteveA: no, I'll try that04:40
=== debonzi -> BRB
salgadookay, okay. I gave my advice04:41
SteveApage templates automatically escape stuff04:41
salgadonow I'm going to make some tea, so I can hold the cup to get my hands warm04:41
morgsSteveA: Aah... that works.04:41
SteveAyou need to say tal:replace="structure foo/fmt:..."04:41
SteveAcool04:41
morgsNice, thanks very much04:41
=== morgs goes to sprinkle some fmt:text-to-html all over Registry...
=== debonzi [~debonzi@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
SteveAmorgs: one thing to note04:44
SteveAsoon it will be linkifying too04:45
morgsSteveA: hmm?04:45
morgsSteveA: OK04:45
SteveAso note if there are any places you don't want that04:45
morgsOK04:45
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=SteveA]  add addLanguage/removeLanguage to IPerson, pagetest for the Rosetta prefs page (patch-2054: daf@canonical.com)04:48
dafooh04:48
salgadoSteveA, do you think I can review daf's menus branch? (I'd like to do it because I was reading about the menus yesterday and this seems like a good oportunity to see some code of it)04:51
salgadoof course, there's the problem that I don't know too much about them04:51
dafsalgado: Steve already did it this morning :/04:51
salgadooh. :-(04:52
salgadoI haven't went through my launchpad-reviews folder yet04:52
=== daf updates the wiki
salgadoI should have done so04:52
=== salgado does
SteveAsalgado: nothing stopping you from looking at it04:52
dafyes, Steve's right04:52
salgadoindeed. I was definitely going to use that as example when doing the menus for foaf04:53
dafstub: oi, you forgot to put a status/[@DATE@]  on your cronscripts branch04:54
cprovsalgado: the same for soyuz, I guess04:54
daf(I've added them now)04:54
morgsSteveA: Are we supposed to use fmt:url for all urls?04:55
stubta04:55
morgsI see some portlets have it and most don't...04:55
SteveAmorgs: no04:55
dafSteve is going to add a feature which is going to remove the necessity for the _parent_url hacks I added04:55
dafso that part is not a great example of menuing04:55
SteveAmorgs: use it for urls to objects within launchpad04:55
morgsOK04:56
morgsWell, that's still *most* URLs in portlets etc...04:56
salgadostub, what patchlevel are we running in staging?04:57
stubsalgado: 2047. Should I push the upgrade button?04:58
dafstub: is it big and red?04:59
stubOf course. 04:59
dafwith a plastic flip-back cover and two keys?05:00
salgadostub, that (supposed) fix is already there, then. :-(05:00
salgadostub, that problem you saw with gina (the IntegrityError) was raised recently? (I mean after the upgrade to patch-2047)05:02
stubsalgado: Oh.... gina is running her own branch because the recent changes arn't in rocketfuel yet.05:02
stubLooks like she is only up to 201105:03
salgadohmmm. then if you cherrypick patch-2042 into it that problem should be fixed05:04
stubNo need to cherry pick - I'll just sync it.05:04
salgadodebonzi, ^^05:04
salgadoin the last 20 lines is the answer to your email. :)05:05
debonzisalgado, cool.. thanks05:05
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=salgado]  clean up templates with names starting with 'c' (patch-2055: mpt@canonical.com)05:15
salgadoeverytime I see dilys name in yellow I think it's my branch that get merged... but no, it's someone else's branch which I reviewed. :-(05:16
carlossalgado, ;-)05:19
salgadoand again... it's not my turn on pqm. 05:20
salgadocome on pqm, I have some things that I need to merge here05:20
=== bradb heads out to meet up with jbailey. bbl.
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Switch production to directDelivery temporarily (patch-2056: stuart.bishop@canonical.com)05:41
ddaawell, I have two merges queued and soon a third...05:42
ddaaso you guys do not be too impatient :)05:42
=== debonzi -> Lunch
=== morgs thinks we need a beowolf cluster of PQMs...
ddaamorgs: it's entirely unclear whether that is parallelisable...05:51
ddaaClearly, running the test suite, should be parallelisable.05:51
ddaaBut we still need to have only one merge checked at a time.05:51
ddaamorgs: btw, while you are here :)05:52
morgsWell at least a faster machine...05:52
ddaanot sure that would help that much, in test suites I'm familiar with, a lot of time is spent on i/o and explicit waits (to work around bugs in cvs).05:53
ddaaclearly a faster maching would help for running Keybuks test of the form "test that 2+2 = 4"05:54
ddaadunno what is the bottleneck for launchpad tests...05:54
morgsOh well, let's see how well the LP team scales, especially in deadline season!05:56
ddaamorgs: in series +edit pages where the rcs is svn, the page is initially loaded showing (empty) cvs details even though the dropdown has SVN selected. One has to reslect SVN so the JS will show the svn details.05:56
ddaaAre you aware of that bug, or should I file it?05:57
morgsThat is new to me, please file it.05:57
=== morgs will have to dust off his JS skills
ddaaOkay. Will do.05:57
=== ddaa goes for a little break
dilysMerge to rocketfuel@canonical.com/launchpad--production--1.24: Update production mail config (patch-5: stuart.bishop@canonical.com)06:03
dilysNew Malone bug 1309 filed on product Registry by David Allouche: +source does not show svn details on load, mouse action required06:17
dilyshttps://launchpad.ubuntu.com/malone/bugs/130906:17
ddaamorgs: here it is06:17
=== ddaa is very annoyed by people who disregard keyboard actions
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Fix bugs 1284, 1285 - no links to product releases from product or productseries (patch-2057: morgan.collett@canonical.com)06:30
morgsddaa: thx06:38
=== Kinnison decides he's incredibly tired
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Add KarmaActionName to dbschema.__all__ and add a distinct to IKarmaActionSet.selectByCategoryAndPerson() (fix https://launchpad.ubuntu.com/malone/bugs/1260). (patch-2058: guilherme.salgado@canonical.com)06:59
sivangKinnison: then go get some rest :-)07:10
Kinnisonsivang: tempting07:11
Kinnisonsivang: fairly soon I'll be able to stop for the weekend07:11
=== Luciph3r [~Luciph3r@217.221.80.130] has joined #launchpad
Luciph3rre-salve07:21
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  RDF formatting changes per bug 1248 (patch-2059: morgan.collett@canonical.com)07:29
=== debonzi [~debonzi@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== bradb [~bradb@modemcable134.23-201-24.mc.videotron.ca] has joined #launchpad
=== bradb waves from jbailey's
Kinnisonhey brad07:35
bradbhey Kinnison 07:36
=== Kinnison heads off
Kinnisontime for rest and then fridge moving07:37
Kinnisonciao07:37
=== debonzi [~debonzi@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== jbailey [~jbailey@modemcable134.23-201-24.mc.videotron.ca] has joined #launchpad
jbaileybradb: *poke*07:43
bradbouch07:43
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=SteveA]  another round of import fascism and other cleanups (patch-2060: daf@canonical.com, morgan.collett@canonical.com)07:57
=== SteveA merges from RF to see where the fascism is up to
daflast I checked, traversers.py importing from DB and about 15 imports of things not in __all__07:59
SteveAmany of the cases of importing from outside __all__ that i have seen have been when module A imports N from module B08:00
SteveAmodule B has N in its __all__08:00
SteveAthen module C imports name from module A08:01
SteveArather than from module V08:01
SteveArather than from module B08:01
=== sabdfl [~mark@pc-n253.wlan.inet.fi] has joined #launchpad
sabdflhey lunchpadders08:03
sabdflsalgado: ping08:03
salgadosabdfl, pong08:04
sabdflsalgado: hi08:04
sabdfli'm finally getting to work through foaf08:04
sabdflcleanup an ui08:04
sabdflsome initial feedback:08:04
sabdflgenerally great work, thank you!08:04
sabdflyou've made too much use of interfaces08:04
sabdflIPerson and ITeam really don't need to be distinct08:05
sabdflin zcml/person.zcml things were a mess because of this08:05
sabdfli'm cleaning it up08:05
sabdflall of the portlets really belong on IPerson08:05
sabdfland you can use <tal:block condition="context/isTeam"> if you need to08:05
sabdflthere was a bit of a mess in portlet-team-actions.pt for example08:06
sabdflall of that is going going gone08:06
sabdflack?08:06
salgadoI have been blocked in some other stuff. I don't know what the status of the portlets and this stuff08:07
salgadoare you going to get rid of ITeam?08:07
sabdflsalgado: i haven't gotten rid of it entirely08:07
salgadoI think we need it to have distinct pages for persons and teams08:08
sabdfljust slimmed it down08:08
salgadodo you have something in mind to manage this?08:08
sabdflsalgado: there are some pages we need for teams that we don't need for people08:08
sabdflbut we don't actually need a different team-index.pt08:08
sabdflthat's goooone08:08
sabdflmost of the stuf is either:08:08
sabdfl - a completely separate page08:09
sabdfl - a tal:condition08:09
sabdflit's crackful to have a completely differnet set of portlets, duplicated, as you had08:09
sabdflnow, on the memberships08:09
sabdflit's a little confusing ;-)08:09
sabdflthe interface that you have has08:09
salgadoahh, I see. store both templates in a single file and choose them with a tal:condition?08:09
sabdfl - allmembers08:09
sabdfl - active/admin/etc/members08:10
sabdfl - teammemberships (which are not the memberships IN this, but OF this, even though the data model does it the other way around)08:10
sabdflsalgado: yes, because 90% of the details are the same08:10
sabdflwhere there are forms and funcitonality that are UNIQUE to a team, have that in a different +foo page08:10
sabdfli'll fix it up and land it next week, i just wanted you to know it's going to be a big patch08:11
sabdflbut it should look good08:11
sabdfland its going quickly, because youve given me a pretty solid base08:11
sabdflthat's all so far08:12
salgadonice to know the work I did is at least easy to be refactored. I always work with that in mind08:12
sabdfli can see, and appreciate it08:12
salgadoI've been refusing to play with the problems between person/teams pages because we had some discussion about moving teams to another path (/teams) for example08:13
salgadoand I was affraid that I could have to refactor it all over again08:13
salgadobut anyway, thanks for helping me with this. :)08:14
dilysMerge to rocketfuel@canonical.com/pybaz--devel--0: [r=jamesh]  raise SourceTreeError instead of Exception in ArchSourceTree constructors (patch-36: ddaa@ddaa.net)08:21
sabdflsalgado: ok, another thing08:26
sabdflperson.subscriptionPolicyDescription08:26
sabdflis going08:26
sabdflbecause you can just context/subscriptionpolicy/title08:27
sabdfland /description08:27
salgadoindeed. it used to return a description that was hardcoded instead of using the values from dbschema08:28
sabdflit's goooone :-)08:32
sabdflsalgado: did you deliberately want to show the preferred email of a team, even to anonymous users?08:32
salgadoI don't think that's necessary08:33
salgadowe can show them only to logged in users, as we do with people email08:33
sabdfli wondered if that was just accidental :-)08:33
sabdflactually, there is some argument to say that a team's email is less sensitive than a person's08:34
salgadobut a team email address is usually something public 08:34
SteveAit isn't hard to join launchpad08:35
SteveAso, i don't see a problem with people having to join launchpad in order to see a team email address in the clear08:35
sabdflmpt is on such crack if he did these pages!08:36
sabdflhey SteveA08:37
SteveAevening 08:37
SteveAhow's the debconf?08:37
SteveAsabdfl: did you see the news about mandrake / connectiva's debian derivative ?08:40
sabdflSteveA: yes08:44
sabdflSteveA: doomed, i think08:44
sabdflif they make that their primary distro base, they will each lose big chunks of their user base to us :-)08:45
SteveAthey could become an ubutu derivative, of course...08:45
bradbsalgado: is merging accounts working? if so, i'm going to do a quick usability test with jbailey on it right now.08:46
salgadobradb, please DO IT. :)08:46
salgadoand yes, it should be working08:46
=== bradb DOES IT
jbaileysalgado: The bug is still open. =)08:46
salgadojbailey, which one?08:46
jbailey57208:47
bradbup to 275 lines of jbailey brain dump so far...08:47
jbaileyI think I'm amusing him08:47
salgadoOMG, it's assigned to malone. :(08:47
jbaileySure, I was in malone and trying to do the work.08:48
jbaileyIs that bad?08:48
salgadoI always do some triaging in foaf/launchpad bugs08:48
salgadobut never in malone bugs. I wasn't aware of it08:49
jbaileyAh, sorry for the hassle.08:50
salgadono worries08:51
salgadobut dude, you have three accounts in launchpad08:51
jbaileyDo I?08:51
=== _--Luciph3r--_ [~Luciph3r@217.221.80.207] has joined #launchpad
salgadoyou must be a rock star. all our scripts are creating accounts for you. :)08:51
jbaileyI'm aware of two of them, I guess.08:51
salgadohttps://launchpad.ubuntu.com/people?searchfor=all&name=jeff+bailey08:51
bradbsalgado: sssh!08:51
bradbi'm doing a usability test08:51
salgadooh, sorry08:52
bradb:P08:52
jbailey*lol*08:52
jbaileyOne of the accounts has no email address associated with it, apparently.  That should be fun to figure out. =)08:52
jbaileyIt'll be fun when this thing starts merging in all my upstream accounts too. =)08:53
salgadomaybe it has email addresses associated. the problem is just that that email is not validated and thus we can't make sure it's yours08:54
jbaileyI think I use 3 different ones.08:54
salgadoI could tell you exactly what is going on with your accounts (why you have them and the reason of the problems), but they closed the backdoor I used to use to access the production database. :P08:55
=== debonzi [~debonzi@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
jbaileysalgado: Apathy tends to overcome anyway.  As long as it's all working, I'm not fussed about how it works.  I spent enough time staring at bugzilla's guts and gnats' guts.  If I never have to hack another bug trackig system, I won't feel unfulfilled. =)08:57
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=jamesh]  Fix buttress test coverage. (patch-2061: david.allouche@canonical.com)08:58
salgadohmmm. I just realized I can do an evil hack that would be of great help for people merging accounts09:00
salgadobradb, btw, what do you think of make our vocabs show something like "username (No validated email address)" in the cases where a user doesn't have a preferred email?09:01
bradbsalgado: one sec09:06
bradbhm, i like the intent09:07
bradbbut i confess that i don't think a normal person will know the implications of "No validated email address" without having to do some reflection09:07
bradbthat might be an mpt question09:09
salgadoindeed09:10
=== salgado watches bugmails popping up here
bradbright, we're wrapping up at jeff's, i'm going to dump the braindump to the list when i get home (so people can see what it sounded like right from the users mouth), and then i'll write a proper summary in the next few days09:16
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Bug 130: Multiple paragraphs in DOAP project description field (patch-2062: morgan.collett@canonical.com)09:26
=== Mez [~mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
Mezhow do i get access to malone?09:30
Mezlike i have editbugs on bugzilla09:30
=== _--Luciph3r--_ [~Luciph3r@217.221.80.236] has joined #launchpad
Mezanyone?09:38
dilysMerge to rocketfuel@canonical.com/cscvs--devel--1.0: [r=spiv]  test suite style fixes, better reaping of cvs server processes (patch-100: david.allouche@canonical.com)09:39
sabdflsalgado: do you know the branch name that will become production on tuesday?09:52
sabdfllifeless: ^?09:53
salgadosabdfl, no, I don't know.09:59
=== bradb [~bradb@modemcable082.64-130-66.mc.videotron.ca] has joined #launchpad
=== Luciph3r [~Luciph3r@217.221.80.244] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Bug 1289: Make product text less bold (patch-2063: morgan.collett@canonical.com)10:15
=== _--Luciph3r--_ [~Luciph3r@217.221.80.248] has joined #launchpad
dilysMerge to thelove@canonical.com/dists--bazaar--1.5: new build (patch-36)10:43
dilysMerge to thelove@canonical.com/bazaar--devo--1.5: Much simpler and better fix for archive-mirror source choosing (patch-29: Matthieu.Moy@imag.fr)10:44
=== lamont is now known as lamont-away
dilysNew Malone bug 1315 filed on product Malone by Brad Bollenbach: Usability braindump needs to be summarized into a report10:56
dilyshttps://launchpad.ubuntu.com/malone/bugs/131510:56
bradbkiko-afk: interestingly enough, the EoS seemed pretty much dead obvious to jbailey 10:57
bradbthere was no indication from observing his actions of him wondering things like "does this get added as a comment?", etc.10:58
bradbi have a feeling that's because he's used the whiteboard before in bugzilla. someone not familiar with bugzilla (and even people that are, that never bother with the whiteboard) may be a little bit less comfortable with that field10:59
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=spiv,jamesh]  Auto Buildd System implementation. (patch-2064: celso.providelo@canonical.com)11:13
bradbdilys: knock knock11:16
ddaagrowing impatient?11:17
bradbwondering why she didn't spew out the bug report i just filed (i got the bugmail)11:17
bradb(and she's in the recipient list)11:17
ddaadilys seems to drop packets sometimes11:17
ddaashe did not log one my merges that go through11:18
sivangbradb: hi :-) when will the ubuntu memebrs section be ready? I get system error on it11:18
bradbhi sivang. to what URL are you referring?11:18
sivangbradb: sec, I'll paste it here11:20
sivangbradb: it works now!11:21
sivangwhat the hell happend11:21
Mezanyone here who can give me the equivalent of editbugs on malone?11:21
bradbMez: we don't yet have the functionality to edit more than one bug at a time in malone11:22
Mezbradb ... so who assigns bugs to someone ?11:22
sivangbradb: how can I get my name into ubuntu memebrs? I'm an approved one11:23
Mezwho closes bugs etc etc11:23
Mezsivang - speak to mako11:23
bradbMez: on a public distro bug, anyone. on a public upstream bug, only the maintainer/assignee can edit the task11:23
Mezbradb... so why Cant I do anything to any bug except comment on them11:23
bradbMez: can you give me a URL?11:24
Mezhttps://launchpad.ubuntu.com/malone/bugs/120111:24
bradbMez: what do you want to do from this screen?11:25
Mezwell, prefereably mark the bug as fixed / similar11:25
bradbMez: what have you tried so far?11:25
MezI cant see anywhere to change the status11:26
bradbMez: can you tell me a bit about where you're attempting to do this? what are you expecting to be possible at this point?11:26
Mezok11:26
MezI've just found where to change it11:27
bradbok :)11:27
Mezyou click on the bit under needs fixing in11:27
Mezgrr11:27
Mezthats not very self explanatory11:27
bradbMez: how would you have preferred or expected that to have worked?11:28
sivangoh god, I'm only now reading the news about the foundation11:28
Mezsomewhere more intutive... or labelled "change the status" or somethign11:28
bradbMez: right. i'm glad you mentioned that this confused you. there's been enough users that have brought that to my attention now to indicate that it's a high-priority usability fix we need to make.11:29
bradbs/there's/there have/11:29
Mezlol - I'm glad it's not just me then :D11:29
SteveAjamesh: ping11:32
sivangbradb: https://launchpad.ubuntu.com/distros/ubuntu/breezy/+members <== again gives an error11:32
=== SteveA finds it unlikely jamesh will be around at this hour
sivangSteveA: true, I already tried earlier :-)11:33
bradbsivang: sorry dude, that's outside my area of lp knowledge. i'll file a bug for you though so that the right person sees it.11:40
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=kiko]  simple clean up and little fixes (patch-2065: daniel.debonzi@canonical.com)11:42

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