/srv/irclogs.ubuntu.com/2006/05/31/#launchpad.txt

kikoI don't see why uploading would be difficult -- it's a simple post to a form12:05
kikothere are actually third-party tools that post for you IIRC12:05
claheyIt's a simple post to form for a tarball or do I have to post each po file?12:06
claheyOh, third party tools is cool.12:06
kikoyou can do either12:06
claheyI do like the interface.12:06
kikotarball or pofiles12:06
claheyOh, posting a tarball wouldn't be so bad.12:06
kikowe've got an XMLRPC UI that makes things slightly more convenient12:06
kikoerr12:06
kikoa planned XMLRPC UI12:07
kikobut in your case the main issue is really automating downloads.12:07
claheyThat's just downloading a tarball and expanding it, right?12:07
kikocorrect.12:07
claheyDo you guys support individuals downloading and uploading po files so they can do their processing locally?12:07
=== fabbione [n=fabbione@george.kkhotels.co.uk] has joined #launchpad
kikosure12:07
kikothat's one of the workflows rosetta supports12:08
claheyAnd then it intgrates with what's there?  Cool.12:08
kikoyes12:08
kikoyou also get to control who decides which translations are official12:08
claheyYour UI is the nicest looking one I've seen.12:08
kikoso you can have a trusted group of translators12:08
kikoand then community translators can add suggestions for their posterior review12:08
claheyYeah, I saw that.  Very neat.12:08
kikothanks, it's been a lot of work to get there.12:08
claheyActually, we could totally make it so that editing the po files from svn wasn't an option.  If you want to edit a po file, you have to get it from rosetta and submit it there.12:09
kikothere are already some products that use that policy12:09
claheyI noticed there are suggestion areas.  If you're an official translator, do you get a checkbox you can mark so you don't have to copy it?12:10
kikojordi's the best guy to tell you because he is community ninja12:10
kikoclahey, not yet, but there's a patch that does it -- there are some UI concerns with the way the form works that makes it a non-straightforward decision, but we will have an expedited review UI12:10
kikocarlos is working on a change which allows you to zoom into specific strings and see their history, and all suggestions12:11
kikonext steps from there are allowing for ajax-style navigation, and also for allowing one-click accepts12:11
mptkiko!12:17
kikooh-oh, what did I say!12:17
mptkiko, don't worry, you're not in *that* much trouble12:18
claheykiko: Cool.  We'll discuss it here.  Rosetta looks awesome.12:18
kikoclahey, great to hear. be sure to let me know if you need anything.12:18
=== benzai [n=zaheda@82-71-18-29.dsl.in-addr.zen.co.uk] has joined #launchpad
=== sabdf1 [n=mark@host217-37-231-22.in-addr.btopenworld.com] has joined #launchpad
=== fabbione [n=fabbione@george.kkhotels.co.uk] has joined #launchpad
kikowtf is up with pqm12:39
kikoah I know12:39
kikoit must be that lifeless is on a plane.12:39
sivangdudes, how do I see translations by a specific person ?12:41
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
matsubarasivang: /people/$person/+translations i think12:42
=== sivang checks
kikosivang, you can't easily today. and +translations is rife with timeouts and it only indicates templates not actual translations12:42
sivangyes, that is what I see now12:43
sivanghttps://launchpad.net/people/nir78/+translations12:43
sivangwhen I click a template, I see alist of people that translated there12:43
sivangso we currently have no way to evaluate membership of people to translation teams...12:44
sivangI kept sending them to do work on the Hebrew wiki, some of them did, some prefer to work through rosetta12:44
sivang:-)12:44
=== sivang tries to think a way to evalute.
sivanghow can I see then propsed translations?12:45
sivang(by a specific person)12:45
kikosivang, ask them which translations they contributed to?12:45
sivangI did, they did not respond. I will re-ask12:45
sivangI mean, they told me "review my work on launchpad"12:45
kikotell them "yes, launchpad is as big as africa, so where? "12:46
sivanghehe12:46
sivangat least you don't get parasites like when you dip in african water :)12:46
kikothat's a rumor 12:46
kikoI have dipped and sipped from african water12:46
kikoI only got friendly parasites12:47
sivangand you don't have any hitch hiker with you? :)12:47
kikoI prefer to call them friends12:47
sivangsome girl from here that went there, was digged a bite fly's cocon from her forehead. gross!12:47
sivanganyway, back to happy things :)12:48
kikoI got one of those in california12:48
sivangserious?12:48
kikoyeah. parasites exist even in developed countries!12:49
sivangWell, sure, but not in the same quantities probably. anyway, how was it removed eventually?12:51
sivangand what are those so called friend you say you dragged with you from their comfortable home on Africa? :)12:52
lifelessbye guys, me-> London12:52
=== sivang emailed the dude to send specific links of his translation suggestions.
sivanglifeless: easy flight!12:52
=== sivang goes to read about pagetests finally
=== sabdf1 [n=mark@host217-37-231-22.in-addr.btopenworld.com] has left #launchpad []
sivangkiko: do you have an idea if the pre-knits rocketfuel-get scripts are still applicable? or should I just use the instructions in RocketfuelToKnits, I don't have any branch I need to keep or so.01:15
sivanghmm, bzr upgrade takes a while over my checkout branch01:27
sivangand the disk howls01:27
sivanghrm, still converting01:49
=== steph [i=steph@stargate-server.com] has joined #launchpad
=== sivang [i=sivan@muse.19inch.net] has joined #launchpad
sivangI hate sever drop off02:08
sivangserver, even02:08
=== sivang wonders when bzr upgrade will finish
=== ksweeney [n=ksweeney@72-255-3-25.client.stsn.net] has joined #launchpad
mptGooooooooooooooooooood afternoon Launchpadders!03:04
=== stub [n=stub@ppp-58.8.7.88.revip2.asianet.co.th] has joined #launchpad
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
elmowho's responsible for bzrsyncd on gandwana?04:41
=== BehemothNet60137 [n=gigawatt@adsl-69-208-101-32.dsl.chcgil.ameritech.net] has joined #launchpad
BehemothNet60137question04:53
=== BehemothNet60137 is now known as Gigawatts
Gigawattsi have now done the beginning of the registration process to ship ubuntu cd's twice04:54
Gigawattsand i never recieve an email04:55
Gigawattsand i know the email address is correct04:55
mptspiv / jamesh / lifeless, skype call to discuss the next stage of MaloneSimplifications?05:10
mpthmmm, spiv and lifeless aren't here05:11
jameshmpt: sure.05:11
mptbrb05:12
=== mpt [n=mpt@203.109.220.214] has joined #launchpad
stubGigawatts: Could it be that you or your ISP think it is spam and are dropping it?05:36
stubI can give you a gmail invite if you want to test with another account05:36
mptjamesh, "The reviewer must send in a small summary of the call (no more than a paragraph or so) including the time the call took to the lp-reviews list"05:47
jameshmpt: thanks05:49
mptargh05:52
mptstub, ETA for fixing login on staging?05:53
stubmpt: Today if I can get my damn branch to land (broken behavior was being relied on by a load of our tests, so fallout :-()05:53
stubmpt: Actually, I can do a quick fix. Hang on...05:53
stubmpt: Ok - that should fix it (the same way that production happens to be working fine with this bug)05:55
stubLogging into staging will probably kill your production session information though so don't try and use both at the same time05:56
stubor it might work... dunno05:56
mptthanks stub05:58
=== stub wonders htf he can control his music volume seperately to his gaim alert volume
spivmpt: sorry, was at lunch06:06
=== frodon_ido [n=patrick@ip-213-49-171-219.dsl.scarlet.be] has joined #launchpad
Gigawattsopps, sorry, was away for awhile06:38
Gigawattsstub, i checked my spam box, and nothing06:38
Gigawattsit was a hotmail account06:39
Gigawattsso i dont see a reason for it to not work, although i could try my gmail account also, see if that fixes it06:39
=== benzai [n=zaheda@82-71-18-29.dsl.in-addr.zen.co.uk] has joined #launchpad
Gigawattsok, well it worked instantly with gmail, wierd06:57
Gigawattswonder why it doesnt work with hotmail?06:57
stubMaybe it is just taking time, maybe they are dropping the email outright rather than putting it into your spam folder. No idea.07:08
Gigawattsok, well thankyou, and you might want to investigate why the emails arent going through to hotmail accounts07:08
Gigawattsadios!07:08
=== mpt_ [n=mpt@203.109.220.214] has joined #launchpad
=== dsas [n=dean@host86-128-52-181.range86-128.btcentralplus.com] has joined #launchpad
=== mpt__ [n=mpt@203.109.220.214] has joined #launchpad
SteveAmorning08:20
=== mpt_ [n=mpt@203.109.220.214] has joined #launchpad
troy_sneed a launchpad guru again08:36
=== benzai [n=zaheda@82-71-18-29.dsl.in-addr.zen.co.uk] has left #launchpad []
=== fabbione [n=fabbione@george.kkhotels.co.uk] has joined #launchpad
SteveAhi troy_s.  what's up?08:56
=== mpt_ sighs
mpt_Whenever I try to merge two of our overly-granular pages I disappear into a maze of classes and interfaces09:13
=== latenight [n=pietern@196-47-18-33.access.uunet.co.za] has joined #launchpad
stubWelcome to Zope3!09:16
stub============09:16
stubYou are in a maze of classes and interfaces, all alike.09:16
spiv> kill metaclass09:19
=== spiv -> yoga
=== malcc [n=malcolm@host81-159-193-176.range81-159.btcentralplus.com] has joined #launchpad
=== fabbione [n=fabbione@217.205.109.249] has joined #launchpad
=== ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
=== carlos [n=carlos@13.Red-88-15-198.dynamicIP.rima-tde.net] has joined #launchpad
carlosmorning09:54
=== tambaqui [n=tambaqui@200.231.107.64] has left #launchpad []
=== benzai [n=zaheda@82-71-18-29.dsl.in-addr.zen.co.uk] has joined #launchpad
=== benzai [n=zaheda@82-71-18-29.dsl.in-addr.zen.co.uk] has left #launchpad []
sivangmorning all10:09
sivangdoes anyone know if bzr upgrade --format=knit of a -built tree should never finish on a 1.8G laptop with 1G ram ? I left it over night to do so, seeing now it still did not finish. It basically brought the machine to a complete halt, and I had to switch to a VT to kill gdm an drestart it. (that was my only way out since X/GNOME were unresponsive)10:12
sivangI did so since I wanted to workaround having to re-checkout in the knit format10:12
=== jamesh [n=james@203-59-208-190.dyn.iinet.net.au] has joined #launchpad
=== doko_ [n=doko@dslb-088-073-103-049.pools.arcor-ip.net] has joined #launchpad
ddaawow10:25
ddaayou mean knit conversion of the launchpad tree?10:25
ddaait's expected to take a very large amount of CPU and RAM10:25
sivangI see10:26
ddaasivang: the proper upgrade procedure is to get the new knit-based launchpad, use it to prime a repository10:26
sivangso my machines didn't even stand a chance against it?10:26
ddaathen branch your existing weave branches in that repository10:26
sivangyes, I will do that now, but since my net connection is so crappy over the last couple of days,I figured to convert it on this laptop :)10:26
ddaaso you only effectively convert what code you have outstanding10:27
ddaaI do not know if your laptop stood a chance against it10:27
sivangyes, this is what RocketFuelToKnits descrbes, but since I Have not any outstanding code I thought to give it a try10:27
ddaait is certainly possible to tweak the conversion code to change the RAM/CPU tradeoff10:27
=== sivang notes laptop got hot to the point it could not be touched in either the upper or back part of the left kbd part where the CPU lies
ddaafrom what you describe, you went out of RAM10:28
ddaasivang: how much swap do you have?10:28
sivangseems so, machine became completely unresponsive10:29
sivang183136810:29
sivanghmm, I should probably allocate some more10:30
ddaatoo much swap prevents the OOM killer from kicking in, which can lead to severe thrashing even if the runaway code does to have very good cache behaviour10:30
ddaasivang: nope, less swap is better10:30
sivangah10:30
ddaawhen the kernel runs out of VM, it pick and SIGABRT a process10:31
ddaa(or something like that, maybe not strictly SIGABRT)10:31
sivangah, but when swap is too big then it won't do that? even if it gets filled?10:32
ddaaHere, I have 1GB of RAM and roughly as much swap, and I never run out of VM unless something is quite wrong.10:32
ddaasivang: the problem is that when the swap is too big10:32
ddaait takes a long time to fill the VM10:32
ddaaand unless the runaway process has very good behaviour with only needing new pages, that times grows explosively with thrashing10:33
sivangddaa: that is , substantially bigger then the physical size? I only have like twice swap as my physical ram.10:33
ddaaYMMV10:34
sivangI see10:34
ddaain my personal experience, with 1GB RAM, 1GB of swap is a good value.10:34
ddaathough I could probably get away with less, as it's never nearly full on normal usage10:34
sivangI will reduce it to this value, but not retry converting here :)10:35
ddaasivang: hint10:35
ddaaare you using evolution and spamassin?10:35
sivangevo yes,10:37
sivangthe latter no10:37
ddaaI noticed that when Evo crashes, it tends to leave rogue spamd processes around, that slowly eat your VM10:37
sivanghmmm, interesting10:37
ddaadunno if the problem applies with other setups10:37
ddaaslowly, as in a few MB for each rogue spamd. That become quite significant after a week (and a dozen crashes) of normal use...10:39
sivanghmm, what is port 48064 and port 46454 ? I did netstat before I stop that trashy process to see if something is connecting to the machine , and found those too10:40
sivangddaa: Well, I usually tend to shut off my machine after finishing, so I don't think I will have too much opportunity to run into this10:41
=== SteveA wonders if mpt_ is still around
=== sivang [i=sivan@muse.19inch.net] has joined #launchpad
=== Keybuk [n=scott@217.205.109.249] has joined #launchpad
carlosddaa, sivang: you would need a bit more than 1GB of SWAP if you want to do suspend to disc11:00
ddaapoint, I do not suspend to disc as it did not wake up when I last tried...11:02
ddaaand suspend to ram works fine11:02
carlosddaa: yeah, I have the same problem... but it used to work ;-)11:04
carlosand i hope it will work again at some point11:05
ddaathink the distro guys could use some hardware11:05
ddaaI also had a regression in firegl accel spport in the radeon driver, needed to use the fglrx crap to get it back :(11:06
=== AlinuxOS [n=AlinuxOS@d83-176-116-69.cust.tele2.it] has joined #launchpad
mpt_SteveA, yo11:19
SteveAhello mpt_ 11:20
SteveAare you around for a voice call, or done for the day?11:21
mpt_SteveA, a voice call would be good, since this'll be the last chance for a couple of weeks11:22
SteveAokay, let's do it11:22
mpt_ok, brb11:22
=== mpt [n=mpt@203.109.220.214] has joined #launchpad
=== sivang -> back
sivangddaa: using rocketfuel-get should still be okay for getting the knitted checkout? as its just rsync out, should not be affected by it right?11:50
ddaaI do not use rocketfuel-get11:51
sivangah11:51
ddaabut if it uses rsync, it should give you the same branch11:51
ddaa(a checkout is a different thing)11:51
sivangyes11:51
carlosjamesh: hi, do you owe me a review.... how's it going?11:52
carlossivang: yeah, it should work. I use it and it works ;-)11:53
carlossivang: first time will take a lot of time because the changes are huge11:53
sivangcarlos: yes, almost like a new checkout probably :)11:55
carlossivang: I guess11:56
sivangat least I'm downloading at 190KB/s , my net connection has stabilized a bit11:58
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
=== Kamping_Kaiser [n=kgoetz@ppp218-91.lns1.adl2.internode.on.net] has joined #launchpad
stubSteveA: Do I need to look into that SQLObject permissions thing?12:26
ddaayay, third cscvs merge in 24 hours sent :)12:26
stubddaa: I killed your last one maybe three hours ago - there was a hung 'nc' process. Seemed like old times ;)12:30
ddaawell, it succeeded12:30
ddaait's the same old cvs server spawning crap12:31
SteveAstub: if it's something you can fix, then sure.  be nice to know what caused the problem.12:31
stubWow... must have just been blocked waiting for all the children to be reaped, and killing the process unblocked it.12:31
stubSteveA: I might fix it, or I might make it worse. Imagine lifeless as the technician and me a monkey with a large wrench to belt things with.12:32
ddaasomething about CVS sucking on cosmic magnitudes IIRC12:32
stubSteveA: I have no hope of determining the cause12:32
SteveAstub: whatever... i hope lifeless will get time to look into it when he arrives in london12:32
SteveAi don't think it is causing a serious problem now12:33
stubok. if it isn't blocking I'll leave it.12:33
ddaaor ask lifeless to stop using that paranoid umask of his on chinstrap12:33
SteveAumask?12:33
SteveAthat reminds me of an ubuntu logo idea someone came up with12:34
ddaaIIRC his DC accounts have a umask looking like 07712:34
ddaawhich caused me no end of grief back when we needed to work on the same files12:35
ddaabut maybe I'm just completely off the mark12:35
mptWow, why is PQM taking so long12:37
ddaastub: if the nc hangs keep causing problems, the issue is the local pserver spawning in the cscvs test suite. But I have no off-hand idea how to fix it.12:38
ddaaI remember looking at it in the past and concluding that it just was not fixable12:38
SteveAi'm unhappy about cscvs testsuite flakiness blocking launchpad commits to pqm12:38
=== Kinnison [n=dsilvers@spoo.flarn.net] has joined #launchpad
ddaaSteveA: isn't pqm supposed to kill test suite runs that make no progress?12:39
ddaathat would mitigate that sort of issue12:40
SteveAi know that the idea has been discussed12:40
SteveAbut i don't believe it does so right now12:40
SteveAis it possible to disable the specific cscvs tests that are causing this problem?12:40
ddaaDunno off-hand. That might be a testing infrastructure that's needed by a lot of important tests.12:41
ddaaAt least, that's needed to test the native pserver client implementation12:42
ddaawhich is like a very critical piece of code12:42
SteveAis it tested on every launchpad commit to pqm?12:42
ddaaSupposedly.12:42
SteveAyet, the pserver client is independent of launchpad12:42
SteveAentirely so12:42
ddaayes12:43
ddaawell12:43
SteveAso, let's have that *not tested* on launchpad commits12:43
ddaanot entirely12:43
ddaait's dependent on things like symlinks in ./lib12:43
ddaabut nothing major12:43
SteveAit is dependent on no rogue "rm -rf /" in the launchpad code12:44
SteveAddaa: are you able to make it so that the pserver client is not tested when we commit to launchpad?12:44
SteveAyet it is still tested when its code and code it actually depends on are altered12:45
ddaathat would require some action from lifeless12:45
ddaain altering the pqm config12:45
=== sabdf1 [n=mark@217.205.109.249] has joined #launchpad
ddaaalso, I think you t12:45
ddaashould discuss the issue with him, since he knows the code12:45
ddaaso he has a handle on both ends of the problem12:46
SteveAokay.  please disable these cscvs tests for now.12:46
SteveAthey are causing an immediate problem with all other launchpad developers12:46
ddaaokay, I'll look at how to separate them out of the main test suite12:46
SteveAtests are good.  but in order to be enabled, they must not cause a bad effect on the rest of the processes, particularly, they must not have any effect on stuff they don't depend on12:46
SteveAthanks ddaa12:47
=== mp1 [n=mpt@203.109.220.214] has joined #launchpad
=== mp1 [n=mpt@203.109.220.214] has left #launchpad []
ddaawould be nice if unittest grokked skipped tests :/01:01
=== cprov [i=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== SteveA --> lunch
malcckiko, BjornT: Ping?01:23
BjornThi malcc 01:23
=== AlinuxOS [n=AlinuxOS@d83-176-116-69.cust.tele2.it] has joined #launchpad
malccBjornT: I'm hoping to get a review today on malcolmcleaton/launchpad/soyuz-pagetests-update, SteveA is tied up and suggested one of you guys might be able to help01:24
BjornTmalcc: hmm, i don't think i have time to do it today. i'm on vacation today, and i have some other things planned. i'd be happy to do it tomorrow, though.01:27
malccBjornT: Thanks, I'll come back tomorrow if I still need someone.01:27
=== benzai [n=zaheda@82-71-18-29.dsl.in-addr.zen.co.uk] has joined #launchpad
=== benzai [n=zaheda@82-71-18-29.dsl.in-addr.zen.co.uk] has left #launchpad []
ddaaSteveA: I think I can actually fix the problem with a trivial patch01:39
ddaathe nc invokation is used to setup a network-listening cvs server, needed for the tests that test that the native client can actually setup a TCP connection, as opposed to the protocol tests that pipe to a local server (which already has TERM-then-KILL cleanup, that was needed in the past)01:42
ddaaThere's a wait in the code to let the test suite sleep some time until nc had the time to run. I think the breakage happens when the sleep is too short and the connection attempt fails, then nc sits waiting for a connection, and the test suite sits waiting for nc.01:43
ddaathe nc command looks like "nc -l -p 2401 -e path-to-server-script"01:44
ddaaadding a "-w 60" in here should prevent the lock up, nc sees no network activity for 60 seconds, it will terminate01:44
doko_carlos: ping01:50
carlosdoko_: pong01:50
doko_carlos: can we look at the OOo translations next Tuesday afternoon?01:51
carloslook for any possible problem?01:51
carlossure01:51
carlosdoko_: what time?01:53
doko_carlos: after your fiesta^Wlunch?01:54
carlos:-P01:54
carlosok01:54
doko_fine, which time?01:55
=== Yannig [n=yannick@AToulouse-254-1-89-128.w86-207.abo.wanadoo.fr] has joined #launchpad
YannigHello everybody :)02:04
carlosdoko_: 14:00 UTC02:06
carlosYannig: hi02:06
doko_carlos: ok02:07
=== niemeyer [n=niemeyer@200.181.175.75] has joined #launchpad
=== matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== beyond [n=beyond@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
stubThats twice in a row it looks like pqm completed but blocked waiting for one last nc process to die02:28
ddaaI'm on it02:29
ddaaThere's also an obvious bug in the process reaping code02:29
stubYup.02:29
=== cprov [i=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
=== carlos -> lunch
=== spiv [n=andrew@218-214-66-203.people.net.au] has joined #launchpad
=== Kinnison [n=dsilvers@spoo.flarn.net] has joined #launchpad
=== sabdfl [n=mark@host217-37-231-22.in-addr.btopenworld.com] has joined #launchpad
SteveAre02:59
=== bradb wakes up
mdzcprov: as part of the edgy test, did you do any dapper-updates uploads?03:00
mdzcprov: we'll have several to do shortly after the release03:00
ddaaanybody remembers the magic python to quote file names in shell scripts?03:01
=== mpt_ [n=mpt@203.109.220.214] has joined #launchpad
cprovmdz: no, but should work as we have breezy-updates currently03:01
cprovmdz: send me one of them, I can process it right now03:02
ddaaanother silly question, is there an reliable way of telling that a process is listening to a port without actually opening a connection?03:16
malccI think lsof will tell you, but I don't remember the exact dead chickens03:17
ddaamalcc: I mean, in a programmtic way that might get through into a test suite in rocketfuel03:17
malccmalcc: Oh :(03:18
malccddaa: Oh :(03:18
malccmalcc: Why are you talking to yourself you idiot?03:18
ddaathe specific problem is starting a nc-based server and having to wait until nc has started listening03:18
ddaaif we connect an close the connection, we have consumed the server03:19
ddaaand we cannot use the server script to signal us, because it's only execed after nc has received a connection03:19
ddaaI got it03:20
ddaanc -l -p 1234 -v03:20
ddaathen read on stderr03:20
ddaawhen it is actually listening, it will tell us03:21
mdzcprov: http://people.ubuntu.com/~mdz/dapper-updates/03:23
mdzbradb: ubuntu-security is subscribed to this bug via one or more of its duplicates: https://launchpad.net/distros/ubuntu/+source/ubiquity/+bug/4301203:24
UbugtuMalone bug 43012 in ubiquity "crash creating partman question dialog" [Major,Fix released]  03:24
mdzbradb: how do I find out which one and fix it?03:24
bradbmdz: there's no automatic way. you'd have to click each dupe in the dupes portlet to find out. but teams can't be unsubscribed from bugs, unfortunately.03:24
bradbmdz: i'm curious, why does ubuntu-security not want to be subscribed to the dupe target?03:25
cprovddaa: why not the usual approach ? if you want to test a server, probe it with the client. Not sure if your goal is to test the system "bind" or other system connection framework.03:25
cprovmdz: ok03:25
ddaacprov: because it does not work there03:26
=== bradb guesses it was a non-security security bug or something
ddaaddaa: we are setting up cvs pserver in the test suite using nc03:26
ddaacprov:: we are setting up cvs pserver in the test suite using nc03:26
cprovddaa: oops, then you make your point.03:26
ddaato test that our native client can establish a TCP connection03:27
ddaaso it's a single shot gun03:27
ddaais somebody available to review the patch to stop the cscvs test suite from blocking pqm?03:28
cprovddaa: yes, i guess the popen('nc') can, at least, probe something is listening the socket in question, however doesn't ensure things will work as expected.03:29
ddaapopen03:29
ddaalive in the 21st century03:29
ddaause subprocess :)03:29
mdzbradb: the bug has nothing to do with security03:30
ddaanah, I got it, we needed nc to somehow signal us once it's listening, and the -v option does just that03:30
mdzbradb: they can be unsubscribed via the mail interface, which you can see in the comments I tried to do, but I didn't realize it was implicitly subscribed03:30
mdzbradb: perhaps unsubscribing a team should walk the duplicates and unsubscribe there as well?03:31
=== bradb didn't know you could unsubscribe others via the email UI. that's sort of a bug, maybe. as for a solution to this specific problem, i'll have to put some thought into it.
mdzbradb: when we are inconvenienced by a bug for months, and then discover a workaround, it is discouraging for that workaround to be referred to as a bug :-P03:34
cprovmdz: works, https://dogfood.ubuntu.com/distros/ubuntu/dapper/+queue03:35
mdzcprov: built and published already?03:37
bradbmdz: it's kind of a bug, IMHO, but my initial thought is that both the web ui and the email ui should allow you to unsubscribe yourself or teams of which you're a member, like the bug contacts ui.03:37
mdzbradb: I'm a member of the security team03:37
cprovddaa: popen() was just to save types, however reliying on 'nc' syscall for test is a more last century thing than popen ;)03:37
ddaagive me a better way to set up a TCP-listening cvs pserver03:38
cprovmdz: not so fast, it's only in NEW, but should flow correctly03:39
ddaacprov: and it's not a syscall, it's the nc CLI :)03:39
mdzcprov: why new, is the archive data on dogfood old?03:40
cprovddaa: ohh another last century feature, pserver ... nevermind, do whatever you need to do03:40
cprovmdz: it's a 18th May copy03:40
ddaacprov: you're right03:40
ddaaI'll drop cvs support in cscvs03:41
ddaawho cares about that old stuff anyway?03:41
cprovddaa: you started it by blaming popen, remember ? okay, let's stop the noise03:45
mdzcprov: how do we open dapper-updates?03:50
mdzcprov: (in production)03:51
mdzor is it open already?03:51
cprovmdz: by releasing dapper (setting dapper state to released)03:51
mdzcprov: we can't do it earlier?03:51
cprovmdz: let me check, probably by setting it to frozen03:52
ddaaSteveA: nc hang bugfix for review: https://chinstrap.ubuntu.com/~dsilvers/paste/fileItA9m9.html03:54
cprovmdz: no, currently you can't, EXPERIMENTAL, DEVELOPMENT and FROZEN are considered open, 03:54
cprovmdz: so you can't upload for UPDATES & SECURITY in a opened release.03:55
cprovmdz: you can try to fix it for next releases (for this is too late I guess), adding an intermediate state, but I'm not sure about the use-case, can you describe it to me ?03:56
cprovmdz: why can't we ship the changes that we alredy have in RELEASE ? does it happen any release or is a special case for dapper ?03:57
mdzcprov: we have some fixes that only affect upgrades, and not CD images03:57
spivddaa: I see cscvs stuff merged finally -- was the difference just lifeless's change to the pqm config to use check_merge?03:58
mdzcprov: we want to put them into dapper-updates now, rather than waiting until after we release CD images, so they have time to build etc.03:58
mdzand are ready when we put out the release announcement03:58
cprovmdz: I see03:58
ddaaspiv: yes, and some admin action to kill runaway processes created by the cscvs test suite...03:59
spivddaa: hence this change involving nc?03:59
ddaaspiv: yup03:59
ddaaspiv: SteveA wants me to disable some of the tests, but I think I can just fix the problem03:59
ddaaneeded to have a closer look and actually read man nc04:00
cprovmdz: pockets concept isn't able to model such workflow as well, maybe it's an extra reason to change it soon04:00
spivSo long as the sourcecode/* checks are generally run, I don't care how it's fixed ;)04:00
cprovmdz: I'll add a note about this issue to be discussed in Paris, unfortunatelly it's the best we can do right now04:01
SteveAddaa: in the mid-term, i want better test dependencies04:03
SteveAso that we're running the tests that make best sense for a given merge to pqm04:03
ddaarunning all the tests all the time is a feature04:03
ddaaas it allows quickly catching when environment changes break some rarely modified code04:03
SteveAit's a misfeature04:04
SteveAif you're concerned about rarely modified code like that, then a special cron-job should submit requests to pqm weekly to test it04:04
SteveAbut it shouldn't burden everyone with testing the code all the time, "just in case"04:04
ddaaI punt to lifeless04:05
kikomalcc, how may I help you?04:05
ddaanothing in cscvs depends on launchpad by design04:05
ddaain the same way as nothing in pybaz, or importd, or a number of third party libraries04:06
malcckiko: It's ok, the ping was for a quick review but SteveA took it on04:06
mdzcprov: ok, thanks04:15
ddaastub: it looks like pqm needs a gentle nudge again04:16
=== sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has left #launchpad []
=== sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has joined #launchpad
=== geforcex [n=geforcex@220.202.38.131] has joined #launchpad
ddaaelmo: pqm ping04:33
kikohey spiv: is there a way to pdb-step through a failing test04:42
kiko?04:42
kikoin sqlobject?04:42
spivkiko: with py.test?  probably.04:42
kikooh, --pdb04:42
elmoddaa: ?04:42
kikospiv, do you have a moment for a drive-by sqlobject review?04:42
spivDoes putting "import pdb; pdb.set_trace()" not work? ;)04:42
ddaaelmo: pqm looks like it's stuck04:43
spivkiko: sure.04:43
ddaacan you have a look and tell us what you do?04:43
elmokilled the nc04:43
ddaaelmo: thank you, it's unstuck now04:44
ddaathere's a patch in the queue that should tame those rogue nc04:45
stubbeat me04:52
kikospiv, can you explain to me how the "implicit ID column" works in SQLObject?04:56
spivkiko: you mean how you don't need to do "id = IntCol()"?04:57
SteveAstub: hello04:58
kikospiv, exactly. it then appears that the "id" column is not present in _SO_columnDict04:58
kikowhich forces me to hack around it :-(04:58
stubSteveA: hi04:58
SteveAstub: niemeyer just pointed out that newInteraction() gets a stack trace on every call, in upstream Zope 304:58
SteveAstub: removing this call should speed up ftests04:59
SteveA lib/zope/security/management.py, line 9104:59
spivkiko: right, it's special-cased pretty throughly.04:59
SteveAit is used only for debugging 04:59
kikospiv, isn't that the most stupid thing ever?04:59
spivkiko: a bit, but it is pretty fundamental to how SQLObject works.05:00
stubMaybe. I suspect it won't be terribly noticeable though for launchpad as it will be overshadowed by db access, librarian startup/shutdown etc.05:00
kikospiv, okay, I have a patch which does everything and includes icing on top05:00
SteveAstub: you gonna fix librarian startup/shutdown?05:00
cprovkiko: instareview on https://chinstrap.ubuntu.com/~dsilvers/paste/fileX4bXAN.html ?05:00
cprovkiko: will ask dsilvers as well, maybe he remember some issue related to this05:01
stubSteveA: Eventually, yes.05:01
SteveAplease sooner rather than later05:01
SteveAfaster test runs speed *everyone* up05:01
stubSteveA: My trivial fix involving stopping invalids authenticating has grown with all the fallout. Shall I stick it in your review queue or general?05:05
spivUsing malone's email interface for an extended conversation makes for some pretty ridiculous subject lines!05:07
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
stubspiv: You are allowed to edit the subject line ;)05:08
kikospiv, that's a bug05:08
kikospiv, btw: https://chinstrap.ubuntu.com/~dsilvers/paste/filemuQjOv.html                   05:08
kikospiv, fixes prejoin for SQLRJ and SQLMJ and also fixes orderBy the RIGHT way.05:08
kikoall tests pass05:08
spivstub: I do, but further replies keep making it silly again anyway ;)05:08
spivNot that "all tests pass" is much guarantee of anything with SQLObject...05:09
SteveAstub: i'm not going to look at it for a couple of days, if so05:10
ddaaspiv: there must be a missing negation somewhere in that sentence05:10
stubI'll move it then05:10
ddaaspiv: nevermind ;)05:10
=== ddaa leaves for the gym
kikospiv, well, orderBy is pretty fundamental I think. the special-cased if is stoopid05:11
kikos/if/id05:11
=== BjornT [n=bjorn@office.pov.lt] has joined #launchpad
malccSomebody remind me where I can view the pqm queue?05:13
kikomalcc, pqm.launchpad.net05:13
ddaawatch lynx --dump http://pqm.launchpad.net/05:13
ddaastick a -n 60 in there too05:14
spivkiko: Rather than a sequence of "if self.feature_foo: results = results.feature_foo(self.feature_foo)", can we replace that with just passing some keyword args to the select results?05:14
malccddaa: Thanks05:14
spivkiko: something like results.clone(prejoins=self.prejoins, orderBy=self.orderBy, ...)05:14
spivkiko: I'm guessing the answer is "no, it's not quite as simple as it looks", but just in case...05:15
kikospiv, i'll give it a go, let me check what the defaults are.05:16
spiv(I could almost imagine letting FooJoin take **kwargs that it will pass through to results.clone(**kwargs))05:17
kikookay but that's a larger change05:18
kikoyes, it works05:18
spivIf it's more complex, it's probably not worth it.05:18
spivIt's more likely to have unexpected side effects too.05:18
spivAh well.05:19
spivkiko: I'll take the rest of this review to email.05:19
kikospiv, I'll get you a new diff05:20
spivHeh, ok.05:20
kikospiv, https://chinstrap.ubuntu.com/~dsilvers/paste/filetl1mio.html05:20
=== benzai [n=zaheda@82-71-18-29.dsl.in-addr.zen.co.uk] has joined #launchpad
kikostub, please remember to clean up the dupe shipit queries so we can have a fresh oops report tomorrow05:45
kikospiv, looking that bad?05:45
spivkiko: nah, I spent a bit of time going "that's wrong! rant, edit, ... oh, it's actually only slightly wrong, delete that and put small comment there instead."05:46
spiv;)05:46
kikonothing gives you the same pleasure as deleting bits of horrible code05:47
matsubarakiko: stub already did it. I talked to him early today.05:48
kikoah rock on05:49
spivkiko: review sent05:56
kikothanks!05:59
spivkiko: btw, when prejoin stuff going to be submitted to upstream?06:07
spivkiko: was it prejoins or something else jdahlin was going to push upstream?06:08
kikoprejoins, yes06:09
kikohe has some nokia work to finish off this week and then he was going to do it06:09
spivCool.06:10
=== bradb & # lunch
ddaathe cscvs code makes pychecker crash...06:18
ddaahow ironic06:18
spivddaa: that's not as unusual as it should be :(06:19
spivpyflakes is less flaky06:19
ddaapyflakes does not report pep8 outrages06:19
ddaabtw, nice trick: python -tt `which pyflakes` file.py06:20
ddaachecks for flakes and tabs in one command06:20
=== ddaa leaves
elmopyflakes is outrageously useless06:21
elmopylint is nice if you turn off some of the more random stylistic nitpicks06:21
ddaapython is all about stylistic nitpicks06:22
spivAnd I'm sleepy!  G'night all.06:22
ddaathe more you encode style into the law, the less people waste time arguing about style06:22
ddaapep8 is a great feature of python06:22
=== dsas [n=dean@host86-128-51-64.range86-128.btcentralplus.com] has joined #launchpad
kikospiv, I hate SQLObject's stupid styles crap06:39
=== BjornT [n=bjorn@clt-84-32-240-183.dtiltas.lt] has joined #launchpad
claheyhttps://launchpad.net/distros/ubuntu/+translations07:11
claheyWhat does it mean "If Ubuntu is using launchpad for translations"?07:11
claheyDon't we know that it is?  :)07:11
claheykiko: So, we'd like to try out rosetta.07:25
claheykiko: Do we just register as a product in launchpad, or is there an application process?07:26
claheykiko: Oh, does Rosetta handle plural forms properly?07:28
carlosclahey: what do you want to try?07:28
carlosrosetta usability? or translate your own project?07:28
claheycarlos: So, I work on Democracy Player and we would like to translate our project.07:28
carlosclahey: yeah, the gettext plural forms07:28
claheyExcellent on plurals.07:28
carlosclahey: I guess it uses .po files and gettext, right?07:28
claheySo, I was hoping we could create a Rosetta project and then try out the interface for a day or two before we announce it to our people.07:28
claheyYep.07:28
=== trappist [i=trappist@tra.ppi.st] has left #launchpad []
claheyI know that it would show up on the Rosetta pages before we announced it.07:29
carlosclahey: you need to follow the instructions at wiki.ubuntu.com/RosettaFAQ07:29
claheyOh, if I upload a new .pot file, does it do the msgmerge, or should I do that by hand and just upload new copies of all of the translations?07:29
carlosclahey: we do the merge07:30
carlosall .po files are updated automatically when you upload a new .pot file07:30
carlosso translators will work always with latest strings07:30
claheyExcellent.07:31
claheyDo you happen to know what happens if we accidentally delete some strings from the pot file and add them back in the next upload?07:31
carlosno translation will be removed07:32
carlosthey will be hidden until you upload the fixed .pot file again07:32
claheyPerfect.07:34
claheyOh, so the policy page says that Rosetta translators will take care of the translations.07:34
claheyWhat about the people we have that want to translate our app (or have already started?)07:34
claheyDo we get to create accounts for them and mark them as official for our product?07:35
carlosclahey: we encorage people to use Ubuntu translators teams07:35
carlosclahey: they would join those teams07:35
carlosand translate your product07:36
carlosanother option is leave it open to anyone to do translations07:36
claheySo we can't create accounts for them, but you could?07:36
claheyAh, so either everyone can translate or only "Ubuntu translators team"?07:36
carloswell, anyone can create their own account07:36
carloswe have a third option07:36
carloscreate translation teams for your product07:37
carlosbut usually, we think is better to use Ubuntu teams07:37
carlosclahey: but you have the last word on it07:37
carlosyou are the owner of your product07:37
claheyCan we mark our text as translatable by either the Ubuntu translation team or our own?07:38
carlosclahey: yes07:38
carlosclahey: adding Ubuntu teams as a subteam of yours07:38
claheyCool.07:39
claheyWe can decide on which of those to do.07:39
claheyI wonder if I can get a 639 code for Pig Latin.07:40
carlosclahey: our FAQ has documented what do you need to do to get such iso code07:41
claheyI'm filling out the form right now.07:42
claheyI just need to get a source of lots of documents.07:42
claheyBible translation should help.07:44
claheyAnyway, that's a waste of time.07:44
claheyThe FAQ isn't clear to me what to do once I've "mailed the upstream maintainers", which is of course, unnecessary as that's me.07:47
claheyWell, the team I'm on...07:47
SteveAhi.  anyone want to hassle me before i make dinner and then get back into the hacking-zone ?07:52
=== kiko hassles SteveA
SteveAdo i know you?07:54
kikoyou know who I am bru07:54
claheycarlos, kiko: How do I submit a project?  Just register it under launchpad?07:54
kikoclahey, yes. it is likely what you want is products/+new07:55
claheykiko: I'm asking one of my coworkers, Greg Opperman to take care of applying to that.  Thanks for all the information.08:01
kikono problem, feel free to ask further.08:02
=== bradb notes DistributionSourcePackage.__getitem__ is evil. /me sees why context/security_contactaldjasdfasd returns None. :)
kikoDSP is evil incarnate08:07
=== AlinuxOS [n=AlinuxOS@d83-176-89-195.cust.tele2.it] has joined #launchpad
claheykiko: Oh my.  I just submitted to get pgl added to ISO 639.08:36
kikopig latin? really now08:38
claheykiko: I use it to test translation work and it would be helpful to me if it were an official language.08:38
=== cprov [i=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
bradbmatsubara: Is pqm hung on your branch?09:09
matsubarabradb: I don't know I sent it a couple of hours ago and I'm not following its progress09:09
matsubarabradb: doesn't seem to be hung09:09
bradbA couple, i.e. six :)09:10
matsubarahehe but there was like 5 others ahead of me on the queue09:10
bradbok, that would make more sense09:11
kikobradb, no, but the branch above it hung at the end09:11
bradbah09:11
kikoand it is likely that it will hang as well09:11
kikoand it is likely that the branch after it too09:11
kikoand then maybe it will stop hanging09:11
bradbkiko: I just saw your comment on bug 47544. i already submitted the fix to pqm.09:17
UbugtuMalone bug 47544 in malone "Malone reports that a package has no security contact...DUH!" [Normal,In progress]  http://launchpad.net/bugs/4754409:17
bradbit wasn't taken, so i took it09:18
kikowell done09:18
bradbinteresting bzr message: bzr: WARNING: Conflict adding files to lib/canonical/rosetta.  Not deleting.09:19
bradb"I can't add files to this directory. Not deleting." wha?09:20
kikothe message is bad09:20
bradbI know what it really means, of course, but that was an interesting contradiction.09:21
kikoI think it means that the directory was removed but you still have some ignored files in it.09:21
bradbyeah09:21
claheykiko: Cool.  I've uploaded our translations.  They're just waiting for an admin.  Very cool.09:29
kikonice! carlos, jordi? can you take care of the upload?09:31
=== ploum [n=ploum@ubuntu/member/ploum] has joined #launchpad
=== ToToNhO [i=kydf@200-203-59-118.pltce7004.dsl.brasiltelecom.net.br] has joined #launchpad
=== ToToNhO [i=kydf@200-203-59-118.pltce7004.dsl.brasiltelecom.net.br] has left #launchpad ["[CyberScript] "]
=== asw [n=asw@karuna.med.harvard.edu] has joined #launchpad
kikocarlos, do you know why we have this horrible iterable API on POTemplate?09:57
kikocarlos, I find it so completely absurdly incomprehensible09:58
=== rpedro [n=rpedro@87-196-9-123.net.novis.pt] has joined #launchpad
ddaaelmo: Znarl: ping there's a nc in need of killing in pqm10:06
ddaaif the fix is right, it should be the last one10:08
Znarlddaa : Done.10:09
kikoddaa, hoping :)10:11
ddaaI'm sure other test suite will find creative ways of screwing up10:16
carloskiko: hi, I'm back10:26
carloskiko: are you talking about POTemplate and POTemplateSet ?10:26
carlosclahey: let me take a look...10:27
kikoPOTemplate10:27
carlosPOTemplate.__iter__ ?10:29
kikoyes10:29
kikoand __len__10:29
kikoand __getitem__10:29
kikoaka CRACK10:30
ddaammmmmh, crack10:32
carloskiko: well...10:32
SteveAremember what leonard cohen said10:32
SteveA"give me crack and anal sex".  but remember that he also said:10:32
carlosI don't think those are perfect, but could you give me some extra information about your point?10:32
SteveA"there's a crack in everything.  that's how the light gets in"10:32
ddaathat's why banging your head against the walls helps you see the light?10:33
kikocarlos, use explicit method names. you should really only implement the iterable interface for stuff which is obviously iterable.10:34
carloskiko: you iterate over all messages that a POTemplate has10:34
=== Lincao [n=lincoln@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
kikocarlos, that's just not a good enough reason. :)10:34
carloskiko: why?10:34
mpt_Goooooooooooooooooooooood morning Launchpadders!10:35
carloskiko: you can iterate a list10:35
kikocarlos, because unless there is a strong reason to /implement/ the iterable API, you shouldn't do it.10:35
carlosand a POTemplate is a list of messages...10:35
kikoand in this case, there is no strong reason.10:35
SteveAmpt_: hallo10:35
kikoyou could reimplement it using normal methods10:35
kikoand you'd survive with no harm done10:35
SteveAmpt_: can i borrow you for some menus love?10:35
carloskiko: could you explain me why there is no strong reason, or better, give me an example of what do you think it's an strong reason?10:36
carloskiko: same thing for all __getitem__, __len__, __iter__, etc...10:36
carlosyou can always do it with normal methods10:36
SteveAthe main reason i can think of is10:37
SteveAthe contract for a single method is simpler10:37
SteveAthan remembering the interrelationships between these10:37
carloskiko: I'm not saying that you are wrong, I just want that you are able to give me a reason about why should I change it10:38
malccI would argue that a POTemplate is not "is" a list of messages, it "has" a list of messages, in terms of the is-a vs. has-a OO debate10:38
carlosSteveA, kiko: Following that fact (I think I agree on that), why or when should we use the __iter__ or __getitem__ methods then?10:39
kikocarlos, the convenience of using len() and iterating over it is less than the inconvenience of finding out it doesn't behave like a real iterable -- i.e. no append, indexed updating, etc.10:39
kikocarlos, it communicates a weak truth10:40
SteveAkiko: an iterable doesn't necessarily have these things10:40
SteveAthat's python10:40
kikoI know10:40
carlosmalcc: the format is just a list of messages, nothing more, even the metadata is a message, but with our implementation is not completely true...10:40
SteveAthat's why we have interfaces and protocols10:40
SteveAso, i don't buy the "weak truth" argument10:41
SteveAi do buy malc's "is-a vs has-a"10:41
carloskiko: so you are complaining about missing methods that are implied if we use __getitem__ and __iter__, right?10:41
kikothe potemplate is not just a box of strings10:41
kikoit is a pretty complex creature10:41
kikosaying it's an iterable implies it is a box of something10:41
kikothat's my gut feeling over it.10:42
SteveAkiko: that's the is-a vs has-a argument10:42
kikoin part yes.10:42
kikoin part what I'm saying is that iterables are/should be simple, because they imply they are simple containers, with fairly simple semantics. well, for some definition of fairly. :)10:43
SteveAthe "missing methods" thing we can do *if* you write an interface for a "standard launchpad collection"10:43
SteveAand we start using that10:43
kikoI am not suggesting adding append() to POTemplate!10:43
SteveAi'll note that in my opinion, the Container protocol in Zope 3 causes more harm than good10:43
SteveAso, care needs to be taken in standardizing interfaces to collections10:43
SteveAi buy an argument of simplifying the API for potemplates etc.10:45
carloskiko: anyway, switch to explicit methods should be easy, as you can see, those special methods call other explicit methods already (or most of them do it)10:45
kikocarlos, yeah, it should. 10:45
SteveAi do not buy that iterables should be simple or that something being iterable implies it is a simple container with simple semantics10:45
kikoit's not a priority, just something I found very confusing when reading the code.10:45
SteveAalthough i'm willing to be convinced sometime10:46
kikoSteveA, I maintain that complex iterables are asking for trouble, in my heart.10:46
carloswhat I'm not completely sure now is when should I use those special methods10:46
kikocarlos, rule of them, never unless the class /is/ a simple container.10:46
carlosbecause from what you told me, most of the time if you can use __iter__ is more or less when you have a list10:47
carlosor a set10:47
kikoright10:47
SteveAain't true10:47
carlosin those cases, why don't just use a list or a set directly?10:47
SteveAthere are lots of iterators in python that aren't lists or sets10:47
SteveAthat's the point of having a separate iteration protocol in python10:47
kikowait10:47
SteveAso that you can use things in for-loops directly10:47
kikoI'm not against returning iterators10:48
kikoor using generators10:48
carlosSteveA, kiko: would TranslationImportQueue be a valid candidate for __iter__ ?10:48
kikobut I am against a complex class implementing __iter__10:48
kikobecause the syntactic sugar isn't worth the confusion10:48
kikoIMO no10:48
carloskiko: but that IS a list of elements10:49
carlosis a queue10:49
carlosand its only content is a set of elements10:49
kikoso it /has/ a set of elements10:49
carlosit fits the 'is-a' description that malcc was talking about10:49
carlosI'm really confused10:50
SteveAi think it is reasonable to __iter__ a queue10:50
kikoit also contains a truckload and a half of code and attributes that are not directly tied to its function as a queue.10:50
kikoit's not a simple queue10:50
SteveAa queue is a basic data type and so passes *everyone's* tests so far10:50
kikonot a knuth-style queue10:50
malccYes, but its function as a queue is clearly its main one, hence its name10:50
malccI would be happy with a queue being iterable, unless there were issues in the ORM which made that painful10:50
kikonot really10:51
kikothe ORM is permissive!10:51
SteveAkiko: this is going to require a specification if you want to make this launchpad policy10:51
kikoanyway, I actually have a review to finish10:51
SteveAand i'll want the code review team to have input on it10:51
kikoI don't want to make it anything like that!10:51
carloskiko: it has no attributes at all10:51
carloskiko: only methods to operate its elements10:51
SteveAi think it make be worth doing, if you find such code confusing10:51
kikocarlos, errr, right I'm looking at TIQE :)10:51
carloskiko: ;-)10:52
kikoSteveA, I started on this because I'm looking for len()s in our codebase that are triggering trouble, and len(self.potemplate) caught my eye10:52
=== glatzor [n=sebi@ppp-82-135-78-135.mnet-online.de] has joined #launchpad
kikobut now I SWEAR I will go back to reviewing10:52
kikoDND10:52
malcckiko: You don't want to go looking for trouble. You might find it :)10:52
carloskiko: I would be happy removing len(self.potemplate)10:52
carlosI already removed len(self.pofile)10:53
kikomalcc, yeah, jesus, SteveA and you are supposed to be in bed at this point10:53
carlosbecause it was completely useless10:53
kikoit was a completely harmless rant!10:53
SteveAwem10:53
SteveAi'm sure malc is cute10:53
SteveAbut i'm not takeing him to bed10:53
=== kiko shakes head
carlos;-)10:54
SteveAalthough jesus i'll make an exception for10:54
SteveAand i don't know this "yeah" character10:54
kikofofl10:54
carlosclahey: hi, around?10:56
=== mattl [n=mattl@host-87-75-129-11.bulldogdsl.com] has joined #launchpad
claheycarlos: Yep.10:56
claheyHi.10:56
carlosclahey: could you tell me the translation domain you are using for your application?10:57
carlosthe one that gettext uses to find the translations10:57
claheyOne sec.10:57
=== mpool [n=mbp@ozlabs.org] has joined #launchpad
claheydemocracyplayer10:58
claheyShould I rename messages.pot10:58
clahey?10:58
carlosno, don't worry10:58
=== ddaa is endlessly disturbed/amused with launchpad being so full of pot
ddaait's probably to help mellowing down after the crack...11:00
carlosclahey: ok, the .pot file is now imported and the .po files will be imported in 10 minutes11:02
carlosclahey: https://launchpad.net/products/democracy/trunk/+pots/democracyplayer/11:02
claheyHow would a user go about translating to a new language?11:03
kikoclahey, the list displayed is the user's default languages11:04
kikoso I see English, French, Georgian, Italian, Polish and pt_BR11:04
carlosclahey: they will get the option from their browser preferences/ languages spoken in their country or based on their preferences from https://launchpad.net/rosetta/prefs/11:04
claheyAh, that's why it lists the 4 languages we have translated already and Russian for me.11:05
carlosclahey: right11:06
kikoclahey, just because I'm your friend I've just added 10 pt_BR strings :)11:06
clahey:)11:07
claheyExcellent.  :)11:08
kiko109 strings is so easy 11:08
carloskiko: https://chinstrap.ubuntu.com/~dsilvers/paste/fileWKtqId.html11:09
claheyYeah, there'll be more.11:09
carloskiko: If you are not able to answer that question yourself... you wrote bad code or you don't remember the reason you wrote it that way ;-)11:09
kikocarlos, I don't even remember my birthday11:10
carloskiko: :-P11:10
carloskiko: if you don't have a batch object11:10
carlosyou cannot return any link11:10
carlosso you return the empty string11:10
carlosthat means that you use current url11:11
carlosso if you are at http://foo.bar.com/something11:11
carlosthe link will be the same page11:11
carlosI think it makes sense and thus, I'm doing exactly the same thing the parent class is doing ;-)11:11
carloskiko: anyway, I will answer that email and that concrete question tomorrow ;-)11:12
carloskiko: thanks for the review11:13
kikosure no problem at all11:13
carlosclahey: all files are imported now11:14
carlosclahey: and you are getting en_GB translations already...11:15
claheycarlos: I saw that.  Crazy cool.11:15
=== carlos -> out
carlosgood night!!11:16
=== mpt_ [n=mpt@203.109.220.214] has joined #launchpad
=== fabbione [n=fabbione@george.kkhotels.co.uk] has joined #launchpad
=== mpt [n=mpt@203.109.220.214] has joined #launchpad
=== rpedro [n=rpedro@87-196-9-123.net.novis.pt] has joined #launchpad
=== mpt [n=mpt@203.109.220.214] has joined #launchpad
=== mdz [n=mdz@george.kkhotels.co.uk] has joined #launchpad
claheyDo you guys run pofilter at all?12:00

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