/srv/irclogs.ubuntu.com/2006/02/22/#launchpad.txt

=== zyga [n=zyga@ubuntu/member/zyga] has joined #launchpad
=== irvin [n=irvin@ubuntu/member/irvin] has joined #launchpad
=== jsgotangco [n=jsg@ubuntu/member/jsgotangco] has joined #launchpad
=== BjornT [n=bjorn@clt-84-32-240-183.dtiltas.lt] has joined #launchpad
=== dsa [n=dsaa@210.1.89.177] has joined #launchpad
=== xhaker [n=xhaker@213.201.220.218] has joined #launchpad
=== LaserJock [n=mantha@ubuntu/member/laserjock] has left #launchpad []
=== asw [n=asw@karuna.med.harvard.edu] has joined #launchpad
=== asw [n=asw@karuna.med.harvard.edu] has joined #launchpad
=== asw [n=asw@karuna.med.harvard.edu] has joined #launchpad
xhakerhey peeps01:29
xhakeris there any dup finder in malone?01:30
=== ulinskie [n=yolynne@202.57.88.34] has joined #launchpad
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #launchpad
=== mpt [n=mpt@219-89-155-10.jetstart.xtra.co.nz] has joined #launchpad
jameshlifeless: any progress on getting pygpgme branched into rocketfuel?01:52
lifelessjamesh: not yet, I have to get the bzr/bzrtools thing done 01:52
lifelessjamesh: which is on the plan for today01:52
jameshfair enough.01:52
lifelessjamesh: until thats done, the test suite will barf on your branch01:52
lifelessjamesh: if its 'done' I can manually wedge it in but you can't commit to it until later. Is that ok ?01:53
jameshlifeless: that's fine.  I'd be able to commit the configs and launchpad bits though?01:54
lifelessyes01:54
lifelessI can do this now. one sec01:54
jameshthank you.01:54
lifelessdone01:59
=== Suddud [i=Suddud@cpe-69-135-184-79.woh.res.rr.com] has left #launchpad ["Leaving"]
jameshlifeless: should I be able to see the pygpgme directory in chinstrap:/home/warthogs/archives/rocketfuel ?02:13
lifelessjamesh: uh no. my bad02:14
=== stub [n=stub@gb.ja.98.11.revip.asianet.co.th] has joined #launchpad
rob_consciencelifeless: it's your conscience talking to you02:19
rob_consciencelifeless: you've got to reply to ddaa's annoying questions about the bzr transition plan02:19
lifelessthanks02:20
ddaasigh...02:27
ddaagot to start the GIMP import... again...02:27
ddaathis is a curse...02:27
lifelesswhats breaking it ?02:27
ddaareboots02:28
ddaalast time I was tempted to actually salvage the .bzr from the previous import02:28
ddaabut then I thought that it was probably best to play stupid02:29
lifelessjamesh: done02:29
jameshddaa: you know most stuff in gnome CVS will be in Subversion by middle of next month?02:30
=== ddaa digs head in the sand
=== ddaa realises he cannot puts his fingers in his ears now
ddaajamesh: LALALAL what did you say LALALALA02:31
ddaalifeless: do you have any idea how we may handle this sort of CVS->SVN transition?02:32
lifelessddaa: 'rm'02:32
lifelessddaa: or02:32
ddaaI mean, in a vaguely seamless manner...02:32
lifelessddaa: change the source at the revision it cuts over, and write a revision that has no content changes and the CSCVS metainformation to match svn02:32
lifelessvaguely scriptable if we care to02:33
ddaawell, the good news is that SVN is much easier to import from...02:33
ddaathe bad new is than SVN support is still... lacking...02:34
=== lifeless waves a shiney thing in front of ddaa
lifelessI've replied02:34
jameshddaa: one of the ideas going round at the moment is to edit the RCS timestamp history so that the cvs2svn migration doesn't corrupt the history ...02:34
ddaagn?02:35
jamesh(on the gnome side)02:35
ddaayou know, you make me want to pull my eyes out...02:35
lifelessddaa: just think of lamont 02:36
ddaa"let's scramble our history, so the broken SVN transition script, the broken SVN revision model, and the broken SVN date logic does not prevent use to use dates"02:36
ddaa"and while we are at it we will have a big party where we will all nail one another's scrotum on a plank"02:37
ddaalifeless: what with lamont?02:37
jameshddaa: it's more of a case that our history is scrambled, and needs unscrambling02:38
lifelessddaa: lamont ran RCS scripts across his postfix repository, repeatedly02:38
lifelessddaa: a major source of bugfinders for cscvs02:38
jameshddaa: there have been clock skew problems at various points in the past, and the conversion scripts don't like it.02:39
ddaajamesh: I do not understand, the problem I'm aware of is that branch-wise import to svn cause the repository to end up with non-monotonous dates02:39
ddaawhich fucks up finding revisions by dates02:40
jameshddaa: no.  Part of the linear history of a single file goes 2003, 2003, 1997, 1997, 200302:40
ddaa(but which leaves cscvs utterly indifferent as long as it imports along the branch boundaries)02:40
jameshthat's what is fucking up cvs2svn02:41
ddaawell, that's CVS... what were they thinking???02:41
ddaayou mean the cvs2svn people thought that CVS was what? Reliable???02:41
jameshwell, CVS just recorded the timestamp the system clock gave it02:41
ddaadates in particular... it's stupid to rely on those for conversion logic...02:42
ddaafor anymore than rought heuristics02:42
ddaajamesh: anyway, that's a very interesting data point02:42
ddaajamesh: please keep us posted02:43
ddaalifeless: lamont knows enought RCS voodoo to write fantastic novels about it.02:45
ddaaI mean CVS voodoo.02:45
ddaaI mean fantasy novels too.02:45
lifelessddaa: nono, he ran *RCS* against his *CVS* repository.02:45
lifelessits an unversioned file format.02:46
ddaaI supposed that involved an obfuscated Perl contest, did it?02:46
=== lifeless shurgs
ddaaI propose we stop CVS imports BTW and just wait for everybody to switch to SVN02:47
ddaathat should not take much longer02:47
=== irvin [n=irvin@203.213.223.86] has joined #launchpad
ddaalifeless: apparently you did not read the contexts of the questions...02:53
ddaathe documentation contains the explicit bzr configuration I plan to use02:53
lifelessddaa: what would you like me to revisit02:54
ddaanothing specific so far, you happened to reply to the question. It was the "belt and suspenders" and you replied "dunno".02:55
lifelessright. I dont know if there is such a facility in bzr02:55
ddaaoh, also you said something about checking own signatures, I did not understand02:56
ddaathat was a question about a very specific configuration point02:56
lifelessyou asked if import should check its own signatures02:56
lifelessI did not understand it to be a configuration question02:57
lifelessif it was a configuration question I would have expected 'should we set KNOB to VALUE or VALUE'02:57
=== ddaa looks for the specifics
lifelessanyway, signature checking in bzr is still not finished, though they can be manually checked.02:58
lifelessso if you are asking 'should we configure bzr to check its own signatures' the answer is 'you cannot'02:58
ddaawell... then the documentation on the wiki is misleading...02:58
lifelessthat mutated from a proposal to a misleading 'active' document02:59
mptGoooooooooooooooooooooooooooood afternoon Launchpadders!02:59
lifelessI'm being called for lunch03:00
lifelesssleep well ddaa03:00
lifelesstchau03:00
ddaagood day, thanks for the fast answer03:01
=== mdke_ [n=matt@ubuntu/member/mdke] has joined #launchpad
spivjamesh: ping03:33
lamontlifeless: I only ran rcs across my cvs tree twice... once to break it (well, not on purpose...) and once to undo the b0rkage...  that's not really "repeatedly"03:41
=== jsgotangco [n=jsg@ubuntu/member/jsgotangco] has joined #launchpad
=== jsgotangco [n=jsg@ubuntu/member/jsgotangco] has joined #launchpad
=== jsgotangco [n=jsg@ubuntu/member/jsgotangco] has joined #launchpad
jameshspiv: pong04:13
spivjamesh: two things...04:13
jameshyour sftp mirror branch?04:14
spivjamesh: one is that I'm curious to know how the review of spiv/launchpad/supermirrorsftp-integration is going?04:14
spivYeah, if you're too busy we can find someone else.04:14
spivAlso, I hear you're doing something with XML-RPC for branches?04:14
spivThere may be some overlap perhaps with my branch in your review queue, which adds some XML-RPC methods to the authserver that the SFTP server needs.04:15
jameshI have only taken a brief look over the supermirror branch, but I can probably send thereview comments early next week04:16
jameshI'm working on some code to allow the branch puller to use XML-RPC to update the status of the branch in LP04:16
spivActually, now that I look, I see that the XML-RPC bits of that branch already got merged accidentally in an earlier merge.04:18
spivjamesh: Well, the existing XML-RPC for branches I have is in the authserver, just the getBranchesForUser, fetchProductID and createBranch methods.  Are you adding to the authserver (which really needs a new name)?04:21
spivjamesh: Perhaps the thing to do with the review is put it on rejected list -- you can always take it back if no-one else gets there first :)04:22
jameshspiv: I'm adding to the authserver, but I was planning on putting these methods under a separate endpoint, to simplify things if we need to update the methods I add, or the authserver bits need changes04:22
jameshseemed the most sensible thing to do04:22
spivjamesh: Sounds sensible.  I should look over it when you merge, and update my branch-related methods to do the same thing, probably.04:23
spivAnyway, that's all I wanted to know.  Thanks!04:24
=== irvin [n=irvin@ubuntu/member/irvin] has joined #launchpad
lifelesslamont: once is once, twice is repeated :)04:35
lamontfeh - the second time was minus-one04:36
lamontlifeless: your test suite, otoh, does it every time... :0)04:37
lamontanyway, bedtime for me, I think04:39
=== zonble [n=zonble@saloon.nccu.edu.tw] has joined #launchpad
=== dsaa [n=dsaa@210.213.81.7] has joined #launchpad
mptha!04:51
=== irvin [n=irvin@ubuntu/member/irvin] has joined #launchpad
mptThe page for adding a source release to a mirror uses the form intended for adding an arch release04:52
=== stub disables PQM to run tests of the production branch on balleny
=== jsgotangco [n=jsg@ubuntu/member/jsgotangco] has joined #launchpad
=== ulinskie [n=yolynne@202.57.88.34] has joined #launchpad
jbaileystub: Around?05:38
stubjbailey: yes05:39
jbaileystub: I'm curious - What do you think of the idea of rejecting or fixed-releas'ing all the debbugs-imported tasks in Malone?05:39
jbaileyAFAICT they're not collecting status updates, and they're polluting the subscribed lists because they keep bugs artificially open.05:40
stubI think we should put the debbugs synchronization code into production so they are updated05:40
jbaileyAh, that would be even better.  I hadn't realised that was planned.05:40
stubI'd rather delete all the imported tasks than give them an incorrect status05:41
stubMark wrote the code ages ago. It needs someone to update and test it. However, there have been discussions on how debbugs watches should be handled that I haven't been following closely.05:41
=== mpt_ [n=mpt@219-89-136-119.jetstart.xtra.co.nz] has joined #launchpad
jbaileystub: Nice to know, thanks.  I was just surprised when your query still left me with a surprising number of bugs.05:43
stubI'd discuss how it should be handled with brad and maybe kiko. Make sure they are on the right track.05:45
jbaileyCool.05:45
jbaileyThanks again for running that other query!05:45
=== jsgotangco [n=jsg@210.4.38.43] has joined #launchpad
=== mpt__ [n=mpt@219-89-129-240.jetstart.xtra.co.nz] has joined #launchpad
=== ulinskie is away:
=== ajmitch_ [i=ajmitch@port163-136.ubs.maxnet.co.nz] has joined #launchpad
=== lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #launchpad
=== ajmitch__ [n=ajmitch@port163-136.ubs.maxnet.co.nz] has joined #launchpad
=== ajmitch [n=ajmitch@dsl-210-15-201-110.QLD.netspace.net.au] has joined #launchpad
=== carlos [n=carlos@84.76.255.40] has joined #launchpad
=== dsaa-away [n=dsaa@210.1.88.122] has joined #launchpad
carlosmorning09:00
=== ajmitch_ [n=ajmitch@dsl-210-15-201-110.QLD.netspace.net.au] has joined #launchpad
=== mpt__ is confused
mpt__How do I add a milestone to a product?09:07
mpt__oh, I can do it for a product but not a package09:07
mpt__grmph09:07
mpt__jamesh, perhaps you'd be interested in implementing bug 2865509:14
Ubugtumalone bug 28655 in launchpad ""Constraint not satisfied" should be reworded and trigger a logged error" [Normal,Confirmed]  http://launchpad.net/bugs/2865509:14
SteveAmpt: i'm not sure i agree with bug 2865509:34
Ubugtumalone bug 28655 in launchpad ""Constraint not satisfied" should be reworded and trigger a logged error" [Normal,Confirmed]  http://launchpad.net/bugs/2865509:34
SteveAi think we should change the error message to read "a field is incorrect" or "this field in incorrect"09:36
SteveAbut i don't think we should log errors yet09:36
SteveAbecause we have so many more significant errors already09:36
mptSteveA, so the amount added to the bottom of the report would slow down those fixing the bugs in the more important categories?09:39
SteveAeven just *thinking* about this right now, for anyone except you, is a poor choice of focus09:40
mptok09:41
SteveAjamesh: i made some progress on the oops.cgi feature10:07
SteveAthe latest oops summary is interesting.  i think the analysis script is applying the regexes in the wrong order, perhaps10:08
SteveAcompare these two consecutive entries10:08
SteveA5 ProgrammingError: ERROR: duplicate key violates unique constraint "sessiondata_key" INSERT INTO SessionPkgData (client_id, product_id, key, pickle) VALUES ( $STRING, $STRING, $STRING, $STRING)10:08
SteveA    *10:08
SteveA    o10:08
SteveA1 ProgrammingError: ERROR: duplicate key violates unique constraint "sessiondata_key" INSERT INTO SessionPkgData (client_id, product_id, key, pickle) VALUES ( $STRING, $STRING, $STRING, $STRING\\\\$INT\\\\$INT\\\\$INTRq\\\\$INTsb.')10:08
jameshSteveA: that looks weird.10:10
jameshSteveA: it replaces strings before integers, which I think is the correct order10:10
jameshI guess the regexp for strings didn't handle the string in question10:11
SteveAyeah10:11
SteveAi guess so10:11
SteveAthese are pickles i think10:11
SteveAjamesh: my changes are in ~stevea/public_html/oops.cgi10:13
SteveAthere is now a simple "time saving for repeated queries" analysis at the end of the page10:13
SteveAsome of the variable names i used could be made more consistent with what you use10:13
SteveAbecause i was importing code from some other code i wrote earlier10:13
SteveAand i was being lazy late at night10:14
SteveAdaf: hi10:15
SteveAdaf: there is an oops that could use some code to give a better error message10:15
SteveA  Module canonical.launchpad.database.sourcepackage, line 179, in <lambda>10:15
SteveA    key=lambda item: Version(item.version))10:15
SteveA  Module sourcerer.deb.version, line 85, in __init__10:15
SteveA    raise BadUpstreamError, "Bad upstream version format"10:15
SteveABadUpstreamError: Bad upstream version format10:15
SteveA10:15
SteveAhttps://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-02-16/D7810:15
SteveA10:15
SteveAthe problem is, the code says BadUpstreamError "Bad upstream version format", but then it doesn't tell you what version format was passed in10:15
jameshSteveA: I wonder if it would be worth putting the SQL statement summary above the full log?10:16
SteveAso you don't easily have the data that caused the error10:16
dafdo you suggest chaning sourcerer or catching the exception in hte database code and re-raising it with more information?10:16
SteveAjamesh: yeah, i think so10:16
dafSteveA: ^^^10:17
=== SteveA is thinking
SteveAis there any more information we need than item.version ?10:18
SteveAif item.version is enough, then we should improve sourcerer10:18
dafit should be enough10:18
SteveAok.  then sourcerer.10:19
SteveAit should be a simple change, and will allow us to see better what the problem is10:19
SteveAalthough... 10:19
SteveAif the OOPS reports for errors could show the value of locals10:19
SteveAor even locals going up the stack10:19
SteveAthat would be even better10:19
SteveAjamesh: do you think that is feasible?10:19
dafthat would be great10:19
SteveAdaf: although, the error in sourcerer should be fixed10:19
dafagreed10:20
SteveAdaf: would you take care of the paperwork ? ;-)10:20
jameshSteveA: it'd be possible if we used a different traceback formatting function (assuming the zope one doesn't have support for that already)10:20
dafSteveA: certainly :)10:20
SteveAjamesh: i think there's one in twisted, although i think that one doesn't understand the __traceback_supplement__ stuff10:21
SteveAso probably best to extend the zope one with code from twisted10:21
SteveAi'll look into it10:21
SteveAjamesh: i still need to add your regexes into the time-saved analysis, to take account of multiple queries of the same pattern10:21
SteveAso the table will grow another column for "number of similar queries"10:22
SteveAand will display the genericised statement10:22
SteveAand the saving will be adjusted to take this into account10:22
SteveAdaf: note at the top of the oops report https://chinstrap.ubuntu.com/~stevea/oops.cgi/2006-02-16/D7810:23
SteveAthere is "total sql time", "non-sql time" and "total time"10:23
SteveAthis gives some idea of how much processing is done in database code vs application code10:23
SteveAwell, i mean...10:23
SteveAby the database vs by the application10:23
dafright10:24
SteveAif you ever see a *lot* of non-sql time, then there are things to optimise in the code10:24
SteveAwithout considering the database10:24
dafcould we copy your working copy of oops.cgi to ~jamesh/oops.cgi?10:24
SteveAthe total time may be somewhat inaccurate10:24
SteveAbecause it uses the stop time of the last database query for that10:25
dafwell, accounting errors are to be expected10:25
SteveAjamesh: maybe we can add a request-start and request-end time to the oops report?10:25
dafI wouldn't expect them to be significant, though10:25
SteveAjamesh: then the total time vs total sql time will be more accurate10:25
SteveAdaf: probably not too significant10:25
jameshSteveA: sure.10:25
dafSteveA: https://launchpad.net/products/launchpad/+bug/3174110:27
Ubugtumalone bug 31741 in launchpad "sourcerer.deb.version raises BadUpstreamError without the version in question" [Normal,Confirmed]  10:27
SteveAdaf: ta10:27
mpt"Use this form to ..."10:32
mpt<form>...</form>10:32
mpt"... using the form above."10:32
=== mpt sighs
mptWe should have big animated GIF arrows pointing at the form, too10:32
SteveAyou could give all forms a lurid pink background in CSS10:33
SteveAthat would do it10:33
mptActually, now that I think about it, Microsoft Office 97 had a help system with big animated arrows pointing at the field you had to enter next10:34
SteveAhey, stub... skype call sometime?10:36
SteveAjamesh: thinking... what about if i made the traceback formatter output an html fragment.  that way, it can be styled nicely in the web pages and also in oops reports.10:39
SteveAthe styling will be important if i extend it to show locals at each stack level10:39
jameshSteveA: that might be a good idea.  Given the way we currently use the reports, that part of the OOPS file is only viewed in an HTML wrapper10:39
cprovmorning all10:41
mpthi cprov 10:41
dafmpt: let's do it!10:41
dafmpt: it should play a fanfare every time you complete a field10:41
mptdaf, Valentine's Day was three days ago10:41
mptoh10:41
cprovmpt: hi10:41
SteveAjamesh: would you copy my oops.cgi in place of yours soon, so that daf and matsubara can use the data today?10:42
SteveA(without having to do URL hacking)10:42
dafthe other option would be to update the production config and bounce the servers10:43
dafbut I think this way is easier10:43
mptThe problem with comments in code is that they only work for code that's there10:44
mptThey're not good for explaining why code is not there10:44
SteveAdaf: james' oops.cgi is the canonical one.  that's the one that all the oops summaries point to10:44
SteveAand where production bug reports point to10:44
dafah, right, the summary10:44
dafproduct uses a config value for where the OOPS reports are10:45
dafproduction10:45
jameshdone10:45
dafthanks James10:45
SteveAhttps://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-02-16/A136  <--- HUUUUUGE10:47
SteveAin firefox, looking at a page on chinstrap10:47
SteveAif i hover my mouse cursor over the bottom right of the window, where it says "chinstrap.ubuntu.com [padlock] "10:48
SteveAit says "MRS Virtual"10:48
dafgosh, 11s non-SQL time10:48
jameshgood old Mrs. VD10:48
mptDoes Mark's middle name start with R?10:49
cprovstub: something is wrong with the database in mawson -> 10:49
cprovlaunchpad_dogfood=# \df to_tsvector10:49
cprov                   List of functions10:49
cprov Schema | Name | Result data type | Argument data types10:49
cprov--------+------+------------------+---------------------10:49
cprov(0 rows)10:49
dafoh my god, it's fuill of queries10:49
jameshdaf: you saw the analysis of the page in question on lp-devel?10:49
stubSteveA: 10:50
dafhmm, I missed that10:50
stubSteveA: Sure10:50
stubcprov: whats wrong?10:50
stuboh - full text shite missing?10:50
cprovstub:  empty ?10:50
cprovSteveA: have you looked in the fix you requested in GPG ?10:50
dafjamesh: what was the Subject?10:50
cprovstub: It can't be right :(10:50
SteveAcprov: i looked into it.  i'll tell you about it a bit later.10:51
jameshdaf: Launchpad Errors for 2006-02-0110:51
cprovSteveA: something wrong ?10:51
jameshand replys10:51
SteveAcprov: busy with other things right now10:51
SteveAmy brain only context switches between 1 other thing at a time :-)10:51
dafjamesh: thanks10:51
jameshdaf: it's partly sqlobject MultipleJoin borkage, partly bad template code and partly the fact that it is trying to display so much data in one page.10:51
dafoh, MultipleJoin10:51
cprovstub: don't know what to do, all tools breaks on insertions10:52
cprovSteveA: okay10:52
dafjamesh: I would suspect that the Python time is being spent in SQLObject generating all these queries and processing the results10:52
SteveAdaf: yes, that is likely.  also, in the huge tal:repeat10:52
SteveAa tal:repeat is slow, so having such a large one will slow things down.10:53
dafis it even getting to the stage of rendering the page?10:53
jameshdaf: yes.10:53
stubcprov: Ahh.. \df ts2.ftq shows stuff. The search patch is stuffed.10:54
SteveAyes10:54
jameshdaf: you can see the TAL expression evaluation in the traceback10:54
SteveAlook at the traceback10:54
dafah, right10:54
daftoo many OOPS reports open at once10:54
stubYer - changed the option but didn't uncomment it :-)10:54
stubcprov: fixed10:55
cprovstub: let's see10:55
cprovstub: ProgrammingError: ERROR:  permission denied for relation pg_ts_cfg10:55
cprovstub: in the same insertion. Do you want to see the full error traceback ?10:57
stubnah10:57
SteveAjamesh: can you give me permission to write to your oops.cgi ?  i'm going to be working on this today, and it would be nice if i can make changes available right away10:59
SteveA(i mean, the directory your oops.cgi is in)10:59
stubcprov: fixed10:59
cprovstub: not yet :( -> ProgrammingError: ERROR:  permission denied for function person_sort_key11:00
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
SteveAthe +allpackages page is screwing us over.  we should disable it, if it won't be fixed by the next rollout11:01
SteveAin fact, disabling it in production to raise an instant exception would be a good thing for right now11:01
stubcprov: Whoever is using that hasn't written a test :-/11:02
dafSteveA: you already have it -- it's rwx to the warthogs group11:02
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
SteveAdaf: oh, cool11:02
dafthe file itself needs g+w, though11:02
SteveAthanks jamesh :-)11:02
jameshSteveA: okay.  It is g+w and owned by warthogs11:02
cprovstub: who do you mean ? my current script ?11:03
dafrwxrwxr-x, group warthogs is standard on chinstrap11:03
stubAhh... the code on mawson is now out of date11:04
SteveAdaf: i think i'll add to oops.cgi another report.  one that shows individual statements over 1s11:05
cprovstub: really ? doesn't cope with the DB age ?11:05
stubeh?11:05
cprovstub: I can merge RF nop11:05
SteveAsometimes we have a problem with much-repeated queries.  other times, we have a problem with a couple of very expensive queries11:05
dafsounds good11:06
cprovstub: I thought  DB is from yesterday, so it's the code11:06
stubcprov: The code I'm using isn't from yesterday, which is the problem11:07
stubI'm updating it11:07
cprovstub: which code ? I have a lp-upstream copy from yesterday in mawson, if you need (/srv/launchpad.net/codelines/launchpad-upstream/)11:08
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
stubcprov: I was using the production branch to update the db and security stuff instead of head11:09
stubthat function doesn't exist on production yet11:09
cprovstub: I see11:09
dafSteveA: yesterday you were talking about removing canonical.rosetta -- did that happen?11:11
SteveAi have it in a branch, and i thought i'd submitted a merge11:12
SteveAmaybe pqm ate it...11:12
dafI don't see it on the commits list11:14
stubcprov: fixe11:15
stubd11:15
=== cprov checking
SteveAdaf: replied to your mail.  IndexError is still an error.11:17
cprovstub: works, thank you !11:17
SteveAstub: what do you think about doing full text searches on a separate r/o replica?11:18
stubcprov: I'm approving the db patch in cprov/launchpad/small-fixes with that patch number (patch-40-21-0.sql)11:19
cprovstub: perfect, thanks again 11:20
stubSteveA: Nothing special about full text searches - they are just index lookups. 11:20
SteveAthey can be a little out of date11:21
SteveAdaf: another HUUGE one  https://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-02-16/C50711:23
stubSteveA: So we lose some synchronization between reality and search results, and gain what? The full text searches do not burden the database. What burdens the database is stoopid numbers of queries, locks being held open by slow transactions and queries on the huuge tables.11:23
stubMoving some of the rosetta queries to a read only replica might be better11:23
SteveAyeah11:24
SteveAthat would be feasible11:24
SteveAso, when i see search results timing out11:24
SteveAit is because of locks?11:24
=== fabbione [n=fabbione@gordian.fabbione.net] has joined #launchpad
stubIn some cases, yes. In other cases it is because the query needs to be optimized so it is correctly hitting indexes.11:25
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #launchpad
mpt<ul ... tal:condition="context/files">11:27
mpt  ...11:27
mpt  <li ... tal:condition="not: context/files">...</li>11:28
mpt</ul>11:28
SteveAstub: https://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-02-16/C208 , statement 192.  do you know if it is using indexes?11:30
SteveAi'm interested because although it is asking for a number of rows, it seems to be quite simple11:31
stubSteveA: There is no statement 192 in that oops11:33
SteveAsure there is11:33
SteveAin the first group of statements11:34
stubAhh,,,,11:34
SteveAlike, 280 numbers there11:35
SteveAwell, maybe more like 20011:35
stubSteveA: Yes - that statement hits the indexes and takes about 5.5 seconds.11:35
SteveAso, the only improvement to it would be better hardware11:37
SteveAor not performing that query11:37
stubQuery 190 is the slow one. The ugly one that needs to join a few of the biggest tables in the database in odd ways.11:38
SteveAyeah11:38
SteveAbut i was curious about this one11:38
SteveAcan you do anything about 190?11:39
stub192 looks really ugly, but it is quite fast. The huge IN list makes the execution plan unreadable though...11:39
stubWe already have looked at 190 I'm afraid. I'll need to give it another go. I might need to take more drastic action to sort it out (materialized views, partitioning - it will take a while to work it out).11:40
SteveAok11:41
SteveAdaf: https://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-02-16/A172  <-- can halve the time for this one11:45
dafgreat11:47
SteveAalthough, even then, it is still too long11:48
dafabout BadUpstreamError -- there's a test for this function that uses assertRaises11:48
SteveAbut, not executing that query twice will be an improvement11:48
dafshould I check that the exception has the version as an argument?11:48
SteveAno need11:49
SteveAit is an aid to debugging, rather than the logic of the library11:49
dafok11:49
SteveAstub: skype call11:53
SteveA?11:53
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #launchpad
=== papa_lic [n=cissa_li@88-196-34-149-dsl.noe.estpak.ee] has joined #launchpad
papa_licgreetings!12:10
=== iwj [n=ian@xenophobe.extern.relativity.greenend.org.uk] has joined #launchpad
=== Kinnison [n=dsilvers@haddenham.pepperfish.net] has joined #launchpad
iwjHow do I mark a bug as a duplicate by email ?  Really, I want to mark the bug as an opposite, but I doubt that's supported :-).12:12
=== mpt [n=mpt@219-89-129-240.jetstart.xtra.co.nz] has joined #launchpad
jameshiwj: looks like that command is missing from the email UI12:15
BjornTiwj: sorry, that's not implemented yet, bug 519012:15
Ubugtumalone bug 5190 in malone "Malone Email UI Should Support "duplicate" Command" [Normal,Confirmed]  http://launchpad.net/bugs/519012:15
iwjAh, OK.12:15
iwjErm, if I want to subscribe to a bug in LP by email, do I really have to send a signed message where the sole content covered by the signature is the word `subscribe' ?!12:16
dilysMerge to devel/launchpad/sourcecode/sourcerer/: [trivial]  fix bug #31741: sourcerer.deb.version raises BadUpstreamError without the version in question (r166: Dafydd Harries)12:19
=== matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
BjornTiwj: well, you can send an email to edit@bugs.launchpad.net, starting with command ' bug $bug_id', if you don't want it to show up as a comment.12:22
BjornTiwj: btw, we'll remove the requirement of signing the emails soon.12:22
iwjbjornt: Oh, good.12:23
iwjOh, yes, here it says `edit@'.12:23
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
iwj(In the doc.)12:23
dafSteveA: I'm not sure how to go about https://launchpad.net/products/launchpad/+bug/3095912:24
Ubugtumalone bug 30959 in launchpad "+sources/something should redirect to +source/something" [Normal,Confirmed]  12:24
SteveAdaf: not a big deal, i think12:25
dafno, it's matter of cutting down needless NotFoundErrors12:25
dafnot important, but I thought it would be a quick fix12:25
SteveAassign it to me12:25
dafok, thanks12:25
mptThat's something I need to learn12:25
dafmpt: ?12:26
mptHow to set up 302s, 410s, and so on for various URL schemes12:26
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
dafgrep for @redirect12:26
dafthat takes care of 3xx codes12:26
dafwe don't have infrastructure for 410 yet12:27
mptok12:27
BjornTjamesh: any chance of getting a review of my branch that is in your queue soon? it's the oldest branch non-reviewed branch on PendingReviews, and the diff is small.12:27
SteveAremind me what 410 is12:27
dafGone, IIRC12:28
mptyes12:28
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
iwjThanks.12:33
=== iwj [n=ian@xenophobe.extern.relativity.greenend.org.uk] has left #launchpad []
SteveAstub: https://launchpad.net/bugs/3204/+text12:35
Ubugtumalone bug 3204 in flashplugin-nonfree "Font missing after breezy upgrade !" [Normal,Fix released]  12:35
SteveAhttps://launchpad.net/products/launchpad/+bugs-text12:35
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== jinty [n=jinty@196-28-44-159.jhb.netdial.co.za] has joined #launchpad
carloskiko: hi12:53
carloskiko: I have a fix for #1681 with tests done12:53
carloskiko: I'm going to develop a migration script to fix our production data12:54
dafcarlos: kiko hasn't shown himself yet today12:54
carlosoh12:54
carlosok12:54
dafare you looking for a review?12:55
carlosdaf, SteveA: Should I ask for a review and merge the fix now and request a cherry pick while I develop and test the migration script?12:55
carlosthe fix will not break with current broken DB data12:55
dafthen that sounds ok12:55
carlosok12:56
=== Mithrandir [n=tfheen@c5100BC63.inet.catch.no] has joined #launchpad
jbaileystub: Around?12:59
jbaileystub: Tollef said the he seems to have wound up with evo-exchange bugs, so I think something went wrong in the query.12:59
Mithrandirstub: 14942, 14944 being two of the bugs that I shouldn't have gotten01:00
=== beyond [n=beyond@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
dilysMerge to devel/launchpad/: switch PGP code to use pygpgme instead of pyme, r=SteveA (r3155: James Henstridge)01:02
SteveAcarlos: i think we'll wait for tuesday's rollout, seeing as the merge didn't apply nicely01:06
carlosSteveA: This one is another bug fix01:06
dafeven so, I'm not sure it's worth rolling it out before Tuesday01:07
carlosSteveA: about that other failure, I can try to solve the errors01:07
dafI think your time would be better spent on the Dapper imports01:07
SteveAi'm confused as to exactly which errors we're talking aobut01:07
SteveAbut i think getting things fixed so that they can be rolled out at the start of next week is the best policy01:08
=== niemeyer [n=niemeyer@200-181-148-79.ctame7043.dsl.brasiltelecom.net.br] has joined #launchpad
SteveAwe can also get them onto staging as soon as they're in RF01:08
SteveAso that we can get some people to try the features out on staging too01:08
carlosSteveA: stub was not able to cherry pick the revision for the +translate form because he got errors01:08
daf"errors" == "test failures"01:08
carlosdaf: yes01:09
carlossorry01:09
carlosSteveA: if it's on rocketfuel, if we rollout HEAD it should work01:09
SteveAok01:09
carlosso staging should have the fix already01:09
SteveAso, stu knows the revision ids01:09
carloswith today's source update01:09
SteveAmatsubara: can you test this stuff on staging?01:09
daftesting the fix for #1681 on staging would be good01:10
carlos1681 is not yet on staging01:10
dafright01:10
SteveAif it is in RF, we can ask stu to do a code-update on staging01:10
carloswe have the SELECT COUNTs on staging01:10
dafit is not in RF yet01:10
carlosSteveA: I need first a review01:10
SteveAok, so that's what to aim for01:10
carlospushing it atm01:10
SteveAreview -> RF -> staging -> tuesday -> rollout01:10
SteveAwith some manual testing on staging01:11
dafconcisely put01:11
stubI've kicked off a staging update01:12
dafcarlos: what do you think the right fix is for https://launchpad.net/products/rosetta/+bug/3138101:13
Ubugtumalone bug 31381 in rosetta "POMsgSet.active_texts assumes POFile.pluralforms is an int" [Normal,Unconfirmed]  01:13
matsubaraSteveA: test bug 1681 on staging, is that right? I wasn't following the discussion...01:13
Ubugtumalone bug 1681 in rosetta "Viewing a translation page fails in unix2newlines" [Major,In progress]  http://launchpad.net/bugs/168101:13
dafcarlos: just return [None]  when pluralforms is None?01:14
stubjbailey: Urgh. I didn't read my notes closely enough and assigned the evolution-exchange bugs to tollef too. I'll rerun the script to reassign them to desktop-bugs01:14
SteveAdaf: would you arrange this with carlos and matsubara please?01:14
dafSteveA: yes01:14
SteveAthanks all01:14
dafmatsubara: that's correct01:14
jbaileySteveA: I bounced some ideas off of stub last night re: the historical debbugs imports that are collecting dust in open states in Malone.  I'd like to propose that the tasks themselves get deleted (although the remote bug watch should be preserved) until such time as auto-sync'ing becomes possible again.  From whom would you like a "that would be a GREAT idea, Steve!" to do this?  I'll go shopping for support. =)01:14
dafmatsubara: carlos is preparing a fix for review now01:14
jbaileystub: Lovely, thanks.01:14
dafcarlos: please let matsubara know when your fix is rolled out on staging01:14
dafmatsubara: carlos will let you know when it's ready for testing01:15
matsubaradaf: ok01:15
carlossure01:15
SteveAjbailey: mdz01:15
jbaileySteveA: Thanks!01:15
carlosdaf: let me see some code first01:16
dafcarlos: sure01:16
SteveAjbailey: and, if you get support, an item on the next launchpad devel meeting agenda01:16
SteveAi won't be there probably, as i'm traveling that day, but kiko will be able to take care of it01:16
jbaileySteveA: How are those submitted?01:16
dafjbailey: the MeetingAgenda page on the wiki01:17
jbaileydaf: Ta.01:17
stubjbailey: fixed.01:17
Mithrandirstub: lovely, thanks.01:18
carlosdaf: Hmm, well, if it's None is because we don't know plural forms, so I guess the answer is yes, return [None]  if it's None01:20
dafcarlos: cook, thanks01:21
dafcool01:21
SteveAsalgado: ping01:27
salgadohi SteveA 01:28
SteveAi've been looking at that bug with a duplicate name constriant that was broken01:28
SteveAi can see a place where we don't check names as properly as the database constraint does01:29
SteveAif you look in database/person.py, line 970, in getByName01:29
SteveAyou can see that ignore_merged defaults to True01:29
salgadoright01:29
SteveAso, it is possible that the name used matches a previously merged name01:30
SteveAand, when checking constraints using getByName, we must ensure that ignore_merge is False01:30
salgadoI thought about that, but all previously merged names should have a -merged string appended01:30
dafBjornT: "should get resolved until Tuesday" -- do you perhaps mean "before Tuesday"?01:30
SteveAsalgado: a query on staging or production will confirm that01:30
SteveAsalgado: also, the code can be simplified:01:30
SteveA        person = Person.selectOne(query)01:31
SteveA        if person is None:01:31
SteveA            return default01:31
SteveA        return person01:31
SteveA01:31
SteveAthis can become01:31
SteveA    return Person.selectOne(query)01:31
SteveAoh01:31
SteveAthat doesn't take care of the default01:31
SteveAis the default even used?01:31
salgadono, I don't think it's ever used01:31
salgadoI've been dropping these 'dafault' arguments in new code I write, as I've never seen them being used01:32
SteveAit is *never* used01:32
salgadoso, yes, I think this one can be dropped too01:32
SteveAso, that's a bug to file, to simplify the APIs01:32
=== SteveA files bug
dafsalgado: "dafault" -- what happens when I'm not around? :)01:33
SteveAsalgado: do you have access to staging to make that query?01:35
salgadoSteveA, no01:35
salgadodaf, eh?01:35
SteveAso, you'll need to ask someone to make the query01:35
dafnever mind; bad pun01:35
SteveAstub: can you do a query on production or staging please?  want to find out the list of Person.name where Person.mergedID is not None, specifically, if there are any without a -merged on the end.01:36
SteveAalso... i'm getting a timeout when trying to add a subscriber to a bug01:37
stubSteveA: There are two01:37
SteveAwhat are the names?01:37
BjornTdaf: yeah, i meant before Tuesday01:38
SteveAsalgado: so... need a bug for changing the constraints to use ignore_merged=False, and we should also ask stub to update these names in production, i think01:38
stubAhh... they have the -merged1 suffix instead01:39
salgadoahhh01:39
SteveAsalgado: i'm going to add the values of local variables to tracebacks in oops reports soon 01:40
SteveAand that will help a lot with diagnosing these kinds of problems01:40
salgadostub, so, all merged accounts' names have the -merged suffix?01:40
stub-merged or -merged101:40
stubyes01:40
salgadoSteveA, what do you mean by these kinds of problems?01:42
SteveAproblems where we think that the code always passes through a particular point01:43
SteveAbut you can't tell exactly from the traceback01:43
SteveAbecause the value of local variables at each point are not visible01:43
SteveAstub: is there a person with name djaghloul2008 in the db?01:43
stubSteveA: Yes01:43
salgadoSteveA, but that wouldn't help in this case because we'd still need to know a value from the database01:44
SteveAsalgado: i think it would help see what code paths were taken01:44
SteveAsalgado: is it possible that the insert was attempted twice in the same request?01:45
salgadoSteveA, what do you mean? a non-tested code path that would try to insert it twice?01:47
SteveAmaybe... just an idea to try to explain the oops.  although i guess two inserts would occur in the oops in that case.01:47
salgadostub, can you check the datecreated of this djaghloul2008 account?01:48
stub2006-02-16 11:39:26.74671801:48
stubUTC01:48
salgado2006-02-16 11:39:45 UTC01:49
salgadoand the total sql time of this request is 13003 ms01:50
salgadoa reload, maybe?01:50
SteveAweb logs would show it01:50
SteveAthe getByName checks should still have been hit though01:51
salgadonot really. most of the time spent in sql queries is in the insert01:51
SteveAweblogs would show if the user reloaded01:51
SteveAthe getByName checks should still have been used in a reload01:52
SteveAto ensure we don't get the database programming error01:52
=== Mithrandir [n=tfheen@c5100BC63.inet.catch.no] has left #launchpad []
salgadoright, but isn't it possible that right after the getByName() returned None, the first request finished the insert?01:53
SteveAshouldn't make any difference01:53
SteveAthat would give us a Serialization error01:54
SteveAstub: we're running at that level of isolation are we not?01:54
stubWe are running serialized isolation level01:55
SteveAso, the other possibility is some kind of weird sqlobject transaction breakage01:56
kikoahoy there02:02
kikolots of scrollback02:02
kikocarlos, nice to hear about the bugfix for 168102:02
carloskiko: if you want to do a review of it now....02:05
kikoI might if it's not huge02:05
carloskiko: https://chinstrap.ubuntu.com/~dsilvers/paste/fileWyjptj.html02:06
cprovstub: ping02:06
dafcarlos: those AssertionErrors02:07
dafcarlos: perhaps pass the msgid/text into AssertionError with the error message?02:08
dafcarlos: in fact, I suggest:02:09
carlosdaf: do you think it's useful?. I added it to be sure that we don't get mixed values02:09
dafclass NewlineStype: UNIX = 0; WINDOWS = 1; MAC = 202:09
kikosalgado, help me understand -- what is the deal with py.test? why is it not yet required? when will it become?02:09
carlosif we get those assertions, we need to update that method02:09
dafmsgid_style = NewLineStyle.UNIX02:09
dafthen you can do:02:09
=== Alinux [n=Ubuntu@d81-211-221-78.cust.tele2.it] has joined #launchpad
dafif (text_style != msgid_style):02:09
dafmuch simpler code02:09
kikolooks nice02:10
salgadokiko, it'll become a launchpad dependency as soon as we have a working package in breezy, or when we change to dapper. whatever comes first02:10
kikosalgado, what uses it?02:10
dafcarlos: if we get those assertions, it might be nice to know which combination is occurring02:10
salgadokiko, sqlobject's tests02:10
kikosalgado, and we don't run those tests today?02:11
salgadono, we don't02:11
carlosdaf: ok02:11
kikoI see02:11
kikoand you want to activate them, right, salgado?02:11
salgadoexactly. I fixed the tests for the code where we diverge from upstream and packaged the codespeak-lib package02:12
salgadobut the first package was broken02:12
carlosdaf: with your NEwLineStyle class, how would I know if there are more than one style at the same time?02:12
carlosdaf: if you want to remove all those boolean vars....02:12
Alinuxhello all, I can't enter into https://launchpad.net/distros/ubuntu/dapper/+source/gnome-panel/+pots/gnome-panel-2.0/ka/+translate    I get timeout error message all the time :/02:14
dafcarlos: ah, I see02:14
AlinuxOOPS-48D22902:14
Ubugtuhttps://chinstrap.ubuntu.com/~jamesh/oops.cgi/48D22902:14
dafcarlos: wait a second, though02:15
carlosok02:15
dafah, never mind02:15
carlosoh, cool, Ubugtu knows about oops!02:15
carlosAlinux: let me check02:16
dafcarlos: maybe msgid/text_has_*_style would be clearer variable names02:16
AlinuxI would like to update some translations :D02:17
dafcarlos: I'd still like a way to make this simpler02:17
carlosdaf: any suggestion is welcomed02:17
AlinuxI've tried with Mozilla and Epiphany to connect this lauchpad page.02:18
carlosAlinux: We are working on those timeouts02:18
dafcarlos: I have an idea: has_{mac,unix,windows}_newline()02:18
Alinuxcarlos, ok02:18
carlosAlinux: it's not a problem with your browser02:18
Alinuxgrazie muchas :)02:18
dafcarlos: text_has_windows_style = has_windows_newline(text)02:18
Alinuxcarlos, ok then, I simply collaborate :) 02:19
dafcarlos: that would eliminate the stripped_{text,msgid} locals02:19
kikoSteveA, it would probably make sense for matsubara to test gpg stuff it we want to roll it out.02:19
SteveAkiko: yeah02:19
carlosdaf: so you want three new methods to remove two variables?02:19
kikounfortunately for us, staging does not send out email :-(02:20
carlosdaf: I'm not quite sure it's a good change...02:20
SteveAwe can configure staging to send mail somewhere02:20
SteveAlike, an account on the canonical imap server02:20
carlosdaf: in fact, if has_windows_newline is true, mac and unix ones will be true tooo02:20
salgadoSteveA, so, do you have a plan for that issue with the account creation? maybe you want me to try and find what's going on?02:20
carlosdaf: that's the point behind the stripped... vars02:21
Alinuxis there big differencies between Ubuntu's gnome-panel and GNOME's gnome-panel ?02:21
dafcarlos: right, you moved the stripped_ vars into the functions02:21
carlosAlinux: not really, a couple of string additions02:21
carlosdaf: what will we win then?02:21
dafcarlos: it's just that this is a big method and I find it hard to read02:21
Alinuxcarlos, ok.02:21
carlosdaf: the function is not so long to justify that split ...02:21
daf44 lines is a long function02:22
carlosdaf: sure, but your changes are not going to reduce the code but the initialization part02:22
SteveAsalgado: i don't have a plan right now.  it remains a mystery.  can you add an extra assert in _newPerson that getByName(name) is None ?02:22
SteveAsalgado: and also change the occurrances of getByName such as that one to include merged ?02:23
SteveAi'll spend a bit of time today improving oops output, and so if this happens again, we'll be in a better position to see what is going on02:23
salgadoSteveA, sure, I'll do that02:23
dafcarlos: shrug; I'm not the reviewer02:24
SteveAmatsubara: the user you were giving help to yesterday uploading a gpg key eventually managed to do it.  it seems the reboot of the keyserver machine did something to make it work...02:24
SteveAanyway, he was grateful for the help!02:25
matsubaraSteveA: cool02:25
=== leosx [n=orwen@195.47.94.23.adsl.nextra.cz] has joined #launchpad
kikodaf, is o-b-t on track or does it need help?02:28
dafI've just merged RF to fix a conflict; then I'll push02:29
kikocool.02:31
=== dsaa [n=dsaa@210.5.94.190] has joined #launchpad
=== Keybuk [n=scott@213-78-32-60.ppp.onetel.net.uk] has joined #launchpad
=== bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad
=== thisfred [n=thisfred@a80-127-80-154.adsl.xs4all.nl] has joined #launchpad
=== jsgotangco [n=jsg@125.212.121.152] has joined #launchpad
matsubaraI can't run any tests. I'm getting ConfigurationError: ('Invalid value for', 'factory', "Couldn't import canonical.launchpad.utilities, No module named gpgme") . What do I need to update to get things working again?02:49
kikowow02:50
kikomatsubara, did you update your sourcecode without updating your tree, or vice-versa?02:50
salgadomatsubara, I think you're missing a make or make build02:50
=== doko [n=doko@dslb-084-059-081-029.pools.arcor-ip.net] has joined #launchpad
kikodaf, check out salgado's bug 31650 -- a new oops we have never seen before.02:52
kikoBjornT, could you look into it?02:52
matsubarakiko, salgado: updated both the sourcecode and my tree, rsynced to our prebuilt tree and did the make build 02:52
matsubaraam I missing anything else?02:53
SteveAkiko: is chinstrap reachable by you?02:53
SteveAi can reach it now02:54
kikoI don't think I understand what you mean by "rsynced to our prebuilt tree"02:55
kikomatsubara, do you mean the same as "updated sourcecode"?02:55
matsubarakiko: yep02:56
kikodid you bzr merge?02:56
matsubarakiko: yep02:56
kikothen it's odd.02:58
matsubara$ bzr st02:59
matsubaraunknown:02:59
matsubara  sourcecode/pyme02:59
matsubarais this normal?02:59
BjornTkiko: well, how much do you want me to look into it? i can see that the message got inserted correctly into the db, but somehow new_bug.messages doesn't include the inserted message.03:00
kikorm -rf sourcecode/pyme03:00
kikoBjornT, invest 10 minutes?03:01
BjornTkiko: ok03:02
matsubarakiko: that was on the prebuilt tree...03:02
kikomatsubara, yeah, I believe that directory is lost.03:02
matsubarakiko: didn't solve the problem. Is there anything else that I can do?03:05
kikoyes. bzr merge. no code should use gpgme any longer.03:05
salgadoisn't gpgme the name of the new module and pyme the name of the old one?03:06
kikoit's pygpgme I think03:06
kikobut maybe you're right03:06
kikomatsubara, do you have sourcecode/gpgme?03:06
matsubaranope03:07
kikois the prebuilt tree fucked?03:08
matsubarayes03:08
salgadoprobably03:08
kikogreat!03:08
=== kiko loves fucked trees
kikomatsubara, you'll neet to get gpgme directly03:08
=== thierry [n=thierry@modemcable023.222-70-69.mc.videotron.ca] has joined #launchpad
kikowhoa03:09
kikorocketfuel/pypgpme is empty03:09
kikohow did this merge?03:09
=== Keybuk [n=scott@213-78-32-60.ppp.onetel.net.uk] has joined #launchpad
kikooh, never mind me03:09
kikomatsubara, /home/warthogs/archives/rocketfuel/pygpgme03:10
kikothat's what you want03:10
kikomatsubara, you could convince salgado to bzr get it into the right place in the prebuilt tree03:10
kikohe is usually easy to convince of such hacks03:10
=== ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
matsubarasalgado: ^^03:10
SteveAdaf, matsubara, kiko: see https://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-02-07/D31403:11
SteveAnew oops layout03:11
salgadothat was not convincing at all03:11
matsubarasalgado: and where is the 'camaradagem'?03:12
kikoyes, camaradagem is essential in our quest03:12
kikoSteveA, that's great! long queries are > 2ms?03:12
SteveAno03:13
SteveAjust top 503:13
kikoSteveA, ah, I see.03:13
SteveAbut, what do you think would be best there?03:13
kikosay that somewhere? :-)03:13
kiko5 longest-running queries?03:14
kikoI think that's fine03:14
SteveAi mean, is that the most useful thing to present?03:14
SteveAokay03:14
kikoyeah, it makes it easy to focus03:14
SteveAi'll change the heading then03:14
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #launchpad
kikoSteveA, some other suggestions:03:16
kikoa) you could place the (top) link on the same line as the heading, in a <small> or something, to avoid making more use of vertical space03:16
kikob) i'd place the treceback before request variables03:17
kikoc) I'd place the HTTP method in the summary at the very top of the oops (before Exception type even)03:17
kikothe HTTP method is very important and yet very hidden03:17
SteveAkiko: to (a), everything in the report has appropriate html elements and css classes.  I'll leave it to mpt to provide a stylesheet.03:17
SteveAto (b) ok03:18
SteveAto (c) okay03:18
kikod) I'd make the URL be a link to the actual URL03:18
kikoe) I'd make the user be a link to the actual user's page in lp03:18
kikothis is great work, congratulations03:18
kikosalgado, don't forget to remind stub to set up the expiration cronjob on tuesday03:20
kikocarlos, have a new diff?03:21
=== ddaa from morning import alarmclock
carloskiko: no, I'm not completely sure I should do the changes daf suggested.03:23
=== ddaa PillowError: try again later
kikodaf?03:23
BjornTkiko: i couldn't find exactly what caused bug 31650, someone with more db and sqlobject knowledge should have look at it. i've added a comment to the bug, though.03:30
Ubugtumalone bug 31650 in launchpad "OOPS When filing a bug on launchpad" [Normal,Confirmed]  http://launchpad.net/bugs/3165003:30
kikothanks BjornT -- who should be the assignee?03:30
BjornTkiko: hmm, not sure. SteveA would probably be a good candidate to take a look at it if he has time.03:32
kikoBjornT, do you know why we have bugtasks method on our bugtargets? they are so error-prone...03:33
dilysMerge to devel/launchpad/: r=bradb Fix for bug 6697: Source package bugs list is missing filter links. Makes the filter links portlet (on the RHS) available in distro source package and distrorelease source package pages; removes the redundant link to advanced search; also cleans up lint here and there (r3156: kiko)03:33
kikoyes!03:33
salgadobradb, is this (^) one that fix for the Advanced button not doing anything?03:34
kikosalgado, is there such a bug?!03:34
kikoBjornT, stub perhaps?03:34
salgadothere was at least. but only on the +bugs page. all others work fine03:34
BjornTkiko: which bugtasks methods are you referring to?03:35
matsubarakiko: bug 3069003:35
kikosalgado, can you try and reproduce and give me a link? if it exists I need to fix it right away03:35
Ubugtumalone bug 30690 in malone "'Advanced...' button on bugs listing doesn't do anything" [Normal,Confirmed]  http://launchpad.net/bugs/3069003:35
SteveAkiko: done b, c, d and e03:35
kikothanks SteveA -- can I test?03:35
SteveAsure03:35
kikomatsubara, I'll look into it, because I just removed the other link to that page!03:35
BjornTkiko: yes, stub could take a look at it03:35
SteveAit is there, as jamesh's oops.cgi03:35
salgadokiko, bradb had a fix for that, but last I heard he had problems when merging it03:35
=== carlos -> lunch
kikoBjornT, assign it, and thanks03:36
kikoSteveA, there's a bug:03:36
kikohttps://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-02-17/C3003:36
kikolook at the User link03:37
SteveAinteresting03:37
SteveAit means that oops reports don't have that data03:37
SteveAthey have only the internal user id, not the name03:37
kikopity. ok, undo that.03:38
SteveAis there a URL in launchpad where i can map Person.id to person page?03:38
bradbsalgado: That fix is irrelevant now, because the advanced search is (very) temporarily gone.03:38
kikosalgado might know that, salgado03:38
kikobradb, what did you just say?03:38
kikosalgado might know that, SteveA 03:38
kikobradb, IOW your branch removes advanced search?03:38
=== kiko scratches head
salgadoAFAIK we don't expose Person.id anywhere03:39
bradbkiko: Yeah. But there are still links for 90% of what people do.03:39
bradbe.g. open, critical, unassigned, unconfirmed, etc.03:39
kikobradb, why? I don't remember us discussing that, ever.03:39
bradbkiko: The existing search widgets don't fit in the new layout.03:41
bradbkiko: You can see that advanced search is not part of the bug contact reports. It says "(Advanced search coming soon)"03:42
kikodon't fit?03:42
SteveAkiko, salgado: we should store the user.name in the request / launchbag or somewhere, so that an oops report can use it03:43
kikothe launchbag has the user object, I don't get what you mean.03:43
bradbkiko: They'd need some HTML-fu to look acceptable in the new layout.03:43
kikobradb, why not just keep them, even with poor layout?03:43
salgadolaunchbag.user.name?03:43
=== kiko points SteveA to the wizard salgado
SteveAthe point is to ensure we're not getting any *new* data when we generate an oops report03:44
SteveAit is possible that an oops report is made when we don't actually have a user object, or something like that03:44
kikoI see what you mean03:44
bradbkiko: Sure. I could do that before I land that branch.03:44
SteveAanyway, i'll look into it03:44
kikommmm03:44
SteveAand merge it03:44
kikothanks SteveA 03:44
SteveAi have other changes to make to oopses03:44
kikoyou are an oopser03:45
salgadofastest lunch ever03:55
kikoyou are the doc holliday of lunches03:57
SteveAkiko: i'm landing a change that will make the Person.name appear in oops reports.  I'll update the script next week, after the rollout.  But, of course, we'll get bad links for some old oops reports.04:06
kikocool -- that's fine04:06
salgadocprov, should we start that review today?04:13
cprovsalgado: I'm still working on soyuz production release tests, can't really do both04:14
kikobut salgado can start looking at the branch04:15
cprovsalgado: kiko: yes, he can 04:15
salgadodoes that means you're still adding code on that branch?04:15
salgadoif so, it'll be the second time I'm going to review a work that's still in progress, and that will require me to read the whole diff again when it's finished04:18
salgadocprov, ^04:18
=== poningru [n=poningru@n128-227-11-246.xlate.ufl.edu] has joined #launchpad
cprovsalgado: yes. what shall I do ? we can't block dapper release because we can't manage to review the code at time04:22
cprovsalgado: it's no your fault, I know, neither mine 04:22
kikocprov, mmm, what are you saying? we should make time for reviewing and landing the branch, asap.04:23
salgadoinstead of adding more features04:23
cprovkiko: salgado: if you say so and if we can continue w/o -updates uploads , let's do it 04:25
=== slomo [n=slomo@ubuntu/member/slomo] has joined #launchpad
kikocprov, depends on how long you think that will take to complete.04:25
kikowe can manage, but we need some idea of the situation first..04:25
slomohi... would it be possible to subscribe "motu" to all bugs on packages in universe? currently we have to do this by hand for every bug and i guess this could be done automatically ;)04:26
cprovkiko: it was exaustly described last days, I've done the code for it but it requires real world test, I'm doing them in mawson at moment, rebuild a proper archive04:26
=== dsaa [n=dsaa@210.14.16.121] has joined #launchpad
kikocprov, we can wait, then. if you want to tell salgado where he can start, where you won't be changing it...04:27
kikoslomo, what do you use motu for?04:27
kikothe team.04:28
cprovkiko: good idea04:28
jbaileyhttps://launchpad.net/distros/ubuntu/+bug/31775 - It looks like Mark magically subscribed people by adding things at the bottom of the bug.  Am I confused?  And if not, is bug magic like this documented somewhere? =)04:29
Ubugtumalone bug 31775 in Ubuntu "Ubuntu should have better links to support options" [Normal,Unconfirmed]  04:29
jbaileyUbugtu: Thanks.04:29
cprovsalgado: you can review changes under lib/canonical/archivepublisher and in lib/canonical/database04:29
kikojbailey, it's just the email interface -- see the wiki doc.04:29
jbaileykiko: Ah, so it's not something I can do from the webform?04:29
jbaileyI've never used the email interface.04:30
=== SteveA unpings Znarl, as he spoke with elmo
slomokiko: it is in general a team with all MOTU but in no relation to the ubuntu-dev team so main devs don't get bug mails for universe stuff for example. currently it's used mostly for having all bugs in universe send to a central mailinglist thus everybody notices them and maybe works on them. also it's used for motu internal votes, etc04:31
kikoslomo, why don't you use ubuntu-bugs for that?04:31
kikoslomo, you can procmail filter on the component in the bug task lines04:31
=== dholbach [n=daniel@ubuntu/member/dholbach] has joined #launchpad
dholbachhello04:34
slomohi dholbach 04:34
dholbachis setting the default subscriber for universe packages a problem?04:34
bradbdholbach: What do you mean, exactly? You can subscribe yourself to a universe package. Someone else can subscribe to that package too.04:36
dholbachslomo was just in a discussion about it, no?04:37
=== bradb wasn't following that discussion, reads scrollback
elmoddaa: around?04:39
=== dholbach [n=daniel@ubuntu/member/dholbach] has joined #launchpad
bradbHm, chinstrap down/04:47
bradb?04:47
dholbachbradb: #canonical04:47
bradbright, woo04:48
=== bradb also notes that the lp dev tree is broken, thanks to pygpgme
bradbmatsubara: Did you manage to get your tree working?04:50
kikoit's prebuilt that is broken, bradb 04:51
bradbkiko: I don't think so04:51
bradbbradb@chinstrap /home/warthogs/archives/rocketfuel $ ls pygpgme/devel/04:51
bradbbradb@chinstrap /home/warthogs/archives/rocketfuel $ 04:51
kikobradb, is there a .bzr  in there?04:51
matsubarabradb: yep04:51
salgadoit has only the .bzr directory04:51
cprovsalgado: one idea, my soyuz-production branch is frozen since 14th, I can continue with uploader-tests until the next release, hope we can manage to review it during this time-window. it's not the best, but it is what I can do to help you.04:51
kikothat is fine04:51
salgadothat's all that's needed04:51
bradboh, ok04:51
salgadocprov, I don't understand what you mean. does the features you have in your soyuz-production branch replace the features in the uploader-tests branch?04:54
ddaaelmo: pong04:54
salgadoI don't see why landing the former would make it less necessary to land the latter04:54
elmoddaa: I recommend you don't restart marambio job-of-death till the whole power polava is sorted04:55
cprovsalgado: no uploader-test was merged in soyuz-production 14th and it still untouched04:55
ddaaelmo: how would I be able to tell?04:55
cprovsalgado: if you don't see, nevermind ... do whatever you preffer.04:56
elmoddaa: I'll mail you04:56
ddaaelmo: thank you04:56
ddaanote that the job would have no problem with swsusp04:57
ddaait's all local filesystem operation04:57
kikopower polava? :)04:58
salgadocprov, have you gone through all points I made in the first review? I didn't received a reply for the second part of the review I sent05:02
cprovsalgado: I've looked into it some time ago, it seems I have one pending review to send you.05:03
salgadoit's very hard to re-review a patch in which the things I pointed haven't been fixed05:06
cprovsalgado: yes, I've done only a small piece re-send by spiv, but not addressed all issues pointed by your take 205:07
=== rasputin [n=raptoid@85.97.176.132] has joined #launchpad
cprovsalgado: I think ...it's #async, the complainer's paradise!... not here :(05:09
salgadookay, I'll wait for your reply then. there's not much I can do before getting it05:12
cprovsalgado: okay, I'll address them when I finish the test05:15
dilysMerge to devel/launchpad/: [trivial]  Add an assert in PersonSet._newPerson to make sure the name is not already in use and don't ignore merged accounts when checking if a name is already in use on PersonSet.createPersonAndEmail(). This is to help us debugging https://launchpad.net/products/launchpad/+bug/31755 (r3157: Guilherme Salgado)05:25
ddaakiko: re syncher-logging: yes, I think it is worth the added code, but if you disagree I'll just remove it, and add it back later when you are tired of browsing through pages of redudant backtraces for transient errors in launchpad-error-reports.05:50
ddaakiko: so say "no" and I remove it, say "yes" and I leave it.05:50
=== mdke_ is now known as mdke
kikoddaa, why don't you factor your options into logger_options?05:52
ddaa?05:52
ddaabecause it has nothing to do with command line options?05:52
=== koke [n=koke@ubuntu/member/koke] has joined #launchpad
WaterSevenUbcarlos, ubuntu-translators accepts emails from subscribed users automatically?05:53
WaterSevenUbcarlos, takes a lot of time usually?05:53
dilysMerge to devel/launchpad/: [trivial]  Fix for bug 31573: Evolution source package in Ubuntu page tells me I don't have access. Makes DistributionSourcePackageView.latest_bugtasks use the right API to get the latest tasks. (r3158: kiko)05:55
ddaakiko: though arguably I could move logException into _LogWrapper05:56
carlosWaterSevenUb: yes, subscribed users send emails directly to the mailing list05:59
carlosWaterSevenUb: non subscribed users need that I moderate it.05:59
WaterSevenUbcarlos, ok, thx.05:59
=== carlos looks at the pending queue
kikoddaa, I think that's what I meant!06:02
ddaawhat about I adress the naming issue raised by BjornT, merge, then make a new branch? I think adding a visible method in the _LogWrapper could be a bit controversial, and that also remove the need for this ugly "logger_object" thing now that I noticed that there's actually a logger.log API....06:04
kikoddaa, I fear that the new branch will get deprioritized by your more important work. but okay.06:05
kikolifeless isn't around by any chance?06:06
ddaawell, I fear that going for another round of review means that the whole thing is going to be deprioritized...06:06
kikoI'm not suggesting another round of review06:06
=== badall [n=badall@badall.plus.com] has joined #launchpad
ddaaI think it would become necessary. Moving the method to the other class would need some pervasive changes.06:07
kikoreally?!06:07
ddaayeah, I'm not using the wrapper object at all06:07
kikommmm06:07
ddaaalso it's not clear that it should become a translucent wrapper...06:07
kikoI don't like the sound of this...06:07
ddaaanyhow, time for lunch06:08
ddaaI do not care about arguing over this sort of cosmetic change.06:08
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has left #launchpad ["Fui]
=== stratus [n=stratus@cronopio.rits.org.br] has joined #launchpad
stratusSteveA: hi, shouldn't launchpad return a www-authenticate header due to that basic authentication scheme you told me two days ago?06:13
kikostratus, it /should/ yes06:15
kikohave you had no luck?06:15
stratuskiko: maybe i'm missing something but i can't see the www-authenticate header here.06:15
stratuskiko: try wget --no-check-certificate -S https://launchpad.net/+login06:15
dafLaunchpad does not send authentication headers06:16
dafbut it does accept them06:16
dafhi stratus 06:16
dafyou asked me for some code, but then you left IRC06:16
stratushi daf06:16
stratusoh, thanks daf06:16
stratusi was looking for the realm06:16
stratusso, do you have the code?06:16
dafI'll paste it now06:16
stratusthanks06:17
kikodaf, have you managed to bzr branch pygpgme?06:17
kikobzr doesn't like me06:17
kikoseb128, bug 31573 fixed in PQM.06:19
Ubugtumalone bug 31573 in launchpad "Evolution source package in Ubuntu page tells me I don't have access" [Normal,Fix committed]  http://launchpad.net/bugs/3157306:19
dafkiko: I haven't tred06:19
dafkiko: I haven't tried06:19
kikodaf, if you update your rocketfuel, prepare to die!06:20
dafok, I won't do that06:20
kikoshouldn't this work?06:20
dafstratus: http://muse.19inch.net/~daf/misc/lp_auth06:20
kiko$ bzr get sftp://chinstrap.ubuntu.com/home/warthogs/archives/rocketfuel/pygpgme/devel06:20
kikobzr: ERROR: Not a branch: sftp://chinstrap.ubuntu.com/home/warthogs/archives/rocketfuel/pygpgme/devel06:20
kikoKilled by signal 1.06:20
dafstratus: this is ripped out of a program I have; you might need to hack it to work06:20
=== bradb & # lunch
kikothe prebuilt tree is a bit like a landmine06:21
stratusdaf: oh, i see. thanks! should i consider that gpl code?06:21
dafstratus: good question06:21
dafkiko: do you have an answer to that?06:22
kikodaf, stratus: I think it's reasonable to release that into the public domain, put it in the wiki.06:22
dafok06:22
dafpage name?06:22
stratussounds good, thanks06:22
kikono questions allowed06:22
kikodaf, BasicLaunchpadClient? 06:23
=== Keybuk [n=scott@213-78-32-60.ppp.onetel.net.uk] has joined #launchpad
kikowth is wrong with my bzr get06:23
dafhttps://wiki.launchpad.canonical.com/LaunchpadAutomation06:24
kikofine06:24
dafdunno, looks fine to me06:24
dafhmm06:24
kikofuck this, I'm rsyncing06:25
dafmaybe an extra slash after the host06:26
kikonope.06:26
dafodd, it's hanging here06:26
salgadokiko, you can rsync and then bzr revert it06:26
kikoI'm doing it now06:26
salgadosomebody once told that should work06:26
kikosince you didn't do it06:26
kikoand now I am blocked 06:26
salgadobzr get failed for me too06:27
kikoI want to kill the attendant that sold me bad rocketfuel 06:27
dafbzr get doesn't have an --overwrite, sadly06:27
dafbzr get sftp://chinstrap.ubuntu.com//home/warthogs/archives/rocketfuel/pygpgme/devel works for me06:27
kikoI DON"T WANT TO HEAR THAT06:27
daf(daf@olwen:~) bzr --version06:28
dafbzr (bazaar-ng) 0.8pre06:28
kikosalgado, actually, you /need/ to do ti06:28
kikobecause I don't have perms to write there06:28
dafBranched 46 revision(s).06:28
kikooh never mind06:28
kikohave it your way06:28
=== kiko sudo chmods
dilysMerge to devel/launchpad/: Fix https://launchpad.net/products/launchpad/+bug/31198 (update-pkgcache raising TypeError exception) r=kiko (r3159: Diogo Matsubara)06:29
kikoat least dilys loves me06:29
dilyscamaradagem, kiko06:30
kikoWTF is up06:31
=== kiko bzr reverts
kikoAMAZING06:31
kikoit works06:32
kikodilys, we should hire you to manage rocketfuel06:33
kikomy soyuz would never have crashed if you were in charge06:33
kikoman this new strokes album is excellent06:33
kikommmm mmmmmm mmmmmmmmm mm 06:33
kikosalgado, matsubara: rocketfuel is fixed. you will need to re-run link-external-sourcecode06:37
carloscprov: hi, how's going the soyuz testing? is it ready?06:47
cprovcarlos: re-publishing a fresh archive, might take some time, to you have a set of packages to upload ?06:49
carloscprov: I want to try the pmount package we already use in our tests06:49
carlosand anyone from universe06:49
carloscprov: do you need anything special or just a package from dapper is enough?06:50
cprovcarlos: the perfect organization is a directory containing another directory with a single upload as rosetta/upload-1/[foo.changes, foo.orig.tar.gz, foo.diff]  06:52
carlosok06:52
carloscprov: I will prepare that on mawson06:52
cprovcarlos: sweet06:52
carlosbut I'm leaving soon06:52
carloscprov: when will that be imported?06:53
cprovcarlos: tonight or tomorrow, I can send you the complete output when it's done06:53
carloscprov: will mawson have all the information in place until Monday?06:54
carlosI want to check the content of the translation import queue06:54
cprovcarlos: possibly yes06:54
carlosok06:54
carloscool06:54
=== thierry [n=thierry@modemcable023.222-70-69.mc.videotron.ca] has joined #launchpad
kikomatsubara, please include a description of /what/ you changed when fixing a bug in your commit and merge messages07:09
matsubarakiko: ok07:12
kikobradb, I was thinking of fixing bug 30690, but I guess you can do it, and avoid further conflicts?07:12
Ubugtumalone bug 30690 in malone "'Advanced...' button on bugs listing doesn't do anything" [Normal,Confirmed]  http://launchpad.net/bugs/3069007:12
kikocarlos, daf: no agreement on bug 1681? what do I do?07:13
Ubugtumalone bug 1681 in rosetta "Viewing a translation page fails in unix2newlines" [Major,In progress]  http://launchpad.net/bugs/168107:13
bradbkiko: Yeah, that's the plan.07:13
kikookay, I'll assign07:13
kikothanks07:13
carloskiko: Well, daf's solution is not bad, it's just another way to do it, If you, as a reviewer, think that the suggested changes could clarify a bit more the code, I don't have any issue to do that change. It's just that under my point of view I don't think those changes will increase the quality of the code (but I could be wrong there)07:19
kikowhat did he suggest, carlos, exactly? guide me through the diff07:19
carlosI also agree that the code is not perfect and I'm open to any suggestion to improve it07:20
kikoif he suggested something that will add sanity to normalizeNewLines, I am +1 on it07:20
carloswell, from what I saw, the changes are related only to the initialization of the method, it implies creating three new functions and the body of the method will not change07:21
carloskiko: I don't think it's a big improvement, it's just another way to do that. The main problem is with the body07:22
kikocarlos, I think I have a suggestion. hold on.07:24
carloskiko: ok07:24
carlosthanks07:24
kikookay.07:25
kikohow about this07:25
kikolet's use two variables07:25
kikomsgid_style07:25
kikoand text_style07:25
kikommmm07:26
kikono, let's not.07:26
kikocarlos, what was daf's suggestion?07:26
dilysMerge to devel/launchpad/: [r=stub]  DB patch removing 2 unused columns from Build table and fixed on dogfood configuration. (r3160: Celso Providelo)07:26
carloskiko: there is a good optimization that daf already did but it implies that the Assert checks cannot be done07:27
kikoso here's a question07:27
carlosI mean, another suggestions07:27
carloslet me look for daf's comments and will paste it to you...07:27
kikoif msgid_in_windows_style, then msgid_in_mac_style is always true.07:27
kikosame for text_*07:27
kikooh, stripped.07:27
=== kiko learns to read diffs.
kikosorry07:27
carloskiko: ;-)07:27
ddaaniemeyer: ping07:28
niemeyerddaa: Pong07:28
ddaaniemeyer: who is responsible for the ProductSeries web pages now?07:28
kikocarlos, so, let me understand: only ONE of text_*_style and msgid_*_style will be true in a certain moment?07:28
kikoor can be true07:28
ddaa(as in "understand what the various bits are for, and interactions with various subsystems")07:29
kikoddaa, nobody in particular, and particularly not niemeyer -- it's launchapd.07:29
niemeyerddaa: I don't know..07:29
ddaaniemeyer: do you know what ProductSeries.branch is for?07:29
ddaaniemeyer: is that used by Dyson or Sourcerer?07:30
dafcarlos: yeah, that big if at the end is the main thing07:30
ddaa(or some other guy in that clan)07:30
dafcarlos: perhaps you could do something like:07:30
niemeyerddaa: For Sourcerer, I don't think so.. for Dyson, I have no idea.07:30
kikodaf, carlos: I think I am having an idea.07:30
daftext_lines = re.split('r\?\n?', text)07:31
ddaamh...07:31
carloskiko: right, I'm assuming that's the case. But I'm adding the Assertions to protect us from real world data. If they appear, we will need to handle those cases too07:31
daf'\r\n'.join(text_lines) / '\r'.join(text_lines) / '\n'.join(text_lines)07:31
ddaait does not seem critical then...07:31
kikocarlos, that's fine, I just wanted to make sure that was true.07:31
niemeyerddaa: Is it something strange at all? I mean, it looks natural to have a branch attached to a ProductSeries..07:31
ddaaniemeyer: currently when you set ProductSeries.branch, the ProductSeries page will OOPS.07:31
ddaaWhich shows that it's not tested, and I also think it was never used before.07:32
niemeyerddaa: It probably was used at some point, but given that it was just for informational purposes, it's probably rotting..07:33
ddaaniemeyer: I think we'll want to get that bug fixed as part of the importd transition ot importd, so we can set ProductSeries.branch properly. So I was trying to figure out whether there was some hidden dependency to be aware of.07:33
carlosdaf: I don't understand the split regexpression07:33
dafcarlos: split on \n, \r, or \r\n07:33
carlosdaf: but we have tests so if it's able to split the lines correctly being them with '\r'  or '\n' or '\r\n', that's fine07:34
dafcarlos: at least, that's what it's supposed to do :)07:34
ddaaniemeyer: otherwise, I'll just consider it's purely a Launchpad display issue and ask some random devel to fix it in any way that appears reasonable. Probably jamesh, but maybe somebody else.07:34
dafit reads "maybe a carriage return followed by maybe a newline"07:34
dafactually, that doesn't work07:34
dafbecause it matches the empty string07:34
niemeyerddaa: Sourcerer is what moves information about an existing package into a HCT understandable form.. It does make sense to have some linkage between that and a ProductSeries.. but it can't be done automatically, I'm afraid.07:35
dafre.split('(?:\r|\n|\r\n)', text), perhaps07:35
niemeyerddaa: Keybuk certainly knows that a lot better than I do..07:35
=== daf shrugs -- I don't know if the readability will be better overall
ddaaWell, since Keybuk is now distro team, I thought that you were the guy to aks about that sort of stuff.07:35
niemeyerddaa: Well.. I'm on another team as well, if that's what's preventing you from talking to him. :)07:36
carloskiko: https://chinstrap.ubuntu.com/~dsilvers/paste/filebYzqmw.html <- This is the log for the chat we had this morning07:36
carloskiko: What do you think?07:36
ddaaniemeyer: well, I'm also not too good at communication with Keybuk. But I'll ask him.07:36
ddaaKeybuk: ping?07:36
niemeyerddaa: But I don't see any problem in talking about that with you, for that matter.07:36
carlosdaf: I suppose that a comment before that split call would be enough07:36
kikocarlos, I was suggesting exactly what daf was07:36
carlosdaf: so the reader can know what the hell does that reg expression07:37
kikoexcept using a string instead of a class07:37
dafcarlos: :)07:37
kikocarlos, note that you can still do the assertions07:37
carloskiko: but you lose the assertions07:37
carloskiko: how?07:37
kikono07:37
Keybukddaa: yo, 'sup?07:37
kikomsgid_style = None07:37
niemeyerddaa: Notice that, in any case, you can probably do whatever you want at that stage.07:37
dafkiko: problem is, each string can be in multiple styles07:37
kikodaf, it can't really -- we just need to assert.07:37
niemeyerddaa: Keybuk will have to figure out a lot of stuff when making HCT working with Launchpad again.07:37
ddaaKeybuk: Setting ProductSeries.branch to something causes the ProductSeries +index page to OOPS.07:37
carlosdaf: well, they shouldn't, that's why we use Assertions instead of handling those cases07:37
niemeyers/working/work/07:37
Keybukddaa: ok ...07:38
niemeyerKeybuk: Heya.. regards from the south hemispehere..07:38
ddaaKeybuk: is there some dependency to be aware of to fix that, or can that be considered purely a Launchpad display issue?07:38
carloskiko: ok, so we have an extra status that means 'more than one style'?07:38
Keybukniemeyer: that's kinda why we stopped trying to keep HCT "up to date" with Launchpad, it's much easier just to wait for Launchpad to be ready, and then bring HCT up to date once; instead of doing it every week and still having nothing to show for it :(07:38
kikocarlos, if that happens, we just blow up07:39
ddaaKeybuk: okay, you just answered my question, thank you.07:39
Keybukddaa: hmm... the ProductSeries.branch thing was a Markism for the "main trunk of the product series development branch in CVS, which might not be the MAIN trunk" or something07:39
Keybukwasn't it07:39
kikocarlos,  so we do something like:07:39
carloskiko: oh, directly raise the exception. Ok07:39
niemeyerKeybuk: Yeah, apologies for bothering you before. bzr is currently a mutant beast.07:39
kikoright07:39
kikomsgid_style = None07:39
kikoif XXX:07:39
kiko    assert msgid_style is None07:39
kiko    msgid_style = XXX07:40
ddaaKeybuk: well dunno really. At the moment there's a clear use for it, associate a branch to RCS import.07:40
Keybukddaa: that's my memory of what that's for, yes07:40
Keybukit's definitely related to RCS imports07:40
carloskiko: I prefer to use the class that daf suggested then07:40
carloswith the approach you are talking about now07:40
ddaaKeybuk: okay, so basically I get to decided what it's for.07:40
Keybukyup, I think so07:40
carlosdaf, kiko: is that ok for you?07:40
ddaaKeybuk: cool, thank you.07:41
kikocarlos, I guess, let's see it07:41
dafcarlos: I'm confused; show me the code :)07:41
carlosok07:41
=== carlos does the change
=== daf ^5s kiko
kikobradb, BjornT: ping?07:47
bradbkiko: pong07:47
kikobradb, shouldn't Milestone.bugtasks be nuked? it is error-prone in the sense it doesn't consider privacy.07:48
=== zyga [n=zyga@ubuntu/member/zyga] has joined #launchpad
Kinnisonciau all07:48
bradbI didn't know that existed. Yeah, it should probably be nuked.07:49
kikobradb, I'm trying to nuke out all the bugtasks multiplejoins07:49
kikoI might have to make them into properties if that fails07:49
kikoproperties should be easy07:50
bradbISTR there being a bug about perms denied when viewing bugs on a milestone, so that's probably what's causing it.07:50
kikoyeah.07:50
kikoit's silly07:50
=== kiko attempts to nuke IBugTarget.bugtasks
kikolet's see what PQM says07:50
ddaaexperiment-driven development :)07:51
daftrial-and-PQM-failure07:51
ddaaActually, would be kinda neat to have a PQM that does not actually commit.07:51
ddaaSo we could use it as a test farm as we go, and be pretty confident that the merge would pass when we go for review.07:52
dafthat would be nice07:52
dafPQM seems to run tests faster than I can07:52
bradbAs long as there's no queue...07:52
salgadoit'd be nice to have jamesh's script run the test for us07:52
zygacarlos: hello, how is development doing? :-)07:52
ddaadaf: it has a fast 64 system all for itself.07:53
salgadoso the reviewers could look there and see how many tests failed07:53
ddaa* 64 bits07:53
carloszyga: fine, thanks. This week is being really productive ;-)07:53
dafsalgado: oh, nice idea07:53
ddaaactually, no failure should be a prerequisite for most reviews...07:53
kikoddaa++07:54
ddaafixing them ofter requires non-trivial changes.07:54
salgadoif a test fails your branch is kicked out from the review queue07:54
zygacarlos: I'm *so* out of sync due to my day job but I'm glad to know things are going well07:54
kikopqm.ubuntu.com has been fucked for a while now...07:54
dafsalgado: or at least pushed to the back :)07:54
carloszyga: well, they could be better... :-P07:55
dafcarlos: dude, you've been making them better all week07:56
carlosdaf: I know, but I need to be back to my productivity of last year...07:57
carlos;-)07:57
zygacarlos: I second daf's opinion07:57
carlosit was better07:57
=== mdke_ [n=matt@ubuntu/member/mdke] has joined #launchpad
kikodaf, matsubara: can you confirm my comment in bug 31583?07:57
Ubugtumalone bug 31583 in launchpad "linux-image appears in popup summary, cannot file bug against it" [Normal,Unconfirmed]  http://launchpad.net/bugs/3158307:57
zygacarlos: don't burn out!07:57
kikobradb, are you considering working on bug 3683? otherwise, I'll get it done07:58
Ubugtumalone bug 3683 in malone "Input validation error reported, but problem not indicated" [Normal,Confirmed]  http://launchpad.net/bugs/368307:58
dafkiko: looks likely07:58
bradbkiko: Probably better to hand off to you, if you're up for it.07:59
kikodaf, dupe away07:59
=== daf -> out
carloskiko: changing the AssertionError with an assert breaks the tests 08:18
carloskiko: and I'm not able to make it pass, I don't understand what happens... the output is the same..08:19
carlosany hint?08:19
kikocarlos, I would need to see the code, I don't have a crystal ball08:21
kikoand the error output08:21
carloskiko: sorry O:-)08:22
carloskiko: https://chinstrap.ubuntu.com/~dsilvers/paste/fileOikCVh.html08:23
carloskiko: the assertion tests are the ones failing08:24
bradbkiko: Hmph, this package bug contact changing turns out to be really annoying in this model. Before unsubscribing the previous contact, I have to check that, among other things, this contact isn't a package bug contact for any of the other packages on which this bug is filed.08:24
kikobradb, you don't need to unsubscribe.08:25
kikoI never suggested that08:25
kikoor maybe I have, but I am pretty sure you don't need to implement that right now.08:26
bradbLeaving the previous contact subscribed would just annoy that user.08:26
kikobradb, just leave him subscribed, and allow people to unsubscribe others, and you're fine.08:26
kikothe latter still needs to be implemented, btw.08:26
bradbkiko: And, of course, unsubscribing others is a whole can of worms unto itself. :)08:26
kikoI think it's fine, actually08:26
kikobut anyway08:26
kikoI am pretty sure you shouldn't consider unsubscribing.08:27
kikojust subscribing08:27
kikoat least for now -- cheap and easy.08:27
bradbCheap and easy to implement, but I have a strong hunch it's just a pain for the user.08:27
bradbI'll ask in #canonical.08:27
kikono, I think it'll be fine.08:27
kikobradb, go ahead and do it.08:28
kikoyou can unsubscribe later08:28
kikoeven offer an intelligent UI to allow optionally doing it08:28
kikoYou are retargetting this task from Launchpad to Ubuntu. [ ]  Unsubscribe bug contact for Launchpad08:29
kikoor something in the lines.08:29
kikocarlos, what are the errors?08:29
bradbkiko: It would still be more work, and easy for the user to make a mistake, I think.08:30
carloskiko: the test checks that we raise the assertions08:30
bradbBecause they're not going to bother verifying that the user is a contact on any other package for that bug first.08:30
carloskiko: but the test fails08:30
carloslet me show the output08:30
carloskiko: https://chinstrap.ubuntu.com/~dsilvers/paste/fileXm2HnJ.html08:32
kikocarlos, it seems the tests don't like assertions08:32
kikouse a specific exception then08:32
carlosok08:33
=== kiko [n=kiko@200-171-140-32.dsl.telesp.net.br] has left #launchpad ["Left]
=== kiko [n=kiko@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
carloskiko: still failing :-?08:36
kikothat's odd.08:36
carloskiko: anyway, could you review it and approve/reject it? I will try to merge it and if pqm rejects it too, I will try to fix it on Monday08:43
carlosI need to leave...08:43
kikocarlos, PQM will reject if it the test fails, it's very simple.08:43
carloskiko: I know, but perhaps is something weird in my computer08:44
carlosthere are other tests checking it that way08:44
kikounlikely08:44
kikobut you are not giving me enough information..08:44
carlosand it was working this morning....08:44
kikoyou were doing raise AssertionError08:44
carloskiko: I gave you the test, the code and the output....08:44
kikothat's different08:44
kikoI told you to change the exception for your own08:44
carloskiko: I changed it back to raise AssertionError08:44
carlosand still fails08:45
kiko<kiko> I told you to change the exception for your own08:45
kikoMismatchedLineFeedError or soemthing08:45
carlosoh, to another one?08:45
kikoright08:45
carlosok08:46
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #launchpad
cprovcarlos: send me an email when you place your uploads in mawson, ok ? I'll be here tomorrow, see you08:52
carloscprov: sure, sorry for the delay. Thank you08:52
carloskiko: same problem08:53
cprovcarlos: it's not a blocker, mawson still publishing the archive.08:53
carlosok08:53
kikowhat does "same problem" mean?08:53
carloskiko: with the concrete exception the test is still failing08:53
kikoyou still get assertion errors?08:53
kikoif so, then you're definitely doing something wrong :-)08:53
carloskiko: I'm not able to see anything... I need to stop now. Could you bless that patch with the condition to get that part of the test fixed?08:54
kikono.08:55
carlosok, then, let's continue it on Monday, ok?08:55
kikosure.08:55
carlosnight dudes08:55
carlossee you!08:55
=== jbailey [n=jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #launchpad
carloskiko: and thanks for your input08:55
=== carlos -> out
kikothanks08:57
=== zyga [n=zyga@ubuntu/member/zyga] has joined #launchpad
kikolifeless, heads up for the rf-built bustage09:25
lifelesskiko: thanks09:26
lifelesskiko: will check in a sec.09:26
lifelessit should have added it itself after 30 minutes09:27
kikoyeah, it's odd.09:27
kikobut no worries09:27
mdzkiko: so jbailey has raised the same issue that I did, about the noise generated by all of these old bugs which don't apply to Ubuntu but which still have open tasks in Debian09:30
mdzkiko: his proposed solution is to delete the watches, but I'm not too keen on throwing away that information. how do you think we can address this problem?09:30
kikoyep09:30
kikowe should allow filtering on that view09:31
jbaileymdz: I'd like to see them still tracked as a remote bug watch.09:31
kikoto say "only view ubuntu tasks"09:31
jbaileymdz: But I don't think there's much value in keeping the tasks open - it doesn't give us any information.09:31
mdzI thought the tasks and the watches were coupled09:31
jbaileymdz: Lemme check.  I think when I open a watch on the gnome bug tracker or the gcc one, it doesn't get a task.09:31
mdzkiko: is that a little bit of work or a lot of work?09:32
kikonot a lot of work if we get the filtering stuff done as bradb wants it09:32
jbaileyOh, hmm, no I'm wrong.09:32
jbaileyhttps://launchpad.net/distros/ubuntu/+source/gnome-games/+bug/2969009:32
Ubugtumalone bug 29690 in gnome-games "Freecell fails to work on platforms where qthreads is not available" [Normal,Unconfirmed]  09:32
lifelessah09:34
bradbmdz: noise where? bugmail? some URL?09:34
lifelessI know why09:34
bradbI'm guessing you're meaning the personal reports09:35
bradb(except the package bug contacts report)09:35
jbaileybradb: When you subscribe to a bug, any open task causes it to appear in the list.09:35
lifelessfixed09:35
lifelesskiko: ^^09:35
kikolifeless, is the man09:35
jbaileybradb: So that means any upstream watches, etc. cause the bug to never go away.09:35
bradbjbailey: right. that's a problem on the reported bugs, subscribed, and assigned bugs reports.09:36
bradbactually, not a problem on the assigned one09:38
bradbjbailey: I guess you work a lot with the subscribed bugs report, right?09:38
jbaileybradb: Right - some of it's from a support perspective to keep track of things that might be interesting, so of it is from a core libraries/system hacker point of view where I might follow a bug to see if it's something I need to help on.09:40
jbaileyAnd some things annoy my wife and I follow them to make sure that I know when they'll be fixed =P09:41
bradbheh09:41
bradbLike kiko says, I think our filter criteria display (shown in the package bug reports) can be improved to make that more useful. Planned to work on at the London sprint, I think.09:43
=== poningru [n=poningru@n128-227-11-246.xlate.ufl.edu] has joined #launchpad
kiko-zzzright, right10:07
kiko-zzzbirthday dinner tonight10:07
kiko-zzzkeep those oops tight10:07
kiko-zzzand see you in the morning light10:07
bradbhave fun10:07
ddaaYay, first candidate plan for import transition: https://chinstrap.warthogs.hbd.com/~david/importd-bzr-plan/importd-bzr-plan.html#implementation-plan10:23
ddaaI knew I had forgot a few bits the first time :)10:23
KamionCan anyone investigate why https://launchpad.net/distros/ubuntu/+source/espresso/0.99.14 isn't building on anything but i386?10:26
KamionI urgently need those builds for Flight CD 4 preparation10:26
bradbKinnison?10:26
bradbIf not, maybe SteveA or kiko-zzz can find someone quickly.10:27
Kamionalso, if somebody could investigate why the upload of ltsp 0.75 processed at 20:50 UTC today failed with an exception during accept (see #canonical), Edubuntu Flight CD 4 would be very grateful10:33
Kamionogra's trying a reupload though10:33
bradbKamion: Can you email kiko, cprov, and Kinnison about that issue?10:35
Kamionthe latter issue is no longer a problem, because a reupload worked10:36
KamionI'll file a bug10:36
bradbok, thanks10:36
=== jinty [n=jinty@196-28-44-164.jhb.netdial.co.za] has joined #launchpad
=== Oublieuse [n=Oublieus@125.87.103-84.rev.gaoland.net] has joined #launchpad
OublieuseBonsoir10:42
OublieuseHello10:42
OublieuseI'd like to add a team for breton translaotors on launchapd10:43
Oublieusehow to do this?10:43
=== mpt_ [n=mpt@219-89-149-214.jetstart.xtra.co.nz] has joined #launchpad
Kamionbradb: (mailed kiko, cprov, and Kinnison about the stuck build, though; thanks)10:44
bradbno prob10:45
Oublieusecan somebody answer me?10:45
jbaileyOublieuse: It looks like you should email rosetta@ubuntu.com10:45
bradbOublieuse: J'ai ta rponse: https://launchpad.net/people/+newteam10:46
Oublieuseok10:46
Oublieusethanks10:46
Oublieusemerci bradb 10:46
Oublieuse:)10:46
bradbbienvenue10:46
Oublieusej'ai cherch dans la faq... mais y avait juste le canal irc ;)10:46
bradbOuais. Faut travailler l-dessus.10:46
jbaileybradb: Est-ce les quipes marche pour Rosetta?10:47
jbaileybradb: Je croyait que c'tait pour autre choses.10:47
bradbjbailey: Yar.10:48
bradb"...or the editor of a package for a particular language."10:48
jbaileybradb: Le FAQ https://wiki.ubuntu.com/RosettaFAQ indique qu'il fait envoyer un couriel.10:48
Oublieuselol vous parlez tous franais... j'ai cru que c'tait un canal en anglais vu que launchpad est en anglais10:48
Oublieuse:D10:48
bradbOublieuse: We just happen to live in Montral :P10:48
=== carlos_ [n=carlos@62.87.126.63] has joined #launchpad
Oublieuseok10:49
Oublieuse:)10:49
bradbOublieuse: There's probably some extra work to make a team the "official" translators for some language, which carlos_ or daf could help clarify.10:50
carlos_Oublieuse: you need to create the team and after that, request it to be set as the official one at rosetta@ubuntu.com10:51
Oublieuseok10:51
Oublieusebut I can-'t create it, they tell me I don't have de rights for it10:51
Oublieuse(and sorry for my mistakes :p )10:51
=== ChanServ [ChanServ@services.] has joined #launchpad
bradbOublieuse: What's the exact error message?10:55
Oublieusebradb> Not allowed here10:56
OublieuseSorry, you don't have permission to access this page.10:56
carlosOublieuse: URL?10:57
SteveAhi Kamion.  How's it going?10:57
Oublieusehttps://launchpad.net/rosetta/groups/ubuntu-translators/+appoint10:57
carlosOublieuse: that's for admins10:57
Oublieuseah ok10:57
Oublieuse:D10:57
carlosOublieuse: you need to create a team at https://launchpad.net/people/10:57
Oublieuseok10:58
Oublieusethank you!10:58
carlosthen send us the team name and the language you want to handle to the email address I just gave you10:58
carlosand we will do it for you10:58
=== mpt_ [n=mpt@219-89-138-156.jetstart.xtra.co.nz] has joined #launchpad
Oublieusedone11:07
Kinnisonbradb: yes?11:09
=== dsaa|away [n=dsaa@210.213.91.102] has joined #launchpad
bradbKamion had an urgent build issue that I thought you might know more about.11:10
bradbKamion: Can anyone investigate why https://launchpad.net/distros/ubuntu/+source/espresso/0.99.14 isn't building on anything but i386?11:11
bradb[4:28pm]  Kamion: I urgently need those builds for Flight CD 4 preparation11:11
Kinnisonyes, it's all working now11:13
Kinnisonthanks11:13
bradbcool11:14
KinnisonIf someone had rung me I'd have been able to help more11:15
jblackstub: ping11:25
=== bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has left #launchpad []
ddaawow bunch of security updates11:30
ddaaare these built with Launchpad?11:31
ddaa"MOMMY MOMMY! Soyuz eated my previous upload!! MOMMYYYYY!!!!!"11:31
ddaayeah, apparently so :)11:32
=== mpt__ [n=mpt@219-89-132-238.jetstart.xtra.co.nz] has joined #launchpad
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
Kinnisonddaa: No, the security updates are not currently built in launchpad11:38
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
=== mpt_ [n=mpt@219-89-145-128.jetstart.xtra.co.nz] has joined #launchpad

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