/srv/irclogs.ubuntu.com/2006/07/18/#launchpad.txt

=== mdz_ [n=mdz@150.Red-80-39-239.dynamicIP.rima-tde.net] has joined #launchpad
=== DSG2490 [i=dirc@66-50-92-154.prtc.net] has joined #launchpad
DSG2490hello12:41
=== flacoste [n=francis@modemcable207.210-200-24.mc.videotron.ca] has left #launchpad ["Bye"]
lifelessBjornT: nag kiko about your branch - I'm giving it to him01:27
=== mholthaus_ [n=mholthau@johnny33.dersbach.ch] has joined #launchpad
=== Fujitsu_ [n=Fujitsu@203.23.49.35] has joined #launchpad
=== kalosaurusrex [n=aaron@dhcp59190.vcd.hp.com] has left #launchpad []
=== mpt [n=mpt@203.118.156.188] has joined #launchpad
=== crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #launchpad
=== rpedro [n=rpedro@87-196-97-243.net.novis.pt] has joined #launchpad
crimsunIs there a reason I should not be able to use ``bzr get sftp://~crimsun@bazaar.launchpad.net/~ubuntu-core-dev/alsa-utils/debian/''?  I'm receiving "Permission denied (publickey)", but my ssh keypair hasn't changed at all.02:36
crimsun(I'm using ``bzr get http://bazaar.launchpad.net/~ubuntu-core-dev/alsa-utils/debian/'' as a workaround.)02:37
spivcrimsun: "~crimsun@" looks wrong.02:38
spivIt should be "sftp://crimsun@..."02:39
crimsunhaha02:39
crimsunI'm an idiot.02:39
crimsunthanks02:39
=== crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has left #launchpad []
=== cprov [n=cprov@monga.dorianet.com.br] has joined #launchpad
=== Spads [n=crack@host-87-74-89-130.bulldogdsl.com] has joined #launchpad
=== milosz [n=dem@d192-24-43-158.try.wideopenwest.com] has joined #launchpad
miloszhey guys i finaly got my po messages picked up by launchpad (woohoo) but now do i export the new translations04:07
miloszso they get included into my app04:07
miloszand can i message a user using launchpad04:07
miloszi'd like to write the guy who translated my app to thank him04:11
lifelesshis details will be in the pot files04:12
lifelesss/his/their04:12
jameshmilosz: what's the name of your product?04:18
miloszdrapes04:18
miloszi couldn't find a thing to go... download new po file04:18
=== bimberi [n=bimberi@ubuntu/member/pdpc.active.bimberi] has joined #launchpad
jameshmilosz: found it.04:20
jameshmilosz: from https://launchpad.net/products/drapes I chose "translations" on the left04:21
jameshthat shows stats for the PO file you uploaded04:21
jameshclick on "View Template & All Languages..." in the main content04:21
miloszit seams like i only ask when i have problems with launchpad, but all the help is greatly appreciated and i like how i can upload a new translation po file now instead of having to email it to a group and then some shady (dj) guy04:22
jameshthis brings you to the page for your PO template, and there is a "Download Translations" link in the top corner04:22
miloszs\dj\jk\04:22
jameshso the actual URL where you can request the export is https://launchpad.net/products/drapes/trunk/+pots/drapes/+export04:23
jameshthat should be easier ...04:23
miloszi couldn't find the "View Template & All Languages..."04:23
jameshit is below the table in the centre of the page04:23
miloszthis is kind of weird, you have to have it be sent to your email... but okay04:24
miloszthanks for your help jamesh 04:24
miloszwhere in my app file/directory should i put the credits to the translators?04:26
bimberihi all, how do i request a new LP Project be set up?04:26
spivbimberi: find a launchpad admin on IRC here, or mail the launchpad-users list.  But are you sure you want project, rather than a product (which anyone can register)?04:29
bimberispiv: thanks, yes i'm sure - there are already a couple of products in place that require an "Umbrella", similar to the ubuntu-docs project04:30
jameshmilosz: the PO export can take a while for larger projects, so the work is handled by a batch job that emails you when it completes04:31
spivFair enough :)04:31
miloszokay04:32
=== mpt [n=mpt@203.118.156.188] has joined #launchpad
=== mdz__ [n=mdz@80.Red-83-35-230.dynamicIP.rima-tde.net] has joined #launchpad
mptGoooooooooooood afternoon Launchpadders!05:00
jameshmpt: we had another Rosetta usability issue come up: milosz trying to export translations for his product05:05
jameshnot particularly obvious how to get there from https://launchpad.net/products/drapes/05:05
mptjoy05:11
jameshyou can get there in three clicks, if you know which links to use05:11
mptYes, I found it05:13
mptugh, that listbox is misaligned05:14
mptAnyway, I'm not sure what we can do to make downloading more obvious, other than the usual page layout problems of the facets menu in the wrong place and the actions menu existing when it shouldn't05:17
=== stub [n=stub@ppp-58.8.1.241.revip2.asianet.co.th] has joined #launchpad
miloszman i love how whenever i come in here and have an issue you guys like fix it05:22
=== Lord_Athur [n=alejandr@pc-10-33-214-201.cm.vtr.net] has joined #launchpad
Lord_Athuri all, what do i have to do to become ubuntero in launchpad?06:01
lifelesshave a look at wiki.ubuntu.com/Membership (IIRC)06:02
Lord_Athurlifeless, the wiki page doesn't exist06:04
=== xordae [n=xordae@p54A99B0E.dip0.t-ipconnect.de] has joined #launchpad
xordaeHey guys, I tried registering at the launchpad page for an error report after a fresh Ubuntu 6.06 install, but it's taking long. Maybe anyone can help me with this error I got just before the install finished? http://img3.freeimagehosting.net/image.php?1da7c08625.jpg06:59
xordaesorry for the image quality, it reads /usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py07:00
jameshxordae: do you use greylisting or similar for your incomming email?07:05
xordaehmm.. it was a hotmail address I provided >< I dunno, tried it again with gmail. but I don't think so07:05
stubFrom recent reports gmail works but hotmail doesn't 07:06
jameshpeople have successfully registered using gmail07:06
xordaeoh, alright.. then I'll just report it there now.. hope it's readable07:06
=== mpt_ [n=mpt@203.118.156.188] has joined #launchpad
jameshxordae: so you should get an email to verify your account. Are you saying that you still haven't received such an email to your gmail account?07:14
xordaeI just checked, got the mail and am making a report.. thanks ^^07:14
jameshxordae: you can register additional emails to your LP account once it is set up (you go through a similar verification process)07:15
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
=== xordae [n=xordae@p54A99B0E.dip0.t-ipconnect.de] has left #launchpad []
=== mpt__ [n=mpt@203.118.156.188] has joined #launchpad
stubI'll be updating Launchpad as soon as soyuz as quietened down07:32
=== mpt__ [n=mpt@203.118.156.188] has joined #launchpad
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
=== milosz [n=dem@d192-24-43-158.try.wideopenwest.com] has joined #launchpad
=== stan [n=stan@82.153.196.125] has joined #launchpad
=== mdke__ [n=matt@85-210-13-26.dsl.pipex.com] has joined #launchpad
=== [PUPPETS] Gonzo [i=gonzo@80.69.47.16] has joined #launchpad
=== lifeless [n=robertc@dsl-116.3.240.220.rns01-kent-syd.dsl.comindico.com.au] has joined #launchpad
=== stgraber [i=steph@stargate-server.com] has joined #launchpad
=== ruffneck [n=ruffneck@intelligenzia.org.helsinki.fi] has joined #launchpad
=== sfllaw [i=sfllaw@debian/developer/coleSLAW] has joined #launchpad
=== siretart [i=siretart@ubuntu/member/siretart] has joined #launchpad
=== merriam [n=merriam@84-12-32-127.dyn.gotadsl.co.uk] has joined #launchpad
=== jamesh [n=james@203-59-20-109.dyn.iinet.net.au] has joined #launchpad
=== BjornT [n=bjorn@84.32.240.183] has joined #launchpad
=== elmo [n=james@83-216-156-21.jamest747.adsl.metronet.co.uk] has joined #launchpad
=== ajmitch [n=ajmitch@ubuntu/member/ajmitch] has joined #launchpad
=== zakame [n=zakame@ubuntu/member/zakame] has joined #launchpad
=== jordi [n=jordi@115.Red-213-96-69.staticIP.rima-tde.net] has joined #launchpad
=== lifeless_ [n=robertc@dsl-116.3.240.220.rns01-kent-syd.dsl.comindico.com.au] has joined #launchpad
=== Fujitsu [n=Fujitsu@c58-107-52-160.eburwd9.vic.optusnet.com.au] has joined #launchpad
=== mpt_ [n=mpt@203.118.156.188] has joined #launchpad
stubLaunchpad will be going down in 15 minutes for its regular code update. Estimated downtime is 25 minutes.08:20
=== Spads [n=crack@host-87-74-89-130.bulldogdsl.com] has joined #launchpad
=== frodon_ido [n=patrick@ip-213-49-212-229.dsl.scarlet.be] has joined #launchpad
=== SteveA [n=steve@80.Red-83-35-230.dynamicIP.rima-tde.net] has joined #launchpad
SteveAhi08:32
jameshhi SteveA 08:39
=== mpt__ [n=mpt@203.118.156.188] has joined #launchpad
BjornThi SteveA. do you know when kiko plan to be around?08:46
SteveAjamesh: morning08:49
SteveABjornT: kiko will be around soon.  he'll be busy in meetings, though08:50
BjornTok, thanks08:51
=== stan [n=stan@82.153.196.125] has left #launchpad []
=== kridian [n=k@dsl-146-231-03.telkomadsl.co.za] has joined #launchpad
=== rpedro [n=rpedro@87-196-69-14.net.novis.pt] has joined #launchpad
SteveABjornT: kiko says "what?"09:04
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
BjornTSteveA: lifeless put my bug tags branch in kiko's queue. i want to know if he will be able to review it in time so i can land it this week, or if he's too busy so i should have someone else review it.09:09
lifelesskiko has a note in his queue saying to nag him on IRC when a review is given to him09:13
=== mdke__ is now known as mdke
=== carlos [n=carlos@156.Red-88-15-196.dynamicIP.rima-tde.net] has joined #launchpad
carlosmorning09:16
=== mpt_ [n=mpt@203.118.156.188] has joined #launchpad
stubcarlos: Any idea why you have 3 times more karma than anyone else in Launchpad?09:31
carlosstub: because I uploaded OO.org translations for breezy manually and I got credit for that (broken .po files)09:31
carlosstub: it will disappear over time09:31
carlosstub: you can also nuke all translations karma I have09:32
stubWill this keep happening?09:32
carlosI don't translate too much09:32
carlosit shouldn't09:32
carlosI got it two months ago09:32
stubSo if you upload translations now, you won't get karma for them? I imagine it is something you and other rosetta-admins will need to do from time to time.09:33
carloswell, if we do it manually, yes, we will get more karma09:33
carlosbut that's not usual09:33
carlosstub: anyway, I will add an option to admins to give ownership to rosetta-admins team09:33
jameshwould it be bad not to assign karma for manual PO file uploads?09:33
carlosso that karma is not given to anyone09:33
carlosjamesh: just talking to uploads done by admins09:34
carlosjamesh: and that only happens if the .po file lacks the metadata with the translator information09:34
stubIt sounds like a way of gaming the system for normal users too09:34
stubhmm...09:35
carlosstub: why?09:35
jameshcarlos: I mean, would it be bad to only dish out karma for translations made through the web interface09:35
carlosif they have rights to upload such file09:35
carlosthey will get karma for the new translations, nothing more09:35
stubso you would need to upload randomly generated translations, which would grant karma and poison the database at the same time.09:36
carlosjamesh: that will not happen, if a normal user uploads a .po file, we are giving karma 09:36
carlosstub: sure, but that's an abuse of the system and you are able to do it using the web interface09:36
stub(although in that extreme case, we are going to have to do manual cleaning anyway)09:36
carlosstub: it's more difficult, but it's possible09:36
jameshcarlos: I know that's what happens now.  I'm asking whether it would be bad to change it so you only get karma for translations done through the web interface09:36
jameshi.e. would it "disenfranchise" any LP users? :)09:36
jamesh(not that karma gets you anything ...)09:37
carlosjamesh: the only change would be that the admins will get a 'give ownership of this upload to the rosetta-admins team' option09:37
mpt_bradb!09:37
carlosand thus, if the .po file metadata is broken, no one will get that karma09:37
carlosnormal users will get karma as usual09:37
jameshcarlos: sure.  But would there be any downsides to normal users not getting karma for manual PO file uploads?09:40
carlosno, they will not see any change09:41
carloswell, there will be such change09:41
carlosbecause I will not earn so huge amount of karma ;-)09:41
=== jamesh starts again
jameshcarlos: ignoring your proposed change, suppose Launchpad was changed to not dish out any karma for manual PO file uploads (for everyone)09:43
jameshwould there be a problem with that?09:44
carlosjamesh: yes, people doing offline translations will not get karma for their contributions09:44
lifelesscarlos: what % of translations is that ?09:45
jameshcarlos: okay.  So there is two classes of manual PO file uploads: people who are importing translations from upstream, and people who've downloaded the PO file from LP, done some translations locally and uploaded the result back to LP09:46
jameshis the first case done by more than just rosetta admins?09:46
carlosjamesh: for Ubuntu, yes, for products, no09:46
carlosjamesh: anyway, for upstream imports we don't give karma for the translations, just for the fact that they did the upstream import giving us more up to date information09:47
carloslifeless: I don't keep track of that, but I'm sure it's more than the 20% due some UI limitations we are fixing over time09:48
=== malcc [n=malcolm@host86-134-233-12.range86-134.btcentralplus.com] has joined #launchpad
carlosdanilos: ping10:04
daniloscarlos: pong 10:05
carlosdanilos: meeting time?10:05
daniloscarlos: indeed ;)10:05
SteveABjornT, lifeless: kiko will be too busy this week.10:06
lifelessSteveA: are you also too busy ?10:06
SteveAlifeless: kiko and I will not be available to do reviews this week10:06
lifelessSteveA: then both of you need your knuckles rapped, you should have updated your PendingReviews status.10:07
lifelessI will do so for you now.10:07
jameshSteveA: the zope specs are loaded up at https://demo.launchpad.net/products/zope/+specs10:07
=== Spads [n=crack@217.205.109.249] has joined #launchpad
SteveAthanks jamesh 10:09
lifelessjamesh: I've swapped malcc's branch you had with bjorn10:09
lifelessjamesh: and given you bjornts10:09
jameshlifeless: okay.10:10
=== Kamion [n=cjwatson@83-216-156-196.colinw664.adsl.metronet.co.uk] has joined #launchpad
KamionHi - does RF 3796 fix the way bug comments are displayed backwards, i.e. newest-first?10:18
KamionOr was that a recent intentional change?10:18
=== LarstiQ blinks
BjornTKamion: i didn't know that the comments were displayed backwards, now i see that they are. it looks ok on staging, though, so some patch has fixed it.10:24
lifelessI like it ;)10:24
LarstiQah, now I see it too10:25
LarstiQlifeless: there is something about breaking the natural flow of conversation :P10:25
Kamionlifeless: it's debbugs circa 199410:27
Kamionthere's a reason even debbugs thought that was poor UI :-P10:27
KamionBjornT: good, thanks10:27
mpt_Kamion, or Malone circa 2005 :-)10:28
Kamionoh yes I'd forgotten it used to do that10:28
jameshKamion: got an example of a backwards bug?10:29
jameshKamion: there was a branch merged that broke comment ordering which was fixed yesterday10:30
lifelessneeds a prod cherry pick10:30
lifelesshttps://launchpad.net/distros/ubuntu/+source/evolution/+bug/987010:30
UbugtuMalone bug 9870 in evolution "Better spam filtering for evolution" [High,Confirmed]  10:30
Kamionjamesh: 47848 is the one I'm on at the moment10:30
jameshKamion: could be that today's rollout doesn't include that patch, so needs a cherrypick10:30
lifelessis an example10:30
Spadsanchors are a good way to implement message pointers to keep track of old vs new if you really want to skip to unread stuff10:30
Spadsand they work in just about everything10:30
lifelessjamesh: does the fix include tests ?10:30
jameshlifeless: it included some tests, but I didn't do a full review of it.10:31
jameshlifeless: the problem was that the tests were passing before because they were relying on the natural result set ordering for a query.  The branch fixing the problem added the correct order by clause and reordered a bit of the sample data, but it is a bit difficult to tell if it would catch similar issues10:34
lifelesshmm10:34
jameshI only did a quick read through the patch kiko posted and pointed out one bug that stood out to me10:36
lifelessIf we had a normal object model, I would be suggesting layered tests10:36
jameshI wonder if you could get postgres to randomise the ordering of a result set before sorting it ...10:37
lifelessheh, I was just wondering that10:37
=== spiv hmms
spivCan we somehow just append an "ORDER BY random()" to every query? :)10:40
lifelesssqlobject to the rescue10:40
spivAnd there really is a random() in postgres too!10:41
jameshI wonder how many of our tests would fail if the test suite did that10:42
jameshspiv: and it works in an order by clause!10:42
spivYeah, I think we could stick that in SQLObject...10:42
spivjamesh: excellent!10:42
spivjamesh: Let's stop wondering, and find out! :)10:42
jameshI don't think we'd want it in production use -- just for the test runner10:42
spivRight.10:42
=== spiv imagines "hey, every time I view a bug, the comments are in a different order, is that bug?"
jameshspiv: so "select id from table where id < 20 order by id % 2, random();" gives the expected results (even IDs in random order, followed by odd IDs in random order)10:48
jameshand different results each time10:48
spivjamesh: sounds good10:49
spivSo it should just be a matter of finding the right spot in SQLObject to add that to the ORDER BY clause.10:49
=== doko_ [n=doko@dslb-088-073-103-108.pools.arcor-ip.net] has joined #launchpad
spivProbably a "self.ops['dbOrderBy']  = list(self.ops['dbOrderBy'] ) + ['random()'] " in SelectResults.__init__10:51
spivWhich ought to be sane even after calling results.clone(), because ops['dbOrderBy']  is always reset.10:52
lifelessrs=lifeless for a test-only patch to do that :)10:52
mpt_random-order comments would be nifty10:53
spivWell, I'm off to dinner right now, but I'll look at it later if no-one else gets there first.10:54
sivangmorning10:59
=== kridian [n=k@dsl-146-231-03.telkomadsl.co.za] has joined #launchpad
=== ddaa [n=david@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
lifelessstub: dude, that sucks11:18
lifelessHalve karma given to Canonical staff11:18
stublifeless: I'm sure Mark would be happy for you to trade your paycheck for karma ;) Hell, you can trade your paycheck to me directly for more karma ;)11:19
lifelesslol11:19
lifelesswhats the reason though ?11:19
lifeless(and for that matter, I can update the db for more karma :))11:19
stubKarma's primary goal is to promote community activity. When 4 our of 5 of the top 5 karma earners on the Launchpad front page are Canonical employees, it doesn't really promote that.11:20
lifelessanother way to address that would be to not show staff in the top 5 report11:20
stubAlthough we need a special scaling factor for Carlos too since he is a walking karma bug magnet11:20
stublifeless: This is a hack to do just that11:21
stublifeless: When we have private teams, we can do it that way.11:21
=== ddaa [n=david@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
=== ddaa_ [n=david@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
stubAlthough I guess joining with the EmailAddress table wouldn't be too bad... I think this approach is better though ;) Karma is an odd term for something you are being paid to earn ;)11:24
=== ddaa [n=david@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
jameshstub: can we also cut the karma of people we don't like too? :)11:24
stubjamesh: I already do11:25
=== stub whistles innocently
lifelessstub: well, dunno about you, but most of the lp activity I do is not paid work11:25
LarstiQah, so _that_ is why my karma is dropping so rapidly!11:25
jameshLarstiQ: nah.  It's because youre a member of a fake language team :)11:27
stubYour lucky - Carlos lost over 700,000 points today ;)11:28
carlosstub: remove all my karma related with translations and I will warn you if I need to do any fix by hand11:28
carlosso you don't need to scale anything due my karma11:28
stubcarlos: Just joking. It always seems to be your account we notice Karma bugs on ;)11:29
carlosstub: not really11:29
carlosrosetta-admins was the first giving problems ;-)11:29
stubAhh... true ;)11:29
stubAnyway - it is just an experiment. Easily reversible and tunable.11:33
stubSo what is the patch that needs cherry picking?11:38
stubr3796? (Not many to choose from - we are dangerously close to running HEAD as usual :-/ )11:41
jameshyeah11:43
jameshthat's the one11:43
carlosstub: hmm I guess you didn't run again the karma update script, right?11:46
stubcarlos: nope11:46
carlosI'm still on the top list of contributors11:46
carlosok11:46
=== mpt__ [n=mpt@203.118.156.188] has joined #launchpad
=== SteveA [n=steve@80.Red-83-35-230.dynamicIP.rima-tde.net] has joined #launchpad
SteveAstub: ping12:03
=== ddaa [n=david@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
=== jinty [n=jinty@213-156-52-99.fastres.net] has joined #launchpad
=== cprov [n=cprov@monga.dorianet.com.br] has joined #launchpad
jordicarlos: hey dude01:07
cprovmorning01:09
cprovstub: ping01:10
carlosjordi: hi01:19
stubcprov: pong01:21
cprovstub: did you run the deletions for soyuz ?01:22
stubcprov: Not yet. I'll do that right now.01:22
cprovstub: perfect, thanks 01:22
stubcprov: Done.01:24
cprovstub: less oops, thank you 01:25
=== danilos is away: lunch
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
stubcprov, Kinnison, malcc: https://chinstrap.ubuntu.com/~dsilvers/paste/filebR8O0P.html01:34
stubDoes that seem reasonable (as discussed with cprov on the mailing list)?01:34
cprovstub: looks fine, you can land it, although they doesn't protect us from the last bug, as I said01:36
cprovstub: but they are, indeed,  necessary to keep those join-tables sane.01:37
=== Kinnison looks
KinnisonI'm not so convinced about the new constraints01:40
KinnisonIn particular, if the queue is to be used to model packages getting into derivatives (which makes sense) then we can't have the constraint01:40
stubCan we keep it until then?01:41
cprovKinnison: we will need a new DRQ for derivative, the constraints just organize DRQB/DRQS ...01:42
Kinnisonstub: sure, constraints can always be relaxed01:42
=== matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== SteveA [n=steve@183.Red-80-39-238.dynamicIP.rima-tde.net] has joined #launchpad
ddaajamesh: replace symlink by file is a baz bug01:57
jameshddaa: hmm?01:58
ddaa"A test for symlink -> file replace and vice versa.01:58
ddaaDoesn't currently work, maybe due to a pybaz bug."01:58
ddaaon cscvs/svn-symlinks01:58
jameshddaa: no.  this was a pybaz bug -- I fixed it and landed the change in the copy of pybaz on chinstrap01:59
ddaaoh?01:59
jameshddaa: see r181 of pybaz in rocketfuel02:00
jameshpybaz's WorkingTree.delete() did not function correctly for symlinks02:00
ddaaoh, right02:01
ddaait should not be used anyway, because it does the wrong thing for directories02:02
ddaawell, it does the wrong thing for cscvs, at least02:02
=== carlos -> lunch
carloslater02:02
ddaabecause in cscvs we want to avoid deleting a directory that contains versioned files, to help ensure that the import is consistent02:03
ddaajamesh: thanks for fixing that02:03
jameshddaa: no problem.  It took me a while to track the problem down to pybaz, since the function would return without error if the given file was neither a regular file or directory02:05
ddaajamesh: apologies, I wrote that code in 2003, I didn't have a clue.02:07
jameshddaa: no problem.02:08
ddaajamesh: btw, the revno you gave to stub earlier, that's the fix for the branch scanner?02:09
jameshddaa: earlier today?  No, that was to fix comment ordering in Malone02:10
jameshddaa: I gave him the revno for the branch scanner fix last week, but I don't think he got round to cherry picking it.  It should have gone out with today's rollout though02:11
ddaaokay, I'll be looking out for cron emails02:11
jameshddaa: the branch puller parts are definitely working: the last_mirrored_id is set for many branch rows.02:12
jameshif last_scanned_id starts getting set then it is definitely working02:13
ddaajamesh: I got the ForbiddenAttribute errors from launchpad-error-reports02:14
ddaaif it stops crashing and burning, I'll know it02:14
jameshddaa: okay.  It'd be worth checking if the code base used by the branch scanner has been updated then.02:14
ddaastub usually does it :)02:15
jameshwhen fixing things I tweaked the way the branch scanner test suites were run to trigger the ForbiddenAttribute error and then fixed it02:15
ddaayeah, I know that the tests running in lib/importd did not have a proper zope testing environment02:16
stubI  updated the branch scanner installation with everything else.02:16
ddaathe branch scanner code being there is a combination of "historical reasons" and "it looked like a good idea at the time" (see bzrscan.py, that you deleted)02:16
ddaastub: thank you02:19
ddaastub: can I make you braids?02:19
jameshddaa: so you are sure the ForbiddenAttribute errors you got weren't for a run prior to the rollout today?02:21
ddaajamesh: yup, the run was between 0:30 and 8:00 BST02:22
jameshddaa: that sounds like before the rollout to me -- 0:30 would be 6:30am for stub, wouldn't it?02:23
ddaasomething like that02:24
ddaahu02:24
ddaaokay I read you badly02:25
ddaaI'm sure the error I got was for a run prior to the rollout today.02:25
ddaaneed... lunch...02:25
ddaaI did not mean to say that it was still broken, I'll just wanted to know what was the status, and to say that I'll keep an eye out for it since it was just rolled out.02:30
=== Zomb [n=eb@x118.rhrk.uni-kl.de] has joined #launchpad
=== DSG-01 [i=DSG@66-50-81-179.prtc.net] has joined #launchpad
=== flacoste [n=francis@modemcable207.210-200-24.mc.videotron.ca] has joined #launchpad
=== ddaa [n=david@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
=== DSG-01 [i=DSG@66-50-81-179.prtc.net] has left #launchpad []
=== DSG-01 [i=DSG@66-50-81-179.prtc.net] has joined #launchpad
=== DSG-01 [i=DSG@66-50-81-179.prtc.net] has left #launchpad []
=== niemeyer [n=niemeyer@201.10.92.177] has joined #launchpad
=== carlos [n=carlos@72.Red-88-7-172.staticIP.rima-tde.net] has joined #launchpad
=== radix [n=radix@209.217.74.66] has joined #launchpad
=== ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
=== jkakar [n=jkakar@209.217.74.66] has joined #launchpad
=== carlos [n=carlos@72.Red-88-7-172.staticIP.rima-tde.net] has joined #launchpad
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #launchpad
=== glatzor [n=sebi@ppp-82-135-83-247.dynamic.mnet-online.de] has joined #launchpad
carlosspiv: hi, around?04:21
spivcarlos: yep04:21
carlosspiv: I'm having problems with a test04:21
carlosit's supposed to fail, but it doesn't04:22
carlosand I think it's related to cached values04:22
carlosand flush or commit is not fixing it04:22
carloshmm, wait, last try shows me something even weird, the change is there but my test is not detecting it.... 04:23
carlosspiv: sorry, give me 10 minutes to check something and I will ping you again...04:23
spivcarlos: Sure :)04:24
carlosspiv: btw, aren't you supposed to be sleeping?04:27
elmostub: ping04:28
spivcarlos: very soon :)04:28
jameshspiv: I did up a basic patch for the sqlobject result order randomisation: shows up lots of bugs04:28
=== Kamion [n=cjwatson@83-216-156-196.colinw664.adsl.metronet.co.uk] has left #launchpad []
spivjamesh: wonderful! :)04:29
spivAh, I see you already added it as a w-i-p branch.04:29
elmoasuka/staging is going down for a HW upgrade04:30
carlosspiv: ok, seems like the problem is with the diff operation I do, for some reason it doesn't detect the differences... or my code ignores such detection...04:32
jameshspiv: the "make check" output was 10962 lines long ...04:32
spivjamesh: Whee!04:34
spivjamesh: If you try just a small subset of the test suite, say just one pagetest story, is there some obvious culprits causing the bulk of the problems?04:35
spivjamesh: Or do you think we'll be fixing this for months to come? ;)04:35
jameshspiv: there are some cases of one error causing followon errors04:37
jameshah.  I broke count queries04:38
spivAh.04:38
jameshcount doesn't like orderBy04:39
spivYep.04:39
jameshactually, it is a problem with set ops04:47
jameshjust happened to be a count query I was looking at04:47
spivAh, ok.04:49
jameshERROR:  ORDER BY on a UNION/INTERSECT/EXCEPT result must be on one of the result columns04:49
spivYeah, probably simplest to not try adjust those for now.04:50
jameshwas getting a syntax error originally.  I added parentheses which changed the error to the above, which is complaining about the outer "order by" clause04:51
=== bradb [n=bradb@modemcable048.58-130-66.mc.videotron.ca] has joined #launchpad
=== Lord_Athur [n=alejandr@pc-10-33-214-201.cm.vtr.net] has joined #launchpad
Lord_Athurhi all05:10
carloshi05:11
Lord_AthurI was trying to validate my OpenPGP key, the launchpad page says that I'd have to descrypt a msn with my key in order to validate, how do I do it?05:13
carlosLord_Athur: launchpad sent you an email with such message05:18
carlosLord_Athur: your email client should do it if you have it configured to use your gpg key05:18
Lord_Athur:O05:19
Lord_Athurit didn't do it05:20
jameshLord_Athur: try saving the PGP data block (including the "--- BEGIN PGP ..." lines) to a file05:20
jameshLord_Athur: then run "gpg --decrypt filename"05:20
Lord_Athurthanks, i'll do it05:21
carlosjamesh: aren't we sending that by email?05:21
=== carlos is confused
jameshcarlos: sending what?05:21
jameshcarlos: sounds like Lord_Athur's email client doesn't have PGP integration, so I was suggesting a way to decrypt the data05:22
Lord_AthurI did it, thanks all05:22
jameshcarlos: iirc there is a bug about providing some non-encrypted data in the encrypted validation emails, but it hasn't been implemented05:23
carlosjamesh: oh, I misunderstood your suggestion and thought that you were talking about something we were rendering in our website05:24
carlosI see05:25
=== bradb [n=bradb@modemcable048.58-130-66.mc.videotron.ca] has joined #launchpad
carlosdanilos: ping05:49
carlossalgado: ping05:50
salgadocarlos, pong05:50
carlossalgado: do you have 5 minutes to talk about your review of danilos' branch ?05:51
salgadocarlos, sure05:51
carlossalgado: danilos told me that you said that we shouldn't use initialize for things like process a form submission05:51
carlosbut, when we switched to current notification system, I was told (I think by Stuart) that in fact, that's the way to do it05:52
carlosinstead of adding the form submission call from the pagetemplate05:52
carlosso I would want to know if your comment is our current policy05:52
carlosbecause I'm using the initialize every time I need to process a form05:53
carlosthe idea behind adding it to initialize was to execute the form submission after the notification message init05:54
salgadowell, I think it's clearer to have only generic initalization stuff in initialize() and have a separate method to process the form submission05:54
salgadoand I've never seen the initialize method used to process the submission05:55
carloswell, I'm talking about calling a method that process the form submission from initialize05:55
carlosinstead of adding it directly to the page template05:55
=== bradb [n=bradb@modemcable048.58-130-66.mc.videotron.ca] has joined #launchpad
mpt__http://www.skweezer.net/skweeze.aspx?q=https%3A%2F%2Flaunchpad.net%2F&i=105:55
carlosso maybe I misunderstood the explanation from danilo ;-)05:55
mpt__awesome05:55
salgadocarlos, even that I haven't seen and wouldn't do myself05:57
carlossalgado: https://chinstrap.ubuntu.com/~dsilvers/paste/fileUnhM0G.html05:57
salgadoyeah, I understood what you mean05:57
carlosso you think we should put it in our page template?05:58
carlosI don't mind if it works ;-)05:58
carlosbut I just want to know if we could define an standard way to do it so we don't mix different ways to do the same driving crazy to anyone following our code05:59
salgadoanother reason for not having it on the initialize() method is that you may have multiple templates sharing a single view, but using different methods on that view to process the submission05:59
=== DSG-01 [i=DSG@66-50-81-242.prtc.net] has joined #launchpad
=== kalosaurusrex [n=aaron@dhcp59190.vcd.hp.com] has joined #launchpad
salgadoso, I wouldn't like to have form-submission code run directly or indirectly from initialize(), but if we choose that as our policy, I'd have to accept06:01
carlossalgado: https://chinstrap.ubuntu.com/~dsilvers/paste/filevMJHph.html <-- That's what SteveA suggested me to use06:01
carlossalgado: I'm not saying it's our policy, I'm just asking for a standard way to do it no matters if it's the way I'm doing it atm or the way you suggested to danilos06:02
carlosbut just a way to do it06:02
=== carlos prepares an email to launchpad mailing list
salgadoyeah, I'm saying that I don't know what our policy is, or even if we have one06:02
kalosaurusrexsalgado: hey so I submitted a request to have my db cleared of support stuff. how do I make sure that doesn't happen now?06:02
kalosaurusrexif it hasn't happened do I assume it just won't anyway? no one emailed me back or anything /shrug06:03
salgadocarlos, but initialize()s docstring doesn't mention anything about using it to process form submission --it only mentions initialization06:04
carlosmpt__: so that's a tool that gets a webpage and 'fixes' it to be used from a mobile device?06:05
carlossalgado: ok, I will note that in my email. Thanks06:05
salgadokalosaurusrex, this is usually not a trivial task, so it may take some time. where did you submit the request?06:06
BjornTsalgado, carlos: fwiw, i'd consider form processing being part of the initialization process. by processing the form you set the widgets in their desired states before rendering the page. calling a method first thing in a page template is kind of a hack.06:06
=== jinty [n=jinty@213-156-52-99.fastres.net] has joined #launchpad
carlosBjornT:  just a comment, if you execute it as the first thing in a page, the notification system will not work, so I don't think salgado suggest to put it as the first line (or at least it was not working when we implemented it)06:09
salgadocarlos, if you put it first thing in a page it does works06:09
salgado(the notifications, I mean)06:09
carlosthen it's fixed now, it was not working when stuart implemented it06:10
salgadoby first thing in a page I mean before the <html> line... I thought that always worked06:11
flacostei have the following error:     *  Module sqlobject.dbconnection, line 446, in accumulateSelect06:16
flacoste      assert select.ops.get('selectAlso') is None, (06:16
flacosteAssertionError: selectAlso isn't implemented with accumulations like SUM and COUNT06:16
flacosteany idea of what I should do to work around that?06:16
kalosaurusrexsalgado: I emailed the launchpad list.06:16
salgadoflacoste, are you trying to do a sum() or count() on the result of a union/intersect/except?06:17
flacosteindirectly06:17
flacostesalgado: no, not a set operation, i'm using selectAlso to have the rank() of the full text search06:17
flacostesalgado: to sort by relevancy06:18
flacostesalgado: i'm not calling count on the results set though, BatchNavigator is06:18
salgadoahh, right. that's selectAlso. I misread it06:18
=== danilos is back (gone 04:51:28)
=== flacoste is hungry, I will think this over lunch
carlossalgado: no, it didn't. In fact, I think danilo had problems doing it that way and then I had to tell him the initialize thing...06:24
salgadocarlos, the problem on that template existed because the call to the process_form() method was inside the <div fill-slot="body">06:25
daniloscarlos: well, we haven't tried adding another <tal:do-this-first> in the template06:25
daniloscarlos: and... (salgado already got into those details... ;)06:25
carlossalgado: I see06:26
daniloscarlos: it was simply *after* the notification rendering stuff, so it was enough to move it in front, and salgado suggested moving it all the way to the top06:27
=== bradb & # lunch
=== mdke_ [n=matt@ubuntu/member/mdke] has joined #launchpad
=== mdke [n=matt@ubuntu/member/mdke] has joined #launchpad
=== DSG-01 [i=DSG-01@66-50-92-62.prtc.net] has joined #launchpad
=== dsas [n=dean@host86-129-12-68.range86-129.btcentralplus.com] has joined #launchpad
=== DSG [i=DSG-01@66-50-99-13.prtc.net] has joined #launchpad
=== DSG [i=DSG-01@66-50-99-13.prtc.net] has left #launchpad []
=== DSG-01 [i=DSG-01@66-50-99-13.prtc.net] has joined #launchpad
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
=== carlos -> out
=== Spads [n=crack@host-87-74-89-130.bulldogdsl.com] has joined #launchpad
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
flacostesalgado: regarding the AssertionError related to selectAlso, after looking at the problematic method I removed the assertion and things work fine07:34
flacosteflacoste: should I file a bug about that? who can modify the Launchpad SQLObject version for that?07:35
salgadoflacoste, wasn't that assert in an sqlobject method? wasn't there any comment explaining the assert?07:35
flacostesalgado: the only comment is the assertion message: selectAlso isn't implemented with accumulations like SUM and COUNT07:36
salgadoflacoste, I don't remember who can commit to our sqlobject branch, but spiv can, for sure07:36
salgadomaybe somebody implemented it later and didn't remove the assert07:38
flacostethere is nothing to implement07:38
salgadoor maybe it's still not implemented and some things will break. :/07:38
flacosteselectAlso adds other things in the selection list07:39
flacostethat part isn't used in the count() or sum() query07:39
salgadowell, then I guess it should be fine to remove the assert07:40
flacosteand as far as I can remember, the WHERE clause cannot reference these extra fields07:40
flacosteso, I don't see how it could break07:41
flacostei'll file a bug and mail the list07:41
flacosteplus, selectAlso is a canonical addition and it's currently used only for the rank() function07:42
salgadoyeah, it was added by Mark07:43
=== DSG-01 [i=DSG-01@66-50-92-84.prtc.net] has joined #launchpad
DSG-01I'm away07:58
=== CAP7350 [i=DSG-01@66-50-92-66.prtc.net] has joined #launchpad
=== DSG2490 [i=DSG2490@66-50-92-66.prtc.net] has joined #launchpad
=== danilos is away: Away
=== DSG-01 [i=DSG-01@66-50-92-66.prtc.net] has joined #launchpad
=== glatzor [n=sebi@ppp-82-135-83-247.dynamic.mnet-online.de] has joined #launchpad
=== claud1 [n=claude@111-223.2-85.cust.bluewin.ch] has joined #launchpad
=== Keybuk [n=scott@quest.netsplit.com] has joined #launchpad
=== claud1 [n=claude@111-223.2-85.cust.bluewin.ch] has left #launchpad []
=== ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad

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