/srv/irclogs.ubuntu.com/2010/02/22/#launchpad-dev.txt

thumperwgrant: I have a branch in progress that sends the email on needs review00:01
thumperwgrant: but it is blocked on two others00:01
thumperwgrant: to avoid the horrible edge cases00:01
thumperwgrant: one of them is done00:01
thumperwgrant: the one that adds a description to the MP00:01
thumperwgrant: the other isn't too hard00:02
* thumper waves at beuno00:02
* beuno waves back at thumper 00:03
wgrantthumper: Great.00:06
wgrantthumper: Do you know about the Zopeless email thing I asked earlier?00:13
thumperwgrant: didn't see your question00:20
wgrantthumper: Where do Zopeless emails go in the dev config? I cannot find them anywhere.00:25
thumperwgrant: haha, I remember looking for it too00:25
thumperwgrant: root@localhost I think00:25
wgrantthumper: Normal emails go there.00:26
wgrantBut not Zopeless ones.00:26
thumperreally?00:26
wgrantAFAICT.00:26
wgrantWhich is perhaps not surprising, since it looks like Zopeless uses SMTP directly, and there is a zopeless/send_email config key which is set to false.00:27
wgrantHmmm.00:27
wgrantHow annoying.00:27
wgrantAAAAAAA00:45
* wgrant stabs ISD in the face repeatedly.00:45
wgrantGnarnrewwfwfew00:45
jmlplease don't.00:46
jmlthey are very nice people.00:46
* ajmitch detects some rage there00:46
thumperhi jml00:48
thumperjml: how's pycon?00:48
jmlthumper, great!00:49
jmlthumper, I'm at the Twisted sprint now00:49
jmlthumper, it's exciting to be able to personally fix multiple bugs in a single day :)00:49
wgrant(bug #525556, for anybody ISDish)00:50
thumperjml: :)01:00
lifelessjml: \o/01:02
* thumper wonders how often the staging scanner is running01:53
mwhudsonthumper: */15 i think?02:07
wgrantThe production scanner seems to be pretty slow at the moment.02:08
wgrant(or maybe the puller)02:08
wgrantbeuno: Since you seem to have access, can you have a look at bug #525556?02:48
beunosure02:50
wgrantIt seems like it should be fairly critical.02:50
* beuno facepalms02:51
wgrantThat's what I said.02:51
beunospm, if you or any other losa is around ^02:52
beunojust to be aware, I know you can't do anything about it02:52
wgrantbeuno: Thanks.02:53
beunowgrant, thanks for raising it, I'll make sure the appropriate people know ASAP02:54
wgrantGreat.02:54
beunoelmo, ^02:56
=== wgrant_ is now known as wgrant
wgrantI'm trying to write a Storm query to return a resultset of objects ordered by a column on an optional reference.04:58
wgrantie. I have a BinaryPackageReleaseDownloadCount, which has an optional Country associated.04:59
wgrantI want to order them by Country.name.04:59
wgrantany hints?04:59
mwhudsondo a leftouterjoin on country04:59
mwhudsonthen sort on country.name04:59
wgrantyes, but how do I do that in Storm?05:00
mwhudsonmaybe coalesced with something depending on which end of the results you want things without country to end up at05:00
wgrantHm, I guess a more manual select with a DecoratedResultSet might work.05:00
wgranthttp://paste.ubuntu.com/381372/ is the code at the moment, but it of course doesn't return objects with a NULL Country.05:01
mwhudsonwgrant: http://paste.ubuntu.com/381376/ or similar i think05:06
wgrantmwhudson: Oh, yes, of course.05:07
wgrantThanks.05:07
* thumper settles down again05:25
mwhudsonthumper: hi, i have some reviews for you :-)05:28
thumpermwhudson: sure, paste the links05:28
mwhudsonhttps://code.edge.launchpad.net/~mwhudson/launchpad/smarter-code-import-scheduling-bug-236973/+merge/1984105:29
mwhudsonthumper: https://code.edge.launchpad.net/~mwhudson/launchpad/incremental-code-imports-bug-512683/+merge/1967405:29
* thumper looks now05:31
thumpermwhudson: are you around for a question?05:32
mwhudsonthumper: just about, i should stop pretty soon05:33
thumpermwhudson: why does the interdiff for the incremental imports actually change anything?05:33
mwhudsonthumper: because the tearDown raises NotImplementerError05:34
thumpermwhudson: and that does what?05:34
mwhudsonthumper: and this is the signal to the zope test runner to not run any more tests in that process05:34
lifelessso bad05:34
lifelessso very very bad05:34
lifelesshave I mentioned bad?05:34
mwhudsonthumper: it's what the functionallayer (i.e. the one that sets up the component architecture) does05:34
mwhudsonlifeless: hey, if bzr supported unloading plugins...05:35
thumpermwhudson: so because the teardown isn't implemented, the test runner starts another process?05:35
mwhudsonthumper: it seems so yes05:35
mwhudsonthumper: i just cargo culted from layers.py05:35
lifelessmwhudson: why do you need to unload plugins? [and it does to an extent]05:35
thumpermwhudson: can you add a comment saying as much?05:35
lifelessmwhudson: I'd really like to avoid you needing this feature. Can we discuss?05:35
mwhudsonlifeless: right now, no we can't05:36
thumperlifeless: some of our other tests fail if the plugins are loaded05:36
mwhudsonthumper: ok05:36
thumperlifeless: some tests need it05:36
thumperlifeless: we'd like to be able to have plugins loaded for only some tests05:36
lifelessis there a doc somewhere explaining this, so I don't en up playing twenty questions?05:36
thumperlifeless: probably not05:36
lifelessso, lets play twenty questions.05:37
lifelesswhy do some tests fail05:37
* thumper shrugs05:37
thumperlifeless: probably worth playing 20 questions when mwhudson is working tomorrow05:37
thumperlifeless: as mwhudson is trying to finish up05:37
lifelessmwhudson: can you ping me at a good time tomorrow?05:37
thumperlifeless: and I won't know answers to your questions05:37
mwhudsonlifeless: ok05:37
lifelessmwhudson: thanks05:37
* mwhudson EODs05:43
lifelessgood idea05:43
wgrantthumper: Whatever happened to my branch?05:52
thumperwgrant: not heard anything05:52
* thumper checks ec2 thingy in firefox05:53
thumperwgrant: I have one instance that is terminated05:53
thumperwgrant: I submitted yours and one of mine05:53
wgrantSo it hates my branch again :(05:53
thumperwgrant: heard from one...05:53
wgrantI ec2tested a branch last night and it emailed me OK.05:54
thumperwgrant: check your email05:55
thumperwgrant: id emails you not me05:55
thumperwgrant: I double checked, and it at least started off right05:56
thumperwgrant: there was a test fix issue05:56
thumperwgrant: so I'm resubmitting mine05:56
thumperwgrant: interesting05:57
thumperwgrant: I didn't get an email from ec2 either05:57
thumperwgrant: even though it submitted mine to pqm05:57
thumperwgrant: I should have got one but didn't05:57
wgrantI haven't had an ec2 success notification since mid-December, although I have had successful submissions since then.05:58
thumperwgrant: your branch hasn't landed if that helps...05:59
* wgrant looks through mail server logs.06:00
wgrantthumper: It doesn't look like it tried to email me.06:04
thumperwgrant: sorry dude, no idea at all06:04
wgrantthumper: Thanks for trying.06:04
wgrantLots of branches have been going missing lately.06:04
wgrantnoodles775: Morning. Do you have access to buildd-manager logs? It seems to have stopped dispatching builds about an hour ago.07:37
noodles775wgrant: Yeah, but a losa will need to restart it I'd say.07:39
* noodles775 checks logs07:39
noodles775wgrant: ouch, another job without a builder: http://pastebin.ubuntu.com/381433/07:40
wgrantGnarrrgh.07:41
wgrantThere are also two builders stuck (the usual two: samarium and bohrium), but that's probably unrelated.07:41
wgrantDo we have no LOSAs today? I thought there was a Nagios check for that.07:42
noodles775yeah, there should be... I'm just checking the bug and then I'll try to find someone.07:42
thumperwgrant: they are sprinting this week in europe07:43
thumpernoodles775: morning07:43
noodles775Hi thumper07:43
wgrantthumper: Ahh.07:43
thumpernoodles775: I'm working on a wiki page BuildBranchToArchiveUI/InitialCut07:43
thumpernoodles775: nothing there yet, but I'm working on it07:44
noodles775Great.07:44
thumpernoodles775: actually I just hit save, but I'm still editing :)07:45
noodles775thumper: sure. Do you think it wasn't clear enough on the other pages? (ie. what wouldn't be included in the initial cut?)07:46
noodles775wgrant: the buildd-manager should be dispatching again now (as of a min. ago).08:06
noodles775wgrant: thanks for the heads-up.08:07
thumpernoodles775: I'm going to have a little more detail08:07
thumpernoodles775: ordering of work08:07
noodles775thumper: ah, great.08:07
wgrantnoodles775: Thanks.08:07
thumpernoodles775: stuff broken up into ready to code chunks08:08
thumpernoodles775: something where I can say "hey <dev>, do this chunk" and it has what they need to know08:08
thumpernoodles775: at least, that's the plan :)08:08
noodles775thumper: yeah, I was hoping the list of urls required could be turned into bugs for that reason, but you're right, they're a bit too coarse grained (and have interdependencies).08:09
* thumper nods08:09
adeuringgood morning08:20
=== jamesh_ is now known as jamesh
mrevellMorning09:02
=== daniloff is now known as danilos
danilosbigjools, hey, good morning :)09:49
bigjoolshey danilos - what do you want? :)09:49
danilosbigjools, ha!09:49
danilosbigjools, do you know if there have been any firewall rules set up to allow access to our bzr branches from the build farm?09:49
danilosbigjools, is that something build-from-recipe requires as well, or are translations special in that regard :)09:50
bigjoolsdanilos: no, BFB needs it too.  So far I have it set up on dogfood so we can test stuff, but it's not done in production.09:51
danilosbigjools, ok, I am considering writing up an RT, but I am sure you can give me a few pointers on how to best word it so IS actually understands it :)09:51
danilosbigjools, i.e. what machines need what privileges :)09:52
bigjoolsdanilos: you don't need it yet09:52
wgrantDo we actually know that it works on dogfood?09:52
danilosbigjools, heh, ok, if you say so :)09:52
bigjoolsand you won't get it until you've testing on DF :)09:52
wgrantIt didn't after the first reuqest.09:52
bigjoolss/testing/tested/09:52
bigjoolswgrant: huh?09:52
danilosbigjools, ok, makes a lot of sense, then I'll get on with the next phase to actually do it, and then we can see what happens09:52
bigjoolsdanilos: in all seriousness, dogfood is the way to go here so that we can establish that stuff works before altering production09:53
wgrantbigjools: I remember that codehosting access from DF was supposedly set up during the sprint, but it didn't work.09:53
bigjoolswgrant: I don't remember us even trying at the sprint!09:53
danilosbigjools, of course, I am not disagreeing09:53
bigjoolsit was all on your laptop09:54
bigjoolsdanilos: I'm always right.... 'cept when I'm wrong.09:54
wgrantbigjools: We didn't try the code, but we tried branch access in anticipation.09:54
bigjoolswgrant: we only opened up access for the builders IIRC09:54
wgrantbigjools: Isn't that what we're discussing?09:55
bigjoolswgrant: I just tried and it works fine09:56
wgrantOK, great.09:56
bigjoolsI even remember testing it at the time it was done09:56
wgrantHm. I remember you had to make a second request, but didn't remember if that was resolved.09:57
bigjoolsI don't remember that but then I don't remember at lot of things at my age :)09:57
wgrantHaha.09:57
wgrantBjornT: Can you please re-review that branch know that we've clarified that ILFA isn't exportable?10:09
wgrants/know/now/10:09
stubAnyone used the with statement in a doctest yet?10:11
stubI think I need to inject some flags somewhere10:11
wgrantstub: Why not just use the import?10:12
stubBecause it doesn't work10:12
wgrantAh. Good rationale.10:12
stubI think it is http://www.python.org/dev/peps/pep-0264/, but no english translation in the __future__ or doctest bits of the reference manual.10:14
BjornTwgrant: sure, done.10:18
wgrantbigjools: No violent objections to https://code.edge.launchpad.net/~wgrant/launchpad/export-das-chroot/+merge/19759?10:20
BjornTstub: have you tried putting the __future__ import in the test harness (i.e., the file that sets up the doctest)?10:20
BjornTstub: or maybe in the test runner, although that's a very big hammer...10:21
danilosbigjools, btw, does BFB already have the code which checks the branch out?10:21
stubBjornT: Looks like more than that. I need to do the import at the top of the harness, and then pass a globs={'with_statement': with_statement} when constructing the suite.10:21
stubicky10:21
wgrantdanilos: It's done by bzr-builder, so it's probably not useful for your purposes.10:22
daniloswgrant, right, so it's outside the LP tree?10:23
wgrantdanilos: Yes, and inside a script that takes a recipe.10:24
bigjoolswgrant: one sec10:25
bigjoolsdanilos: it's done in the builder code10:25
danilosbigjools, wgrant: ok, excuse me for not being certain where to look now, but... is there some code in LP I could generalize and reuse for translations?10:27
wgrantdanilos: If you really want to look at it, try sourcecode/bzr-builder. But it's probably just as easy for you to do it yourself.10:27
bigjoolsdanilos: nothing in LP - as wgrant says it's done in bzr-builder10:27
danilosbigjools, wgrant: ok, thanks, that clarifies it10:28
bigjoolswgrant: MP is ok, I commented on it10:33
stubbzr pish10:33
wgrantIs the branch scanner broken?10:44
wgrantI pushed a new rev 7 minutes ago.10:44
wgrantIt has still not scanned.10:45
wgrantBjornT/bigjools: Branch finally scanned -- can one of you please check the new revs and land it?10:49
bigjoolssure10:51
wgrantbigjools: Thanks. Do you have a moment to talk about those test changes you requested last week?10:52
bigjoolswgrant: sure10:53
wgrantbigjools: So, regarding your last comment on https://code.edge.launchpad.net/~wgrant/launchpad/p-u-sprb-handling/+merge/19380...10:56
wgrantThe security is there so the storeUploadLog test works.10:56
wgrantIt just needs some declaration of writeability. It does not care what.10:56
wgrantThe tests will fail if the security is removed, and I'm not sure it can be usefully tested otherwise.10:57
bigjoolswgrant: ah ok, so there is a test :)  In that case, please document that fact on the test.10:59
* bigjools is about to order a new Thinkpad11:00
bigjoolswould love to get one w/Ubuntu pre-installed but the stuff at LinuxEmporium is all old models :(11:01
wgrant:(11:01
bigjoolswindows tax here I come11:01
* wgrant removes the security to work out which test it was.11:01
deryckMorning, all.11:02
adiroibandanilos: can you give me a hint for how can I make a TranslationMessage to be the current translation? Basically I have this test http://paste.ubuntu.com/381520/, and the contributors for makeTranslationMessages are listed in the POFile details page, but not on the language global statistics11:02
bigjoolshi deryck11:02
adiroibanjtv: hi. when you have time, can you please test the fix for bug #127171 ?11:07
mupBug #127171: Rosetta experts not allowed to "Change translators" <qa-needstesting> <Launchpad Translations:Fix Committed by adiroiban> <https://launchpad.net/bugs/127171>11:07
danilosadiroiban, looking at your test11:08
danilosadiroiban, fwiw, a lot of that data is maintained through triggers or nightly scripts, so that might be part of the problem11:09
danilosadiroiban, so, list of top contributors is based on karma, and karma is updated only with a nightly script11:11
adiroibanhm... how do you suggest I should write that test?11:11
stubYou need to populate the relevant Karma and KarmaCache tables. I don't think there are factory methods for that though :-/11:16
jtvadiroiban: hang on, some high-priority stuff going on :)11:25
jtvadiroiban: ah, I guess danilos took care of it while I was otp  :)11:26
danilosadiroiban, I am not exactly sure what would be the best way to do it11:27
danilosadiroiban, you can just add a method which updates karma for one particular user, or you can fake it by adding it directly11:33
bigjoolswgrant: hmmm, I am thinking about your security zcml11:58
bigjoolsThe upload processor is zopeless and doesn't need security, so what is falling over exactly?11:59
wgrantbigjools: The test that I added the comment to. It appears to run in that semi-secure mode which doesn't care about users.12:00
bigjoolswgrant: your diff has got merge conflict markers in it12:00
bigjoolsin the spr model12:00
wgrantbigjools: Argh.12:01
* wgrant fixes.12:01
bigjoolswgrant: which test?  the comment was on the zcml itself12:02
bigjoolstestSetsBuildAndState?12:02
wgrantbigjools: I added a comment at both ends.12:02
wgrantYes, IIRC.12:02
bigjoolsah I see it12:02
wgrantThe one that tests UploadProcessor12:02
bigjoolsburied in other comments :)12:02
wgrantIndeed.12:02
bigjoolshmmm12:02
wgrantRemember that Soyuz's Build has the same sort of thing, with little explanation. It would be nice to work out both.12:03
bigjoolshmm yes12:04
bigjoolsit's very odd12:04
bigjoolsah I know I think12:04
wgrantHm?12:04
bigjoolsthose Build attributes get reset in the webapp when you retry the build12:04
bigjoolswhich explains why you need lp.edit12:04
bigjoolsso I am still confused as to wehy SPRB needs it :/12:05
wgrantBut shouldn't they be set from within retry()?12:05
wgrantOnce you're inside the object, security is irrelevant.12:06
bigjoolsI didn't think it was but now you have me thinking12:06
bigjoolssince IBuild is exported, lp.edit still makes sense anyway12:07
wgrantFor a dangerous value of sense that has caused security issues in the past!12:08
bigjoolsyeah, we have a bad record there :(12:09
wgrantI mean that particular line of ZCML has been problematic.12:09
=== jtv is now known as jtv-afk
wgrantbigjools: That conflict's resolved.12:17
wgrantArgh, wrong push location though.12:17
bigjoolsheh12:17
wgrantbigjools: That looks a bit healthier.12:25
bigjoolswgrant: approved12:32
bigjoolsI can land it, it's db-devel right?12:32
wgrantbigjools: It's db-devel.12:32
wgrantbigjools: But watch out: thumper tried to land the prereq earlier, and the instance disappeared silently.12:33
bigjools:/12:33
bigjoolswhat happened to the pre-req?12:33
wgrantHm?12:33
bigjoolsit landed, or is it still in limbo?12:34
wgrantbigjools: It's not landed. The instance died, and we're not sure why.12:35
bigjoolsok I'll try merging it and having another go12:35
wgrantSo you might not want to land this headlessly.12:35
bigjoolsI'll run tests on my box12:36
wgrantAh, good point.12:36
bigjoolsI don't need no steenkin ec212:36
bigjoolsI have a fork whore12:36
=== mrevell is now known as mrevell-lunch
=== Ursinha-afk is now known as Ursinha
wgrantbigjools: It hasn't exploded yet?13:10
bigjoolswgrant: there's a test failure13:10
wgrantHrmph.13:11
bigjoolsProgrammingError: relation "sourcepackagerecipebuildupload" does not exist13:11
bigjoolsfor a few tests13:11
bigjoolstest_DeleteExpiredBlobs test_cronscript test_PersonPruner and others - non soyuz, which is odd13:12
wgrantOh, damn.13:12
wgrantI know about and have fixed that.13:12
bigjoolslib/canonical/librarian/tests/librarian-report.txt now13:12
bigjoolsif you have a fix I'll quit this test run13:13
wgrantI forgot to pump one of the DB patch changes through. Oops.13:13
wgrantSorry.13:13
bigjoolsok13:13
wgrant(we can't drop SPRBU entirely due to replication limitations, so it has been moved to another schema, which confuses things that look for foreign keys referencing Person)13:14
wgrantbigjools: r8934 has that DB change pumped through (it's already reviewed) and pushed.13:21
wgrantBut I guess it'll take about 10 minutes to appear on the public branch.13:21
bigjoolsokay13:25
bigjoolswgrant: on your lp:~wgrant/launchpad/sprb-new-model-columns branch?13:27
wgrantStuart Metcalfe doesn't exist on Freenode, does he?13:27
wgrantbigjools: The missing piece started on https://code.edge.launchpad.net/~wgrant/launchpad/sprbu-columns-to-sprb, but is now in p-u-sprb-handling13:28
bigjoolsok got it13:28
bigjoolsok off with another test run13:29
wgrantThanks.13:29
bigjoolsdoubt you'll be up in 3h huh? :)13:29
wgrantI really hope not.13:29
wgrant3am while sick is not advisable.13:30
bigjoolshope you're feeling better tomorrow13:32
bigjoolswgrant: still failing13:40
wgrantbigjools: Is this line in database/schema/patch-2207-32-0.sql?13:41
wgrantALTER TABLE SourcePackageRecipeBuildUpload DROP CONSTRAINT sourcepackagerecipebuildupload_registrant_fkey;13:41
bigjoolswgrant: yep13:41
bigjoolsI suspect that when I run "make check" it deletes the table when doing make schema13:42
bigjoolsanyway, I need food, back in a bit13:43
=== mrevell-lunch is now known as mrevell
stubIf dropping the table is too painful, comment out that line and open a bug.13:52
wgrantSee, the tests pass here.13:53
wgrantAh, no, there's one failure.13:54
* wgrant pokes around.13:54
* wgrant drops the rest of the foreign keys.13:55
wgrantstub: No objections to dropping the other three foreign keys?13:56
stubNo - all the foreign key constraints on that table should die.13:57
wgrantbigjools: OK, r8935 pushed, with all the foreign keys dropped. All the failures you've mentioned are fixed by that.14:00
bigjoolswgrant: ok trying again14:10
deryckadeuring, gmb, intellectronica, kfogel -- just a reminder, update the board before the standup.14:24
kfogelderyck: oh, thanks!14:24
deryckI did some QA and moved things there.14:24
kfogelderyck: I saw.  We don't have to hit "save" or anything, right?  Just move the post-it and it's done?14:25
deryckkfogel, right.  Just move the card.14:26
kfogelderyck: *nod*14:26
maxbooi, why does the LaunchpadDatabaseRevision table contains multiple rows, instead of just the current revision?14:26
kfogelintellectronica: know a good example of a usage of a standard Zope form somewhere?  (I'm in bug #515584)14:26
mupBug #515584: BugsPatchesView:batchedPatchTasks() should use a Zope form, instead of validating form values manually <story-patch-report> <Launchpad Bugs:Confirmed for kfogel> <https://launchpad.net/bugs/515584>14:26
wgrantmaxb: I don't know for sure, but it's probably something to do with the fact that a DB patch can live in a branch for ages.14:27
intellectronicakfogel: it's probably worth fixing that together with fixing it for the search form14:27
maxbah - so in theory they might not actually be sequential?14:27
wgrantmaxb: Exactly.14:27
intellectronicakfogel: there's a bug for that. let me try and find that14:27
wgrantmaxb: In practice, too.14:27
intellectronicakfogel: https://bugs.edge.launchpad.net/malone/+bug/32213014:28
mupBug #322130: Convert IHasBugs.searchTask(order_by) to use a real enumeration <api> <tech-debt> <Launchpad Bugs:Triaged> <https://launchpad.net/bugs/322130>14:28
kfogelintellectronica: thank!14:29
* kfogel opens it up14:29
intellectronicakfogel: it's quite a lot of work, i think14:29
intellectronicabut it would be even more work if we end up doing it twice14:30
kfogelintellectronica: it's a lot of work?  Just because of all the callers?14:30
wgrantbigjools: If it's still looking good, I will head to bed.14:30
kfogelintellectronica: if it's just a bunch of caller updates, well, Emacs and I can do that together.  If you think it's a lot of work in terms of inherent complexity, then I'm not sure lumping the two bugs together is a good idea.14:30
bigjoolswgrant: yes, no issues so far14:30
bigjoolssleep well14:30
intellectronicakfogel: yes. also you need to arrange for backwards compatibility14:30
wgrantbigjools: Excellent. Thanks.14:30
kfogelintellectronica: backwards compatibility?  This is an API issue?14:31
kfogelmmmmm14:31
intellectronicakfogel: maybe the API, also the search form, since many users save URLs for later14:31
kfogelintellectronica: okay, then I think we should keep these two bugs separate.  I'm all for fixing 322130, but 515584 is its own separate piece of tech debt, and doesn't have any compat issues.14:32
kfogelintellectronica: *nod* I see.14:32
intellectronicakfogel: ok, maybe you're right and it's worth fixing this first, don't know14:32
kfogelintellectronica: This *is* a fair amount of work, then.  Not against it, but I don't think we should just randomly start on it vs some other thing -- it needs to be triaged, and we probably want team input, or at least deryck's.  There might be more presing stuff to do.14:33
kfogelintellectronica: which we can discuss on the call now :-)14:33
intellectronicakfogel: indeed :)14:33
=== jtv-afk is now known as jtv
kfogelintellectronica: in the meantime... know a good example of a zope form? :-)14:34
al-maisanare thunderbird 3 and enigmail conflicting packages these days14:45
al-maisanenigmail de-installs thunderbird 3 and vice versa14:45
al-maisanECHAN14:45
al-maisansorry14:45
deryckkfogel, looking at QA page, can you update bug 513608, to link branch, status, milestone, etc.  I think this landed?14:45
mupBug #513608: community-contributions.py script should use Launchpad to determine who is not a Canonical employee <Launchpad Foundations:Confirmed for kfogel> <https://launchpad.net/bugs/513608>14:46
kfogelderyck: yup14:46
kfogelderyck: oh, no -- wrong bug number there.  513608 is still open, it's just mentioned in an XXX comment now.  the fix that landed is for another bug.  I'll fix it all up.14:48
kfogel(the qa page I mean)14:48
deryckkfogel, excellent.  Thanks, sir.  I think I marked something as OK, so sorry about that.14:49
kfogelderyck: well, the change is indeed OK, it just needs to be associated with the right bug number.  no worries.14:49
deryckok, cool14:49
kfogelderyck: so, it kind of disturbs me that if I do a bugs search across all projects, and put "community-contributions.py" in the search box, it shows no matches -- even though I know of bugs where that exact string is in the *summary* of the bug.14:52
kfogelderyck: is this expected?14:52
deryckby "search across all projects" what exactly do you mean?14:53
kfogelderyck: https://bugs.launchpad.net/, put that string in the search box, make sure "All projects" is checked, hit the button.14:53
kfogelderyck: it also turns up nothing if I do "One project:" and put launchpad or launchpad-projects as the project name.14:54
=== matsubara is now known as matsubara-lunch
deryckkfogel, seems like a bug.  This should work.  Maybe something with the way full text queries handle the ".py"14:56
kfogelderyck: urgk, sigh.  I'll push stack once more :-) and ensure there's a bug report for this.14:57
kfogelmay already be one, we'll see14:57
deryckkfogel, note that search on "launchpad" shouldn't work but search on "launchpad-project" should, since that is the project group.  yes, this is confusing, I know.14:59
kfogelderyck: I knew the latter should work.  I can never remember what the former is supposed to represent.15:00
deryckkfogel, it's a thing to catch bugs that no one knows where to file, *I think*. :-)15:01
kfogelderyck: oic :-)15:01
kfogelderyck: so, it turns out that in addition to that change (the one that is not for 513608), I also need to land https://code.edge.launchpad.net/~kfogel/launchpad/cc-script-new-world, which is approved.  To land that, I need to find the bug number(s) relevant to it.  On the way to finding those, I may be filing a bug about how I can't find them.  There.  I think that's everything at the current stack level.15:04
kfogel:-)15:04
deryckheh15:05
deryckNot too bad for a monday, kfogel ;)15:05
kfogelderyck: oy15:05
kfogelderyck: okay!  that's in the queue (https://pqm.launchpad.net/).  No need to respond.  I'm just feeling the work-at-home-cabin-fever this morning and so I'm yammering what I do at you.15:14
kfogel:-)15:15
kfogelderyck: are bug searches supposed to be case-insensitive?15:32
deryckkfogel, I'm sure they are supposed to be, but I can't confirm for certain yet.  Never checked on that yet.15:34
kfogelderyck: I'm assuming they should be too.  Doesn't matter for the purposes of the bug consolidation I'm doing right now of some search failure bugs, but I was just curious.15:35
adiroibangmb: hi. any news about the ever disappering branch ?15:46
gmbadiroiban: No, it's running on ec2 at the moment and hasn't died yet.15:50
gmbadiroiban: I'll let you know how it goes.15:50
adiroibanthanks15:50
kfogelderyck: okay, it's all in bug #29713 now, which I think maybe should be high priority (search is supposed to work reliably!)15:56
mupBug #29713: bug search fails to find results despite exact search string being in bug titles <Launchpad Bugs:Triaged by stub> <https://launchpad.net/bugs/29713>15:56
deryckkfogel, yeah, jml is beating the search drum too. :-)15:56
kfogelderyck: oh, I wonder if he knows of any dup bugs, then.  jml?  ^^15:57
jmlkfogel, I don't.15:58
kfogeljml: ok, thx15:59
=== matsubara-lunch is now known as matsubara
noodles775I've got an ec2 instance that's hung during windmill tests... is this a known issue? http://pastebin.ubuntu.com/381681/16:19
noodles775BjornT: ^^ ?16:19
sinzuijtv: thanks for doing the triage16:23
jtvsinzui: chr16:23
sinzuijtv: I am thankful none-the-less16:23
jtvvery gracious16:23
jtvsinzui: here, have a free desktop background made of 9th-century ceiling design: http://people.canonical.com/~jtv/DSCF0570.JPG16:26
jtvsinzui: took that in the Dome of Charles the Great at Aachen yesterday16:26
noodles775Wow...16:27
jtvit was pretty stunning, yes16:28
jtvalso the bust of the big man himself16:28
sinzuijtv: thanks.16:29
kfogeladeuring: looking for an example of standard, best-practices Zope form usage (for bug #515584) in our bugs code.  Do you know a good place?16:42
mupBug #515584: BugsPatchesView:batchedPatchTasks() should use a Zope form, instead of validating form values manually <story-patch-report> <Launchpad Bugs:Confirmed for kfogel> <https://launchpad.net/bugs/515584>16:42
adeuringkfogel: not out of the box...16:42
kfogeladeuring: np.  If you spot anything, or you know of some good docs on this, let me know.  I'll figure it out eventually.16:42
kfogel.oO (he said, optimistically)16:43
mramirezcan help me configure my mail server launchpad16:43
mramirezhelp mail16:43
* adeuring is somewhat confused today. I contenated mentally at first "standard, best" to "bastard"...16:43
adeuringkfogel: the best approach is to search for a simple from, but, in our case, one that does not use POST but GET16:44
kfogeladeuring: I guess what I'm really asking is, how will I know a good example when I see one?16:51
kfogelI'm not sure how to recognize the standard/best practice.16:51
adeuringkfogel: when it is simple ;)16:51
kfogeladeuring: It's a zen afternoon for you, I see.16:52
adeuringkfogel: ;) let me try to find something16:52
kfogeladeuring: btw, how long are you on today?  (reason: bad cabin fever, really need to just go outside and walk to the store and get a muffin, get some sunshine)16:53
kfogelif you'll be around for a bit, I'll do that and come back16:53
adeuringkfogel: an hour or so, i guess, the I'll leave for one or two hour; after that (around 9pm my time) I'll be back16:54
kfogeladeuring: you're coming back at 9pm??16:56
adeuringkfogel: yes16:56
kfogeladeuring: ok; I'll be out for a few, then back here.  If you happen to dig up a great example using an enum and standard zope form stuff, paste it to me.  If not, no worries; I'm grepping around for method="get" etc, and I'm sure I'll find the right thing eventually.16:59
=== henninge is now known as henninge-afk
=== jamalta is now known as jamalta-afk
=== jamalta-afk is now known as jamalta
=== jamalta is now known as jamalta-afk
=== jamalta-afk is now known as jamalta
maxbmbarnett: If you happen to be around, what are your thoughts on the launchpad-dependencies Slony-I thread?17:37
=== gary_poster is now known as gary-lunch
=== mrevell is now known as mrevell-dinner
=== danilos is now known as daniloff
sinzuibac: I updated bug 523891 with my findings. Do you think my proposal is sane?18:38
mupBug #523891: +needs-packaging includes packages that has upstream links <Launchpad Registry:Triaged by sinzui> <https://launchpad.net/bugs/523891>18:38
bacsinzui: yes, what you propose does make sense...i think18:45
sinzuibac: My fix may also fix bug 512831. I have tried to fix the gtk+2.0 packaging link, but I cannot. Every time I try to edit Lucid's link, I get Karmic's, so I set the same object to the same state. It is not possible to correct the the data from the dsp/sp pages.18:47
mupBug #512831: Packaging records not editable <package-link> <Launchpad Registry:Triaged> <https://launchpad.net/bugs/512831>18:47
sinzuiI just confirmed I can fix the lucid/+source/gtk+2.0 by creating the link from the upstream project. I think I will make my goal of week 3 to close the last of the packaging-link bugs18:50
=== gary-lunch is now known as gary_poster
mwhudsongood morning19:13
kfogelmwhudson: good morning19:32
thumpermorning19:44
jpdsthumper: Morning.19:51
kfogeladeuring: I'm noticing a problem with +patches view, but it might just be an artifact of my local dev instance.  After patching database/sampledata/current-dev.sql with the db diff I've been using for weeks to test +patches view, and then running 'make schema', I visited https://bugs.launchpad.dev/patches-view-test/+patches.  There were no patch tasks listed, though!  There should be six or seven of them -- the ones in my custom samp20:14
kfogelledata.  Puzzled, I created a new bug on the 'patches-view-test' product, attached a patch to it, and refreshed the view.  Now that bug alone shows up, but the old bugs in my sampledata still don't.  I tried adding a new comment on one of those old bugs, to see if maybe that would cause a refresh in the 'latest_patch_uploaded' column, but it didn't cause the bug to appear in the view.20:14
adeuringkfogel: that sounds really odd. Do you see the bugs missing on the +patches view on other bug pages for the test project?20:16
kfogeladeuring: yes, they are missing on other entities20:16
kfogeladeuring: assuming by "test project" you meant my test instance20:17
adeuringkfogel: I mean that thingy (IProduct, IIRC) that you created first, and where you then added the bugs for20:17
kfogeladeuring: btw, my db sampledata patch is here: http://paste.ubuntu.com/381809/20:18
kfogeladeuring: so when you say "+patches view on other bug pages for the test project", what does that mean?  The product ('patches-view-test') has only one bugs page....20:19
adeuringkfogel: OK, let me look. As a guess without lookng: if the test bugs are missing on the other bug related pages for the test project as well, I'd guess that the ID of the test project changed20:19
adeuringsoryy...20:19
adeuringI mean: Do you see the bugs on the http://bugs.launchpad.dev/testproject , for example?20:19
kfogeladeuring: this isn't actually holding me up on bug #515584 work, since I can just create a bit of new data easily, but ... it's worrying, obviously :-).20:19
mupBug #515584: BugsPatchesView:batchedPatchTasks() should use a Zope form, instead of validating form values manually <story-patch-report> <Launchpad Bugs:Confirmed for kfogel> <https://launchpad.net/bugs/515584>20:19
kfogeladeuring: oh, yes, the bugs are there on bugs.launchpad.dev/patches-view-test, sorry, I should have said that.20:20
adeuringodd... let me look at the sampledata20:20
kfogelBut the bugfilters stats portlet on that page says "0 bugs with patches", and going to ".../+patches" shows no patches.20:20
adeuringkfogel: Trying to apply you patch to trunk r10326, I get the message "Hunk #1 FAILED at 1377", Did you get perhaps something similar?20:24
kfogeladeuring: no, I did not.  You're using db-devel, right?20:25
kfogeladeuring: I branched my branch from an up-to-date db-devel this morning, AFAIK20:25
adeuringkfogel: argh, no... let me try again20:25
kfogeladeuring: :-)20:25
kfogeladeuring: hey, hmm, how would I do a python "if ... else ..." in a tal:content tag using the "python" magic word?  I can't use any indentation, obviously...20:27
adeuringkfogel: use a browser class mehod?20:28
adeuring...method...20:28
kfogeladeuring: oh, I see :-)20:28
kfogeladeuring: sigh.  ok.20:28
adeuring;)20:28
kfogeladeuring: .oO (But why can't I just implement all of Launchpad in this .pt file?)20:28
adeuringkfogel: but... what is your use case? perhaops there are other options20:28
kfogeladeuring: in the menu that offers sort orders, the actual orders we offer sometimes begin with "-" and sometimes don't.  But what we show do the user should never show the "-".  E.g., although it might be "-importance" behind the scenes, it should display to the user as "importance" in the dropdown.  So I was going to test the first char and do "value[1:]" if it was "-" ...20:30
kfogelyou see why it's tempting to  just take care of that in the .pt file20:30
adeuringkfogel: yes. But I think the "technical" values (with or without a leading '-') differ anyway from what we display to the user. the "technical" bvalues are all lower-case, while the displayed text might be capitalized20:32
kfogeladeuring: hmmmm, ok.  I'll run with that.  I think the patch I first show you (soon) will be very much in need of review.  but that's okay :-).20:33
adeuringkfogel: I think I know why your old attachments/patches don't show up: We have meanwhile a cached column "latest patch uploaded" or somesuch in the tabkle bugs. And this column is normally updated by DB triggers. But your test data is probably "too old" to be "aware" of the triggers...20:40
adeuringkfogel: but there is a simple way to fix this, let me looks20:40
kfogeladeuring: thanks20:40
adeuringkfogel: in the file database/schema/patch-2207-29-0.sql, there is an UPDATE command. Just run this command via psql.20:41
kfogeladeuring: wow!  thank you.20:42
adeuringkfogel: welcome :) But I am the one to blame to for all the mess with this column ;)20:42
kfogeladeuring: I think what I'll do after I run that is regenerate my db sampledata diff20:43
kfogelthat old one's getting stale20:43
adeuringkfogel: rigth, makes sense. a classical case of bit rot?20:43
thumperjml: ping20:46
kfogeladeuring: ezzatly20:47
jmlthumper, hi20:50
thumperjml: what was the state of your factory no-commit branch?20:50
thumperjml: landed, or work needed?20:50
jmlthumper, huge chunks of work needed.20:51
jmlthumper, it didn't even make it all the way through ec2 test -- it crashed it or hanged it or something20:51
jmlthumper, all I did was go through factory and delete all of the calls to commit20:51
kfogeladeuring: ok, rtfm'ing but I think you know the answer quickly: what user and db do I invoke psql as?20:56
kfogeladeuring: (I've never had to do it locally before for Launchpad)20:57
adeuringkfogel: "psql -d launchpad_dev" .20:57
adeuringyou don't need to specify a user20:57
kfogeladeuring: thanks20:58
kfogeladeuring: that update command worked, thank you21:01
adeuringkfogel: welcome. As I said, I am trhe one to blame for all this mess. background: the +patches view timed out for ubuntu, so I added this cached column bug.lastest_patch_uploaded .21:02
kfogeladeuring: well, you're not to blame -- ubuntu is!21:06
pooliehi there kfogel21:06
adeuringyeah, too many bugs ;)21:06
pooliehow are the bugs?21:07
kfogelpoolie: hey, there.21:07
kfogelpoolie: we're down to the last couple of bugs in launchpad.  Pretty cool.  I guess we might all be able to go home after today.21:07
pooliegood to hear :)21:07
kfogelpoolie: Oh, wait -- we already are home.  And there are 2000 bugs, not 2.  My bad.21:07
kfogeladeuring: hunh, I just notice (now that I have all my old data back!) that the batch size for patch tasks is, like, 5, instead of 50.  While that's useful for development, I'm worried that we built it into the code somewhere (temporarily for testing) and forgot to take it out.  What controls the batch size again?21:08
kfogeloh21:09
kfogeladeuring: it's a personal pref, isn't it?21:09
* kfogel sees21:09
adeuringkfogel: do you perhaps use a bookmarked URL?21:09
kfogeladeuring: nope21:09
adeuringkfogel: but the page https://staging.launchpad.net/ubuntu/+patches shows more than 5 bugs21:11
kfogeladeuring: not for me :-)21:11
kfogeladeuring: sorry, i mean not in my launchpad.dev instance21:11
kfogeladeuring: I wonder if we have a lower batch size in general for .dev instances, just for easier testing?21:11
adeuringkfogel: odd. are you sure that you don't use a parameter like batchsize=5 or so?21:11
adeuringkfogel: could be, I am not sure...21:12
kfogeladeuring: if I do, it's not in the URL21:12
kfogeladeuring: https://code.edge.launchpad.net/~kfogel/launchpad/515584-use-zope-form21:23
kfogeladeuring: would love early review from you on the route I'm taking21:23
kfogeladeuring: AFAICT, what I'm doing isn't more "Zope-y" than any other way, it just reduces some code duplication.21:23
adeuringkfogel: I'll look21:30
kfogeladeuring: thank you21:31
adeuringkfogel: you can create a vocabulary with the right options and display that as a drop-down list. Tha's done more or less automatically by LPFormView21:36
adeuringIOW, you don't need patchTaskOrderings()21:37
adeuringkfogel: and for the form view, you need and interface class which defines the values you want to display onn the form21:37
kfogeladeuring: aaaaah21:38
kfogeladeuring: much clearer now, thank you21:38
kfogeladeuring: (I don't think this work was wasted, though, as it still consolidated stuff outside the .pt file.  Now it's just  matter of moving code around.)21:39
* maxb is unconvinced by mwhudson's docstring nargery21:41
maxbDoes "Calculate the appropriate value for the BZR_PLUGIN_PATH environment." feel right to anyone?21:41
mwhudsonoh oops21:44
mwhudsonat least it follows the coding standard now :-)21:44
kfogeljml: hey, something's come up, can I move our tomorrow call to Wednesday?  (Or, hmm, it's not on cal for tomorrow anyway, so maybe it's cancelled this week anyway?)21:47
=== matsubara is now known as matsubara-afk
jmlkfogel, it's cancelled this week, I'm away.21:48
kfogeljml: *nod*21:49
thumperjml: did you end up talking to james_w about multi-distroseries recipes?21:50
kfogeladeuring: when does trunk freeze?  Wednesday?21:50
thumperkfogel: Friday normally21:51
kfogelthumper: oh, that's not so bad, okay21:51
james_wthumper: not yet21:51
jmlthumper, no.21:52
thumperjames_w: so... what's the story with that then?21:53
james_wit's not clear yet21:53
james_wthere will be some recipe format work needed to support it if that is the way we want to fix it21:54
james_wotherwise we could do it soyuz side21:55
thumperjames_w: in which case, I'm going to say it is all go with what we have21:55
thumperjames_w: so a recipe is going to have a base branch and an associated distroseries21:55
james_wthumper: I think you may be making a decision that makes it harder to provide the user experience that you want, but I can understand the desire to move forwards21:57
thumperjames_w: well...21:57
thumperjames_w: lets design for what we want then21:57
thumperjames_w: if we really want multi distroseries recipes21:58
thumperjames_w: then lets work out what we need to make that happen, and JFDI21:58
james_wyes21:58
thumperjames_w: do you know what needs to happen?  I don't21:58
james_wit's not me that is driving that requirement21:58
thumperwho is?21:58
james_wsomeone on the LP side21:59
james_wthumper: no, I haven't thought it through yet.21:59
thumperok21:59
james_wI would like to do so, but the water is a little over my head right now22:00
james_wit would only be a few hours work to design something and implement it though22:00
thumperjames_w: ok... can I do anything to help?22:01
james_weither schedule something to force the issue, or lighten the load elsewhere to give me the time to do it22:02
thumperjames_w: who do I need to talk to about your schedule and load?22:03
james_wthumper: that's not particularly clear right now22:04
pooliehi james_w22:04
james_whi poolie22:04
pooliei'd like to catch up sometime22:04
poolierealize it's late right now22:04
james_wwell, I am here22:04
thumperjames_w: :-) however that doesn't help me help you22:05
james_wthumper: I realise that :-)22:05
* thumper reboots server22:06
james_wthumper: we don't really have a manager right now, in the conventional sense at least. I guess it is split between Hugh and Robbie.22:08
* rockstar reboots22:22
* mwhudson heads out for an early lunch -- unproductive morning22:41
lifelessmwhudson: when you get back22:45
lifelessmwhudson: lets talk22:45
=== Ursinha is now known as Ursinha-afk
jelmerwgrant, hi23:12
wgrantjelmer: Hi.23:14
jelmerwgrant: you have launchpad working on lucid right?23:15
wgrantjelmer: Yes.23:15
jelmerwgrant: what did you need to do to get it working?23:15
wgrantAnd I tried to run the test suite overnight, but it died early on for un-Lucid reasons.23:16
wgrantjelmer: Install an old launchpad-dependencies (since the new one needs slony for postgres 8.3 -- that's about to be reverted)23:16
wgrantYou will also need to install python-egenix-mx{datetime,tools} from ppa:launchpad, or better still merge the versions in there so they're up to date.23:17
wgrantThat's about it.23:17
wgrantAlso, Canonical's non-Launchpad webapp teams are utter failures at security. Grrr.23:19
lifelesswgrant: heh23:21
jelmerwgrant, thanks23:22
lifelessI'm not entirely sure why the login.ubuntu.com became a different team23:22
wgrantlifeless: Not just that, but yes.23:22
jelmerwgrant, is that documented somewhere yet?23:22
wgrantjelmer: Which?23:22
jelmerhow to use lp on lucid?23:23
wgrantNo, since the two blockers are bugs that are easily fixed by anybody with upload privileges to ppa:launchpad.23:23
wgrantie. anybody in ~launchpad or maxb.23:23
jelmerhmm23:33
jelmerwgrant: so I guess I should fix it rather than document it on the wiki?23:33
wgrantjelmer: Definitely.23:34
wgrantDon't fix lp-dependencies yourself for now, since that's a bit harder, but the two outdated packages are just trivial merges.23:34
mwhudsonlifeless: hi23:36
lifelessmwhudson: hai23:36
lifelessmwhudson: IRC or voice. either is fine for me - but this did sound a little thorny.23:37
mwhudsonlifeless: so plugin unloading/layers are bad etc23:37
mwhudsonlifeless: i think irc will do, to start at least23:37
lifelessok23:37
lifelessso plugin unloading is 'unregister + delete from sys.modules'23:37
lifelesswhat interests me is why you need it23:38
lifelesslayers are just a poor implementation of testresources; we don't need to talk about that immediately :)23:38
mwhudsonso there's a specific problem -- probably really a launchpad bug -- that some tests fail when bzr-git is loaded23:38
lifelessis there a bug showing the failure?23:39
lifelessor a pastebin or something I can see?23:39
mwhudson(it's because LaunchpadTransport rejects filenames at one level apart from '.bzr' and 'backup.bzr' and so on, and bzr-git probes for some files)23:39
lifelessmwhudson: this suggests to me that bzr-git on the smart server may cause explosions?23:40
mwhudsonhowever, there is a more general issue that we don't want bzr-git to be loaded when we don't expect it to be, i guess mostly because bad things could happen in the branch puller23:40
mwhudson(mirrored branches and imported branches should be made more similar, yes, but not by accident)23:40
mwhudsonlifeless: it's possible, yes23:41
lifelessmwhudson: so only loading a plugin when you want it is fairly easy: don't import it :>23:41
mwhudsonlifeless: sure, that part works fine23:41
lifelessmwhudson: but that doesn't help with the test failures23:41
* mwhudson rummages for the failure23:41
mwhudsonlifeless: http://pastebin.ubuntu.com/381912/23:42
mwhudsonthere are many things one could do to make this failure go away23:42
mwhudsonyou could fix the codehosting vfs to not explode on attempts to _read_ disallowed filenames23:43
mwhudson(which we should probably do anyway)23:43
mwhudsonor you could unregister the git formats23:43
lifelessoh looks; test tools :)23:43
lifelessso23:44
mwhudsonor we could run all tests that use bzr-git in subprocesses i guess23:44
lifelessI think you shouldn't blow up internally on read attempts to unexpected files: NoSuchFile is more appropriate23:45
lifeless'these are not the files you are looking for', I mean. That, or bzr-git should be catching the permission denied error (by making it subclass something it catches)23:45
lifelessmmm23:45
lifeless* change the vfs23:45
lifeless* catch the error in bzr-git23:46
lifeless* use subunit to run the git using tests23:46
lifeless* use a resource to load git and unload it for tests that need it23:46
lifelessthe last one is pretty easy23:46
mwhudsonif it is, that must be the better option23:46
mwhudsonthe first two are probably good ideas but only solve the specific problem23:47
lifelessIt seems like a workaround to me - is there evidence for or against having othe specific problems?23:47
mwhudsonwe probably wouldn't need the resource, it's only one testcase class (i think)23:47
lifelessyou'll probably need to reach around inside bzrlib guts in the first place, but its not hard.23:48
lifelessand we can dress it up later.23:48
lifelessI suggest encapsulating it as follows:23:48
maxbwgrant, jelmer: It's not even a merge, just a no-change rebuild. Also, it's not required23:48
lifelesschange bzr-git's __init__.py to not register stuff directly, rather to have a 'register()' function, which is called at the end of the module.23:49
mwhudsonlifeless: i guess the only other specific problem i can think of is the branch puller23:49
wgrantmaxb: Not required?23:49
lifelessand a deregister() function, which undoes - however ugly it is - what register did.23:49
mwhudsonlifeless: but we're into 'unknown unknowns' on the cheney scale here23:49
lifelessmake them both idempotent23:49
mwhudson(or was it rumsfeld?)23:49
lifelessmwhudson: I can write this for you in an hour or so, ifyou need23:49
maxbwgrant: the egenix thing is only a build-dep, not a dep23:49
wgrantmaxb: It causes me problems here if I don't have a 2.5-supporting one.23:50
lifelessmwhudson: your test case would then do 'import bzrlib.plugins.git; bzrlib.plugins.git.register()' in setUp, and deregister in tearDown23:50
* wgrant finds the import.23:50
mwhudsonlifeless: that would work23:50
maxbwgrant: oh! Well we should add it to lp-deps then23:50
lifelessput this conversation in a bug on bzr-git; assign to me23:50
wgrantmaxb: psycopg2 needs it.23:50
maxbthe only reason I've been lazy about updating it is that aptitude wasn't whining at me23:50
wgrantmaxb: It depends on it, but not a specific version.23:50
mwhudsonlifeless: to generalise slightly, you could say that the next level down of problem is that it's hard to be confident of what's going to happen when you call "Branch.open" on a URL you don't entirely trust23:51
lifelessI don't think this is the best option, but it has clear limits which making things work with bzr-git being loaded doesn't.23:51
lifelessmwhudson: uhm, I don't get what that means23:51
* maxb runs 'lpnochange egenix-mx-base' ..... I should put that script somewhere :-)23:52
mwhudsonlifeless: if you set up a branch reference at some url that points to http://bazaar.lp.internal/$id_of_private_branch and asked for a mirror of the branch23:52
lifelessmwhudson: thats what the open hooks are for, no ?23:53
mwhudsonif the puller wasn't careful, it would suck the private branch into public area23:53
mwhudsonin the bzr-git case it would just be a performance screw up23:53
lifelessmwhudson: and similarly for git, I guess.23:53
mwhudsonmmm, maybe the open hooks are enough these days23:53
lifelessmwhudson: so, I think that 'check policy' and 'plugin installed' are orthogonal.23:54
lifelessmwhudson: we should make sure you can enforce whatever policy is needed, but that should be entirely different from 'is bzr-svn installed and loaded'.23:54
maxbwgrant: I can't find the import, where is it?23:55
mwhudsonlifeless: that certainly sounds like a worthy goal23:55
wgrantmaxb: Probably _psycopg.so23:55
lifelessmwhudson: so, with respect to bzr-git, opening a random url will 'try all the things that can open branches'23:57
lifelessmwhudson: if you want a policy of 'we only support X types when we open a url' - file a bug on bzr, explain why you want it, and we can figure out how to do it.23:58
wgrantmaxb: That does have an mx.DateTime reference.23:58
wgrantmaxb: I would upgrade and see what breaks, but I have a test run going at the moment.23:58
mwhudsonlifeless: if you know what the formats are precisely, that's easy enough already23:59
mwhudsoni guess having an open hook that rejected non BzrBranch subclasses would do well enough for us23:59

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