/srv/irclogs.ubuntu.com/2005/10/24/#launchpad.txt

dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  clean up the +bugs => +assignedbugs redirection for IPerson to use the navigation machinery, as per SteveA's suggestion (patch-2682: brad.bollenbach@canonical.com)12:09
=== Nafallo is now known as Nafallo_away
=== stub [n=stub@costello.z3u.com] has joined #launchpad
kikoheya stub 01:02
=== carlos -> bed
carlossee you01:04
sabdflmoaning, stub01:09
stubMorning01:22
kikostub, gina tests are coming along nicely01:23
kikoI'm making sure every major branch and most error conditions are tested01:23
stubExcellent. Time consuming and painful retrofitting that sort of thing, but necessary. 01:24
kikowell, mark may want to make serious changes to her shortly, so I need to ensure she's tested enough to handle them :-/01:24
stubProblem with Gina tests is you need to understand .deb packaging, so it was frustrating when I was adding code paths to Gina with no understanding of how to actually trigger them.01:24
kikoyeah01:24
kikoI've been hacking away at .tar.gz contents and Sources files for this afternoon01:25
kikorocketfuel is going to grow by a few megs though01:25
kikothe test archive needs to grow up01:25
stubDoes Gustavo have time to take on the role of chief Gina wrangler? I seem to recall he knows how to work with the packaging system.01:26
kikonot sure, in time he might, but this is pretty urgent AFAICT01:26
stubkiko: If it becomes an issue, the test could be run only by check-on-merge (or manually) and the test suite pulled from an external location somewhere. Or we could just wait for baz2 to make all our troubles go away...01:27
stubkiko: Yes. I'm more wondering about preventing the next emergency ;-)01:27
stubDepends on what cprov is doing too01:28
=== interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad
gneumannight01:33
kikoyep01:35
sabdflstub: the newpackageclasses stuff landed on HEAD. could you migrate it to production please?01:44
stubsabdfl: Do you want to see it running on staging first? I think I pushed it out last night as soon as it landed.01:45
=== stub checks
sabdflstging is giving me bad gateways01:45
sabdfland it needs the gina run data to be meaningful, in any event01:45
stubok01:46
kiko-afkthen let's keep it on staging untill gina runs01:46
kiko-afkno point in breaking production first, is there?01:47
stubstaging is back up01:47
kiko-afkthanks stub, we missed it01:47
=== lamont [n=lamont@15.238.7.121] has joined #launchpad
stubIf it isn't meaningful until Gina runs, I'd prefer to merge it into the production branch along with Gina-NG01:50
stubIts in my notes already01:50
kiko-afkyes, let's do that01:52
sabdflstub: https://staging.ubuntu.com/distros/ubuntu/+search?text=camera01:53
sabdfli can't see the /errors/ page01:53
sabdflah01:54
sabdflneed to run fti.py01:54
sabdflalso, need to run update-pkgcache.py01:54
sabdflupdate-pkgcache takes about an hour on the laptop01:55
sabdflcould probably be optimised01:55
sabdflit should certinaly be much faster on the second run01:55
stubYou got a load of Gina data in there?01:55
sabdfli did have, yes, while i developed the pages01:56
sabdflthat's how i found the gina problems01:57
=== Kinnison returns with a mug of hot milk
=== stu1 [i=stub@sweep.bur.st] has joined #launchpad
stu1Bah02:08
=== Burgundavia [n=corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad
Kinnisonooooooh incoming!02:27
=== Kinnison feels all expectant
Kinnison(hey corey)02:27
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Various fixes to queue, build etc. add zcml for queue, DB patch included. r=stevea,stub. Also fix dbschema security proxy bug (bug 1971) r=stevea (patch-2683: daniel.silverstone@canonical.com)02:28
Kinnisonboyah!02:29
KinnisonMy god I needed that02:29
stubYou should move to Thailand ;)02:29
Kinnisondon't fancy ladyboys02:29
stubSpeaking of Thai food.... breakfast!02:29
Kinnisonspeaking of breakfast, bed!02:33
=== Kinnison finishes his warm milk and honey
Kinnisonciao lunchpadders02:33
=== Kinnison -> bed
=== tambaqui [n=patricia@200-213-121-105-mns.cpe.vivax.com.br] has joined #launchpad
=== camilotelles [n=Camilo@20132203203.user.veloxzone.com.br] has joined #launchpad
=== BjornT [n=bjorn@84.32.140.183] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Make Specification.specurl nullable (patch-2684: stuart.bishop@canonical.com)03:26
=== TinMan [n=Lotus@cpe-66-65-244-241.nycap.res.rr.com] has joined #launchpad
stubYay. So 'cp' doesn't break hard links :-(03:50
=== stub works out how he futzed his revlib yesterday, and again today
lifelessstub: install fl-cow. uhm, grab 0.5 from sid.03:51
stubThat makes absolutely no sense to me03:51
stubWell.. it makes sense. How to implement the suggestion is beyond my ken03:51
lifelesshttp://debian.planetmirror.com/debian/pool/main/f/fl-cow/fl-cow_0.5-1_i386.deb03:54
lifelessdownload that03:54
lifelessdpkg -i the file to install it03:54
lifelessread /usr/share/doc/fl-cow/*03:54
=== bimberi [n=bimberi@DC-246-122.bpb.bigpond.com] has joined #launchpad
lifelessstub: ping04:57
stublifeless: pong04:58
lifelessready for dists testing ?04:58
stubNNope ;)04:59
stubI assume this means I need to have bzr installed or something?04:59
lifelessit will05:00
lifelessI want to walk through a cold turkey setup with you, end to end05:00
stubok05:00
=== stub is honored as being selected as representative dumb user
lifelessfirst thing is to get bzr http://bazaar.canonical.com/DownloadBzr05:02
lifelesswe'll be dogfooding05:02
lifelessso you want jbaileys nightlies05:02
stubThere doesn't appear to be a link on that page for that05:04
lifelessyes, just noticed05:04
stubThe link to the official tgz is busted too05:05
lifelessok05:08
lifelessnightly link up05:08
lifelessstub: ping05:14
stubok05:14
lifelesspqm is going down for maintenance05:14
lifelesshttps://wiki.launchpad.canonical.com/RocketFuelSetup?action=diff05:14
=== segfault [i=carlos@prognus.com.br] has joined #launchpad
=== jordi [n=jordi@115.Red-213-96-69.staticIP.rima-tde.net] has joined #launchpad
=== uriel [n=binarydr@green.eye.binarydream.org] has joined #launchpad
=== auth00 [i=auth@fiji.grd.sgsnet.se] has joined #launchpad
=== asmodai [n=asmodai@sakko.demon.nl] has joined #launchpad
=== \sh_away [n=sh@server3.servereyes.de] has joined #launchpad
=== asmodai_ [n=asmodai@sakko.demon.nl] has joined #Launchpad
stubHmm.... synaptic has picked up bzr_0.1.1-0ubuntu1_all.deb which doesn't look like a daily snapshot05:24
ajmitchlifeless: as a note, that rocketfuel page suggests hoary.. nightlies have a dep that's not in hoary05:25
ajmitchstub: that's the breezy version05:25
lifelessstub: did you add the apt line ?05:25
stubI added the repopsitory in synaptic05:25
lifelessajmitch: it has not been updated, we are all breezy now05:25
lifelessstub: and did a 'reload' ?05:25
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Add library-cut-tails.py from paste (patch-2685: stuart.bishop@canonical.com)05:28
stubbah. who put that cancel button next to the ok one?05:29
stubThese nightlys don't seem to be signed so the automatic updates will be stuffed05:31
lifelessjbailey: ^^^05:32
stubThey also have Rob Weir listed as the maintainer, which is wierd coming from jbailys archive05:32
lifelesshe is05:32
stuboh - I probably need to add a key05:33
stubNope - the .asc files are empty05:34
lifelessok05:34
lifelessI've disabled dists commits, but pqm is back05:34
lifelessI've found a bug to fix.05:34
lifelessthanks for your help so far05:34
=== asmodai_ is now known as asmodai
stublifeless: You need me for a few hours?05:43
lifelessstub: I'll get by.05:43
lifelessspiv or some other victim can assist05:43
stubok. I'm off shopping then.05:43
=== Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad
=== interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad
Keybuk# dpkg --unpack keybuk-launchpad_1.5_all.deb06:58
Keybuk# aptitude -f install06:58
Keybukahhh06:59
Keybukso much easier06:59
=== marcolu [n=marcolu@61.151.243.154] has joined #launchpad
fabbioneKeybuk: what's that? all of lp or just part of it?07:14
fabbionei will need to do an LP checkout one day :)07:14
Keybukit's the launchpad dependencies07:15
Keybukso you still need to checkout the code and use it07:15
Keybukbut it does all the heavy lifting of installing the deps and reconfiguring postgres and stuff07:15
lifelessKeybuk: nice.07:16
lifelesshttps://wiki.launchpad.canonical.com/RocketFuelSetup07:16
lifelessthanks!07:16
Keybukyeah, that's the stuff it does07:21
=== BjornT_ [n=bjorn@84.32.140.183] has joined #launchpad
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
=== stub [i=stub@sweep.bur.st] has joined #launchpad
fabbionelifeless: do you have an amd64 build for config-manager?07:38
fabbione(https://wiki.launchpad.canonical.com/RocketFuelSetup)07:38
lifelessfabbione: not yet, no - but you only need cm.py & the python modules.07:53
fabbionelifeless: are the sources there?07:55
fabbionei don't mind building it locally07:55
lifelessfabbione: not there no, I don't know what wildfire used for the orig tarball.07:55
lifelesshes updating the package at the moment, so ..07:55
lifeless(I built from source, which is a little bit of a black art :[07:58
=== lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #launchpad
=== GoRoDeK [n=gorodek@p5083EBD1.dip.t-dialin.net] has joined #launchpad
=== robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad
=== BjornT_ [n=bjorn@84.32.140.183] has joined #launchpad
=== stub [i=stub@sweep.bur.st] has joined #launchpad
=== Severian [n=ralph@adsl-68-95-251-39.dsl.rcsntx.swbell.net] has joined #launchpad
=== Severian [n=ralph@adsl-68-95-251-39.dsl.rcsntx.swbell.net] has joined #launchpad
SeverianHowdy, are there any experience Launchpad users here?  I just created an account and I have not figured out how to change one detail.09:12
stubWhich detail?09:15
SeverianWhen I created the account, it asked me for a display name.  I put my first name there.  My details page now shows my wiki page to be Ralph7 and I don't like names with random numbers like that.  I changed my display name to something that is probably unique and I would like to have the wiki page be that same name.  Do you understand what I am asking?09:17
stubYou want to change your wikiname.09:18
SeverianYes, please.09:19
stubHave you found the 'edit details' page for your account?09:19
stubMine is at https://launchpad.net/people/stub/+edit09:19
SeverianI have found it.  Mine has no place to edit the wiki name.  It is https://launchpad.net/people/severian/+edit09:20
stubOn your 'edit person details' page there should be a box on the right, underneath the 'actions' box, labeled 'edit'. In there is a wikiname link09:21
stub(which should lead you to https://launchpad.net/people/severian/+editwikinames)09:21
SeverianI see that.  I bet that will do it.  I am loading it now.09:22
=== stub wonders why his merge request has taken over 80 mins, yet does not appear to have crashed.
SeverianThat is great.  Thank you, stub.09:24
stubNo probs09:25
SeverianNow, I wonder if I have to give the system some time.  It says I am not allowed to edit my wiki page.  I am logged in09:27
spivSeverian: There's no delay between Launchpad and the wiki authentication.09:29
spivSeverian: Although you do need to log into the wiki seperately.09:29
SeverianI bet that is it.  I had not noticed that it was on a separate domain.  Thank you.09:30
=== eirikn_ is now known as eirikn
SeverianOK, next question.  I don't think this one is just me.  On the wiki User Preferences page, I entered my details.  I notice the instructions refer to Password and Password repeat.  I only have one Password field.  So, when I save, I get a message that says passwords don't match.09:37
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--production--1.37: Cherry picks (patch-3: stuart.bishop@canonical.com, rocketfuel@canonical.com, steve.alexander@canonical.com ...)09:39
spivSeverian: That'll be a bug in the text of the login page.09:40
SeverianIs there a bugzilla or something similar where I should report it?09:40
spivIt's modified from normal moin to use launchpad as the authentication source, and to remove creating an account through the wiki.09:40
spivHmm, I'm not sure what the best location for wiki bugs is.09:41
spivThere'll be a place for it somewhere :)09:41
spivI suppose http://bugzilla.ubuntu.com/enter_bug.cgi?product=Websites would be the best fit.09:41
SeverianI'll look around.  I thought you might just know.  Don't worry about it.  Thank you.09:42
stubspiv: If we could file a bug against a product series that would be easy ;)09:44
spivstub: Hehe09:44
stubI think it was originally YAGNI, but now we see all these use cases..09:45
spivSeverian: Actually, it's easy to fix...09:45
spivHmm, or not.09:46
spiv"Immutable page"09:46
SeverianI thought about editing it until I saw the Immutable bit, too.09:46
spivA wiki admin ought to be able to change that text simply by editing the page.09:46
stubFIle it against Launchpad and we can retarget it when we have created a suitable product (?)09:46
SeverianOK09:47
lifelessspiv: are you logged in ?09:47
spivstub: It's either that or http://bugzilla.ubuntu.com/enter_bug.cgi?product=Websites09:47
spivlifeless: Yes.  It's a special page.09:47
lifelessspiv: ah. spethial.09:47
stuboh. 09:47
spivlifeless: See the comments at https://wiki.ubuntu.com/UserPreferences?action=raw09:47
spivstub: I'm not sure which one will be more effective, though.  Probably filing against Launchpad :)09:48
SeverianBug 2016 sounds just like my problem, but it is resolved.  It appears I can reopen it, but is that the accepted procedure here?09:55
UbugtuError: I cannot access this bug09:55
SeverianSee http://bugzilla.ubuntu.com/show_bug.cgi?id=201609:55
UbugtuWebsites bug #2016: Ubuntu Wiki UserPreferences page requires user to enter password twice contrary to statement on page Product: Websites, Component: Other web sites, Severity: normal, Assigned to: lu@canonical.com, Status: RESOLVED, Resolution: FIXED http://bugzilla.ubuntu.com/show_bug.cgi?id=201609:55
spivSeverian: That's a different bug, as it happens :)09:56
SeverianI am guessing that Ubugtu is some sort of bot.09:56
spivSeverian: So in this case, file a new one.09:56
SeverianOK09:56
SteveAmorning10:00
SteveAhi spiv 10:05
SteveAcan we talk about the librarian / rosetta issues?10:05
SteveAi'm interested in how the "forensic" investigation into it went10:05
SteveAstub: have you tried the "relink revlib" stuff?10:06
stubSteveA: nope10:06
SteveAstub: i ran it yesterday on a pretty large revlib10:07
stubSteveA: oh... yes sorry.10:07
SteveAbaz got much faster for switch and merge10:07
stubI thought you ment a baz command ;)10:07
SeverianHave a good day?  Thanks for your help and I did enter the bug.  I hope I did it right.  Bye10:36
jordisabdfl: great!10:37
sabdfljordi: you're most welcome. i think Ubuntu translations should be in that mode immediately10:38
sabdflas soon as its live, tuesday10:38
jordisabdfl: nod. Is there a way to mass switch them?10:38
sabdfljordi: if you mean ALL of them, stub could run a query for you10:39
jordisabdfl: all ubuntu translations, I mean10:39
sabdflUPDATE product SET translationpermission=20 WHERE translationpermission=100;10:39
=== stub appears to have missed a chunk of conversation
sabdfljordi: you only have to do it on the distro10:39
sabdflnot on each pofile/potemplate10:39
jordisabdfl: aha10:39
sabdflUPDATE distribution SET...10:40
sabdflas above10:40
sabdflbut... lets just do it for Ubuntu, and mail the list telling people they can do it for their upstream products10:40
sabdfl /+changetranslator10:40
jordisabdfl: the Spanish guys said they would like that the Spanish Code of Conduct is sanctioned official10:40
jordiI personally can't see why, but anyway10:41
=== mahangu [n=mahangu@222.165.169.206] has joined #launchpad
sivangMorning all10:46
sabdfljordi: ok, done, but for now they'll have to get it manually accepted, until we can update the system to know about other language CoC's10:49
sabdflthis is a very cool little extension to the CoC system, btw,10:49
sabdflthanks for speccing it10:49
sivangsabdfl: maybe we can add a link from the spec page to your wiki instructions? or better, embed them somewhere in a "spec process" box on the spec tracker's main page right/left area? seems nice to me to have the instructions there so people can read just before they start registering.10:53
jordisabdfl: I specced it?!10:53
sivangsabdfl: I don't see fields in the spec tracker for Lead, Second, contributors etc.. are there any plans to add those or are they not visible yet?11:06
sabdflsivang: drafter, approver, assignee11:07
=== mahangu [n=mahangu@222.165.169.206] has joined #launchpad
sivangsabdfl: ok, so drafter = created by, asignee = lead?11:11
Keybukstuuuuuub11:14
Keybukhow do I change the postgresql socket location?11:14
Keybukit's decided to use /tmp rather than /var/run/postgresql11:14
stubHmm...11:17
stubKeybuk: unix_socket_directory = '/var/run/postgresql'  (in postgresql.conf)11:17
Keybukis that another breezy change?11:18
stubDid you initdb? 11:18
stubI didn't notice an issue after upgrading to breezy, but I've still only got 7.4 installed here11:18
KeybukI only have 7.4 too11:18
stubHave a look at your /var/lib/postgresql/7.4/main directory (or wherever your PGDATA is). Are postgresql.conf and friends in there, symlinked to the locations in /etc you expect to find them?11:20
=== appleslu [n=marcolu@61.151.243.154] has joined #launchpad
sivangsabdfl: what's the difference between https://launchpad.net/distros/ubuntu/+spec/ and https://launchpad.net/products/ubuntu/+specs ?11:23
SteveAsivang: here's how it should work11:24
sivangsabdfl: err, the first one is also +specs11:24
=== Diablo-D3 [i=diablod3@pool-70-105-255-181.port.east.verizon.net] has joined #launchpad
SteveA .../+spec/specname is how you get to a specification11:24
Diablo-D3http://linux.blogweb.de/archives/111-What-is-Launchpad.html11:24
Diablo-D3fabbione ftw11:24
SteveA and .../+specs is a page to search specs / view all specs11:24
=== Diablo-D3 [i=diablod3@pool-70-105-255-181.port.east.verizon.net] has left #launchpad []
ajmitchyay, drive-by url spamming11:24
SteveAand .../+spec  should redirct to .../+specs11:25
ajmitchlooks like I'm the first one to have a real spec against the ubuntu distro?11:25
sivangajmitch: I was first, against the "Ubuntu" product :) trying to understand the difference between /distros/.../spec(s) and /product/../spec(s) :-)11:25
ajmitchsivang: right :)11:26
SteveAi think there should not be an ubuntu product11:26
=== ajmitch is surprised there's an ubuntu product
SteveAstub: should there be an ubuntu product?11:26
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
KinnisonSteveA: I'm gonna have a big review for you to do soon11:26
SteveAKinnison: i'd better get a large cup of tea then11:27
stubIt is hidden. Wherever it can be seen is a bug.11:27
SteveAhow soon is soon?11:27
KinnisonSteveA: Probably 30m to 60m11:27
SteveAstub: there's a URL to it11:27
=== Kinnison has to tidy bits and commit it all to his branch
SteveAsivang: can you move your spec to the distro please?11:27
stubIt should be 404ing I suspect.11:27
=== Kinnison finally landed everything people had reviewed for him last night
Kinnisonca. 01:3011:27
SteveAstub: okay.  there's an error there.11:28
sivangSteveA: ok, now what's the reason behind having both "Ubuntu" and "Ubuntu Linux" respetively matching products/ubuntu/+spec(s) and /distros/ubuntu/+spec(s) ?11:28
SteveAthere are three bugs registered on ubuntu11:28
SteveAthe product11:28
SteveAstub: is it easy to move them over in the database?11:29
stubI think there is a bug open on that. They are easy to move, which will hide the bug from view but not fix it ;)11:29
SteveAsivang: i don't understand what you're asking11:29
SteveAstub: so, the bug is the the ubuntu product is still visible11:29
stubYes. And what we should do to the bugs when this happens (I can move them manually, but I'm not sure if or how launchpad should handle this gracefully)11:30
stubProbably same with specs etc. Maybe we shouldn't be able to hide them, but instead we need product merge similar to people merge?11:30
SteveAproduct -> distro merge?11:31
SteveAi don't think that will be a common requirement11:31
stubErm... that is true ;)11:31
SteveAcan't we just like nuke the ubuntu product?11:31
sivangSteveA: 's ok, I was talking about the bug you are just discussing with stub :)11:31
stubSo what we have now won't be the common case (for some value of common)11:31
stubWe can nuke the Ubuntu product once nothing references it.11:31
SteveAso, what references it?  5 bugs...11:32
stubBut we should really just be able to hide it11:32
SteveAa product series11:32
SteveAsivan's spec11:32
SteveAnot a great deal11:33
stubMight be some other odds and sods. I can do it manually, but it still doesn't solve the underlying issues of hidden products not being hidden. Leaving it in there and hidden brings the issues to our attention11:33
sivangI just alwasy happen to fall in the pitfalls :)11:33
=== gnoppix [n=me@c-24-130-96-156.hsd1.ca.comcast.net] has joined #launchpad
SteveAstub: create a "harmless" hidden product instead perhaps? ;)11:34
stubIndeed. Perhaps being nice to the users is better than leaving a speedhump around to trip people up11:34
stubSteveA: Nobody will notice ;)11:34
=== gnoppix is now known as lordk4rf
=== mahangu [n=mahangu@222.165.169.206] has joined #launchpad
sivangSteveA: ok, I'll see if I can move my spec to be registered agains the "Ubuntu Linux" product, I'll check if it's accessible under /product/..11:41
SteveAum11:41
SteveAno11:41
SteveAthe other way around11:41
SteveAyour spec should be registered under the ubuntu distro11:41
SteveAnot the product11:41
SteveAwe want to get rid of the product11:41
sivangSteveA: and leave it for the distros, ok11:42
SteveAactually, i can just change the name of the product11:42
sivangSteveA: you can drop one, and change the other's name. I can re-enter my spec so there no real need for merging.11:43
SteveAstub: i've changed the title / displayname to "Do not use this product"11:43
SteveAso, if you can move any old crap across, i think we'll be sorted11:43
SteveAsivang: so, you have the spec registered in both places?11:44
ajmitchit should be possible to move specs from one product to another (or to a distro), imho11:44
stubSteveA: Ok. I'll properly nuke it (but not now - busy trying to land)11:44
SteveAstub: okay, cool11:44
SteveAstub: i'll have a bugfix cherrypick for you a little later11:44
SteveAwhen i unconflict its tree11:44
stubok11:44
sivangSteveA: no11:45
sivangSteveA: only in /product/..11:49
sabdflsivang: whoa, don't register anything against the Ubuntu product11:50
sabdflthat product is bad news11:50
sabdfldistro specs should be registered against the distro11:50
SteveAsabdfl: i have marked the product as "Do not use"11:51
SteveAit should be hidden, and unavailble through the web11:51
SteveAso, there's a bug in product hiding there11:51
sivangwhat is it purpose?11:52
SteveAit was a mistake11:52
sivangk11:53
SteveAsivang: i have changed that specification to "do not use" text11:53
SteveAyou can re-add it to the distro11:53
SteveAnote that michael vogt reviewed it11:54
ajmitchwe can get mvo to add his comments again11:55
sivangSteveA: where do I see his comments?11:55
SteveAi just pasted it to you11:55
SteveAit was in a box on the right, under the menu items11:56
SteveAcalled 'review requests'11:56
SteveAah... UI problem11:56
SteveAi interpreted that box as being "michael vogt's reply to the review request"11:56
sivangyes, probably worth another bug report ?11:57
=== mdke [n=matt@unaffiliated/mdke] has joined #launchpad
SteveAbug 225411:58
UbugtuMalone bug #2254: 0.9 Beta 3, Install Error on Plone 2.1 Fix req. for: quills (upstream), Severity: Normal, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/225411:58
SteveAum11:58
SteveAbug 335411:58
UbugtuMalone bug #3354: confusing spec comments UI Fix req. for: launchpad (upstream), Severity: Normal, Assigned to: Matthew Paul Thomas, Status: New http://launchpad.net/malone/bugs/335411:58
sivangthe other one being the misleading error message for a spec's name that needs be lowered case with dashes11:59
SteveAbug 335411:59
UbugtuMalone bug #3354: confusing spec review requests UI Fix req. for: launchpad (upstream), Severity: Normal, Assigned to: Matthew Paul Thomas, Status: New http://launchpad.net/malone/bugs/335411:59
sivangah :)11:59
sivanganyway, I need to get lunch. See you in about ~30 minutes.11:59
=== cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== carlos [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad
carlosmorning12:09
cprovcarlos: morning 12:09
SteveAhello carlos12:09
SteveAhi cprov 12:09
SteveAa bit early isn't it celso?12:09
cprovSteveA: hi, yes ... lot of code to write ;)12:10
SteveAcprov: got any reviews for me to do today?12:10
cprovSteveA:  yes, more one buildd-scoring, includes builddepends-aware scoring algorithm implementation, could you handle this ?12:11
SteveAsure.12:11
SteveAright now, i'm landing some important launchpad bugfixes for stu to cherrypick12:12
SteveAthen i have a review for Kinnison12:12
SteveAbut i have time to review your stuff after that12:12
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
cprovSteveA: thank you12:12
KinnisonSteveA: mirroring12:14
SteveAgnirorrim12:18
Kinnisondone12:19
Kinnisonthat patch is sent12:19
KinnisonThe one that really needs reviewing is -1812:20
Kinnison-15 -16 and -17 are mostly little support bits12:20
Kinnison-17 has some code which you might want to review12:20
Kinnisonso you could do get-changeset and show-changeset --diffs12:21
Kinnisonto do the review12:21
SteveAok12:23
=== TMM [n=hp@c51471f2c.cable.wanadoo.nl] has joined #launchpad
TMMhi all!12:23
Kinnisonhi TMM12:23
TMMcan someone tell me what the relation between rosetta and the build process is?\12:23
TMMI am trying to deam up a way to get the universe .desktop files in rosetta12:24
mahanguanyone here in SA who can get me a shot of a freedom toaster in operation?12:26
mahanguim doing an article12:26
Keybukya know, just for once, I'd like launchpad "make check" to actually pass for me12:26
mahangusorry, i know this is offtopic - but i'm kinda at the end of my tether here :)12:26
KinnisonKeybuk: boo hiss12:26
Keybuktoday I have huge numbers of  NameError: name 'cur' is not defined12:26
Keybukany clues?12:26
TMMnot a good question?12:26
KinnisonKeybuk: have you updated all the ancilliary branches?12:26
KinnisonTMM: Carlos and Jordi do rosetta stuff12:27
KeybukKinnison: it's a fresh shiny checkout12:27
KinnisonKeybuk: oddness then12:27
SteveAfor a long time, when i was small, i thought 'ancilliary' meant 'to do with cleaning things'12:27
Keybukfresh checkout on a fresh install12:27
Keybukand make check doesn't pass12:27
Keybukthis is pretty normal from my experience :-/12:27
SteveAbecause the teachers at school refered to the cleaners as 'ancilliary staff'12:27
TMMI heard that launchpad isn't opensource, is that right?12:27
carlosTMM, if the source package generates the .pot file on build time, the .pot file will be automatically imported into Rosetta12:27
=== Kinnison discovers it's 'ancillary' not 'ancilliary'
carlosTMM, we import all packages not only main, but the language packs are only for main12:28
carlosTMM, https://wiki.ubuntu.com/RosettaFAQ 12:28
TMMcarlos, but, for .desktop files it is different, right? because right now I think that all the universe packages just include their own12:28
carlosTMM, there you have the answer for Rosetta but same applies to the rest of launchpad12:28
SteveAKinnison: hmm... trying to review the changeset from get-changeset is confusing for me.  it's okay when there are only patches, but i'm getting too distracted by new files and all that12:29
carlosTMM, it's the same, most packages include the .desktop translations inside the .pot file and on build time the translations are added to those .desktop files again12:29
KinnisonSteveA: oh right12:30
KinnisonSteveA: sorry12:30
TMMcarlos, ok, one more problem: a lot of the packages in universe don't have .desktop files at all 12:30
KinnisonSteveA: it's only four patches if you get a clean rf and merge it12:30
SteveAKinnison: okay12:30
TMMcarlos, so they have to be made by the packager, how to add that to rosetta later?12:30
TMMcarlos, I want to at least make a wiki page for packagers on how to do that, and perhaps some dh_ and/or cdbs scripts to make it easy so it'll actually happen12:31
carlosTMM, if you add it including them inside the standard .pot generation, Rosetta will get it automatically12:31
carlosTMM, the best way to do that is using intltool12:32
carloslike GNOME packages do12:32
carlosTMM, if it's a KDE package, I think they have their own way to do that12:32
TMMand that is probably where it'll all fall apart then :)12:32
carlosTMM, the thing is that Rosetta only accept .pot / .po files to handle translations12:33
stubmahangu: freedom toaster is hbd.com or an associate. You might want to try emailing info@hbd.com -- there might be press kits and who knows what12:33
mahangustub, thank you12:33
carlosTMM, we don't care about what do you use as long as the input and output are .po files12:34
TMMcarlos, so... if I add some dh_ scripts to generate seperate .pot files for only the .desktop entries, and some transitional scripts... that would work?12:34
TMMcarlos, I think it needs to be general enough that people will actually use it, when they have to add their own .desktop files that is12:35
carlosTMM, yeah, the maintainer needs to get back the .po files manually to get the translations12:35
TMMor fix an upstream .desktop if it's not translateable12:35
carlosand that will work12:35
stubmahangu: Or http://www.freedomtoaster.co.za/ might be a better resource12:35
mahangustub, i found the link12:35
mahanguno pictures in operation12:36
carlosTMM, I only know intltool, it needs perl and it's easy to use12:36
TMMcarlos, ah, so there is no automated way to fetch rosetta translated po files into the build system?12:36
TMMcarlos, that is fine then, it doesn't matter too much really, as long as there is ONE way to add translateable .desktop files to packages. 12:36
carlosTMM, right12:37
TMMcarlos, otherwise, it's never going to happen I am afraid12:37
stubmahangu: But there is a direct contact there on the contacts page (jason@)12:37
TMMcarlos, is there a sandbox style thingy for rosetta so I can test?12:37
carlosTMM,  we will fix the .desktop problem for dapper so you would use the same infrastructure that language packs use12:38
TMMcarlos, ow, you are already working on that?12:38
carlosTMM, not yet, but we started planning that for Breezy 12:38
carlosbut ran out of time12:39
TMMK, I was planning on doing some work in that area12:39
TMMbut, if someone else does it, even better :)12:39
TMM;)12:39
carlosTMM, same here, if someone else does it.. ;-)12:39
TMMwell, if I can somehow get some way to test my changes without having to have upload rights for universe, I think I can get something together12:40
TMMI've got some ideas on how to do it now12:40
KinnisonHow do you do a presence/absence thing in python's optparse ?12:45
KinnisonI.E. I simply want to know if '-N' is among the arguments12:47
Kinnisona flag if you will12:47
stubaction='store_true', default=False12:47
Kinnisonta12:48
stubKinnison: gina.py for an example (--dry-run)12:48
SteveAstub: i'm mirroring my fixes now.  steve.alexander@canonical.com/launchpad--trivial--1--patch-9 is what it will be12:48
stubok12:49
Kinnisonstub: amusingly enough I'm adding a --dry-run to my code :-)12:50
stubMe or someone else needs to find time to optimize our test suite - this is ridiculous :-/12:50
SteveAit will be the next big slow-down after bzr takes us away from baz12:51
carlosTMM, well, you don't need to test the final import into Rosetta12:51
carlosTMM, the build will generate a tarball with translations, if you get there the new .pot file you generate, that's enough12:51
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== sankar [n=sankar@202.144.95.244] has joined #launchpad
mptGoooood morning01:02
SteveAhi mpt 01:04
=== matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
ajmitchmorning mpt 01:05
SteveAhttps://chinstrap.ubuntu.com/~dsilvers/paste/fileHa3D6g.html01:06
SteveAmpt: all occuRences of 'occured' in zope 3 today01:06
SteveAin upstream01:06
SteveAso, perhaps we should fix these upstream01:06
=== BjornT [n=bjorn@84.32.140.183] has joined #launchpad
mptSteveA: ok, so I should make the test pass, then when we next get zope/ from upstream the test will fail immediately so it won't be forgotten01:08
TMMcarlos, care to explain that please? I don't think I fully understand that yet01:09
SteveAmpt: okay01:09
carlosTMM, the way we do the rosetta imports is that the build process generates a tarball with the .pot and .po files01:09
TMMcarlos, dpkg-buildpackage should do that then?01:10
carlosTMM, you can build the package and check that tarball01:10
carlosTMM, I'm not sure the exact rule, ask pitti for more details01:10
SteveAbug 313701:10
UbugtuError: I cannot access this bug01:10
TMMcarlos, I'll just look at some packages :)01:11
TMMcarlos, thanks 01:11
carlosnp01:11
SteveAmpt: damn... those buttons *do* look like text areas when they're on a coloured background01:11
SteveAKinnison: any reason bug 3137 needs to be private?01:11
UbugtuError: I cannot access this bug01:11
Kinnisonnot really01:12
KinnisonI guess I filed all the uploader ones private to begin with01:12
SteveAmpt: so... we have the terms 'secrecy' and 'confidential' in malone now.  not 'privacy' any more01:15
SteveAcan we use just one term for headings, like either 'secret' or 'confidential' ?01:15
mptsure, "confidential" seems fine01:17
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
mpt(which avoids both the idea of secrecy == unreported, and the redundancy of "Secrecy: secret")01:18
SteveAwell01:19
SteveAthen the menu item would be 'bug confidentiality'01:19
SteveAwhich is weird01:19
SteveAi'm asking for consistency more than anything01:19
mpthummm01:19
SteveAas, when i read that page, i'm left asking myself whether 'keeping it confidential' means 'keep it secret'01:19
SteveAis there a difference01:19
mptDisclaimer: It shouldn't be a menu item in the first place, it should be radiobuttons01:19
SteveAam i 'keeping' is a particular way, or 'making' it a particular way?01:20
=== sivang -> back
SteveAright now, it isn't very clear, i think.01:20
mptok, I'll tweak it01:20
mptnot sure in what direction yet01:20
=== niemeyer [n=niemeyer@200.138.34.97] has joined #launchpad
niemeyerGood morning!01:22
SteveAhi gustavo01:23
salgadostub, https://launchpad.net/errors/showEntry.html?id=1129721290.580.17378594585301:29
stubsalgado: That query is pretty much instantaneous. There are no scripts running at the moment so I can't see what would be locking the table, causing the query to timeout.01:31
salgadostub, that's pretty weird. that query is issued when accessing person.preferredemail, which is used in a lot of other places01:32
salgadois staging down or I don't know its address?01:33
=== Seveas [n=seveas@re-uva-61.wireless.uva.nl] has joined #launchpad
stubdown. I forgot to restart it after rebuilding it.01:36
Kinnisonstub: remind me, where do I find the encoding guesser?01:37
Kinnisonstub: is it canonical.encoding.guess ?01:37
carlosdid anyone touch the IPerson.inTeam method recently?01:38
carlosit's broken here01:38
mptWhat's wrong with staging?01:39
salgadocarlos, what do you mean by broken? tests failing or it doesn't work as expected?01:39
mptoh01:39
=== mpt can't read
carlossalgado, I get a RuntimeError: maximum recursion depth exceeded01:40
=== Seveas [n=seveas@re-uva-61.wireless.uva.nl] has joined #launchpad
carlossalgado, https://chinstrap.ubuntu.com/~dsilvers/paste/fileqJrMSS.html01:41
carlosthat's the code I have01:41
salgadocarlos, did you add any sampledata in this branch you're getting this error?01:42
salgado(or changed something related to team ownership)01:42
carlossalgado, I changed sampledata yes, but not related with ownership01:42
=== carlos adds pdb calls
salgadocarlos, can I see your sampledata changes?01:43
stubKinnison: think so, yes01:45
carlossalgado, ok, found the problem I fixed incorrectly another problem I had01:46
salgadocarlos, what was it?01:46
carlossalgado, I changed "if tp is not None or self.id == team.teamownerID:" with "if tp is not None or self.id == team.teamowner:"01:46
Kinnisonstub: coolio, ta01:46
carlossalgado, and it should be team.teamowner.id01:46
carlossalgado, anyway, I don't think we have a test there....01:47
carlosor I don't understand why team.teamownerID was not detected01:47
stubstaging seems dead - more timeout exceptions on the front page (yet the queries can be run manually instantaneously)01:48
salgadocarlos, I had a reason for using team.teamownerID. wait a second before commiting this change01:48
salgadocarlos, why do you changed it? wasn't it working as expected?01:49
carlossalgado, I got AttributeError01:49
carloshmmm01:49
carlosok, I see that the problem is that 'team' is an ITranslator01:49
carlosso that attribute is not valid anyway01:50
=== CFynn [n=Chris@ditlinux.dit.gov.bt] has joined #launchpad
CFynnRosetta prefs page tells me:  No languages currently registered as spoken in Bhutan. Please contact the Rosetta Admins on #launchpad to make sure we correct this01:51
CFynnNational language of Bhutan is Dzongkha (dz)01:52
carlosCFynn, hi01:52
CFynnhi01:52
carlosplease send that by email to rosetta@launchpad.net and I will add it later today01:52
carlosthanks for the info!01:52
CFynnThanks Carlos01:53
salgadocarlos, I'm not following you. what was the attribute that raised AttributeError?01:53
carlossalgado, forget the problem, it's a bug in mark's patch01:53
carlossalgado, instead of using an IPerson/ITeam as an argument, we used an ITranslator01:54
carlossalgado, sorry for the noise01:54
salgadoI see01:54
salgadocarlos, no worries01:54
=== salgado was affraid. that's one method that can't be broken
carlossalgado, yeah, that was the problem. My fault01:57
=== bradb_ [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad
=== bradb_ [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has left #launchpad []
=== mpt looks forward to the end of hour-long merges
salgadostub, would you replay --reverse rocketfuel@canonical.com/launchpad--devel--0--patch-2617 on staging? (people merge used to work before this change, I think)02:06
SteveAKinnison: https://chinstrap.ubuntu.com/~dsilvers/paste/file16qOsh.html02:07
SteveAKinnison: present for you.  use this, and you'll reduce your LOC count and answer half of my review points02:07
jbaileystub, lifeless: I'm not putting my key into a script for automatic signing of nightlies.02:08
SteveAKinnison: add it to lib/canonical/cachedproperty.py02:08
mptwoohoo, unable to fork for diff02:08
jbaileyAnd even if I did, there's nothing saying that you should trust debs from my key anyone.  Your machine doesn't have a trust relationship with me.02:08
KinnisonSteveA: oooh cute02:09
SteveAi like cute02:09
=== Kinnison grins
KinnisonSteveA: I'll do that in a sec02:09
KinnisonSteveA: do your review on the assumption that I'll use cachedproperty02:10
SteveAok02:10
SteveAwell, i'll leave the comments in there02:10
SteveAso that other reviewers see02:10
Kinnisonyep02:10
kikomorning02:10
=== kiko is confusored
KinnisonSteveA: for you, I'll even add the copyright and module docstring02:11
=== ddaa [n=ddaa@marvin.xlii.org] has joined #launchpad
SteveAta02:12
SteveAyou should also hook it into the testing stuff02:12
SteveAso that it gets tested02:12
Kinnisonit won't get picked up automatically?02:12
SteveAin canonical/tests/test_cachedproperty.py02:12
SteveAyou need to import doctest, make its def test_suite(): return doctest.DocTestSuite('canonical.cachedproperty')02:13
Kinnisonright02:13
SteveAor something similar02:13
KinnisonI've copied test_encoding02:13
mptkiko: Can you give mpt@canonical.com/launchpad--design-fascism--0 a once-over, please?02:13
kikompt, I'm kinda fucked with gina today02:14
kikoI don't know what to say02:14
mptok02:14
mptSteveA?02:14
SteveAmpt: yes, after Kinnison's code review and some lunch02:15
mptthanks02:15
SteveAstub: that cherrypick is totally mirrored, btw02:15
mptI'll send my reply to sabdfl's review02:15
=== rbelem [n=rodrigo@200.246.97.164] has joined #launchpad
=== TinMan [n=Lotus@163.153.189.163] has joined #launchpad
=== camilotelles [n=Camilo@20132203203.user.veloxzone.com.br] has joined #launchpad
SteveAbug 313802:23
UbugtuError: I cannot access this bug02:23
lifelessbug ger me02:24
SteveAKinnison: can that bug be made public?02:24
Kinnisonyes02:24
ddaaniemeyer: you didn't forget about the BranchDiffStats spec I asked your to prepare for UBZ, did you?02:29
niemeyerddaa: No, I didn't..02:30
ddaaCool, just noticed it was not in launchpad yet, though it might have slipped through the cracks in all we talked about yesterday.02:30
=== Nafallo_away is now known as Nafallo
=== sabdfl [n=mark@pdpc/supporter/silver/sabdfl] has joined #launchpad
=== matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== stub [i=stub@sweep.bur.st] has joined #launchpad
SteveAbug 316002:46
SteveAbug 316102:46
salgadostub, apparently, for every query issued, we get an extra "select count(*) from tablequeried where <whereclauseused>"02:47
UbugtuError: I cannot access this bug02:47
salgadostub, and this is why we have that count(*) being issued by the frontpage02:47
stubsalgado: That didn't used to happen. Hmm...02:47
UbugtuError: I cannot access this bug02:48
Nafallohehe02:48
Nafallowhat's up with the bot? :-P02:48
lifelesspqm is going down, any urgent stuff queued to land ?02:48
salgadostub, I'm trying to find what's causing that02:48
SteveAKinnison: can bugs 3160 and 3161 be made public please?02:51
SteveAbug 315802:54
UbugtuError: I cannot access this bug02:54
SteveAbug 313502:57
UbugtuError: I cannot access this bug02:58
=== mgalvin [n=mgalvin@host-66-202-95-170.spr.choiceone.net] has joined #launchpad
SteveAstub, jamesh, spiv, lifeless, bjornt, kiko, salgado.  reviewers meeting.02:59
=== kiko_ [n=kiko@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== bradb_ [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad
=== spiv [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad
Keybukso, I'm confused about how permissions work03:06
Keybukif I grant permission on a table, do I get permission for any views?03:06
Keybuklikewise, if I grant permission on a view, does that give me permission for the underlying tables?03:06
sabdflKeybuk: they are separate03:12
sabdflthis is a god hting03:13
sabdflsorry03:13
sabdflgood thing03:13
Keybukso if I grant on a view, can I actually use that view?03:13
SteveAKinnison: hi03:13
Keybukif I don't have permission for the underlying tables?03:13
sabdfli wold like the security stuff to be able to populate the SecurePackagePublishingHistory tables, for example03:13
sabdflthen Launchpad could not even SEE those tables03:13
sabdflbut it could see the view, which has just the non-embargoed records03:13
sabdflthis way a separate process could handle the security stuff03:14
SteveAKinnison: i have 500 lines of your review left to look through.  but i want to get some lunch now.  do you want the review so far, so you can work on it?03:14
sabdflwe cant do that now, because the current plan has the security approvals done through the web, so LP needs to read/write those tables03:14
KinnisonSteveA: please03:14
=== Kinnison returns from lunch
SteveAok03:15
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
sabdflbut with a good xmlrpc interface, we could have a separate tool that just does security management, and populates the publishing tables, and launchpad would be guaranteed never to leak details of embargoed products03:15
sabdflmake sense?03:15
Kinnisonsabdfl: yes that makes sense03:15
SteveAKinnison: sent03:17
KinnisonSteveA: thanks, have good lunch03:17
stubKeybuk: Yes. This is how you give people access to only a subset of table rows (create a view and give them access to the view rather than the table)03:19
=== koke [n=koke@169.Red-217-127-113.staticIP.rima-tde.net] has joined #launchpad
Keybukstub: ahh, ok03:19
Keybukthis has been confusing me for age03:20
Keybuk+s03:20
=== carlos -> lunch
lifelesscarlos: your patch has been removed, 03:22
lifelesscarlos: pqm is down03:22
sabdflstub: newpackageclasses made it all the way yet?03:23
sabdflaka. <small voice>are we there yet?</small voice>03:23
carloslifeless, ok, should I submit it again?03:23
mptbradb_: ping03:23
bradbmpt: pong03:24
lifelesscarlos: not yet03:24
carlosok03:24
lifelesscarlos: I'll just delete it again03:24
carloswill do it after lunch03:24
mptbradb: Why aren't the advanced search controls part of the bugtask_search_form macro?03:24
lifelesssalgado: same for you03:24
mptbradb: You caused me a full-file conflict, you @#$%! :-)03:25
mpt(two of them, actually)03:25
bradbmpt: because it's not called the bugtask_advanced_search_form macro, I guess.03:25
bradbI'm not religious about it either way. Feel free to change it.03:26
stub06:44:42) Mark Shuttleworth: stub: the newpackageclasses stuff landed on HEAD. could you migrate it to production please?03:26
stub(06:45:12) stub: sabdfl: Do you want to see it running on staging first? I think I pushed it out last night as soon as it landed.03:26
stub(06:45:27) ***stub checks 03:26
stub(06:45:30) Mark Shuttleworth: stging is giving me bad gateways03:26
stub(06:45:42) Mark Shuttleworth: and it needs the gina run data to be meaningful, in any event03:26
stub(06:46:02) lamont left the room (quit: Remote closed the connection).03:26
stub(06:46:21) stub: ok03:26
stub(06:46:40) kiko-afk: then let's keep it on staging untill gina runs03:26
stub(06:47:11) kiko-afk: no point in breaking production first, is there?03:26
stub(06:47:17) stub: staging is back up03:26
stub(06:47:26) kiko-afk: thanks stub, we missed it03:26
stublamont [n=lamont@15.238.7.121]  entered the room.03:26
stubstub: If it isn't meaningful until Gina runs, I'd prefer to merge it into the production branch along with Gina-NG03:26
stubstub: Its in my notes already03:26
stubkiko-afk: yes, let's do that03:26
stubMark Shuttleworth: stub: https://staging.ubuntu.com/distros/ubuntu/+search?text=camera03:26
mptbradb: Did you try the advanced search after your changes?03:26
mptIt looks to me like it won't work, because all the controls are outside the <form>03:27
stubWhich is probably a good thing, as there appears to be a nasty regression on staging that salgado is currently chasing.03:27
lifelesssalgado: ping03:27
salgadolifeless, pong03:27
lifelesssalgado: please stop submitting merges. pqm is down for upgrades03:27
bradbmpt: No, I didn't try doing an advanced search after the sortwidget addition. You might be right about the side-effect on the advanced search form.03:28
salgadolifeless, oh, sorry. I thought I was supposed to re-submit mine03:28
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
=== bradb gets down on all fours begging for a decent form testing lib to make it easy to avoid such breakages
salgadostub, did you see my message asking you to rever patch-2617 on staging?03:29
mptbradb, you've broken the advanced search03:29
bradbIn the meantime, forms will continue to break.03:29
mptdo not pass go03:29
mptgo directly to jail03:29
stubsalgado: nope03:29
salgadostub, would you replay --reverse rocketfuel@canonical.com/launchpad--devel--0--patch-2617 on staging? (people merge used to work before this change, I think)03:29
mptthe button, she does nothing03:29
bradbmpt: That kind of breakage will continue to happen until we can (reasonably, practically, without spending half a day crafting the tests by hand) test forms with a form mechanizer type framework.03:31
stubsalgado: done03:31
mptbradb: Do you think that breakage is deserving of backing out the changes?03:31
bradbThe other kind of breakage that will continue to happen fairly often until we have some mechanizer machinery is links pointing at pages that no longer exist.03:31
bradbmpt: heck no :)03:32
bradbIt's a bug. I'll fix it.03:32
mptBecause I have six bugfixes here, which are horribly conflicted with yours03:32
mptand yours is broken03:32
mptI'm tempted to baz smash :-03:32
mpt:-)03:32
bradbmpt: You probably broke something too. These things happen :)03:32
salgadostub, that was the culprit for people merge not working; although it has nothing to do with the query that was timing out03:34
lifelessKeybuk: pqm is down, please merge later03:37
Keybuklifeless: define "later"03:37
lifelesswhen I turn it on again ?03:37
Keybukwhen are you going to do that?03:38
lifelessbefore I go to bed, either a rollback, or an enable03:38
KinnisonSteveA: I've read through your review and will start dealing with responses to it as soon as I've got this bug ironed out :-)03:44
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
sivangmpt: thanks for you comment on the bug I filed.03:47
sivangmpt: I really felt it would be natural to have the wiki name be the lp name as well03:47
bradbmpt: The solution is just to move the <form> tag outside of the macro and into the (two, IIRC) callsites that use-macro that search form, making sure that the </form> goes under the advanced search form, of course. I could have already submitted the merge request but 1. pqm is down anyway and 2. it would probably just conflict with you.03:47
bradbBut if you want me to do it, no problem.03:48
mptbradb: Did you break mass milestone assignment too?03:50
bradbI believe so. It's all part of the same form.03:51
mptcrap03:51
mptok03:51
mptthe advanced search controls should be in bugtask_search_form03:52
mpt"all part of the same form" seems wrong03:52
mptbut I guess having them as separate forms would have meant nested forms before03:52
mpthrmmmmmmmmmmm03:52
bradbmpt: you can keep your life really easy here and just pull the form tag out of the macro on this merge, unless you want to do all the extra shuffling around of ZPT too, of course.03:53
mptbradb, I need to reshuffle everything anyway just to resolve the conflicts03:53
mptyay, an error message I don't understand03:54
bradbmpt: Can you just skip resolving the conflicts and take my copy of the file and manually add in your changes?03:55
bradbafter all, the main conflicts may be because of the re-indent caused by things having shifted around on that form03:55
bradbs/form/page/03:55
mptNo, my changes were pretty major03:56
mpt __traceback_info__: (<zope.app.pagetemplate.simpleviewclass.SimpleViewClass from /home/mpt/ubuntu/launchpad/lib/canonical/launchpad/templates/bugtask-macros-listview.pt object at 0xb570844c>, 'bugtask_search_form', [] )    Module zope.app.pagetemplate.simpleviewclass, line 42, in __getitem__04:00
mpt    return self.index.macros[name]   TypeError: unsubscriptable object04:00
bradbmpt: in bugtask-search-listing.pt, what do all lines that contain the word "bugtask_search_form" look like?04:02
bradbe.g. I have <table metal:use-macro="context/@@+bugtask-macros-listview/bugtask_search_form" />04:02
Keybukis creating specs not karmic?  boo!  hiss!04:02
mptbradb: yep, that's what I have too04:02
bradbKeybuk: just learn a few words of japanese and use rosetta to boost your karma04:02
bradbmpt: ok, quick test:04:03
Keybukheh, I've been considering Mandarin for a while04:03
Keybuksuch pretty letters04:03
mptbradb: This is after moving the advanced search controls into the macro04:03
bradbah04:03
mptI'm getting the feeling the error message could be slightly more helpful04:03
bradbZope 3 error messages would need a lot of work to be considered "horrible"04:04
mptbradb: ok, it's probably tripping up on tal:attributes="for view/assignee_widget/name"04:04
bradbhm, it shouldn't though04:04
mptsince that's the first TAL thingy in the advanced search controls04:04
bradbit feels to me like it's a mismatched tag somewhere04:04
=== sankar [n=sankar@202.144.95.244] has joined #launchpad
bradbi'd start by 1. commenting out everything you added to the macro, 2. verifying that the works and finally 3. uncommenting it a bit at a time to see where it blows up.04:05
bradbs/the works/that works/04:05
mptok, we have liftoff04:06
mpttwo sets of batch navigation, but that's a minor detail04:06
=== TinMan [n=Lotus@163.153.189.173] has joined #launchpad
mptassignee widgets work ...04:08
bradbstub: maybe the addition of library-cut-tails.py means we can remove utilities/shrink-library?04:09
stubMaybe. I'd ask someone who understands all that better ;)04:10
bradbmpt: the one other page on which you should need to add the form tags outside the use-macro callsite is distributionsourcepackage-bug.pt (LONG NAME HEH HEH)04:11
bradbsalgado: do you care if i remove that shrink-library script? i think you added it, but now library-cut-tails.py seems to be much more useful.04:11
bradbmpt: er, s/bug.pt/bugs.pt/04:12
salgadobradb, sure, no problem.04:13
=== _koke [n=koke@169.Red-217-127-113.staticIP.rima-tde.net] has joined #launchpad
salgadobradb, btw, what's this library-cut-tails.py?04:13
bradbsalgado: it removes everything but the head of each branch in your revlib04:13
bradba seemingly healthy dose of Just Worksism04:14
mptbradb: I'm not going to fix the mass_edit bug now04:14
mptjust the advanced-search-doesn't-work bug04:15
mptbecause mass_edit not working should be done with a separate <form></form>, not the same one, I think04:15
bradbmpt: ok04:15
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
mptIf you check a few checkboxes, then change your mind and search for something else, nothing should happen to the bugs you checked04:15
salgadostub, so, I found what causes that count(*) to be issued. are you going to sleep soon?04:15
=== BjornT [n=bjorn@office.pov.lt] has joined #launchpad
=== heyko [n=heyko@p54847DAE.dip.t-dialin.net] has joined #launchpad
=== _koke is now known as koke
lifelessstub: ping04:22
lifelessok04:24
mptbradb: you were right, it was a syntax error lurking in the macro04:24
lifelessdists is now committed to via pqm.04:24
lifelessand bzr04:24
lifelesstesting that other trees can still be committed to.04:24
lifelessI need a guinea pig04:25
lifelessKeybuk/carlos/salgao04:25
lifelessone you please send in a merge request04:26
Keybukit'll take baz at least a metric week to switch back to that branch now04:26
=== Keybuk starts it
lifelessKeybuk: you don't need to switch to it04:27
lifelessKeybuk: just send the merge command :)04:27
Keybukmeh04:27
Keybukthat's like hard04:27
=== Keybuk telnets the mail server
bradbi can send one04:27
lifelessbradb: please do04:27
bradbok, i'm sending it04:28
=== camilotelles is now known as camilotelles_afk
lifelessthanks scott04:29
bradbdoh. well, mine's on the way too :)04:29
lifelessthats good04:29
lifelesscause keybuks fell down go boom04:29
Keybukoh?04:29
stublifeless: pong04:30
lifelessnm, I got victims04:31
Keybukyou can get a cream for those04:31
lifelessthough, if you could check out sftp://chinstrap.ubuntu.com/home/warthogs/archives/rocketfuel/dists/devel and cm.py build configs/canonical.com/launchpad/development04:32
lifelessthat would be great04:32
bradbhm, i don't think i have the disk space to do another build config easily04:34
=== bradb tries
salgadoBjornT, I'm going to review your PreDefinedBugReports branch, but it has 4 conflicts. can you fix them before I revie?04:35
sabdflKeybuk: good point... karma needed for specs and for tickets too!04:36
sabdflKinnison: how's dapper doin'?04:37
BjornTsalgado: yeah, i'm fixing them now04:37
lifelessok04:37
lifelessthat seems to be running now04:38
lifelessI'll babysit to be sure04:38
lifelessand then -> sleep04:38
=== bradb sees BrowserNotificationMessages in the queue!!
=== TinMan [n=Lotus@163.153.189.173] has joined #launchpad
sivangbradb: that's something related to mozilla, or launchpad ? :-)04:40
lifelessstub - ping04:40
lifelesscan you please change your +upstream to 'sftp://chinstrap.ubuntu.com/home/warthogs/archives/rocketfuel@canonical.com/launchpad--devel--0'04:41
bradbsivang: launchpad. :) a little framework for allowing us to present useful feedback/error messages04:41
lifelessbah04:42
mptnoooo04:42
lifelessbradb: can you please do that04:42
lifelessbradb: and resend04:42
bradbok04:42
=== Lathiat grins at bradb
carloslifeless, could I send the merge request now?04:43
Keybukheeeelp!04:43
Keybukneed a db guru04:43
lifelesscarlos: not just yet 04:43
lifelesscarlos: teething 04:43
carlosok04:43
=== hno73 [n=henrik@henrik.gotadsl.co.uk] has joined #launchpad
Kinnisonsabdfl: Dunno, ask kiko04:44
Keybuktest_disconnects.txt explodes with "OperationalError: server closed the connection unexpectedly"04:44
Kinnisonsabdfl: From my PoV the uploader has now had a huge diagnostic run courtesy of elmo04:44
hno73FYI: On Thursday 20.10.05 at about 8.00 GMT the server running the Ubuntu and  Launchpad wikis will be taken off line for a hardware upgrade. Expected  downtimeis15minutes. 04:44
mptbradb: Offhand, do you have any idea why Malone might say "1 -> 3 of 3 results" when it's showing 5 results?04:44
Kinnisonsabdfl: and the queue processor is almost done04:44
Kinnisonsabdfl: I have a review to respond to from stevea on the uploader04:44
hno73(should I post that on an LP mailing list too?)04:44
Kinnisonsabdfl: and a bizarre bug in the buildd upload context which I'm sure I'll crack in the next 5 minutes04:44
salgadoSteveA, ping04:45
bradbmpt: hm, never seen that one. i'll take a fast look.04:45
mptbradb: http://localhost:8086/products/firefox/+bugs04:45
bradblifeless: is that what you wanted, btw?04:45
sabdflhno73: good idea, lp list04:45
hno73sabdfl: ok, I'll do that04:46
bradbmpt: the counts appear fine to me04:46
mptbradb: you're getting 1 -> 5?04:47
bradbno, 1 -> 304:47
bradbthen i add a bug and get 404:47
mptbut there's 5 bugs04:47
=== heyko [n=heyko@p54847DAE.dip.t-dialin.net] has joined #launchpad
bradbthere's only 3 for me04:47
bradb(now 4, because i added one)04:47
mptthat's ... odd04:47
mptthat will cause me pagetest failures, undoubtedly04:48
=== mpt wonders if he's going to land ANYTHING this week
lifelesswand waved04:49
bradbmpt: how many "All bugs ever reported are there" for you?04:49
lifelessbradb: change your upstream back please :)04:49
bradber, move that quote a little to the left04:49
bradblifeless: 04:49
bradbok04:49
mptbradb: the portlet says 3, the batch navigation says 3, but there are 5 in the list04:50
mptoh, wait04:50
mptthere are six in the list04:50
mptmuahaha04:50
mpteach is listed twice04:50
bradbah hah04:50
bradbthere's the rub04:50
bradbperhaps you've left an extra use-macro in there04:50
bradbduring conflict res.04:50
lifelessbradb: ok, you can submit again with the original doohickey.04:50
bradbfark04:51
lifelessbradb: signature error04:51
bradbyeah04:51
bradbi resent04:51
lifelessok, building config04:51
bradbmpt: in particular, this table:04:53
=== hno73 [n=henrik@henrik.gotadsl.co.uk] has left #launchpad []
bradb    <table>04:53
bradb      <tr tal:repeat="task task_batch_navigator/batch">04:53
bradb        <td tal:condition="view/mass_edit_allowed">04:53
bradb          <input type="checkbox" name="task" tal:attributes="value task/id" />04:53
bradb        </td>04:53
bradb        <metal:taskrow use-macro="task/@@+bugtask-macros-listview/item" />04:53
bradb      </tr>04:53
bradb    </table>04:53
lifelessode to jakob ?04:55
lifelessladies and gentlemen, I think we have a winner04:55
bradbongoing usability fixes (jakob == jakob nielsen) :P04:55
lifelessits doing the merge, which means it found the branch from the config04:56
salgadolifeless, that means pqm is back up?04:56
lifelesssalgado: hopefully :)04:56
lifelessgeez you guys are keen04:56
mptbradb: yes, I already nuked it04:57
mptwe are light years away from jakob-ness04:57
bradbindeed04:57
bradbmpt: ok, are you saying you still see 6 bugs or that it's fixed?04:58
mptI mean that it's fixed04:58
bradbok04:58
mptOf Jakob's "Top Ten Web Design Mistakes of 2005", Launchpad perpetrates six of them04:58
lifelessbradb: I need the failure log from you please05:00
lifelessbradb: UNLESS it was a simple 'conflicts in merge'05:00
bradblifeless: 05:00
bradbAn error was encountered:05:00
bradbTraceback (most recent call last):05:00
bradb  File "arch-pqm/bin/arch-pqm", line 294, in do_read_mode05:00
bradb    sigid,siguid = verify_sig(sender, msg, sig, 1, logger)05:00
bradb  File "/home/pqm/arch-pqm/arch_pqm/__init__.py", line 221, in verify_sig05:00
bradb    raise PQMException(sender, "Failed to verify signature: %s" % e._value)05:00
bradbPQMException: 'Failed to verify signature: gpgv exited with error code 2'05:00
lifelessbradb: no, the next one05:00
bradblifeless: make: *** No rule to make target `check_merge'.  Stop05:01
KinnisonGah05:01
Kinnisongah gah gah gah gah05:01
lifelessbradb: ah05:01
=== matsubara is now known as matsubara-lunch
lifelessbradb: wrong cwd that sounds like05:01
Kinnisonmessage_from_string isn't failing if it decides it has no headers, it's just putting the entire message into the body05:01
Kinnisonhow fucked up is that?05:01
bradblifeless: not a problem on my end though, right?05:02
lifelessbradb: nope05:03
bradbok05:03
lifelessmore untested code05:03
mptcrud05:10
mptbradb: How do I make http://localhost:8086/distros/debian/+source/mozilla-firefox/+bugs understand 'view/advanced'?05:11
mptlike http://localhost:8086/distros/debian/+bugs and http://localhost:8086/products/firefox/+bugs already do05:12
bradbmpt: I wouldn't recommend making that change right now if you want to land something this week :)05:12
mptit's not just a copy and paste?05:12
bradbthat page wasn't even supposed to have a search box on it, according to the sab. i only snuck it in there because it was easier to put in than leave out.05:12
mptok, I'll take it out05:13
bradbbut we need the sorting05:13
mptcraaaaap05:13
bradbmpt: no worries dude, just make it never show the advanced search05:14
lifelesssalgado: your patch is the next test05:14
bradbmpt: use a condition like "view/advanced|nothing", which you probably want to assign to a variable and then check through the macro05:14
bradbs/through/throughout/05:15
salgadolifeless, pqm.ubuntu.com is down?05:15
mptbradb: what does condition="foo/bar|hum" mean, anyway?05:15
mptthe TAL docs I've read don't mention it05:15
lifelesssalgado: yes05:15
ddaaIs there an emacs minor mode for pagetests?05:15
ddaa(or major)05:16
bradbthe "|" is like a crazy or05:16
KinnisonSteveA: Do you know of any way to debug email.message_from_string ?05:16
bradbmpt: crazy because "view/aldjsfads|nothing" will evaluate to a false value in a condition. this turns out to be somewhat useful in ZPT code.05:16
ddaaddaa: yes, "M-x doctest-mode"05:17
=== bradb uses that now
mptbradb: well, <tal:advanced condition="view/advanced|nothing"> doesn't make the badness go away05:17
ddaaddaa: woo, that rocks dude!05:17
bradbmpt: why not? what's the "badness", exactly?05:18
mptExpression: <PathExpr standard:'view/advanced'>05:18
mptKeyError: 'advanced'05:18
bradbmpt: did you change all the view/advanced's?05:18
mptcondition="not:view/advanced|nothing"05:19
bradbto view/advanced|nothing? (it's better to just assign this value once to a variable in your ZPT and then use it throughout)05:19
mptaha05:19
mptI missed the "not:..." one05:19
=== jinty [n=jinty@205.134.224.215] has joined #launchpad
mptthanks05:20
bradbno prob05:20
lifelesssalgado: you'll need to resend the one that just failed05:24
lifelesssalgado: karma is the next test05:24
salgadolifeless, no failure message?05:25
lifelessnone05:25
kikolifeless, salgado: what happened?05:26
bradblifeless: does that mean it's working now?05:26
lifelesskiko: I'm upgrading pqm05:28
kikoh05:30
kikoa05:30
lifelessok, precommit hook running now05:34
lifelessas long as salgados tests pass, it should be ok05:34
=== pkunk [n=pkunk@a84-231-9-51.elisa-laajakaista.fi] has joined #launchpad
=== cprov -> lunch
=== pkunk [n=pkunk@a84-231-9-51.elisa-laajakaista.fi] has joined #launchpad
=== pkunk [n=pkunk@a84-231-9-51.elisa-laajakaista.fi] has joined #launchpad
=== pkunk [n=pkunk@a84-231-9-51.elisa-laajakaista.fi] has joined #launchpad
=== poningru [n=poningru@n128-227-41-127.xlate.ufl.edu] has joined #launchpad
poningruhi I had a question05:47
poningruhttps://launchpad.net/products/bazaar05:48
poningruwho maintains that website?05:48
poningruits out of date05:48
poningrucan someone fix it?05:48
kiko-fudponingru, mostly lifeless 05:48
kiko-fudhopefully -- what's broken?05:48
poningruThe Linux Kernel uses a proprietary distribution revision control system, this project aim to produce a free software tool that is...05:49
poningrudont they use git now?05:49
Lathiatheh05:49
poningruI believe they started using it june 200505:50
poningruso understandable since its only been 4 months05:50
kiko-fudponingru, fixed05:51
poningruawesome thanks05:53
=== poningru adds this to his autojoin since cool people hang out here
=== moyogo [n=moyogo@1gw104.ucu-vb.uu.nl] has joined #launchpad
kiko-fudI have no idea who wrote that text, but he certainly didn't future-proof it :)05:56
kiko-fudtime for some lunch05:56
=== matsubara-lunch is now known as matsubara
poningruso do we have offtopic discussions here aswell?05:57
Kinnisonponingru: We try our best to stay on-topic05:59
Kinnisonponingru: In particular, the launchpad developers hang out here and discuss development06:00
Kinnisonponingru: and have meetings and the like06:00
poningrucool06:00
poningruand assuming loco teams have discussions here as well06:00
poningrul18n06:00
KinnisonI think the loco/l18n teams do stuff on other channels06:01
poningruhmm ic06:01
Kinnisonthis channel is primarily for launchpad-specifics06:01
poningrugotcha I just saw rosetta on the topic and assumed...06:01
Kinnisonrosetta is part of launchpad :-)06:01
poningrubut yeah makes sense06:01
KinnisonSteveA: I'm settling in to deal with responding to your review now06:01
=== Kinnison is sorry it took so long to get to
lifelessWOOOO06:02
Kinnisonlifeless: success?06:02
lifelesspqm is now running fully successfully with 'dists' in bzr format.06:02
lifelessdoco shmoco.06:02
Kinnisonheh06:03
lifelessKeybuk: can I ask a favour?06:03
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Recalculate the karma cache upon merging of accounts and some other fixes. r=BjornT (patch-2686: guilherme.salgado@canonical.com)06:03
Keybuklifeless: perhaps06:04
lifelessKeybuk: check my changes to https://wiki.launchpad.canonical.com/RocketFuelSetup06:04
lifelessbear in mind that for the next day or so, its my branch from source that is needed, not martins.06:05
Keybukok, give me a moment, need to finish typing something up06:06
ddaakiko-fud: How can I test for something raising an psycopg.IntegrityError in a doctest? If I do it naively, that breaks the transaction and I cannot access the DB at all afterwards.06:06
lifelessddaa: start a new transaction ?06:07
lifelessKeybuk: thanks. I'm -> sleep. mail me feedback, or touch it up.06:07
lifelessKeybuk: I have a script here, I'll upload that first06:07
salgadoddaa, AIUI, you shouldn't have something that raises IntegrityError. you should catch the error condition before and fail gracefully06:08
lifelessthat goes -> PQMSetup06:08
Keybuklifeless: does pqm work again now?06:08
lifelessyes06:08
ddaawell... that much for doc/branch.txt... "RevisionAuthor.name should be unique, but I'm not allowed to test for that here."06:09
salgadoSteveA, ping?06:10
bradbddaa: don't let it raise an IntegrityError in the first place. That's what I got told. :)06:11
bradbI had the exact same problem, and have currently left that database-level exception tested at the very bottom of the test, with an XXX.06:11
lifelessddaa: here, what are you trying to test? that the schema is right, or the code is right ?06:11
ddaalifeless: schema06:11
lifelessddaa: or that postgres enforces the schema ?06:11
lifelessddaa: to test the schema, write some sql that queries the schema.06:12
ddaaI'm trying to test that I cannot create RevisionAuthor SQLObjects with duplicate names.06:12
lifelessno. you are testing that the database catches that.06:12
ddaaWell... if that's the way of testing it...06:13
lifelesswhich is inappropiate for this layer.06:13
lifelessI think you should decide what you want to happen when someone *tries* to do this.06:13
lifelessthen, test that that action occurs.06:13
ddaaI want to stab them in the eye.06:13
bradbwe prefer to slap DontRepeatYourself in the face, and maintain constraints in both the schema and at the Python-level06:13
=== gneuman [n=gneuman@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
ddaaBecause anyway, only taxi or some sibling of it should be creating RevisionAuthor records.06:14
lifelessok06:14
lifelessnight all06:14
ddaabradb: okay... so I guess I should create RevisionAuthor from some sort of factory, right?06:16
lifelessddaa: dude. take a step back here.06:16
lifelessddaa: you are unit testing *the code you write*06:16
lifelessddaa: which, is not sqlobject.06:17
ddaaActually, I'm writing "doc/branch.txt"06:17
lifelessddaa: sqlobject already enforces this constraint via the db06:17
ddaawell... until I tried to demonstrate the constraint was missing, I thought it was missing...06:17
lifelessyou only need a test 'can only create one', if you are writing the code to limit it to one.06:17
bradbddaa: I would write a validator in Python code that checks that you can't create a RevisionAuthor with a name that already exists06:18
lifelessnight night night06:18
ddaabradb: yes, my question is how should this factory method be named? MyDatabaseClass.new ?06:18
lifelessddaa: thats not what bradb means.06:18
=== ddaa decides to ignore the problem.
lifelessbradb: ddaa's code here is content class only.06:19
lifelessddaa: good choice, chat with me tomorrow, or stevea, I think.06:19
ddaalifeless: don't think chatting will help, I just need to try and get a feel about what I'm supposed to test in doc/ in pagetests/ etc.06:20
ddaaI feel like I'm sort of lacking guidelines here.06:20
ddaaBut I also have the impression the guidelines do not really exist in any explicit form anywhere.06:20
bradbddaa: doc/ is for programmer documentation. You have to write enough in doc/*.txt to allow someone like me to programmer to your APIs.06:21
bradbpagetests/ is for end-user documentation (though the "end-user" bit of that is more-or-less purely theoretical :)06:21
ddaabradb: for example, some doc/ tests checks that db objects verify their interface, other don't06:22
ddaaarguably, that's not something that needs spelling out in developer documentation.06:22
bradbddaa: Yeah, mostly due to laziness, unfortunately :)06:22
ddaamy problem here is not laziness... it's lack of directions...06:23
bradbdoc/foo.txt should document the IFoo API.06:23
ddaaIsn't that what docstrings are for?06:23
bradb(and possibly closely-related APIs, if it makes sense to do so.)06:23
bradbddaa: doctests in docstrings are really hard to read for humans.06:23
bradband very de-centralized.06:23
ddaam'kay06:24
bradbs/-//06:24
BjornTddaa: if you haven't read it yet, read https://wiki.launchpad.canonical.com/BasicTestCoverage. at least it gives some minimal guidelines.06:24
ddaaI guess that "document and the interface and related interfaces" would be a good working guideline.06:24
ddaaBjornT: thanks06:25
bradbddaa: another common reason you see some really small doc/*.txt files was because I found a bug in something and then saw, crap, there's NO doctests at all for this API, so I just created a new doctest and tested the minimal bit I needed to, to ensure that a given bug was fixed.06:26
mptwow, this branch is determined not to land06:26
Lathiatheh06:26
niemeyerddaa: Where's jobsFromDB (importd/util.py) being used?06:27
SteveAsalgado: hi, i'm back06:27
ddaaniemeyer: botmaster/master.cfg06:27
mptthis time, the sftp server dropped my connection06:27
SteveAKinnison: i'm back06:27
=== TinMan [n=Lotus@163.153.189.173] has joined #launchpad
ddaaniemeyer: that's where ends meet...06:28
niemeyerddaa: Nice06:28
niemeyerddaa: What branch is it in?06:28
ddaabotmaster :)06:28
ddaayou know, the one you need to run buildbot06:28
KinnisonSteveA: I'm about 25% through your review06:28
kiko-fudSteveA, ping?06:29
SteveAKinnison: great06:29
SteveAhi kiko-fud 06:29
SteveAkiko-fud: i have some stuff to do with security and some python libraries i need to talk about with pitti06:29
ddaaniemeyer: david.allouche@canonical.com--2004/configs--buildbot--1 is the test botmaster06:29
ddaaniemeyer: roomba and hoover each have a different one06:29
niemeyerddaa: Ahh, that's meaningful. :-)06:30
kikoSteveA, I have an issue that salgado raised in zope page templates that I'd like to discuss with you.06:30
=== bradb & # lunch
ddaaniemeyer: are you being ironic in a deadpan sort of way?06:30
SteveAkiko: sure, 15 mins?06:30
kikoSteveA, in 15m? sure.06:30
niemeyerddaa: Not at all06:31
salgadoSteveA, that's what I wanted to talk with you06:31
niemeyerddaa: I was getting in chinstrap to find the buildbot branch.. but stopped when you've sent the whole string.06:31
ddaaniemeyer: anyway,buildbot is not on chinstrap06:32
ddaait's on macquarie (and a number of single-purpose systems)06:32
niemeyerddaa: The branch is not on chinstrap?06:32
ddaawell, yes it's on chinstrap, but "botmaster" would not have helped you find it.06:32
ddaaAs it's not even in the branch name.06:32
niemeyerddaa: You're evil..06:33
niemeyer<niemeyer> ddaa: What branch is it in?06:33
niemeyer<ddaa> botmaster :)06:33
ddaait's all lifeless' fault06:33
niemeyer:-)06:33
ddaaand Tom Lord's too, for forbidding branch renaming06:33
niemeyerddaa: I've noticed that archive_mirror_dir is not in Job's definition, and is introduced later by dynamically creating the attribute. Is that a minor glitch, or is it by design?06:35
ddaawell... I'd say it's by overall lack of design06:36
ddaahere's another task for you :)06:36
ddaamake importd pychecker clean06:36
ddaano, just kidding06:36
kikobroken by design06:37
niemeyerddaa: Is there anything about "configs" in the configs--buildbot branch?06:40
=== eruin [n=eruin@unaffiliated/eruin] has joined #launchpad
ddaanot configs in the Arch sense06:41
niemeyerddaa: I thought I'd find something to "baz build-config"... yeah, what you say06:41
kikowhat you say06:42
eruinKind of related to this channel: gpgv: keyblock resource `/home/eruin/.gnupg/trustedkeys.gpg': general error06:43
eruinhas anyone who signed the code of conduct mentioned/come across this?06:43
kikohmmm. not me06:43
eruinthe error makes apt-get update puke among other things... Just had another rosetta user on the ubuntu-no list complain about it06:44
eruinobviously it's our fault but nobody seems to know what it means ;-)06:44
SteveAniemeyer: do you have anything to do with docutils?06:44
kikoeruin, we're corrupting the users' trustedsigs?06:44
niemeyerddaa: master.cfg is a python file.. you're evil :-)06:45
niemeyerSteveA: Nope.. I've started creating a man page target for it, but have not even finished it.06:45
ddaaniemeyer: it's not me, it's the guy who wrote buildbot.06:45
eruinkiko, well, I don't know... but I do know that the problem arises after using ubuntus keyserver06:45
ddaaYou can complain in #twisted if you wish :)06:46
niemeyerddaa: Me? Are you kidding.. they'll kill me with deferreds..06:47
kikoeruin, does signing the CoC involve using the end-user using the ubuntu keyserver?06:48
eruinafaik, unless I completely misunderstood the process of doing so06:48
eruin(which btw could use a bit of clarifying documentation for users unfamiliar with gpg like myself)06:49
Nafalloehm, it doesn't. you just run what it says on a commandline as your user.06:51
kikothat's what I thought too06:51
Nafalloi.e. gpg --clearsign on the downloaded .txt06:52
niemeyerddaa: Ok, so basically we have to add a line with imported_branches_url to config.py in botmaster, and pass it to the job, which will then be used by Taxi. How do you want the change, considering that both branches will have to be changed at once to avoid braking code?06:52
SteveAkiko: do we have a meeting in 10 mins?06:52
niemeyerbreaking even06:52
ddaaniemeyer: don't worry about that, botmaster is not covered by pqm06:53
ddaaniemeyer: it's one of the reasons why we need preprod testing.06:53
niemeyerddaa: Ack06:54
KeybukSteveA: http://www.netsplit.com/blog/work/canonical/parallel_peer_programming.html06:54
SteveAKeybuk: cool, thanks06:54
eruinNafallo, so --send-key without specifying a server would be enough?06:55
kikoSteveA, now even :)06:55
=== eruin swears.
Nafalloeruin: ehm, what has --send-key to do with the signing?06:56
eruinNafallo, I meant the key upload process06:56
SteveAkiko: i meant the boring meeting ;-)06:56
Nafalloeruin: IIRC --send-key should be enough since the default should already be subkeys.pgp.net :-)06:57
eruinNafallo, I know how to sign things, but the process of importing my key to LP had my head in a wild spin06:57
BjornTbradb: just so you know, advanced search is broken, and i'm fixing it now (don't want us to have conflicts if you decided to fix it as well)06:57
kikoSteveA, ah, that's true :-/06:57
SteveAbut i see no silbs06:57
kikome neither06:57
kikoSteveA, so salgado found an issue in our page templates06:58
kikoI'd like to hear your opinion on this06:58
SteveA"it is crackful"06:58
kikosalgado?06:58
SteveAwant another opinion once i've heard the issue?06:58
kikookay06:58
kikoyes06:58
Nafalloeruin: so first send the key to subkeys and the --fingerprint of the key in the box at launchpad :-)06:58
kikowell, the problem is that every time you access an iteratable in a page template, SteveA, zope appears to do a list() on it.06:59
SteveAaha06:59
kikoSteveA, this leads SQLObject to issuing a count() query06:59
SteveAright, it will do06:59
SteveAright, it will do06:59
eruinNafallo, funny how that can possibly be a daunting process, isn't it? :-)06:59
kikowhich is potentially a performance buster, isn't it SteveA?06:59
kikoin particular for places that do limit06:59
salgadoI think the problem is in sqlobject06:59
SteveAyes06:59
SteveAwell...06:59
kikosalgado?07:00
salgadoif you do list(Foo.select()) you get an extra count(*) for free07:00
Nafalloeruin: :-)07:00
salgadobut if you do iter(Foo.select()) you won't07:00
SteveAso, page templates *ought* to do a list() on it only when you access those features of page template iteration that need it07:00
kikoSteveA, such as count:len?07:00
SteveAno07:00
SteveAthat's not page template iteration07:00
kikomagical things!07:00
SteveAdo you have a test case that demonstrates this?07:00
=== beyond [n=beyond@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
SteveAi know that list(Foo.select()) does a __len__07:01
SteveAwe can make sqlobject not do that, but we should never do list(...) anyway07:01
SteveAwe should do shortlist()07:01
SteveAand we can make shortlist() not do the __len__ thing07:01
=== Nafallo laughs at Keybuk's blog :-)
SteveAand this is all because of an "optimisation" in python!07:01
SteveA(that used to swallow all exceptions...)07:01
kikoheh07:02
eruin71.2% untranslated... bah. coders produce too many strings I say!07:02
salgadoSteveA, but the page templates does the list() for us07:03
Nafalloeruin: :-)07:03
SteveAsalgado: can you get me a test case?  i'm sure i can make a fix for it...07:04
kikothanks SteveA 07:04
kikoyou rock and roll07:04
Nafalloeruin: I think I saw a program with each person in the credits name translatable ;-)07:04
eruinthe ubuntu faq? :P07:06
SteveAkiko, salgado: is this causing an immediate problem07:07
SteveA?07:07
Nafalloeruin: nope. I forgot what, but it was atleast 100 strings :-P07:08
kikowe think it's causing timeouts, SteveA, because exceptions are being triggered when running it07:09
SteveAokay07:09
eruinNafallo, that's crazy07:09
SteveAthat's a decent enough reason07:09
eruin*sniff* I'm only listed in the next rhythmbox credits07:09
eruinmaybe I'll have to track down this app of yours :)07:10
Nafalloeruin: hehe :-)07:11
kikoSteveA, did you end up doing the fixes you said you were going to do related to broken traversal in the weekly report?07:11
eruinerr, could this be a bug?    msgid: There are no folders in folder '%s'. my msgstr; Mappen '%s' inneholder ingen andre mapper.  -->  Error in Translation:  number of format specifications in 'msgid' and 'msgstr' does not match07:11
SteveAkiko: they should be in production now07:12
SteveAif stu managed to do the cherrypick07:12
Nafalloeruin: shouldn't that be "%s" in norweigan as in swedish? :-)07:12
salgadoSteveA, sorry. was on the phone. I'll try and write a test for it07:13
SteveAthanks salgado 07:13
ddaaniemeyer: diff_adds and diff_deletes should be allowed to be NUL07:13
bradbBjornT: i discussed the advanced search breakage a few hours ago with mpt, and told him how to fix it (so that he doesn't get yet more conflicts)07:13
eruinNafallo, that's indeed true07:13
Nafallo(though that's hardly the problem) ;-)07:13
SteveAsalgado: even if the test says "put print statements here and here in sqlobject" that'll be fine07:13
niemeyerddaa: Not sure if it makes sense.. why are they there at all?07:13
SteveAsalgado: i'll work out how to test it properly once i have the solution.  but i just want this so that i have something concrete to work with.07:14
mptBjornT: I have a fix for advanced search in PQM07:14
eruinNafallo, no, and this error probably explains why gphoto2 has been left completely untranslated :-)07:14
ddaaniemeyer: the reason is we want to be able to display revision and branch statistics07:14
mptBjornT: assuming PQM isn't dropping things on the floor a.t.m.07:14
ddaaniemeyer: and compute all sorts of fancy things out of them, like branch activity, etc07:14
niemeyerddaa: Yes, but as we discussed yesterday, they may not be adequate for a bzr branch, for instance.07:14
salgadoSteveA, great. that'll make my life a lot easier07:15
Nafalloeruin: you could always file a bug against rosetta and add the complete URL (offset and stuff) :-)07:15
ddaaniemeyer: the model is wrong, but i was telling you "why they are here"07:15
eruinNafallo, half a step ahead of you ;-)07:15
Nafallo:-)07:15
ddaaniemeyer: NULL is the adequate value for "unknown".07:15
BjornTbradb, mpt: ok07:15
mptlifeless: How's PQM?07:16
niemeyerddaa: I understand, but I was wondering if instead of changing the schema to allowing NULL, it wouldn't be better to change the schema to drop them.07:16
ddaaniemeyer: fixing the DB schema involves going through sabdfl at least07:16
BjornTmpt: is it bug-listings-love you're trying to merge?07:16
ddaaniemeyer: I'd be happy to have them deleted now.07:17
sabdflNULL is like None in Python07:17
kikoexcept worse07:17
kiko:)07:17
=== kiko nudges sabdfl towards #cm
ddaasabdfl: the issue is that diff_adds and diff_deletes are attributes of Revision, but that does not match the Bazaar2 model.07:18
=== eirikn [n=eirikn@hagbart.nvg.ntnu.no] has left #launchpad []
mptBjornT: yes07:18
ddaasabdfl: typically, if you do a big merge from my branch, and I pull you, then the merge revision will have many changes in your history, and may have none in mine.07:19
sabdflddaa: ok, what's a better way in bzr?07:19
mptBjornT: bradb also broke mass editing, so if you want to fix that you could branch off bug-listings-love07:19
mptbecause he kinda broke it in a way that needed doing07:20
ddaasabdfl: not sure, I asked niemeyer to create a spec. My first guess would be yet-another-table, maybe RevisionDelta, that's uniquely associated to two distinct revisions.07:20
=== zygis [n=zygis@lan-84-240-58-9.vln.skynet.lt] has joined #launchpad
ddaaniemeyer: what I said is that the schema on our branch should allow you to set them to NULL already.07:21
ddaaat least, what I meant.07:21
niemeyerddaa: Ok, will set them to NULL.07:23
BjornTmpt: cool, that branch will cause conflicts for me anyway. i already fixed mass editing in my branch.07:23
mptBjornT: mass editing should be a separate <form></form> from the searching07:23
BjornTsalgado: i've resolved the conflicts, but mpt's landing will cause more conflicts, i'll ping you when i've fixed those as well.07:24
niemeyerddaa: I thought they were constrained to not null, but they just have no default.07:25
ddaanice to hear there's not a bug somewhere else preventing you from setting them to NULL07:26
=== mpt prods PQM with a stick
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  add proper sample data for hct (patch-2687: scott@canonical.com)07:29
ddaampt: you gotta teach me this trick07:30
niemeyerddaa: OTOH, the name mangling is needed.07:30
ddaaATM, yes07:31
niemeyerddaa: OTOH, we break the branch name validation..07:31
ddaayes07:31
ddaajust don't use branch names to guess the arch name07:31
niemeyerddaa: I'm already doing that, but you mentioned yesterday that name mangling was wrong..07:31
ddaaMh... sorry07:32
niemeyernp07:32
ddaaI guess I got carried away.07:32
niemeyerddaa: Totally expected, given the extensive talks we had..07:32
eruinhmm. could contributing translators be listed by their amount of submitted translations for each package?07:33
eruinhmm, nah. that'd probably just lead to elitist translators ala forum post numbers :p07:34
bradbis there a pqm queue to be viewed anywhere now?07:35
=== bradb is wondering what happened to his merge request from earlier
KinnisonSteveA: ping?07:37
SteveAKinnison: pong07:37
KinnisonSteveA: you mention that in the argument lists i had which were vile and horrible I should use local variables07:37
SteveAyes07:37
Kinnisoncould I instead use a dict which I then do **blah to unpack into the arg list07:37
Kinnisonor do you hate that?07:37
SteveAum07:38
SteveAyou could try it and see how it looks07:38
KinnisonI just dislike the blah=foo\nthing=bar\n only to later have to do blah=blah,\nthing=thing\n in the arg list07:38
KinnisonI'll have a play07:38
kiko**blah is evil07:39
SteveA  callme(**locals()) ;-)07:39
SteveAjust don't actually do it07:40
KinnisonI think the dict constructor is as much of a mess anyway07:40
=== Kinnison sighs
=== Kinnison does it the long-handed way
mptoh, lifeless left 1.5 hours ago07:41
mptI guess PQM's going to be down the rest of the day07:41
kikois pqm really down?07:41
bradbmpt: why do you think it's down?07:41
bradba patch just landed07:41
SteveAhmm07:41
SteveAits web gateway is down07:41
bradbyeah07:42
=== SteveA mails rt
=== Simira [n=rpGirl@214.84-48-74.nextgentel.com] has joined #launchpad
Simiraany known troubles with launchpad/gpg?07:43
kikoSimira, it doesn't accept keys without encryption subkeys.07:43
kikosalgado, I think these bugs are already dupes of bugs matsubara is working on.07:44
Simiraso that might result in something like this: Hit http://no.archive.ubuntu.com hoary-updates/restricted Sources07:44
SimiraFetched 2B in 1s (1B/s)07:44
SimiraReading package lists... Done07:44
SimiraWaterSevenUb: GPG error: http://no.archive.ubuntu.com hoary-updates Release: Unknown07:44
Simiraerror executing gpgv 07:44
Simira?07:44
bradbKinnison will be interested in that, I think07:45
kikoSimira, that's not using launchpad to the limit of my knowledge07:45
salgadokiko, these ones are because we don't have any constraing checking before sending stuff to the db. he said he's working on something else07:46
mptbradb: your advanced search breakage isn't in production, is it?07:46
mptso the breakage I'm seeing is something else07:46
KinnisonSimira: launchpad is not making the archives yet07:47
Simirabradb: talking to me?07:47
Simiraah07:47
Simiraok07:47
kikosalgado, uhm, are you sure?07:47
bradbmpt: it's only slept one night in rf, so no, it shouldn't be in prod.07:47
salgadokiko, I'm sure about the bugs I reported, because I'm seeing the tracebacks. not sure about what is he working on07:48
kikosalgado, well, okay, but gneuman already has his hands full and matsubara is working on exactly that -- product series07:48
salgadookay. I though about gneuman because this is just porting one of the existing *NameField to these fields07:49
ddaakiko: I want to do something in a doctest that only the importd user has the permissions to do07:50
ddaakiko: what's the trick?07:50
kikoddaa, hmmm, I think there's a LaunchpadHackingFAQ for that, otherwise SteveA knows07:51
ddaakiko: sorry, you told me to ask any question I had :)07:51
SteveAKinnison: recently added a test that did things as a particular db user07:51
ddaaRTFAQ is a valid answer07:51
kikoddaa, you can always ask, I'm happy to direct you to the FAQ07:52
kikoI am unsure it contains such a test but I pray it does07:52
SteveAyou need to look in test_system_documentation.py07:52
SteveAin launchpad/ftests/07:52
=== ddaa does
SteveAthere is one test in there in HEAD that uses a particular dbuser07:52
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
SteveAit has a particular functional setup and teardown that it uses07:52
SteveAand registers in the 'special' dict07:53
ddaaMh... I guess that means I cannot use different users in different parts of the same doctest07:55
SteveAfor dbusers, not without some effort07:55
=== mpt marvels at the dimensions of https://launchpad.net/products/malone/+bug/3372
UbugtuMalone bug #3372: Oops from advanced search Fix req. for: malone (upstream), Severity: Normal, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/337207:57
bradbIt looks ok in a movie theatre07:58
kikompt, if you told me how to wrap the URL I could try07:59
kikoor abbreviate it07:59
kikomy original solution, linking to the hostname, you didn't like07:59
mptThat's because it's not just about URLs, kiko07:59
mptI keep telling you that07:59
SteveAkiko: make the font of the url smaller for every extra character in it07:59
mptasdfwqeriuaisefjsadlfhas8dfaskfuasoidfuakfjasleifjalsidfjarutyaslfdjaeoutyaslfiuawfuelifasd9f8akefjejsfhsafqwhgads would cause the same problem07:59
kikoURLs are the main culprit07:59
SteveAmpt: not if it was in a 1pt font!08:00
kikompt, yeah, except that's not a practical problem08:00
mptThen you'd just have to fix the same bug twice, kiko08:00
kikono08:00
kikoI'd mitigate the latter problem for a year08:00
SteveAand then, people would learn to write shorter words08:00
kikowhich is the essence of softare development, in case you haven't realized.08:00
SteveAbecause SHORTER words would be BIGGER08:00
mptSteveA: usually it's malicious, not accidental08:00
kikoso stop waving your hands in the air08:00
SteveAwe can apply this to the whole of launchpad08:00
mptSomeday soon someone's going to put a word like that into bug 108:00
kikoand tell me how to reduce URLs, mpt 08:01
UbugtuMalone bug #1: Microsoft has a majority market share Fix req. for: Ubuntu, Severity: Critical, Assigned to: Mark Shuttleworth, Status: Accepted http://launchpad.net/malone/bugs/108:01
SteveAMPT would be bigger than STEVEA08:01
kikonot IRL08:01
SteveAbut on launchpad08:01
SteveAwhere it counts08:01
kikoSteveA, since mpt doesn't feel like being practically helpful, perhaps you have a suggestion?08:01
bradbwhy not just shorten them?08:02
SteveAi was kinda serious about trying the 'make the font size of urls smaller the longer they get'08:02
bradb"asdlfjasdfasdfasdfsad..."08:02
mpthttp://en.wikipedia.org/wiki/Page_widening#Page_widening_by_trolls08:02
kikoif nobody has a suggestion I'll probably use something that combines the hostname with an ellipsized tail08:02
kikompt, we're not wikipedia, mpt.08:02
mptkiko: Break words at n characters08:02
mptwhere n ~= 4008:02
mptThat article's not about Wikipedia, kiko.08:02
=== Simira [n=rpGirl@214.84-48-74.nextgentel.com] has left #launchpad ["Leaving"]
kikothat I think is utter crack08:02
mptI think going off on tangents about URLs is utter crack.08:03
kikoyou really don't concede that URLs are special?08:03
SteveAkiko: simplest thing that can possibly work08:04
SteveAbreak at 40 chars08:04
SteveAand then see what happens in practice08:04
mptkiko, where is the hostname in lib/canonical/launchpad/pagetests/distro-bugprivacy/20-private-distro-bug-not-visible-to-anonymous.txt ?08:04
SteveAwe can refine it later to break at 40chrs or /08:05
kikoor the method for that matter08:05
SteveAfor example08:05
mptThe only thing this has to do with URLs is, calculate where you're going to break before linkifying, but linkify before breaking.08:05
=== kiko challenges mpt to write a fix
mptI'm an interface designer, Jim08:06
=== SteveA wonders about a javascript-only fix
salgadokiko, do you know how to run launchpad in db-debugging mode, so it prints all queries?08:07
kikosalgado, no -- where does it print them? to stdout?08:07
SteveAsalgado: hack it... add a print statement in database/adapter.py08:08
BjornTsalgado: https://wiki.launchpad.canonical.com/DatabaseSetup08:08
bradbsalgado: why not just uncomment this line: #log_statement = true in your postgresql.conf?08:08
KinnisonSteveA: do securityproxies magically override the instance information?08:09
SteveAKinnison: what is 'the instance information' ?08:09
kikoyes, that's a good question08:09
Kinnisonif I do isinstance(bar, Foo) on a securityproxied Foo, will it return True ?08:09
kikooh08:09
SteveAno08:09
kikoyou mean type08:09
SteveAKinnison: generally, don't use isinstance08:09
Kinnisonis type(proxied_foo) == Foo ?08:10
SteveAKinnison: because it means you have a bad design08:10
SteveAnever use type()08:10
KinnisonSteveA: tell this to dbschema then08:10
SteveAif you're working with content objects08:10
Kinnisonwhich does blah.__class__ == Item08:10
Kinnisonwhich fails with proxied items08:10
SteveAuse IFoo.providedBy(...)08:10
Kinnisonit seems08:10
SteveAblak.__class__ == Item should work08:10
SteveAwith proxied items08:10
SteveAthat's why it is like that08:10
Kinnisonhmm08:10
KinnisonTypeError: Not a DBSchema Item: <Item MEDIUM (2) from <class 'canonical.lp.dbschema.SourcePackageUrgency'>>08:10
SteveAthere is a special zope_isinstance you can use08:11
SteveAthat takes account of proxies08:11
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  use callbacks and errbacks for pickling and error passing (patch-2688: scott@canonical.com)08:11
SteveAeg in ./launchpad/mailnotification.py08:11
Kinnisonright08:12
SteveAbut, it is very very odd if x.__class__ == Item fails to work properly08:12
=== Kinnison tries with zope_isinstance
Kinnisonnope, that didn't fix it08:13
=== Kinnison is confused
SteveAthen, i'll need to see it08:15
SteveAi need a branch id from you08:15
Kinnisonone sec08:15
KinnisonI'll commit what I've got and mirror08:15
salgadoSteveA, so, check if this is a reasonable starting point: apply this https://chinstrap.ubuntu.com/~dsilvers/paste/filebnZOIq.html and then access http://localhost:8086/+portlet-foaf08:15
=== Nafallo is now known as Nafallo_away
KinnisonSteveA: You'll find it hard to reproduce the error though08:16
KinnisonSteveA: since I'm getting it when running across my half-gig test set08:16
SteveAKinnison: can you pastebin me a full traceback?08:17
Kinnisonyep08:17
Kinnisonone sec08:17
SteveAsalgado: can you mail me what to do?  i cannot look at it today.08:17
bradbI think the issue is that you can't assign a security-wrapped dbschema item to a dbschema attribute08:17
Kinnisonhttps://chinstrap.ubuntu.com/~dsilvers/paste/file10kK6N.html08:17
Kinnisonbradb: I fixed one of those bugs earlier in the branch08:18
salgadoSteveA, sure08:18
bradbKinnison: this exception is being raised on a line doing an assignment though, right?08:18
KinnisonSteveA: daniel.silverstone@canonical.com--desktop/launchpad--upload-and-queue--2--patch-2108:18
Kinnisonbradb: well, on a construction08:19
bradbright08:19
mptwow, kiko, that local mirror sure is faster08:20
=== mpt likey
KinnisonSteveA: any thoughts?08:20
kikompt, not all my suggestions are crack08:20
bradbKinnison: My guess is that if you unwrapped the security proxy from that object with zope.security.proxy.removeSecurityProxy, your code would work08:20
kikoit's just that most are08:20
bradbKinnison: OTOH, don't leave that in prod code, but for testing purposes to find the problem, I bet that would be it.08:21
mptkiko: Yes, I'm not at all biased by the person making them :-)08:21
kikoKinnison, do you know what08:21
kiko    if importer_handler.preimport_sourcecheck(source_data):08:21
kikoKinnison, intends to do?08:21
Kinnisonkiko: without the surrounding code, no08:21
Kinnisonwhat does the docstring on preimport_sourcecheck say?08:21
kikoKinnison, it basically checks to see if the SPR already exists08:23
kikoit seems to only exist to avoid processing the source package pool files 08:24
kikoas an optimization08:24
kikono clue why08:24
Kinnisonprobably because extracting source etc takes ages08:24
Kinnisonso if we can skip 'em, it's worthwhile08:24
kikook08:25
niemeyerddaa: I've just pushed to chinstrap the changes implementing what was discussed.08:27
SteveAbradb: it was a different issue.  enumcol was being set a tuple as a value08:29
=== auth [i=auth@fiji.grd.sgsnet.se] has joined #launchpad
SteveAand the error reporting in dbschema had a bug that made it not show the tuple-ness of it08:30
bradbah08:31
bradbThe error message is God. Unless the error message is incorrect. :/08:32
bradbsounds like that would have been tricky to find though.08:32
Keybukmpt: sorry, lifeless took pqm down all afternoon while I was busy getting things ready to land08:34
Keybukpqm will be a while :p08:34
bradbpqm is like U.S. customs, without the fingerprinting (yet.)08:36
sivangcan someone please remove the "don't use" spec I added against distros/ubuntu ? I used that for adding a bug report and it can go now08:36
mptdarnit08:38
Keybukactually, I think it just has one more08:40
Keybukthere were only three08:40
SteveAsalgado: the pagetemplates / sql thing looks fine.  i'll look tomorrow08:43
salgadoSteveA, great. thanks08:43
bradbSteveA: When are we planning on upgrading Zope so that we can get rolling with decent mechanized form testing?08:44
bradb(If, indeed, a new Zope brings that additional functionality.)08:45
SteveAbradb: after urgent stuff here, it is next on my hitlist08:45
bradbok08:45
mptKeybuk: one more what?08:45
SteveAbradb: but helping gina land and dapper open are higher priorities just this week08:45
bradbsure, i understand08:46
Keybukmpt: merge08:47
mptthanks Keybuk08:50
bradbkiko, bjornt (not here): !08:59
bradbI found a couple of Gary Fischer Excaliburs08:59
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  fix bugs in Mark's late-night implementation of DevelopmentManifest (patch-2689: scott@canonical.com)08:59
bradba 17.5 inch and a 19-20 inch08:59
bradbthey'll even put pedals on08:59
kikowow09:07
=== Keybuk goes to wash his brain out with soap
=== kiko checks it out
kikobradb, a question: are there easily-accessible trails from where we will be staying in montreal?09:08
bradbkiko: urban jungle, maybe ;)09:08
kikobradb, maybe a road bike will be more appropriate!09:09
bradbother than that, i don't know of any dirt around that area09:09
kikoI wonder if it's the Xcalibre or Excalibur09:09
bradbno idea. spelled it like i heard it.09:09
=== sivang bets on Xcalibre
kikothe excalibur is an 80s grame09:10
kikoframe09:10
kikothe first that gary fisher made professionally, IIRC09:10
sivangsabdfl: we should have a link on the spec trackers start page, to your wiki page with instructions probably, what do you think?09:11
SteveAKinnison: replied to your review comments. you're approved!09:15
KinnisonSteveA: thanks dude09:15
Kinnison(yes, I've not eaten. I got sent away again09:15
Kinnison"the chilli isn't ready, sod off")09:15
Kinnisongotta love the mother-out-law09:15
SteveAcprov: i'm going to go home.  i'll do your buildd-scoring review tomorrow.09:17
cprovSteveA: no probs09:17
SteveAi don't understand the 'overhead' comment about selectoneby09:18
SteveAcprov: and in the table of times, use constants for HOUR and MINUTE09:19
SteveAso you can say 5 * MINUTE and HOUR etc.09:19
cprovSteveA: it's because the result of that query is already unique by the table constraints09:20
SteveAlet's have these in interfaces/launchpad.py, class TimeConstants: SECOND = 1; MINUTE = 60 * SECOND ; HOUR = 60 * MINUTE09:20
cprovSteveA: ok, will repair this, but don't forget to mention this in your review ... 09:20
SteveAKinnison: then you can use that too09:20
=== cprov nods
kikocprov, SteveA: should we be using datetime instead?09:22
SteveAnah09:22
SteveAthere are various times we want to specify a number of seconds09:22
SteveAi don't think there's a point abstracting that away from a number of seconds09:23
kikook09:23
SteveAeven in timedeltas09:23
SteveAyou still have to specify seconds09:23
SteveAdays and seconds09:23
kikoyeah, but there it's like seconds=1309:23
SteveAseconds=361309:23
SteveAseconds=HOUR+13*SECOND09:23
SteveAit's just more self-documenting09:24
kikohours=1, seconds=13?09:24
kikosomehow I don't find that less self-documenting :)09:24
SteveAyou can't do that with a timedelta, can you?09:25
ddaaniemeyer: you mean RevisionDelta?09:26
kiko>>> timedelta(seconds=13, days=1)09:26
kikodatetime.timedelta(1, 13)09:26
kikoSteveA, why can't you?09:26
kiko>>> timedelta(seconds=13, hours=1)09:26
SteveA>>> timedelta(hours=2)09:26
kikodatetime.timedelta(0, 3613)09:26
SteveAdatetime.timedelta(0, 7200)09:26
SteveA09:26
kikoI mean09:26
SteveAokay09:26
SteveAso you can09:26
niemeyerddaa: No, I mean the new taxi+tests..09:26
kikothey put together a module that was actually useful09:26
kikonot just lint to clutter up the standard library09:27
=== kiko winks at SteveA
SteveAanyway, there are still things in the code where you just don't need timedelta.  it is just dealing with seconds at a lower level.09:27
SteveAmaybe using datetime would help09:27
SteveAbut i'm sceptical ;-)09:27
kikoit would probably avoid lots of errors, actually :)09:27
SteveAmaybe so09:27
ddaaniemeyer: thanks, I'd like to focus on catching up on the launchpad stuff tomorrow and review your branch monday.09:27
ddaaHu09:28
ddaaTwo more days in this week.09:28
=== SteveA --> home
SteveAmail me stuff to look at in the morning, whoever you are09:28
niemeyerddaa: Sure.. I'm trying to understand how to put a builder to work now.09:28
=== auth [i=auth@fiji.grd.sgsnet.se] has joined #launchpad
kikoaha!09:29
kikorock!09:29
kikomy tree is now FUCKED09:29
ddaaniemeyer: btw, useful diagnostic tools is "make log-master" and "make log-slave" to tail -f the log files of the botmaster and slave.09:29
kikoI can't merge without getting 11 conflicts09:29
kikothe fun part is that the last commit was a merge from RF09:29
ddaaniemeyer: ask me if you get blocked.09:30
niemeyerddaa: Define "blocked".. :-) I don't know yet how to make the buildbot work, so I'm kind of blocked alraedy.09:31
ddaablocked as in no clue what to do next09:31
ddaayour starting point should be "make start-master" and "make log-master" in another shell09:32
ddaathen "make start-slave" and "make log-slave"09:32
=== TinMan [n=Lotus@cpe-66-65-244-241.nycap.res.rr.com] has joined #launchpad
ddaaand fix stuff until it works09:33
ddaayou'll probably need to tweak the config.py and the makefile to match your system09:33
ddaas/probably/definitely/09:33
niemeyerddaa: I have no clue what to do next.. I'm just looking here and there to try to find my way.09:33
ddaaRead the config.py, read the makefile, tweak to taste, start a master, monitor the master log file, start a slave monitor the slave log file09:34
ddaapoint a browser at localhost:8000/status09:35
niemeyerddaa: I already have the master running, if "a master running" is equivalent to "make start" working.09:35
cprovkiko: will test the datetime usage later and see if it helps09:36
kikookay, cool cprov 09:36
niemeyerddaa: I'm looking at colorful boxes.. and clicking all around.09:36
=== Nafallo_away is now known as Nafallo
ddaacreate a productseries with the xcursor details (you can find them in launchpad.net), reload master (there's a "Reload" link)09:36
ddaamh... maybe need to "enable for import" or something in the $series/+sourceadmin09:37
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  remove the shrink-library script, which is now replaced by library-cut-tails.py (patch-2690: brad.bollenbach@canonical.com)09:37
ddaaonce you get the productseries visible in the status page, click on the job name (product-productseries)09:38
ddaapress "force build" button09:38
ddaago to waterfall page09:38
ddaareload from time to time09:38
ddaaclick on the "log" link in the runJob box09:38
ddaaniemeyer: that should keep you going until I come back09:38
niemeyerddaa: I've tried something like this with the already available gnome-evaluation-main..09:39
ddaaprobably not the best choice for a test import :)09:39
niemeyerddaa: It breaks on arch..09:39
niemeyerOr, in bzr..09:39
ddaaprobably missing arch details, fix that in the +sourceadmin page for the series09:39
ddaabut better try with a52dec09:40
ddaaevolution is a fat bitch09:40
ddaaI have to leave now.09:40
niemeyerddaa: Ok, see ya09:40
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has left #launchpad []
eruincould someone deprecate the "no" set in rosetta?10:00
eruinor is there some specific reason to keep it around?10:00
eruinno is now divided into the nb and nn sets10:01
kikoeruin, I think it's been deprecated, but still appears when translations existed for it already10:02
eruinyeah, I've seen some translators (including myself early on) concentrate on that10:03
eruinwhich is pretty much a waste of effort ;>10:03
=== SteveA_ [n=steve@195.182.78.95] has joined #launchpad
kikoKinnison, why don't we store uploaders in gina?10:42
kikoand where should I store then?10:42
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Display the recipient's email address in the list of shipit requests. (patch-2691: guilherme.salgado@canonical.com)10:48
bradbkiko: check this out: http://69.70.209.33:8086/products/firefox/+bugs (smarter navigation. disclaimer: i've only prototyped it for products. it *will* do unexpected things distro-side at the moment. :)11:22
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  remove the shrink-library script, which is now replaced by library-cut-tails.py (patch-2692)11:23
bradbi can add counts to that list too, but IBugTarget doesn't yet have an open_bugs method, so I have to fix that first11:24
bradbThe idea is though that you build your own navigation just by using Malone.11:25
=== kiko looks
kikowell11:25
kikofirefox shouldn't show up, should it?11:26
kikoI mean, the current context11:26
kikoor should it, hmm11:26
bradbi dunno. easy to remove one way or the other.11:26
bradbit does say "recently visited" though, which is accurate, IMHO11:26
kikosweet!11:26
kikowow that is awesomely cool as pie11:27
bradb:)11:27
kikoadd it to all templates!11:27
kiko:011:27
kikodude11:27
kikothat is perhaps the first really "neat" convenience feature I've seen implemented in malone11:27
bradbi got sick of how hard it is to move between contexts, so i built a teleportlet11:28
kikoI implemented a few but they were crap near this one11:28
kikosweet!11:28
kikobradb, where do you store that information?11:28
bradbglad you like. I've only spent about an hour and a half on it so far, so i'll get it working distro-side tomorrow.11:28
bradbkiko: the session11:28
kikobradb, problem is session is nuked quite often isn't it?11:29
bradbyeah, it's less than ideal but 1. it does say "Recently visited:" which buys some comprehension, I hope, 2. there's still always the text box and 3. if we can move this into the db, great, please let me do it11:30
bradbbut i'd have to ask SteveA about that11:30
kikowe'd do well to stop throwing away session information11:31
kikoI definitely support the feature and think I'd love it11:32
bradbindeed. we can do all kinds of cool things with it11:32
kikothis is the sort of thing portlets exist for11:32
kikonot hanging crap on pages11:32
bradbexactly11:32
=== kiko looks around to see if anybody heard him
bradbI should note that it's possible that it's doing something in the db already that I'm not aware of. Not sure. Either way, I'd have to sort out the finer points with SteveA.11:34
kikohow?11:36
bradbdunno! I'm still assimilating the session zen. :P11:38
=== eruin [n=eruin@unaffiliated/eruin] has joined #launchpad
=== bradb heads off, later dudes
=== bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has left #launchpad []
mdzhow do I create a new spec in launchpad?11:59
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
zygacarlos: ping12:00
zygaanyone :-)12:00
zygasomeone wants to translate stuff into his language 12:00
zygabut that language is very rare and thus not present in rosetta12:00
zygaany hints/ideas?12:00
carloszyga, we fixed that problem recently. It will be on production next week12:01
sivangzyga: you need carlos :)12:01
zygacarlos: ah :)12:01
zygacarlos: you did read that email? :)12:02
carloszyga, if we don't have a team, anyone can translate12:02
carloszyga, which email?12:02
zygaI've just got my server up and running and had no network since morning12:02
zygacarlos: http://lists.ubuntu.com/archives/ubuntu-translators/2005-October/000316.html12:03
zygacarlos: do you manage the mailing lists?12:03
zygahttp://lists.ubuntu.com/mailman/listinfo/12:03
zygathere is a typo in ubuntu-pl12:03
moyogohey i'm the guy who requested teams for congolese languages (lingala, kikongo, swahili and tshiluba)12:03
carloszyga, it was done yesterday12:03
zygaor rather -- iso-8859-2 insead of utf-812:04
moyogocould it be possible to have 1 team instead of 4 ?12:04
zyga(in the list description)12:04
carloszyga, no, I'm not the mailman admin12:04

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