/srv/irclogs.ubuntu.com/2005/11/19/#launchpad.txt

=== gml [i=gml@dyn-83-156-1-26.ppp.tiscali.fr] has joined #launchpad
=== OgMaciel [n=omaciel@cpe-69-206-241-40.nj.res.rr.com] has joined #launchpad
OgMacielHi, I noticed my karma keeps getting lower the more I translate...  is this something unusual or am I missing something?01:08
=== neuralis [n=ike@83-131-17-51.adsl.net.t-com.hr] has joined #launchpad
neuraliscan i register a UI nitpick with someone?01:11
Burgundavianeuralis, file a bug01:11
neuralisBurgundavia, aye.01:11
=== neuralis [n=ike@83-131-17-51.adsl.net.t-com.hr] has left #launchpad ["Leaving"]
=== OgMaciel [n=omaciel@cpe-69-206-241-40.nj.res.rr.com] has left #launchpad []
=== jamesh [n=james@203-59-207-160.dyn.iinet.net.au] has joined #launchpad
=== SteveA [n=steve@195.182.78.95] has joined #launchpad
SteveAhi.03:02
=== SteveA wonders if any aussies are around
lifelessyes03:05
lifelesswould a new zope snapshot pickup the testing work jim did 03:05
lifeless?03:05
SteveAyes.  getting a new zope in there is one of the things i want to do this week03:06
lifelesspoint me at a tarball or svn, I'll drop that in.03:07
SteveAit isn't that simple03:08
SteveAi need to update various code to make it work with the latest zope03:08
SteveAstu already did some preliminaries, and it looks like it isn't too much needing change03:08
lifelessok03:20
lifelesswell, if you want me to do the bzr mechanics of dropping it in, let me know03:20
jameshhi SteveA, lifeless 03:21
lifelessI'm keen to get it in, so some of the test ui stuff I have on my plate can be done without conflicting with upstream massively03:21
=== spiv [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad
lifelesshi jamesh, how are you ?03:21
lifelessand spiv!03:21
jameshlifeless: tired.03:21
lifelessjamesh: :)03:22
spivlifeless: Hello!03:22
SteveAhi jamesh 03:22
SteveAhello spiv 03:22
spivI slept very, very soundly last night.03:24
SteveAlifeless: i'm going to aim to go for zope 3.103:24
spivNearly missed a dentist appointment today because of it :)03:24
lifelessspiv: slacker! I started work at 3.30 :)03:24
SteveAlifeless: let me know if you need something more recent03:25
lifelessSteveA: I need 39690 or thereabouts I think03:26
lifelessthe new testrunner won't -quite- drop into 3.0. It runs tests in a different order, due to the layer optimisations03:26
SteveAwhat about 3.1 ?03:27
spivlifeless: So business as usual for you, then? ;)03:27
SteveAi guess there's a svn command to see if revision 39690 is in the 3.1 release branch03:27
lifelessspp;)03:28
lifelessspiv: ;)03:28
jameshSteveA: "svn log" on the file in question on the branch, and see if the file copy occurs before or after that revision03:32
jamesh(that doesn't tell you whether the change had been merged after the branch though)03:32
lifelessjust updated pqm04:30
lifelessif anyone has something to merge, please do so :)04:30
=== lamont [n=lamont@207.111.195.77] has joined #launchpad
=== HackRip [i=HackRip@ip-7.net-81-220-227.henin.rev.numericable.fr] has joined #launchpad
=== HackRip [i=HackRip@ip-7.net-81-220-227.henin.rev.numericable.fr] has left #launchpad ["Parti"]
=== elmo [n=james@83-216-156-21.jamest747.adsl.metronet.co.uk] has joined #launchpad
=== stub [i=stub@sweep.bur.st] has joined #launchpad
=== lamont [n=lamont@207.111.195.77] has joined #launchpad
=== stub [i=stub@sweep.bur.st] has joined #launchpad
=== robitaille [n=robitail@ubuntu/member/robitaille] has joined #launchpad
=== lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #launchpad
=== fabbione [n=fabbione@port49.ds1-van.adsl.cybercity.dk] has joined #launchpad
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #launchpad
=== Nafallo_away is now known as Nafallo
sivangGood morning09:21
=== viyyer [n=viv@203.200.122.21] has joined #launchpad
viyyerWhom should I contact for discussing about Rosetta  licensing issues?09:25
sivangviyyer: licensing issues? what sort of licensing issues are you trying to solve?09:31
viyyersivang:  was just curious if rosetta can be open sourced09:32
viyyersivang:  There is a bunch of project getting mushroomed around the same space. 09:35
=== mdke_ [n=matt@81-178-237-3.dsl.pipex.com] has joined #launchpad
viyyerI think a stuff like rosetta is worth putting in it's place.. and worked upon09:42
sivangviyyer: AFAICT rosetta is still yet to be open sourced. I think the team wants it to be more mature and in shape before they will actually release it for general use. At moment, I feel it's best as it is :)09:43
viyyersivang:  I think it's better of released.. for I don't want too many clones trying to do the same thing09:44
viyyersivang:  actually.. I am talking on behalf of indlinux project09:47
viyyerthere is a growing need for a web interface for translation. there has already been one attempt at the same. entrans 09:50
sivangviyyer: ok, then why not using rosetta + launchpad to register your project , manage translations and use the multitude of services offered by it?09:57
=== mary [n=mary@210.211.168.169] has joined #launchpad
=== mary [n=mary@210.211.168.169] has left #launchpad ["Leaving"]
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has left #launchpad ["Leaving"]
viyyersivang:  can you explain how indlinux can register and manage translations using launchpad + rosetta ?10:40
sivangviyyer: I can give you a contact :) The person you are looking for is jordi, irc nick jordi. He can help you and walk you through IIRC.10:43
=== carlos [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad
carlosmorning10:52
sivanghey carlos , maybe you can help viyyer ?10:53
=== spiv [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad
sivangjust so I won't miss that turn over, are we using launchpad's building infra already?10:54
carlosviyyer, hi, what's the problem?10:56
viyyercarlos: I was querying sivang about the possibility of opensourcing rosetta. 10:58
viyyerI am talking with the case of indlinux . where there are attempt to write a translation management + something something portal.10:59
carlosviyyer, the answer is... it will be done10:59
carlosbut don't know the dates10:59
carlosviyyer, https://wiki.ubuntu.com/RosettaFAQ question #111:00
=== karunakar [n=karunaka@203.200.122.21] has joined #launchpad
viyyercarlos:  there is already been a few attempts with entrans (entrans.sf.net) . before more effort is put into it. I would like things be kept simple11:01
carloshmm11:02
=== koke [n=koke@ubuntu/member/koke] has joined #launchpad
=== GNULinuxer [n=ghoseb@unaffiliated/gnulinuxer] has joined #launchpad
carlosviyyer, there are other free/open software projects like pootle11:03
carlosviyyer, if Rosetta does not fits the requirements11:03
viyyercarlos:  because indlinux is looking for translation management + other things.11:03
carlosI think they should reuse the other projects instead of creating another one....11:03
carlosviyyer, I think you should talk with SteveA or sabdfl about opensourcing Rosetta 11:04
carlosat least they can help there more than I can11:04
viyyerthat's why, looking at rosetta. it would help doing things better off. 11:04
karunakarcarlos: hi11:05
viyyerkarunakar is with indlinux 11:05
karunakarcarlos: we are looking for online methods more for review work than for actual translation.11:05
carloskarunakar, we are working on those features for Rosetta now11:06
carloskarunakar, would that be enough for you?11:07
GNULinuxercarlos: the present FOSS tools like pootle don't really scale11:07
carloskarunakar, https://launchpad.net/products/rosetta/+spec/translation-reviews11:07
GNULinuxercarlos: for example, pootle doesn't use a RDBMS backend11:08
carlosGNULinuxer, I'm not saying that pootle is the best tool ;-)11:08
karunakarcarlos: actually no, becoz the bigger challenge is to build some intelligence into the rough/auto translation stuff.11:08
carlosjust trying to reduce the amount of code duplication11:08
carlosGNULinuxer, I know, they use directly .po files11:08
GNULinuxercarlos: yep11:08
karunakarGNULinuxer: pootle is aimed to be simple, with minimum requirements, best used for quick translation sessions involving many people.11:08
karunakarmore like if you can have Kbabel there, use pootle!11:09
GNULinuxerkarunakar: i agree ... what i mean is that no current FOSS tool meets our requirements11:09
karunakars/can/can't11:09
karunakarGNULinuxer: kbabel does, except that prerequisites for it become heavy for some translators (having a running kde desktop)11:10
carloskarunakar, if you give us more details, we would try to implement it for Rosetta11:10
karunakarcarlos: will have to check with entrans folks there we doing something on these lines.11:11
carloskarunakar, if you want, a spec like the others we have for Rosetta would be a good idea11:12
viyyercarlos:  spec as in ?11:13
carlosviyyer, https://launchpad.net/products/rosetta/+specs11:14
karunakarcarlos: a bit old but - http://www.indlinux.org/wiki/index.php/TranslationDatabase11:16
karunakarcarlos: one Q though, rosetta only serving as online interface for translations or also does integration into mainstream - ie a PO translated in rosetta goes straight into gnome cvs?11:18
sivangcarlos: interesting, I look at the FAQ, what parts of launchpad have already been open sourced?11:18
=== beyond [n=beyond@200-161-81-84.dsl.telesp.net.br] has joined #launchpad
GNULinuxersiretart: where is the FAQ?11:26
viyyerGNULinuxer: this one -->   https://wiki.ubuntu.com/RosettaFAQ 11:28
GNULinuxerviyyer: yeah, thanks11:28
carloskarunakar, no, we don't commit anything into GNOME's CVS, we need the permission of the translators for that11:31
carloskarunakar, what we plan to do is to provide a bazaar branch with all translations so the maintainers can get them easily11:32
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
karunakarcarlos: ok.11:33
carlossivang, many changes to sqlobject and other infrastructure libraries11:33
carlossivang, and I have pending to release python gettext's bindings11:33
GNULinuxercarlos: at the moment, are the PO files imported to Rosetta manually?11:33
carlosGNULinuxer, Ubuntu's translations are imported automatically11:35
carlosGNULinuxer, upstream translations manually11:35
GNULinuxercarlos: hmm, from baz ? [ubuntu translations] 11:35
carlosGNULinuxer, no, not yet11:36
GNULinuxercarlos: how are ubuntu translations pulled automatically?11:36
carlosGNULinuxer, the bazaar imports will be done at some point, but not done yet11:36
karunakarcarlos: so say gnome 2.14 is manual? so the team admin needs to sync with the POTs regularly?11:36
carlosGNULinuxer, the build daemons extract the translations and then we import them into Rosetta11:36
GNULinuxercarlos: i see11:37
carloskarunakar, yes11:37
carloskarunakar, the idea is to develop an automatic procedure for GNOME and KDE too11:37
karunakarcarlos: if i understand the automatic thing is not happening for upstream becoz of the policies/frameworks of different projects (gnome/kde/ooo)11:37
carloskarunakar, the import into Rosetta is not done automatically just because we hadn't time to implement it yet11:38
karunakarcarlos: that implies policy changes at gnome/kde? or just like its, there you use it or not.11:39
carloskarunakar, no changes needed11:39
carloskarunakar, we will lock those upstream translations11:39
carlosso only the official translation teams are able to translate those products11:39
carloswe will provide the tool, the translation teams will decide to use ir (or not)11:40
=== dholbach [n=daniel@ubuntu/member/dholbach] has joined #launchpad
carlosso if you want to use it, you will need to join that team officially11:40
dholbachhi11:40
dholbachhow can i merge dholbach and danielholbach if 'danielholbach' has no preferred email set? :)11:41
karunakarcarlos: ok, i guess ur the one maintaining l10n-status.gnome.org ?11:42
GNULinuxerdholbach: /msg nickserv help link11:42
carlosdholbach, setting it ? :-P11:42
dholbachGNULinuxer: i doubt that nickserv can help me with launchpad, but thanks anyway :)11:42
carloskarunakar, yes, I am.11:42
GNULinuxerdholbach: lol!11:43
dholbachcarlos: the login dialog tells me to write the "e-mail address" :)11:43
karunakarcarlos: so typically they will take into account translation freezes etc11:43
dholbachcarlos: and it seems that my actual account "dholbach" has all the mail adresses set11:44
karunakarcarlos: ok, nyways i am gnome hindi coordinator11:45
karunakarcarlos: just created https://launchpad.net/people/gnome-hindi - to test it out.11:46
carloskarunakar, well... I don't know exactly what are you thinking on but we will import from cvs, so we don't need to care about handling that... GNOME project itself wil do it11:46
carloskarunakar, cool, but we don't have yet all products imported...11:47
karunakarcarlos: so commiting to cvs is still upto the respective gnome l10n team.11:47
carlosdholbach, sorry but I'm not able to see how to fix your problem, you will need to wait for salgado...11:49
dholbachok thanks, will do that11:49
karunakarcarlos: also for a single language does work get reused across different groups - say gnome-hindi, ubuntu-hi-l10n , & nyother group created by someone else.11:49
carloskarunakar, right11:50
carloskarunakar, yes, your work will be reused11:50
carloskarunakar, now, will appear as suggestions11:50
karunakarcarlos: but the Q being if the diff groups doing work differently?11:51
karunakarcarlos: ok11:51
carloskarunakar, but I'm working now on a way to improve the share of translations11:51
carloskarunakar, all teams use their own set of templates11:51
carlosso you can share and at the same time have different translations11:52
carlosif that's your question11:52
=== camilotelles [n=Camilo@20132194128.user.veloxzone.com.br] has joined #launchpad
karunakarcarlos: yes12:00
=== niemeyer [n=niemeyer@200.103.247.235] has joined #launchpad
=== jinty [n=jinty@205.134.224.215] has joined #launchpad
sivangcarlos: oh cool, you mean having python binding to use gettext in python programs?12:31
carlossivang, to use the gettext's po parser12:31
carlosyes12:31
sivangcarlos: somehow I was sure these already existed, as there are python binding for all sorts of existing GNU tools12:33
carlossivang, that's why I said gettext' po parser and not gettext's functions12:34
karunakarcarlos: doesnt translate toolkit have some api for it?12:34
sivangcarlos: ah, k12:34
carloskarunakar, I'm not aware of that12:34
carlosdo they?12:35
karunakarcarlos: i mean the have these tools to manipulate PO files, work with OO & Mozilla translation frameworks.12:37
karunakarpootle also uses it.12:37
carloskarunakar, yeah, I know about that part, we are using them to handle OO.org2 translations12:38
carlosand we are preparing firefox support too12:38
karunakarthough not sure if its exactly as usable api , but there are scripts for all.12:41
carloskarunakar, it's not exactly the same thing we are talking about12:43
carlosbut thanks12:43
karunakarcarlos: i think much of it is written from scratch (handling a PO file etc), a good extension for gettext tools12:44
carloskarunakar, yeah I saw those tools12:45
=== auth00 [i=auth@fiji.grd.sgsnet.se] has joined #launchpad
=== cprov [n=cprov@200-161-81-84.dsl.telesp.net.br] has joined #launchpad
cprovmorning hackers01:07
=== Kinnison goes to tidy a bit while some tests run
sivanghey cprov 01:13
sivanghas anyone seen mbp ?01:13
carlosKinnison, did you see my branch?01:16
=== thisfred [n=thisfred@a80-127-80-154.adsl.xs4all.nl] has joined #launchpad
=== salgado [n=salgado@200-161-81-84.dsl.telesp.net.br] has joined #launchpad
dholbachmr. salgado, how are you? :)01:26
salgadoyo dholbach. not too bad, and you?01:26
dholbachi'm fine.. thanks01:27
Kinnisoncarlos: I started to look and then ran out of time01:30
Kinnisoncarlos: and this w/e has been mostly spent sleeping01:30
Kinnisoncarlos: I'll look at it in a bit01:30
carlosok01:30
carlosthanks01:31
=== GoRoDeK [n=gorodek@p5083DDDC.dip.t-dialin.net] has joined #launchpad
=== jinty_ [n=jinty@205.134.224.215] has joined #launchpad
=== eruin [n=eruin@unaffiliated/eruin] has joined #launchpad
=== bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad
Kinnisoncarlos: You've attached the upload stuff to completely the wrong publishing class03:04
=== mgalvin_away is now known as mgalvin
Kinnisoncarlos: in particular you attached it to a binary package class for a view which agglomorates stuff for publishing03:04
Kinnisoncarlos: would it not have been far more sensible to attach it to a sourcepackagerelease, or if you need the context, a sourcepackagepublishing ?03:04
Kinnisoncarlos: also, you've not attached the code to the queue.py function03:05
=== Kinnison doesn't think this is quite right
carlosKinnison, dude, I told you the class I was thinking on attach it.... anyway, I'm not yet using it so it's really easy to move it around03:16
carlosKinnison, I only need the sourcepackagename + distrorelease03:16
carlosif sourcepackagepublishing gives me that information, I will move it there03:17
Kinnisonaye, use sourcepackagepublishing03:17
KinnisonIt was just really really odd that you put it on a publishing view which was utterly unrelated to what you wanted03:17
carlosKinnison, about queue.py ... I will add the call now.03:17
=== karunakar [n=karunaka@203.200.122.21] has left #launchpad ["Leaving"]
=== Kinnison would still be tempted to put it on sourcepackagerelease and make the function take a distrorelease
carlosKinnison, well, It's quite hard to understand all soyuz classes and that was the best one I was able to find. I suppose I missed the source one...03:18
carlosKinnison, what ever you prefer03:19
=== Kinnison thinks the best thing is to move it to sourcepackagerelease and make the function take a distrorelease
carlosok03:19
Kinnisonthat way you don't have to muck about finding publishing records in your queue.py function03:19
carlosKinnison, I suppose that I will know the distrorelease from the queue.py function, right?03:20
Kinnisoncarlos: self.distroreleasequeue.distrorelease03:20
carloscool, thanks03:20
Kinnisoncarlos: the spr is harder to find03:20
Kinnisoncarlos: currently you'll need to work hard to find it03:21
carlosI don't need a spr03:21
Kinnisonyou don't?03:21
carlosno if I have the sourcepackagename and the distrorelease03:22
Kinnisonwell you don't have spn yet03:22
carlosbut I will know that from the buildd, right?03:22
carlosit should know the sourcepackagename it's building...03:22
Kinnisonhah, the queue doesn't directly link it03:22
=== Kinnison ponders
dholbachstub: i was told that you had database supah powahs and you could maybe help me with merging two accounts of mine ('danielholbach' is the old one (without mail adresses), and i'd like to keep 'dholbach')03:22
Kinnisoncarlos: https://chinstrap.ubuntu.com/~dsilvers/paste/filehNmASv.html03:24
=== Kinnison nopastes as it leaks structure
Kinnisoncarlos: the code in that is pseudocode and untested03:25
Kinnisoncarlos: but it shoudl be fine03:25
bradbhttps://launchpad.net/distros/ubuntu/+source/avifile/+bug/4231 # /me gasps03:26
UbugtuMalone bug #4231: avifile: merge new debian version Fix req. for: avifile (Ubuntu), Severity: Normal, Assigned to: MOTU Merge Team, Status: New http://launchpad.net/malone/bugs/423103:26
carlosKinnison, ok, thanks. I will try it.03:26
carlosKinnison, with the test I will include those changes03:27
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #launchpad
carlosI mean, when I add the missing tests...03:27
=== Kinnison nods
Nafallobradb: we did to ;-)03:28
bradbNafallo: was siretart testing a script? he doesn't appear to be around atm.03:28
bradbI asked over the weekend in #ubuntu-motu, and that was their best guess03:29
Nafallohe fixed a bug in our lpbugs.py script, but we have no clue what happened. he said he only had two outgoing mails in his logs.03:30
jameshbradb: looks like staging has pretty much all the resolved bugs from b.u.c now03:31
jameshincluding marking stuff as duplicate where appropriate03:31
siretartbradb: I'm here now03:32
bradbjamesh: cool. I'll take a look.03:32
siretartbradb: I'm not sure what the problem actually was03:32
bradbsiretart: Hi.03:32
siretartbradb: my/our script is just generating an email03:32
siretartbradb: http://tiber.tauware.de/~siretart/motu-tools/lpbugs.py this is our script03:32
=== bradb looks
BjornThmm, siretart, bradb: it could be due to a bug in the exception handler of the email handler... (bug 4396)03:33
UbugtuError: I cannot access this bug03:33
=== BjornT is currently fixing that bug
siretart Sorry, you don't have permission to access this page.03:33
siretart:)03:34
siretartdue to problems to my local configuration, I think that this mail was sent twice03:34
sivangbradb: man, so many duplicates :)03:34
jameshbradb: here's an imported bug with a few dupes: https://staging.ubuntu.com/distros/ubuntu/+source/linux-restricted-modules-2.6.12/+bug/1296303:34
siretartI'm not sure if it was sent with the same Message-Id, but I don't think so03:35
bradbBjornT: Why would that cause multiple bugs to be filed?03:36
BjornTbradb: the transaction gets commited after each mail is processed, and the mail is deleted. but with pop3 the mail gets deleted only when you succesfully close the connection, which didn't happen since an exception was raised in the exception handler03:39
jameshBjornT: there's a gap in between each bug number, indicating that some transactions got aborted03:40
bradbBjornT: Does that mean that every time a new incoming mail was processed, it tried to reprocess the avifile mail/03:40
jamesh bug  |             rfc822msgid03:40
jamesh------+-------------------------------------03:41
jamesh 4231 | <20051112121109.GA23036@tauware.de>03:41
jamesh 4231 | <E1Eatlv-0001rP-L5@localhost>03:41
jamesh 4233 | <E1Eatlv-0001rP-L5@localhost>03:41
jamesh 4235 | <E1Eatlv-0001rP-L5@localhost>03:41
jamesh 4237 | <E1Eatlv-0001rP-L5@localhost>03:41
jamesh 4239 | <E1Eatlv-0001rP-L5@localhost>03:41
jameshduplicate message IDs ...03:41
bradbjamesh: comment importing working too, wow03:42
siretartbut how was this bug triggered?03:42
jameshbradb: that's been working since before ubz03:43
bradbjamesh: just not turned on?03:43
BjornTbradb: every time the cron script was run, it reprocessed the avifile mail (at least i would guess so, i'll have to check with stub)03:43
jameshpeople, comments, attachments, etc03:43
bradbBjornT: right03:43
jameshbradb: it was turned on beforehand too03:43
ZnarlThis was fixed by remvoing siretart's email from the imap queue.  I saved a copy of the email if anyone needs a copy to investigate.03:44
bradbBjornT will probably be interested :)03:44
BjornTZnarl: can you please send it to me? (bjorn at canonical.com)03:44
ZnarlBjornT : Yep, will send now.03:45
BjornTcool, thanks03:45
bradbZnarl: thanks for helping prevent the problem from getting worse :)03:45
KinnisonSteveA: I'm about to write a bunch of ftpmaster related tools for launchpad03:46
KinnisonSteveA: Can I put them in a subdir of scripts/ ?03:46
=== BjornT wonders why bug 4232, 4234, 4236, and so on don't exist...
UbugtuError: Error getting Malone bug #4232: Bug does not exist03:47
Znarlbradb : Np, glad to help.03:50
ZnarlBjornT : Sent.03:52
jameshBjornT: if a transaction fails, the sequence number still gets consumed03:52
bradbBjornT: maybe they do but, for whatever reason, don't have tasks attached to them03:52
jameshso if you create bug 42 in a transaction but then abort, the next bug created will be 4303:53
UbugtuMalone bug #42: Bug description listed in task is not the correct description Fix req. for: malone (upstream), Severity: Normal, Assigned to: Brad Bollenbach, Status: Fixed http://launchpad.net/malone/bugs/4203:53
jameshand there would never be a 4203:53
BjornTjamesh: ah, that explains it03:53
sivangjamesh: why isn't the seq number decremented as part of the transaction rollback03:54
sivangjamesh: ?03:54
jameshsivang: you can't easily do that without locking the entire table03:54
jameshsivang: imagine running two concurrent transactions that create rows in the bug table03:55
jameshsivang: say the first gets allocated sequence number 42, and the other 4303:55
jameshsivang: if the first transaction aborts and the second succeeds, what should you do?03:55
sivangjamesh: err, right03:56
sivangjamesh: any solution I can think of will require other locking the entire table, or worse mirroing the table, domino decrementing all the effected transactions, and when reaching consistency copying it back onto the original table. bad :)03:57
jameshsivang: you can't decrement seq id used by the other transactions -- the database doesn't know what the transaction has done with the ID03:58
jameshsivang: you'd need to fail all the transactions that follow it, which is undesirable :)03:58
sivangjamesh: and we didn't even start to discuss what should happen with transaction occuring while the big rollback runs :) bah03:59
BjornTjamesh: if i get a ProgrammingError, do you know if i'd have to reconnect to the db, or if starting a new transaction is enough?04:05
=== bradb learned this weekend that MIT's Media Lab has a Simplicity Consortium
jameshBjornT: aborting the transaction should be enough04:11
jameshthe database error just fails the transaction, so you need to start a new one04:12
SteveAKinnison: what is ftpmaster?04:13
KinnisonSteveA: tasks elmo might perform04:14
KinnisonSteveA: E.g. NEW04:14
KinnisonSteveA: these scripts should go away as the functionality makes its way into the UI04:14
KinnisonSteveA: but we'll need them for ubuntu/on/launchpad for now04:14
SteveAdo the scripts need to directly touch the database?04:14
SteveAKinnison: without us discussing them in detail now, i say put them in /scripts/whatever/ and ask jamesh or spiv for a code review later.04:15
KinnisonSteveA: sorry, got workraved by stealth (it's supposed to be disabled)04:18
Kinnisonthey use getUtility() to visualise and manipulate bits of the db04:18
KinnisonSteveA: while connected as the queuedaemon user04:18
SteveAthe general pattern of code is that in /scripts/... we have stuff to do with running a script, command / environment options, locking, making a database connection etc.04:21
SteveAin /canonical/launchpad/scripts/... we have stuff that can be reused as library code that does the work that particular scripts need04:22
KinnisonFor the most part, these scripts will be very very simple04:22
SteveAin /canonical/launchpad/database/... we have the actual database-related code; the object-database parts04:22
SteveAso, for a very simple script that you don't expect parts to be reused04:23
SteveAyou can put the whole thing in /scripts/...04:23
Kinnisoncool04:23
SteveAthere should never be any SQL code or direct database code in there, of course04:23
Kinnisonindeed not04:23
=== Kinnison is maintaining the getUtility() boundary
=== ..[topic/#launchpad:SteveA] : launchpad.net -- next development meeting: https://wiki.launchpad.canonical.com/MeetingAgenda
SteveAKinnison: I added the item you told me about to the 'proposed items' part of that page04:40
=== ddaa [n=ddaa@195.5.250.205] has joined #launchpad
=== mpt [n=mpt@tvwna-ip-a-1.princeton.org] has joined #launchpad
mptGoooooooooooood morning04:47
=== jbailey [n=jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #launchpad
jbaileybradb: Around?04:51
bradbjbailey: hi, i'm around04:52
=== heyko [n=heyko@tor/session/x-74317e3f62d7da81] has joined #launchpad
jbaileybradb: Something I didn't think of before when we were chatting, but in the meantime while Malone is still sending me email, is there anything I can usefully filter on in evo to get it all sent away to a folder?04:53
jbaileybradb: The best I can come up with is the subject of "[Bug" which seems like it might have a high false-positive rate.04:53
bradbjbailey: The Reply-To address04:53
jameshjbailey: X-Generated-By: Launchpad (canonical.com)04:53
bradbI'm writing the header support right now.04:53
jameshthat'll get all Launchpad mail though/.04:54
bradbjbailey: Apparently being able to easily reply directly to the person who made a change is so important that the other 98% of us must suffer not having any immediately obvious way to identify a Malone bugmail. (Personally, I've never created a mail rule based on the Reply-To address, but it's more or less The Right Way for the moment in Malone.)04:56
jbailey*g*04:57
jbaileyYup, tagging on the reply-to is a bit annoying with the evolution UI, but it seems to work.05:03
=== zygis [n=zygis@clt-84-32-129-122.dtiltas.lt] has joined #launchpad
=== Rennen [n=rennen@209.40.128.254] has joined #launchpad
=== mpt [n=mpt@tvwna-ip-a-1.princeton.org] has left #launchpad ["http://mpt.net.nz/"]
=== mpt [n=mpt@tvwna-ip-a-1.princeton.org] has joined #launchpad
mptjordi, ping05:17
jordipong05:21
jordimy link is very weak05:21
mptjordi, did you reply to Elkin Botero who wanted to translate apt?05:23
=== mpt [n=mpt@tvwna-ip-a-1.princeton.org] has joined #launchpad
carlosKinnison, hmmm, dude I think we are not working with the same code....05:31
carlosKinnison, the ISourcePackageRelease class has a self.sourcepackagename so I don't need what you told me05:32
carlosKinnison, and the distrorelease... I suppose I could take self.uploaddistrorelease05:37
jordimpt: no, it was unclear what to do when random dude asks about importing stuff unofficially05:58
jordiI still ave my concerns about debian stuff+05:58
bradbDoes the transaction get rolled back after every xx- doctest?06:09
carlosKinnison, never mind, I'm still a bit tired...06:24
SteveAbradb: yes, should do.  if you find otherwise, it is a bug.  if it isn't in the hacking FAQ then it should be.06:26
bradbok06:29
=== bradb adds the FAQ
SteveAthanks!06:29
bradbI've documented as though it's working as intended. If I find otherwise, I'll report a bug.06:33
mptjamesh, any progress on bug 1644?06:36
UbugtuMalone bug #1644: My calendar should be at /people/me/+calendar Fix req. for: launchpad (upstream), Severity: Normal, Assigned to: James Henstridge, Status: New http://launchpad.net/malone/bugs/164406:36
mptooh, nice boldness you got going there Ubugtu 06:37
=== mdz [n=mdz@65.200.109.10] has joined #launchpad
=== bradb & # lunch
SteveAmpt: it's interesting.  seems to me to be inverted though -- the repeated information is emboldened, the changing not.07:02
mptSteveA, yes, the same thing occurs in Launchpad pages themselves :-)07:03
mptand in specs on the Launchpad/Ubuntu wikis07:03
=== lbm [n=lbm@x1-6-00-13-10-7a-d1-e4.k233.webspeed.dk] has joined #launchpad
lifelessmorning07:18
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
=== lifeless_ [n=robertc@dsl-107.131.240.220.lns02-wick-bne.dsl.comindico.com.au] has joined #launchpad
mptjordi, will you be able to attend the meeting on Thursday?07:49
salgadoSteveA, ping07:51
=== bradb_ [n=bradb@toronto-HSE-ppp4111557.sympatico.ca] has joined #launchpad
=== mdke [n=matt@ubuntu/member/mdke] has joined #launchpad
=== Nafallo is now known as Nafallo_away
salgadoKinnison, around?08:29
jblackWhat time is the next meeting? 08:46
BjornTany reviewer available for a small review?08:57
BjornTjblack: https://wiki.launchpad.canonical.com/MeetingAgenda08:57
jblackAhh, thank you08:58
lifelessBjornT: how small ?09:03
lifelessI'm waiting for chinstrap at the moment ...09:04
BjornTlifeless: the diff is < 500 lines09:06
lifelesssure09:06
lifelessis it on pending reviews ?09:06
BjornTthanks, i'll mail you the diff09:06
lifelessok09:06
SteveAhi salgado 09:06
salgadoSteveA, do you remember an email I sent you with instructions on how to see the extra count(*) queries that are issued when using tal:repeat on a SelectResults?09:07
BjornTlifeless: sent09:10
SteveAsalgado: yes09:12
SteveAsalgado: i'll add it to my 'this week' list09:12
salgadoSteveA, great. thanks09:14
salgadoSteveA, I have another question... I'd like to have an adapter that adapts two different interfaces to a third one. is it possible to do this?09:15
salgado(i.e. I have a sourcepackagerelease and a distrorelease and want to adapt them to a distroreleasesourcepackagerelease)09:17
SteveAsalgado: why do you want to use an adapter?09:19
SteveAcould this be a method on distrorelease, for example?09:19
jordimpi think I'll be around, in office but i can pretend I'm working and assist09:22
jordimpt ^09:22
salgadoSteveA, I guess a method on distrorelease will be fine. 09:23
=== mpt [n=mpt@tvwna-ip-a-1.princeton.org] has joined #launchpad
salgadoSteveA, I thought about an adapter when I see this code: https://chinstrap.ubuntu.com/~dsilvers/paste/file9ztAzC.html09:23
SteveAsalgado: great.  i think that is simpler.09:23
salgadoI wanted to change it so it doesn't have to iterate over all results in database code09:24
SteveAso, an adapter is good when you want to have different ways to get the same result09:24
SteveAor when the inputs are in a different "layer of the application stack" than the outputs09:24
SteveAso, the latter reason is why we use adapters for getting views on things09:24
SteveAwe adapt the database layer to the presentation layer09:25
lifelessBjornT: replied09:25
SteveAsalgado: the formatting of that code could be made clearer.  maybe you can send an ad-hoc code review about it?09:25
SteveAsalgado: so, you were thinking about an adapter to avoid the problem with circular imports?09:26
lifelessdoes anyone have something handy they are ready to commit ?09:27
salgadoSteveA, both the circular import and the iteration over results. I'm not sure I can avoid the iteration, but I think it should be possible to move it to browser code as that seems to be the only place where the iteration is really necessary09:28
salgadoI wanted to sort this out before I start doing something similar. that's why I came to this code09:29
SteveAi don't see a particular benefit in moving this into browser code.09:32
SteveAz09:32
salgadoSteveA, for instance, if I call len(current_publishings), it'll have to fetch all results from the database and not only issue a count() query, as I would expect09:34
SteveAsalgado: if there is a problem with this, then you can look at making it a cachedproperty09:41
SteveAor issuing a warning if the length is too great09:41
SteveAwe may also want to consider more explicitly defining the interface to a SelectResults, so that we can have alternative implementations than the sqlobject one09:43
mpthttp://www.google.com/search?q=ooo-commongui <-- I wasn't expecting that to work, but it did09:44
SteveAmpt: maybe we need a LaunchpadGoogleHacks wiki page?09:45
mptSteveA, that's not a hack, it's just "Google's index of Launchpad is pretty comprehensive now"09:46
mptIt would be good to see a graph over time of the percentage of Launchpad page hits that are coming from search engines, though09:47
SteveAmpt: it was unexpected.  it works.  it is reasonable elegant.  it solves a problem.  looks like a hack.09:47
salgadoSteveA, fair enough. I'll leave it as is for now. 09:52
=== tambaqui [n=patricia@200-183-99-137-mns.cpe.vivax.com.br] has joined #launchpad
BjornTlifeless: replied. did you want me to do something about the bare except now? otherwise i have something that i'm ready to commit (after i've mirrored)10:08
lifelessBjornT: yes please10:12
lifelessah, I see your mail.10:13
lifelesscommit this as is, but file a bug to address it ater10:13
BjornTcool, will do10:13
lifelesspqm is down at the moment, no need to refresh :)10:15
BjornTok :)10:16
lifelessBjornT: can you mail me the failure please10:23
BjornTlifeless: sent. it could be something i did wrong, though... to which url should i request a merge?10:28
lifelessBjornT: I just upgraded pqm10:28
jbaileylifeless: That reminds me, you mentioned before that you might be able to setup a publicish pqm for the docteam.10:29
lifelessjbailey: sure10:29
jbaileylifeless: Is that hard to do?  I think they want on-commit snapshots, too.10:29
lifelessjbailey: the on commit stuff is currently *cough* crufty10:30
lifelessBjornT: resubmit please10:30
lifelessjbailey: but if I generalise it a little, sure.10:30
BjornTlifeless: ok, done10:30
lifelessthanks10:31
jbaileylifeless: Anything I can help with?10:31
lifelessjbailey: implement nestedTrees by reference from the bzr spec tracker :)10:31
lifelessjbailey: externally, via config-manager.10:31
lifelessjbailey: ;)10:31
lifelessBjornT: can you hang around a little ?10:32
lifelessBjornT: its nearly fixed, but I need to debug a touch.10:32
BjornTlifeless: sure, i'll probably be around for at least an hour or so10:32
jbaileylifeless: You need nested trees for on commit support?10:33
lifelessBjornT: send in another one please10:33
BjornTdone10:34
lifelessjbailey: coordinating the two trees is the curfty bit10:34
jbaileyIn their case it would be all in a single tree.10:34
=== SnakeBite [n=SnakeBit@212.25.63.37] has joined #launchpad
lifelessah10:35
lifelessBjornT: it is your fault, phew.10:35
lifelessstar-merge /home/warthogs/archives/bjorn/launchpad/bug-4396/ sftp://chinstrap.ubuntu.com/home/warthogs/archives/rocketfuel/launchpad10:35
lifelessshould be10:35
lifelessstar-merge /home/warthogs/archives/bjorn/launchpad/bug-4396/ sftp://chinstrap.ubuntu.com/home/warthogs/archives/rocketfuel/launchpad/devel10:35
lifelessBjornT: so change your parent line in .bzr10:36
BjornTok, sent another one now10:37
lifelessok, that looks much happier10:37
lifelessI'm going to get breakfast10:38
lifelessI shall keep an eye on it10:38
BjornTcool10:38
=== mdke_ [n=matt@81-178-255-187.dsl.pipex.com] has joined #launchpad
=== mdke__ [n=matt@81-178-222-1.dsl.pipex.com] has joined #launchpad
=== spiv [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad

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