/srv/irclogs.ubuntu.com/2006/09/13/#launchpad.txt

kikohmmm12:14
malcckiko: The traceback doesn't say, but I'm sure I can find where it leads to drq.addSource, if that's useful12:14
kiko2029.12:14
kiko        queue_root = self.distrorelease.createQueueEntry(self.policy.pocket,12:14
kiko            self.changes_basename, self.changes["filecontents"] )12:14
kiko        # Next, if we're sourceful, add a source to the queue12:14
kiko        if self.sourceful:12:14
kiko            queue_root.addSource(self.policy.sourcepackagerelease)12:14
malcckiko: Yes, that looks like the one12:14
malcckiko: I'm sure nascentupload and the zcml are right, the question is, why is zopeless layer working to give me permissive security on my machine, but not on pqm?12:15
kikomalcc, what's the test?12:15
=== lbm [n=lbm@82.192.173.92] has joined #launchpad
malcckiko: https://devpad.canonical.com/~andrew/paste/filei63hW3.html12:16
kikobut malcc...12:17
kikodo you know which test is failing?12:18
malcckiko: Yes, testUploadToFrozenDistro12:18
malcckiko: It's failing where it first compares the email results - the first upload is rejected, instead of going to NEW12:18
malcckiko: Funny enough, the other test is passing. Hmm...12:18
kikoand it's run exactly before this one?12:19
malcckiko: Hmm, no it isn't, it isn't running the other one12:19
kikoat all?12:20
malcckiko: Sorry cancel that, getting tired12:20
malcckiko: It runs the other one just before this one and it works fine12:20
malcckiko: Runs them in the same order locally12:20
cprovmalcc: I can help you tomorrow morning, will wake up 9 UTC12:22
kikoweird weird weird.12:23
=== jinty [n=jinty@132.Red-83-55-196.dynamicIP.rima-tde.net] has joined #launchpad
malccHmm. Good job we had this think about it, I've just realised my fix is wrong anyway12:27
malccAh, no it isn't. I persuaded myself it would stop publishing frozen distros, but actually the code right now would refuse to publish release on a frozen distro, and that's wrong too12:29
malccMy change would start publishing them. But I'm not going to force it through until I've had another think in the morning12:29
malccOk, night all12:29
=== Burgwork [n=corey@ubuntu/member/burgundavia] has joined #launchpad
=== niemeyer [n=niemeyer@201.23.168.11] has joined #launchpad
mptcprov-afk, ping12:33
mptdarn, ten minutes too late12:33
cprov-afkmpt: not really ;),pong12:42
mptcprov-afk, I was wondering yesterday if any of the Soyuz pages on the Canonical wiki are useful any more12:42
cprov-afkmpt: they are not, maybe only SoyuzCatchUp12:43
=== malcc [n=malcolm@host86-138-251-144.range86-138.btcentralplus.com] has joined #launchpad
malccOk, actually, I was talking nonsense, it all came clear, the fix is exactly right12:43
kikomalcc, what the hell12:44
Nafallomalcc: go to sleep then? :-)12:44
mptcprov-afk, ok, I'll move that one and delete the rest12:45
malcckiko: I mean, you see those last few lines before I logged out, where I'd convinced myself maybe my status fix wasn't right? Well I was talking nonsense, the status fix is exactly right12:45
malcckiko: I still don't have a clue about the pqm issue though12:45
kikoheh12:45
kikosleep over it12:45
malccYeah12:46
kikotomorrow morning there are wizards available to help12:46
kikoanyway, zzzing here as well12:46
malccNafallo: Yes, good idea :)12:47
malccNight again all12:47
Nafallomalcc: night :-)12:47
=== Nafallo starts the timer :-P
=== sabdfl [n=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has left #launchpad []
=== danilo_ [n=danilo@cable-89-216-150-8.dynamic.sbb.co.yu] has joined #launchpad
mptGooooooooooooooooooooood afternoon Launchpadders!02:31
=== AlinuxOS [n=alinux@d83-176-121-107.cust.tele2.it] has joined #launchpad
=== lamont [i=lamont@nat/hp/x-e347698875221e4a] has joined #launchpad
=== Keybuk [n=scott@quest.netsplit.com] has joined #launchpad
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #launchpad
UbugtuNew bug: #60169 in launchpad-bazaar "Product's +branches page contains misleading link to www.bazaar-vcs.org" [Untriaged,Unconfirmed]  http://launchpad.net/bugs/6016904:10
=== stub [n=stub@ppp-58.8.6.29.revip2.asianet.co.th] has joined #launchpad
jameshI wonder if it would be a good idea to randomly perturb the db sequences after building the database for the tests04:29
jameshto remove the possibility of relying on the exact value of new sequence numbers04:30
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #launchpad
Keybukrandom Q ... it's not possible for a spec to exist for multiple products?04:39
Keybukor should I say pillars?04:39
jameshKeybuk: no.04:39
UbugtuNew bug: #60172 in launchpad "Launchpad shouldn't auto-link "sftp://" by itself" [Untriaged,Unconfirmed]  http://launchpad.net/bugs/6017205:40
UbugtuNew bug: #60173 in blueprint "Attendance list of a sprint should be private, or attendance should be markable as private" [Untriaged,Unconfirmed]  http://launchpad.net/bugs/6017305:45
stubjamesh: We already use a script to reset all the sequences to the correct values, it would be trivial to add a random number to them.06:54
stubHas this been a problem?06:54
jameshstub: I ran into a few extra test failures when landing a branch that added to the sample data -- if the sequences didn't have a fixed starting value this would have been less of a problem06:56
jameshmight not be worth the hassle though06:57
stubIt involves adding a --random argument to database/schema/reset_sequences.py and a random parameter to canonical.database.postgresql.resetSequences - pretty trivial.06:58
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #launchpad
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
=== frodon_ido [n=patrick@ip-213-49-147-165.dsl.scarlet.be] has joined #launchpad
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
=== lfittl [n=lfittl@193.170.41.114] has joined #launchpad
=== mpt [n=mpt@203-167-187-118.dsl.clear.net.nz] has joined #launchpad
mptjamesh, is there any way of exporting your calendar as an .ics or anything like that?08:25
jameshmpt: yeah.  add "/+icalendar" to the end08:27
jameshe.g. https://launchpad.net/people/mpt/+calendar/+icalendar08:27
mptjamesh, awesome, thanks08:27
=== Spads [n=spacehob@host-87-74-19-213.bulldogdsl.com] has joined #launchpad
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #launchpad
=== carlos [n=carlos@138.Red-81-39-35.dynamicIP.rima-tde.net] has joined #launchpad
carlosmorning08:34
SteveAmorning09:01
=== Burgundavia_ [n=corey@ubuntu/member/burgundavia] has joined #launchpad
=== glatzor [n=sebi@ppp-82-135-82-91.dynamic.mnet-online.de] has joined #launchpad
SteveAmpt: hi09:15
mpthi SteveA, cooking dinner right now, back in an hour or so09:17
SteveAmpt: ok09:20
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
jordimorning guys09:37
=== malcc [n=malcolm@host86-138-251-144.range86-138.btcentralplus.com] has joined #launchpad
=== seb128 [n=seb128@ubuntu/member/seb128] has joined #launchpad
=== Fujitsu [n=Fujitsu@ubuntu/member/fujitsu] has joined #launchpad
=== Znarl [n=karl@bb-82-108-14-161.ukonline.co.uk] has joined #launchpad
malccAny testing gurus in the house?10:16
=== matthewrevell [i=synchron@outbound.silenceisdefeat.org] has joined #launchpad
malccI have a test (https://devpad.canonical.com/~andrew/paste/filei63hW3.html) which passes fine on my machine, but when run on PQM fails with a permissions error10:16
malccWhich is a surprise, as the zopeless layer ought to let me do whatever I like, and indeed this seems to work on my local machine just fine10:16
=== Spads_ [n=spacehob@host-87-74-83-75.bulldogdsl.com] has joined #launchpad
BjornTmalcc: could you put up the full error log (i.e. pqm's failure message) somewhere?10:23
BjornTmalcc: also, it'd be worth doing exactly what pqm does. take a fresh RF branch, merge in your branch and run the tests. just to rule out any strange merge behaviour.10:31
malccBjornT: Thanks, I'll try that. pqm log extract here: https://devpad.canonical.com/~andrew/paste/fileyhMbAZ.html. Let me know if you really did mean the whole thing10:32
SteveAjamesh: hi10:44
jameshSteveA: hi10:45
SteveAstub, jamesh: I'd like to do a quick infrastructure irc meeting10:45
SteveAwhen's a good time?10:45
jameshI'd prefer a time before 8pm (midday UTC)10:48
jameshearlier if it is on a Friday10:48
SteveAoh, I meant today10:48
SteveAjust a quick informal catchup10:48
jameshokay.  Any time then :)10:48
SteveAok, let's see what stub says10:49
BjornTmalcc: i think i do need the whole pqm log.10:51
malccBjornT: https://devpad.canonical.com/~andrew/paste/files7NCdF.html10:53
SteveAjamesh: meanwhile, do you have time for a pre-implementation review call?10:53
jameshSteveA: okay10:54
SteveAtry sip?10:54
jameshsure10:54
=== jamesh fires up ekiga
SteveAi'll call you10:55
=== civija [i=msabljic@193.198.206.5] has joined #launchpad
=== jinty [n=jinty@132.Red-83-55-196.dynamicIP.rima-tde.net] has joined #launchpad
civijahy guys!10:57
civijacan you tell how to change my prefered e-mail address in launchpad?10:58
carloscivija: hi10:59
civijahi carlos 10:59
carloscivija: Go to: https://launchpad.net/people/carlos/+editemails  (change carlos with your launchpad name)10:59
carlosand select the one you want as the Contact Address10:59
mptSteveA, back11:01
civijacarlos: tnx! i've changed it11:02
carloscivija: you are welcome11:02
=== ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
malccBjornT: Merging changes into a fresh branch from rocketfuel, the test still passes locally11:04
BjornTmalcc: did you run just a subset of the tests, or 'make check_merge'?11:05
malccBjornT: Just a subset. make check_merge tends to be non-terminating on my hardware11:05
malccBjornT: I'll give it a go though11:06
UbugtuNew bug: #60190 in soyuz "Misleading email when uploads are UNAPPROVED" [Medium,Confirmed]  http://launchpad.net/bugs/6019011:11
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #launchpad
seb128is it possible to edit a comment on launchpad?11:16
mptseb128, no11:16
seb128ok11:16
=== Spads [n=spacehob@217.205.109.249] has joined #launchpad
seb128I got a mail from an user saying he's getting spam since his email is listed by one comment on launchpad11:17
seb128I was wondering if there was a way to drop it11:17
BjornTmalcc: it's hard to say exactly what's wrong. what you could do is to insert a self.assertEquals(getSecurityPolicy(), PermissiveSecurityPolicy) in the failing test and send it off to pqm again.11:20
malccBjornT: Thanks, I'll give that a try11:20
BjornTat least that will tell you whether something's wrong with the test setup11:24
SteveAmpt: hi11:27
=== quail [n=quail@unaffiliated/quaillinux/x-000001] has joined #launchpad
mptHow do I return a custom HTTP code (e.g. 404) for a particular Launchpad page?11:35
UbugtuNew bug: #60195 in malone "May need to obfuscate email addresses in bug comments" [Untriaged,Unconfirmed]  http://launchpad.net/bugs/6019511:35
BjornTmpt: in the view class: self.request.response.setStatus(404)11:38
mptthanks BjornT 11:38
=== Nafallo [n=nafallo@ubuntu/member/nafallo] has joined #launchpad
SteveAmpt: why do you want to return a 404?12:15
mptSteveA, 410 Gone for the calendar, so we don't get bazillions of "Sorry" pages showing up in Google12:15
jameshor "402 Payment Required"12:15
mptLaunchpad 3.0, jamesh, Launchpad 3.012:15
jameshit'd make a good april fools day joke for shipit ...12:16
=== mpt looks for other uses of self.request.response so that he won't have to ask another annoying question
SteveAmpt: is it that you want to do a special 404 page?12:20
SteveAwe have a particular way of doing that12:20
mptoh, I can do it just in __init__12:20
SteveAmpt: please have a call with jamesh about how to do this efficiently12:20
SteveAdon't do anything in __init__12:20
mptthat's what error.py does12:21
jameshmpt: is the plan to make the calendar pages inaccessible or just not linked to?12:21
SteveAthen it is wron12:21
SteveAg12:21
mptShould I report a bug, or is that a one-line fix? :-)12:21
SteveAmpt: that depends.12:21
mptjamesh, the latter. I have changed the template to include an explanation plus a download link.12:21
SteveAbut please talk through what you want to do with james12:21
SteveAmaybe by voice12:22
SteveAotherwise, you may take an inappropriate approach, and so it will have to be re-done after a code review12:22
jameshmpt: so what page would the "Gone" response be for?12:22
mptjamesh, any calendar page12:23
mptcalendar-view-*.pt, calendar-subscribe.pt, calendar-event-*.pt12:23
jameshmpt: okay.  I don't think Mark bothered with that for the bounty tracker pages.12:24
mptjamesh, he did that several weeks ago, and Launchpad's bountry tracker currently features two bounties registered four days ago, so I don't think that's a particularly good example.12:25
SteveAmpt: I think this can be done in two stages12:25
SteveA1. remove links to calendar12:25
mpt(Maybe I should hide the bounty tracker more thoroughly in this branch too?)12:25
SteveA2. remove pages12:25
SteveAit's important to land 112:25
SteveA2. is less important12:26
SteveAI don't really care if two or three users are a little confused12:26
SteveAI do care if 20 or 60 users are12:26
SteveAI'd like to see removing the calendaring have a simple low risk landing first12:26
SteveAthat can get into the next rollout12:27
mptI get the impression that many more people use the calendar than used the bounty tracker12:27
mptno statistics to back that up, though12:27
SteveAso, they can still use it if they know the URL12:27
SteveAthat's not a big deal12:27
SteveAit's okay for it to stay there, hidden, and we're not supporting it12:27
SteveAi'd rather your time was spent improving areas of launchpad we care about12:27
SteveAnot areas of launchpad we currently don't care about12:28
SteveAin other words12:28
SteveADon't polish the lack of a calendar!12:28
SteveAwe can apply polish after all the 1.0 UI stuff is done12:28
jameshIf we don't want Google indexing certain parts of the site, a robots.txt file might be more appropriate12:29
mptok12:31
SteveAmpt: also, please do use the facility of pre-implementation calls to discuss implementation plans with a reviewer12:33
SteveAI like that you work on the python code in launchpad12:33
SteveAcertain areas of the code are tricky in terms of infrastructure12:33
SteveAso I want you to seek guidance when you work in those areas12:33
=== xenru [n=Miranda@85.192.12.67] has joined #launchpad
UbugtuNew bug: #60211 in launchpad "webapp/error.py uses self.request.response.setStatus() in __init__ and that's bad" [Untriaged,Unconfirmed]  http://launchpad.net/bugs/6021112:40
SteveAthanks mpt.  I commented on the bug.12:43
carlosstub: hi, around?12:44
stubcarlos: yes12:45
=== SteveA --> lunch
carlosstub: is there any way to know more or less at what time the language pack DB mirror is ready to use?12:45
carlosI would like to adjust the timing with the export scripts12:45
mptjamesh, meanwhile, would you have time to review some pagetest changes?12:46
jameshmpt: sure.12:46
stubIt seems to be consistently finishing rebuilding at 4:15, so 4:45 or later is a safe bet.12:46
mptjamesh, https://devpad.canonical.com/~jamesh/pending-reviews/mpt/launchpad/2006-09-compatibility/full-diff12:46
carlosstub: London time?12:46
stubcarlos: I can create a file after the rebuild if you want stating that the rebuild is complete12:46
jameshmpt: you have a conflict12:46
stubcarlos: yes - london time12:46
mptjamesh, I was just going to say, it contains one six-line conflict, for which I'll be using the MERGE-SOURCE12:47
carlosstub: as you wish, but I will not use it yet (I don't have too much time to expend on this) I have the logs anyway to detect any problem there...12:47
carlosstub: I will start at 5:00 12:47
carlosstub: thanks12:47
jameshmpt: well, you should integrate the change from TREE (products/firefox/milestones => products/firefox/trunk)12:47
mptoh. of course.12:48
stubcarlos: it can be rebuilt earlier if you need, but then it will be using the previous days backup.12:48
jameshmpt: as a general comment, your page test modifications make things harder to debug in the failure case12:49
carlosstub: no, that's good enough, thanks12:49
jameshmpt: before, we'd get a diff of the contents vs. what was expected.  After the change it'll be a simple True vs. False12:50
mptjamesh, the problem is that the expected items are present in a particular order on mainline, and in a different order on 1.012:51
mptI suppose the other option is to print browser.contents twice, and pick out one thing each time12:52
mpt(or three times, or however many)12:52
jameshmpt: the alternative is to use BeautifulSoup to extract a portion of the page and check that -- we really need a helper for some common cases here ...12:53
mptjamesh, that wouldn't really help in this case, because the markup is very different too12:53
jameshno common element IDs or classes?12:53
mptno12:53
jameshwe'd still be eliding content12:54
mptWe have very few IDs, and the classes are all different12:54
mptI suppose I could add IDs, but putting IDs in a page just for test purposes seems odd12:54
jameshprobably not for a simple change like this.12:55
mptnot odd, or not appropriate? :-)12:56
jameshwell12:57
lifelessadding ids for testing is often appropriate12:57
lifelessI think jameshs point was about the size of the effort/reward ratio here12:58
jameshwhat I mean is that (1) it would be good to have some helpers available for things like this, (2) I am not expecting you to write those helpers for this change and (3) it isn't worth holding up your merge til those helpers are available12:58
jameshmpt: your branch looks okay to merge r=jamesh.  The tests you've converted were not the most informative to start with, so it probably doesn't affect debugability much01:02
mptthanks jamesh 01:02
malccBjornT: I added your suggested assert to both tests in that class. Both passed locally, both failed on PQM with AssertionError: <class 'canonical.launchpad.webapp.authorization.LaunchpadSecurityPolicy'> != <class 'zope.security.simplepolicies.PermissiveSecurityPolicy'>01:02
malccBjornT: I'm still not able to run make check_merge locally, so this may be a one test vs. entire suite problem, rather than different machines, arches or whatever01:03
lifelessmalcc: why cant you run check_merge locally ?01:05
malcclifeless: Swap death. I think I need to order some more RAM01:05
malccAt least it looks like swap death, things stop, much processor time is in wait state01:06
lifelessvmstat will tell you01:06
BjornTmalcc: ok. i suggest sending an email about this to the list, CC stub. my guess is that the layers are setUp:ed and tearDown:ed incorrectly, but i'm not sure. could be something else as well. the pqm log didn't give me any clue.01:08
=== mpt cries as his girlfriend utterly fails to figure out how to confirm a bug in Launchpad
lifeless'your girlfriend sucks dude'01:12
mptEnough with the double entendres01:13
malccDoes *anybody* find the magic controls hidden behind what looks like a link to the product, without being told?01:14
mptmalcc, probably 2 or 3 percent do01:14
mpt(wild-ass guess)01:14
jameshmore people guessed when we had the expander arrow01:17
jameshlifeless: I think I've got the dl.openafs.org product-release-finder bug fixed, btw01:19
lifelessjamesh: fantastic01:19
jameshthis time it'll work for sure.01:19
lifelesshhahaha01:20
lifelessbut I hope you are right01:20
jameshthe change should also greatly reduce how much of a site it walks looking for releases01:20
=== civija [i=msabljic@193.198.206.5] has left #launchpad []
mptcanonical.testing.layers.LayerInvariantError: Component architecture should not be available01:30
=== malcc -> Lunch
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #launchpad
BjornTmpt: probably bug 5504101:33
mptBjornT, so it is01:35
mptso I'll run all tests overnight instead01:37
BjornTmpt: another solution is to try to be a bit more specific which tests you want to run01:42
BjornTfor example, instead of running: python test.py -f --test=shipit01:43
BjornTyou could divide it into to test runs: python test.py -f --test='pagetests.*shipit.*'01:43
BjornTand: python test.py -f --test='doc/.*shipit.*'01:44
BjornTand possible a few more like that if there are tests in other places you want to run.01:44
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== aa_ [n=ali@pida/aa] has joined #launchpad
aa_hi, are we allowed to delete stuff like branches?01:54
aa_(oops we are not in a meeting are we?)01:54
mptaa_, that isn't implemented yet, sorry01:57
aa_mpt: fair enough01:57
aa_bzr is crushing my testicles :)01:58
mptaa_, subscribe to bug 34540 if you want to be notified of any progress01:58
UbugtuMalone bug 34540 in launchpad-bazaar "cannot delete a branch" [High,Confirmed]  http://launchpad.net/bugs/3454001:58
aa_mpt: ok, thanks01:59
ddaaaa_: however you can rename branches, so you can reuse the object for something else instead of registering new branches.01:59
ddaathat's a workaround, but it's better that it used to be01:59
ddaaaa_: also, I'd be interested in why you want to delete a branch. There are some other bugfixes in the plans that might fix the root cause of your problem.02:00
aa_ddaa: I want to move back to svn02:01
aa_a sorry state I know02:01
ddaasounds a weird thing to want to do, but you must have compelling reasons02:01
aa_well, no one ever seems to be able to get my source code02:01
ddaaaa_: I think the best match for what you want to do is to set the branch status to "ABANDONED" and explains where the code is now hosted in the whiteboard of the branch.02:02
aa_sounds good02:03
aa_well, I used to host an http mirror of the branch myself, before the branch backup thing was working02:03
aa_but I think launchpad does that now02:03
ddaayeah, mirroring of external branches was one of the initial features of the bzr support in launchpad02:04
=== seb128 [n=seb128@ubuntu/member/seb128] has joined #launchpad
=== matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
cprovsalgado: ping02:27
salgadocprov, pong02:27
aa_well, thanks for the advice everyone, launchpad looks better every day, keep it up :)02:28
cprovsalgado: did you check the last diff of my small-fixes (-backports fix) ?02:28
=== aa_ [n=ali@pida/aa] has left #launchpad []
=== carlos -> lunch
salgadocprov, not yet02:30
salgadoI'll check today02:30
cprovsalgado: fair enough, it's blocking some guys to fix stuff in dapper, thank you 02:31
lifelessSteveA: I was going to drop by for the meeting, but I've been up for 15 hours, body is telling me it needs sleep now02:34
lifelessSteveA: sorry02:34
=== jelmer [n=jelmer@a62-251-123-16.adsl.xs4all.nl] has joined #launchpad
UbugtuNew bug: #59573 in ubiquity "The installer crashed" [Untriaged,Needs info]  http://launchpad.net/bugs/5957302:40
salgadojamesh, around?02:43
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
=== niemeyer [n=niemeyer@201.23.160.13] has joined #launchpad
=== flacoste [n=francis@modemcable207.210-200-24.mc.videotron.ca] has joined #launchpad
salgadostub, around?03:12
stubsalgado: Can I get a 2 minute review of https://devpad.canonical.com/~andrew/paste/fileOV33Nk.html ?03:12
stub:-)03:12
salgadoheh03:12
salgadohmmm. firefox is failing to load that03:13
stubworks for me...03:14
salgadoI restarted and now it works03:14
salgadostub, do you know if that keyring trust analyzer was ever run in production?03:15
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
stubsalgado: No, it never was. It got blocked on creating the initial trusted set of keyrings IIRC.03:17
salgadostub, have you tried writing an old-style pagetest with no Referer line, to see if we get the referer set to None in the session?03:23
=== Spads [n=spacehob@host-87-74-19-213.bulldogdsl.com] has joined #launchpad
stubNo, but I think the current tests are good enough. They will still detect breakage, and the comment explains why the test is slightly screwed.03:26
salgadostub, I guess it's not possible to have a non-ASCII referrer, right?03:31
stubI stuck 'replace' in there just incase03:31
salgadoI'm concerned that any unexpected problems on this code will prevent new users from using launchpad completely03:31
=== bradb [n=bradb@wnpgmb09dc1-71-199.dynamic.mts.net] has joined #launchpad
stubThat should stop the decode call ever raising an exception (?)03:32
salgadoshould it? can you add with a test with a non-ASCII referrer just to make sure?03:33
salgados/with//03:33
spivsalgado: yes, it should; that's what that docs for {str,unicode}.{encode,decode} say (see sections 2.3.6.1 and 4.9.1 of the python library reference).03:37
stubI'll add a test demonstrating crazy encoded referrer headers anyway.03:39
SteveAlifeless: meeting?03:39
SteveAlifeless: maybe you were confused about the day of the week?03:40
spivSteveA: see comment from him on this channel a little over an hour ago03:40
=== bradb_ [n=bradb@wnpgmb09dc1-71-199.dynamic.mts.net] has joined #launchpad
spivHe's gone to sleep03:40
SteveAspiv: I read the comment addressed to me03:40
spivOh, right.03:40
SteveAI wasn't expecting a meeting today anyway03:40
spivI misunderstood what you meant by "meeting?"03:40
SteveAah, right03:41
SteveAas in "what meeting?"03:41
spivThat's clear now :)03:41
=== bradb_ [n=bradb@wnpgmb09dc1-71-199.dynamic.mts.net] has joined #launchpad
=== bradb [n=bradb@wnpgmb09dc1-71-199.dynamic.mts.net] has joined #launchpad
SteveAspiv: hi04:14
SteveAspiv: still around?04:14
spivSteveA: yeah, but not for much longer...04:15
UbugtuNew bug: #60235 in launchpad "Disabling mirrors when they fail a single probe is not fair" [High,Confirmed]  http://launchpad.net/bugs/6023504:15
=== Keybuk [n=scott@quest.netsplit.com] has joined #launchpad
SteveAspiv: you'll be working with lifeless tomorrow?04:15
spivYep04:15
spivAfter I get the stitches removed from the back of my head...04:16
SteveAspiv: would you ask him to give an estimate of when he'll be able to do the bzr code update in RF that ddaa asked for?04:16
spivOk.04:16
SteveAthanks04:16
ddaaSteveA: thanks04:16
=== spiv puts a big tomboy note in the middle of the relevant workspace to make sure I don't forget
SteveAthanks!04:18
=== Spads [n=spacehob@host-87-74-19-213.bulldogdsl.com] has joined #launchpad
=== lfittl [n=lfittl@193.170.41.114] has joined #launchpad
=== lbm [n=lbm@82.192.173.92] has joined #launchpad
kiko-zzzmorning04:33
kikohello hello04:33
SteveAhello america04:34
SteveAhello south america04:34
kikohow's it going?04:35
SteveAyeah, top04:36
=== xenru|clone [n=Miranda@85.192.13.219] has joined #launchpad
=== bradb [n=bradb@wnpgmb09dc1-71-199.dynamic.mts.net] has joined #launchpad
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
matsubarahttps://launchpad.net/products/launchpad/+bug/60211 is forbidden for me but it was initally reported as a public bug.04:48
matsubaradid mpt remove everyone from the subscribers list?04:49
kikomatsubara, let me check04:51
=== seb128 [n=seb128@ubuntu/member/seb128] has joined #launchpad
kikohey malcc, cprov-afk 04:55
malccHey kiko04:55
kikohow's the surf?04:55
=== mvo [n=egon@p54A6572B.dip.t-dialin.net] has joined #launchpad
malccNot sure, I'm a long way from any useful surfing locations here04:56
malccOn a separate note, soyuz development is going quite well :)04:57
kikoas usual!04:57
malccMy branch still isn't merged though...04:57
kikodid you find out what was up yesterday?04:57
malccBjorn made a suggestion, which showed beyond doubt that I'm not getting the same security manager when running all tests on PQM04:57
kikoSteveA, can you help malcc? this is really blocking us04:58
malccAnd I've sent an email out to the launchpad list with my failure04:58
kikoyou are a *04:58
malccAn asterisk? :)04:58
kikothat too04:59
malccOr did you mean a ?05:00
kikoI am against unicode05:00
kikomatsubara, did you see this SMTPRecipientsRefused oops today? really neat05:01
matsubarakiko: glanced over05:01
kikomatsubara, validation error?05:01
siretartthat imported branch looks strange: https://launchpad.net/people/vcs-imports/+branch/xine-lib/head - the latest 16 revisions date from 2001, but then there come commits from yesterday05:02
siretarthow comes?05:02
SteveAkiko, malcc: what's up?  the test failure you posted to the list?05:03
matsubarakiko: looks like05:03
kikoSteveA, yeah. pretty serious for us05:03
SteveAI don't know what the answer could be.  It's really a stub issue.05:04
=== kiko cries
SteveAmalcc: have you merged from RF recently?05:05
SteveAand also check you've updated all your subtrees05:05
SteveAlike zope, in particular05:05
malccSteveA: Yup, and Bjorn also suggested taking a fresh rf and merging from my branch. And yes, I've got the latest other bits :)05:05
=== matthewrevell [i=synchron@outbound.silenceisdefeat.org] has joined #launchpad
Nafallosiretart: looks like a ddaa question ;-)05:06
malccI suspect I'd be able to reproduce the issue locally if I had enough RAM to run all the tests05:06
=== ddaa looks
ddaasiretart: yes it does look weird, yes it's expected behaviour, yes it's because CVS sucks05:08
SteveAmalcc: you shouldn't need to run all the tests05:08
SteveAmalcc: because they run in a separate process05:08
SteveAmalcc: running all the launchpad tests should be enough.  try  python test.py canonical05:08
malccSteveA: Willdo05:09
ddaasiretart: those "Filler changeset" commits are here to emulate the CVS notion of "default branch" which affects the result of checking out HEAD but is orthogonal to normal history.05:09
siretartddaa: will those 'filler changesets' always be the latest revisions?05:10
ddaasiretart: no, when further commits are made to other files, the filler changesets will stay where they are in history05:10
siretartah, so the import just finished today?05:10
kikomatsubara, yeah, a validation issue. interesting one. it will require some manual intervention once fixed.. do you think that's really a valid email address?05:11
ddaasiretart: yes, it completed very recently after a fixed on one-letter bug.05:11
siretartlucky :)05:11
siretartthanks for all ddaa! :)05:11
salgadokiko, why manual intervention?  that email is not registered in launchpad05:12
ddaaIt is my duty to please my users ;)05:12
kikosalgado, yeah, I now understand the traceback. just a token.05:12
matsubarakiko: This domain cannot be registered because it contravenes the Nominet UK05:13
matsubara    naming rules.  The reason is:05:13
matsubara      third-level domains may neither start nor end with a hyphen.05:13
kikomatsubara, :)05:13
kikoit was a typo btw.05:13
kikomalcc, do other ftests depend on the PermissiveSecurityPolicy, I wonder?05:14
malcckiko: When Jamesh suggested I use the LaunchpadZopelessLayer to avoid the need for login etc., he didn't sound like he was describing anything experimental05:17
malcckiko: A few other tests use that layer, but it's hard to say immediately whether they rely on the security aspects of it05:17
BjornTkiko: all tests in the ZoplessLayer should use PermissiveSecurityPolicy since that's what scripts use.05:18
=== matthewrevell [i=synchron@outbound.silenceisdefeat.org] has left #launchpad []
ddaaSteveA: kiko: any of you want to rs=him the removal of utilities/{library-cut-tails.py,library-relink.py,arch} from launchpad?05:54
kikodoes nobody use them?05:54
ddaakiko: dude... they are user helpers for arch/baz05:54
ddaaif somebody on the team still use them, he has way bigger problems!05:55
kikoI have no idea what they are for05:55
kikogo ahead and nuke them then05:55
ddaakiko: okay, rs=kiko then05:55
ddaasame applies to utilities/rocketsync05:56
ddaautilities/rocketmeld05:57
ddaautilities/refuel05:57
ddaautilities/launch05:57
ddaacrazy that stuff that depends on the launchpad code being hosted on baz has stayed around that long05:58
=== BjornT [n=bjorn@clt-84-32-240-183.dtiltas.lt] has joined #launchpad
kikowell, it's just the matter that few people use bzr rm06:01
ddaaI'm way happy to do it. It's just going to large a diff to be [trivial] 06:03
matsubarakiko: what about bug 60211? Could you subscribe LP-devel to it?06:04
kikodone.06:05
matsubarakiko: thanks06:05
malccSteveA: Success, in that test.py -vv canonical has reproduced the problem locally06:40
=== merriam [n=merriam@84-12-185-157.dyn.gotadsl.co.uk] has joined #launchpad
SteveAmalcc: great06:44
SteveAmalcc: depending how late you're working tonight, you might be best off doing something different, and working with stu tomorrow morning06:46
malccSteveA: Yes, I'm not spending any significant time on this now, until an expert can shed some light for me06:46
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
=== seb128 [n=seb128@ANancy-151-1-73-182.w81-49.abo.wanadoo.fr] has joined #launchpad
=== Ubugtu [n=bugbot@ubuntu/bot/ubugtu] has joined #launchpad
UbugtuNew bug: #60257 in rosetta "sylpheed-claws-gtk2 translation template" [Untriaged,Unconfirmed]  http://launchpad.net/bugs/6025707:58
kikocarlos, do you think OOPS-255D527 is caused by a race condition?07:59
Ubugtuhttps://chinstrap.ubuntu.com/~jamesh/oops.cgi/255D52707:59
salgadompt, I guess you're not around, right?08:00
carloskiko: well, that's the NameNotAvailable error but with the right exception08:01
kikocarlos, but... why is it still happening?08:02
carlosand at this point... I would appreciate that someone else take a look to that code08:02
kiko:)08:02
carlosbecuase I think I'm handling the only corner case that would cause such exception08:02
carlosI was not able to reproduce it in our development tree08:03
carlosso yes, It smells like a race condition08:03
carlosat least is the only explanation I can think on atm08:03
kikoit's a race condition but I'm not yet sure where. carlos could you look at the query log to see if anything weird is happening?08:03
carlossure08:03
carloskiko: hmm, wait, seems like it's not exactly the same error... but another path quite similar that could be fixed in the same way....08:07
carloskiko: forget that, I was looking at an old tree....08:09
kikobradb, before landing any more code, please reply to my email and let's plan for fixing up targeting.08:09
bradbkiko: I'm replying to it now.08:09
kikookay.08:09
carloskiko: ok, confirmed, now that I checked it with latest code, seems like it's the same pattern I fixed last week08:16
carloskiko: I fixed POFile's POMsgSet creation, this time is POTemplate's POTMsgSet creation08:17
kikoah!08:17
carloskiko: same kind of fix should be enough to 'kill' it08:17
carlosI will do it myself, don't worry08:18
kikowonderful, thanks carlos.08:18
carlosbut I'm still not able to reproduce it in our local system08:18
kikonot even with reloads?08:19
carlosI can test that path better (I wrote tests), but what I saw on staging and on production is not exactly what the test is designed to 'force'08:19
carlosthe test assumes that someone submitted a form after we modified the imported .pot file08:19
kikoI thought that the problem was a submit, stop, submit, but perhaps it's not form-dependent.08:19
carlosbut I got that error on staging without a new .pot import which would be a cache issue..08:19
kikoso load the form, submit, and then submit again the same form.08:19
carloskiko: that's not possible unless some cache issues are involved08:20
carlosthe code is quite simple, we check whether the entry exists if it doesn't exists, we try to create it08:20
carlosthere is just once corner case that doesn't follow that rule, the new .pot file being imported between the form load and its submission08:21
carlosand that's what I fix, that corner case, but I'm sure is not the issue we get08:22
carloskiko: perhaps it's also related with something you told me some time ago about using IPOTemplate.__getitem__ and IPOFile.__getitem__08:22
carlosI'm moving to use proper methods instead of those special ones. If the __getitem__ usage introduces some unexpected behaviour that I'm not aware of...08:23
kikoI wish I could remember that! :)08:23
carloskiko: well, you asked me to stop using __getitem__, __len__ and others08:23
carlosand use explicit methods instead08:24
kikowell, because they are confusing, not because they are flawed..08:24
carlosyou raised that issue while working on the SQLObject Snapshots08:24
carloskiko: I'm not saying they are flawed, just that perhaps they have a behaviour I'm not expecting in this concrete situation...08:24
carlosanyway, the code is much more clear if we stop using __getitem__08:25
kikoright :)08:25
=== ddaa puts another arch-removing patch up for review
carlosin this concrete situation, so it's not a bit deal08:25
carloss/bit/big/08:25
carloskiko: I will fix that one and ask for another cherrypick08:26
carloskiko: thanks for noting me it08:26
kikocarlos, it's only happened once, I think, but if you think it's worth it, sure.08:26
kikono problemo!08:26
carloswell, it's part of the previous fix08:26
carlosor bug08:26
carlosas you wish to call it :-P08:26
bradbkiko: Can I land the tinytext fix having just added a style="font-size: 100%" to the span?08:56
kikothat sounds like a hack.. is that the right way to fix that?08:56
bradbWell, it's using the class="discreet lesser" thing, like you used for the "This description was updated..." text below the desc, but 85% is too small for this specific tag.08:57
kikobradb, the approve/decline link have the right size.08:57
bradbhm, 100% for the rest of the text, bug 85% for approve/decline looks pretty ugly08:58
UbugtuMalone bug 85 in rosetta "We need a way to publish translators' email address" [Medium,Fix released]  http://launchpad.net/bugs/8508:58
bradbblah blah08:58
kikoright, that's why I'm saying there's something else wrong.08:59
bradbkiko: why not have it all just 100%?08:59
kikobradb, I have no clue what needs to be done as long as it looks good. 09:01
bradbyou said it was too small and unreadable!09:01
=== bradb makes it 100% then :P
bradbit will be not small and more readable then. it looks fine, imho09:01
kikoit was too small an unreadable09:04
kikodo you want a screenshot?09:04
bradbit looked okay to me, but i imagine it could get nano at high res09:05
kikothe letters deformed, it was impossible to actually see what was written09:06
=== LeeJunFan_ [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
=== merriam [n=merriam@84-12-84-123.dyn.gotadsl.co.uk] has joined #launchpad
=== xenru [n=Miranda@85.192.13.234] has joined #launchpad
=== Nafallo [n=nafallo@ubuntu/member/nafallo] has joined #launchpad
=== lbm [n=lbm@82.192.173.92] has joined #launchpad
=== glatzor [n=sebi@ppp-82-135-82-91.dynamic.mnet-online.de] has joined #launchpad
UbugtuNew bug: #60280 in soyuz ""source" added to Architectures: in Release file" [High,Confirmed]  http://launchpad.net/bugs/6028010:00
kikoah. so that was the bug.10:01
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
=== matthewrevell [i=synchron@outbound.silenceisdefeat.org] has joined #launchpad
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
=== AlinuxOS [n=alinux@d81-211-234-247.cust.tele2.it] has joined #launchpad
kikomatsubara, did you report a bug about the tag advanced search crasher?10:51
matsubarayes10:51
matsubarakiko: ^10:51
kikowhich bug is that may I ask10:51
matsubarakiko: bugs 59972 5997510:52
UbugtuMalone bug 59972 in malone "Tag search field needs better validation for non-alphanumeric characters" [High,Confirmed]  http://launchpad.net/bugs/5997210:52
matsubarabug 59975 I think it's the same issue explained by jamesh in his email with subject: LaunchpadFormView.validate() gotcha10:54
UbugtuMalone bug 59975 in malone "Edit bug tag form needs to cope with invalid values in tag field." [High,Confirmed]  http://launchpad.net/bugs/5997510:54
kikomatsubara, ah, so underscores are known to break it.10:58
lifelessmorning10:58
lifelessSteveA: I thought it was thursday10:58
matsubarakiko: I didn't test all non-alphanumeric chars but some like: @;,#$ break it10:59
kikounderscores too.10:59
kikookay thanks!10:59
kikomatsubara, do you figure what's this cmp() recursion crasher?11:00
matsubarakiko: not yet.11:02
kikoit appears that a bug is somehow finding itself in its list of dupes, doesn't it?11:02
=== j-a-meinel [n=j-a-mein@adsl-67-37-234-251.dsl.chcgil.ameritech.net] has joined #launchpad
bradbIs there a way to invalidate a cachedproperty?11:05
bradbfoo.bar.invalidate() or something weird like that.11:05
j-a-meinelping, anyone know why a newly pushed Launchpad branch (pushed to sftp://bazaar.launchpad.net) wouldn't show up in the rest of the listings? 'bzr log sftp://' works11:06
bradbkiko: do you want to discuss siamese bugtasks?11:07
kikobradb, no, there is no way to invalidate it automatically. you can however specify how the property is cached and then clear it manually.11:09
bradbok11:09
kikodo a grep for @cachedproperty( to see what I mean11:10
bradbwell, basically, there are three ways i can think of doing siamese bugtasks: 1. through create/change event handlers, 2. a setStuff API 3. a .siamese_twin cachedproperty11:10
bradb1. has issues we've already seen before, like the current possible inconsistencies that can happen with bug privacy11:11
bradb2. is a friggin' huge change11:11
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
kikowell11:12
bradb3. is perhaps the least intensive, with a cacheproperty that gets cleared when a currentrelease task is created11:12
kikocachedproperty aren't cached in the DB, bradb.11:12
matsubarakiko: exactly. https://devpad.canonical.com/~andrew/paste/fileCE0Dnx.html11:13
kikomatsubara, so.. a dupe cycle?11:13
matsubarakiko: looks like11:13
kikohow did that happen? a race?11:13
kikoor something else I wonder..11:14
matsubarakiko: I think so. perhaps people were triaging at the same time.11:14
bradbkiko: I didn't think they were cached in the DB. What issue are you getting at?11:14
kikomatsubara, can you reproduce?11:14
kikobradb, I didn't get your cachedproperty suggestion, then.11:15
bradbkiko: Well, here's the strawman, because there are some things I will figure out only when I start writing the code:11:15
matsubarakiko: no11:17
bradb1. add a siamese_twin cachedproperty to bugtasks. 2. this returns the current release task, or None. 3. it's invalidated when a current release task is created (because we don't want the cached prop to keep returning None, we want it to start returning the current DR task at that point), 4. we modify BugTask._SO_setValue to check for a siamese_twin, and call its _SO_setValue too, if applicable.11:17
bradbthe cached prop is to, hopefully, minimize how much we hit the DB in checking if there's a siamese twin11:18
kikobradb, that sounds like too much magic.11:19
bradbkiko: the point of this solution is to not require modifying existing callsites.11:19
kikoI think option 2. is the right option, and I have said that many times now11:19
kikomodifying the callsites is necessary -- just needs to be acknowledged.11:20
kikothe callsites are broken anyway 11:20
bradburgh. that will be a truly huge change. :/11:20
kikothey should not really be modifying the bug directly11:20
kikowe knew this already when we embarked on this project...11:20
kikoat any rate11:20
bradband inconsistent with all our other object APIs11:20
bradbAFAIK11:20
kikoI suggest you have a call with steve11:20
kikoto talk to him and see what he thinks11:21
kikoI don't think that's an important consistency11:21
kikoand there are other objects which are not modified directly (the queue objects, for instance)11:21
kikobut have the call with steve and he may have a great idea11:21
kikohe often does11:21
bradbindeed11:21
bradbSteveA: around? :)11:22
=== Fujitsu [n=Fujitsu@ubuntu/member/fujitsu] has joined #launchpad
=== panickedtest [n=travis@cdm-75-109-115-91.asbnva.dhcp.suddenlink.net] has joined #launchpad
=== panickedtest is now known as panickedthumb
=== j-a-meinel [n=j-a-mein@adsl-67-37-234-251.dsl.chcgil.ameritech.net] has left #launchpad []
bradbhttps://launchpad.net/distros11:36
bradb"Soyuz" is the part of Launchpad that keeps track of the applications published in different distributions. It allows you to track, for example, the bugs in a distribution.11:36
bradbthat makes it sound like Soyuz is Malone :)11:36
kikogross11:51
Nafallobradb: and it isn't? ;-)11:54
bradbheh11:55
bradbkiko: so the issue about allowing you to nominate for a target that already has a task...11:56
bradbkiko: it's because IBug.isNominatedFor assumes everything must have a nomination /before/ a task is created.11:57
bradbso for older bugs that don't have noms, it looks like all the releases can be nominated, to this method11:57
bradbso, i can think of a couple options11:58
bradb1. data migration, to create approved noms for all existing DR tasks11:58
bradb2. make the code deal with this pre-nomination data, instead11:58
bradb#2 seems like a safer option, IMHO12:00
bradbparticularly if we're thinking of growing different perms systems for release management, noms vs. no-noms, etc.12:01
mdzmpt: what should Ubuntu print on the screen for the few seconds before the graphical progress display comes up?12:07
mdzmpt: it currently says "Booting the operating system now" and I want to get rid of the jargon12:07
kikobradb, I don't quite understand why you assume that everything must have a nomination. what about bugs that had no nomination process, but were opened automatically? seems like you're assuming too much..12:08
bradbkiko: the bug /is/ that assumes everything has a nomination!12:09
bradbso, i'm not saying it's a good thing that it assumes that12:10
kikoah. :)12:10
kikoit's just that you said "pre-nomination data"12:10
bradbso, it sounds like we agree on #212:10
kikowhereas there is data which is post-"nomination the feature" that will still trigger this, right?12:10
bradbkiko: well, the code creates a nom and auto-approves it if the person has the privs to do that12:11
kikobradb, what about new bugs filed?12:12
bradbkiko: a new bug isn't related to a release (explicitly), so there are no noms created at that point.12:12
kikoah, right.12:13
kikoI guess ISWYM.12:13
kikowell...12:13
kikoif you are going to do #2.. then12:13
kikodoes it still make sense to create the nom and auto-approve it?12:13

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