[12:49] Merge to thelove@canonical.com/dists--bazaar--1.5: new build (patch-61) [12:50] Merge to thelove@canonical.com/bazaar--devo--1.5: Added a --versions to commands displaying revision lists. (patch-47: Matthieu.Moy@imag.fr) === Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad === ddaa [~ddaa@ordo.xlii.org] has joined #launchpad [09:26] Merge to thelove@canonical.com/dists--bazaar--1.5: new build (patch-62) [09:28] Merge to thelove@canonical.com/bazaar--devo--1.5: --from and multiple versions support for "missing" (patch-48: Matthieu.Moy@imag.fr) [09:29] daf: why does dilys sometimes not have a name? [09:29] are those pqm requests really sent without one? [09:56] The name is the name of the archives of the merged patchlogs (when != from the destination archive) [09:56] you can have several names when doing a roll-up merge [09:57] hm, I guess I assumed it just took the From: name of whoever sent the request [09:57] and none in the case of an automatic commit, or same archive merge [09:57] it _is_ confusing [09:57] you're home again now? [09:57] I only understood it after going WTF at lifeless [09:57] hah [09:58] FSVO again, I guess [09:58] hah [09:58] got time for a python q then? [09:58] sure [09:58] so, I have a moderately complicated class [09:59] with lots of neatly factored-out little methods [09:59] testing the little methods is non-trivial, tho, since they depend on object state [09:59] would you go with "setting state manually in the test suite" or "making the methods take state as arguments"? [10:00] That's not a python specific question, rather a TDD best practices question [10:00] yeah, true [10:01] What I would do, would be doing feature tests, i.e. testing whole stories setting up the state running the method being tested, and checkinh the output and new state, without breaking encapsulation. [10:01] hmmm [10:01] Such tests are useful to have, but that's not the end all... [10:02] I have that too, but I feel safer having low-level "this method does what it's supposed to" tests, too [10:02] Right, one of my problem is that I have trouble writing unit tests. [10:02] the other issue is that some methofs change external state (e.g. write out files, send email), which makes it a pain to test things higher up the stack [10:03] does it seem like a terrible idea to test a subclass that replaces the externally-modifying tests with stubs? [10:03] I'd rather set the state manually in your case. Because if your API is message-passing style, designed around accumulating state in the object, it would not make sense to graft a functional API on top of it for testing. [10:04] that's what I was thinking [10:05] I would stub out the externally modifying classes too. Actually, google for "Mock Objects", that's a kind of stub with testing smarties. [10:05] ah, I forgot about them [10:05] well, in this context, anyway; I do use them for testing inter-object stuff [10:05] Basically, a mock a stub that provides machinery to test interaction with other objects. [10:06] While a mere stub is just something that provides enough API to be able to run the code being tested. [10:07] Nice of you to ask me about that, but I'm really no authority in OOP... [10:07] re: subclassing [10:08] lifeless wolud tell you to use compositon :P [10:08] haha [10:08] Which might well make sense in that case. [10:09] that's a good point, actually [10:09] to have a separate object to handle communication with the outside world. [10:09] thanks for your thoughts :) [10:09] my pleasure === Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad === mvo [~egon@ip181.135.1511I-CUD12K-01.ish.de] has joined #launchpad [11:40] could someone of the python people review a interface for me? python-apt has a "pure" python interface now that hides the details from apt_pkg. a quick look if it looks pythonic enough would be really cool [12:21] I do not think we have any python-dev here :P [12:22] mvo: where can I find the code you want reviewed? From the ubuntu archive? [12:23] ddaa: http://people.ubuntu.com/~mvo/arch/ubuntu, michael.vogt@ubuntu.com--2005/python-apt--mvo--0, directory "apt" [12:23] ddaa: thanks :) [12:23] did not say I would do it :P [12:23] ddaa: aha :) [12:24] Thinking of it, I probably focus on my assigned tasks... but I'm curious :) [12:24] * I should probably [12:25] ddaa: well, if you look at it, it would be very kind if you could /msg me your comments! [12:25] mvo: baz remark, you can just say "baz get http://people.ubuntu.com/~mvo/arch/ubuntu/python-apt--mvo--0/" [12:26] ddaa: that's a nice feature. since what version of baz does it exist? [12:26] 1.3 [12:26] or 1.4... [12:28] actually, without the trailing slash... === camilotelles [~Camilo@201.32.192.121] has joined #launchpad === carlos [~carlos@3.Red-80-39-5.pooles.rima-tde.net] has joined #launchpad [03:26] New Malone bug 1609 filed on Bazaar by David Allouche: Possible arch-cache race condition leading to data corruption [03:26] https://launchpad.ubuntu.com/malone/bugs/1609 === silbs [~jane@217.205.109.249] has joined #launchpad === Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad === lamont [~lamont@15.238.5.126] has joined #launchpad === carlos [~carlos@3.Red-80-39-5.pooles.rima-tde.net] has joined #launchpad === SteveA [~steve@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [04:49] silbs: hello === jamesh [~james@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === Keybuk [~scott@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [04:51] SteveA: hi. welcome back. === mpt [~mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === kiko [~kiko@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [04:54] ahoy [04:54] carlos! [04:54] daf! [04:55] kiko, ! [04:55] ddaa , bob2 - jsuch long running tests are doctests in nasture. that said, you will have many repeats to handle different expected conditions, which is where I'd use unit tests with setup and tteardown that give appropriate eady to test objects [04:55] so Brazil was connected again? [04:55] carlos, apparently. fuck fuck fuck. [04:55] doctests? [04:55] long-running? [04:56] -ECONTEXT [04:56] kiko, that's because they know I'm going there and know I need network connection :-D [04:56] yeah === debonzi [~debonzi@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [04:56] so what's up with daf? [04:56] Coming soon, wireless AP with built in satphone... [04:56] kiko, waiting for me [04:56] kiko, at London [04:59] ddaa: do a lastlog lifeless ;-) [05:00] Doesn't fit. [05:00] What do you mean by "lastlog"? [05:02] '/lastlog lifeless' [05:02] my irc client does not know about this command [05:02] you and bob2 invoked my name [05:03] mpt, around? [05:03] Yes, I remember this discussion. But still, I do not see the connection with "doctests in nature" and "long running". [05:03] mpt, I got your camera, but I was not able to get the memory card [05:04] carlos, what sort of memory card? [05:04] oh, if you need to setup a object and then call method X method Y beother bar on it and they are idempotent methods, a doctest will fit that quite well IMO [05:04] though not in th emethod docstring [05:04] kiko, sd [05:05] carlos, we can buy them cheap here, no worries [05:05] ok [05:05] cool === BjornT [~bjorn@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [05:13] carlos: excellent, thanks [05:14] mpt, also, they gave me a couple of rechargable AA batteries and the plug to recharge them for free [05:16] carlos: what sort of camera? [05:17] mpt, ? I don't remember the model [05:18] carlos: Let me guess, it's a Spanish battery charger? [05:18] mpt, yeah ;-) [05:18] European [05:18] jamesh: Pentax S-50 [05:18] carlos: Yeah, my last one came with a US battery charger that was similarly useless [05:18] carlos: you can keep it :-) [05:20] mpt: cool. that's the updated version of my camera (I have the S40) [05:20] well, It's with my luggage and I already checkin so... === salgado [~salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [05:22] lifeless, any chance to process my cherrypick request? [05:23] carlos: dude, we've been offline for 2 days [05:23] no internet at the sprint or the hotel. [05:23] lifeless, I know, that's why I'm asking :-) [05:23] if there is a chance [05:24] carlos - it conflicts [05:24] fuck [05:24] stub tried [05:24] ok [05:24] then will need to wait until next week [05:24] I don't have time to fix it [05:24] before the flight [05:24] can it wait till the amin rollout on monday/tuestday ? [05:25] yeah, because I cannot fix it now, it should wait anyway === stub [~stub@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === carlos -> plane [05:41] see you! === Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad [06:19] morgs: ping [06:20] ddaa: gnip [06:20] is your change for branch display currently on staging? [06:20] ddaa: I'll take a quick look... [06:21] ddaa: yes, here's an example: https://staging.ubuntu.com/products/gstreamer [06:22] Is there a policy for using tables for everything? === lifeless [~robertc@dsl-211.17.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad [06:23] I think that branch listing would be better served, semantically, by a dt/dd list [06:23] and that would mitigate the ridiculously-wide-table problem [06:24] ddaa: I'm fine with that, I'll give it a try on Monday [06:24] thus helping avoid the annoyingly-small-font-size problem... [06:24] sabdfl had me refocused on all-things-branches-and-bazaar-in-launchpad-and-friends recently [06:25] Do you think the title and URL are the right things to display? [06:25] so, time permitting, I would be able to contribute more code to this kind of things [06:25] Great [06:25] But I'm so happy with your work, that I really see little reason for that :) === ddaa checks out the db schema [06:30] ddaa: If you think there's anything a user would benefit from, let me know. AFAIK the url is the most useful thing? [06:30] URL is the only useful thing ATM [06:30] OK [06:31] There's something in my pipe coming right from HQ which I suspect is related to branch display. I think in the short term you can just get away with listing branches in a
    [06:32] I mean, listing urls [06:32] Makes sense. OK. [06:32] In the medium term I gather I'm expected to write something that will make the rest of the webapp world pale in humility ;) [06:33] Sort of google maps meets the bazaar? :-P [06:34] Anyway, I'm out of here. === ddaa looks at google maps [06:35] Yeah, sort of something like that. [06:36] OMG, this satellite view thing is painfully cool === Seveaz [~seveas@seveas.demon.nl] has joined #launchpad === Seveaz is now known as Seveas [06:54] Merge to thelove@canonical.com/dists--bazaar--1.5: new build (patch-63) [06:55] Merge to thelove@canonical.com/bazaar--devo--1.5: Implicit ^...$ around the regexps for rbrowse (patch-49: Matthieu.Moy@imag.fr) === mvo [~egon@ip181.135.1511I-CUD12K-01.ish.de] has joined #launchpad === bradb [~bradb@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === cprov [~cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [07:34] hmm [07:34] it's tricky to find the url that generates statistics for all the breezy modulesi n Catalan [07:35] ah, got it [07:42] New Malone bug 1612 filed on The Launchpad by Scott James Remnant: After logging in, launchpad leaves me up a blind alley without my clothes [07:42] https://launchpad.ubuntu.com/malone/bugs/1612 [07:44] New Malone bug 1613 filed on The Launchpad by Robert Collins: cannot sign coc due to launchpad ignoring signing keys [07:44] https://launchpad.ubuntu.com/malone/bugs/1613 === sabdfl [~mark@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [07:53] New Malone bug 1614 filed on The Launchpad by Robert Collins: bugs related people portal should uniqify the maintainers list [07:53] https://launchpad.ubuntu.com/malone/bugs/1614 [07:57] lifeless: yeah, I have both doctests and unittests [08:02] lifeless: I really didn't get your point on bug # 1613, want to talk about . === cprov got it now [08:14] (for that reason) === stub [~stub@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === salgado [~salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === jamesh [~james@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === kiko [~kiko@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === debonzi [~debonzi@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === cprov [~cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === Keybuk [~scott@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === SteveA [~steve@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === lilo [lilo@levin-pdpc.staff.freenode] has joined #launchpad [08:44] hi all [08:45] Hello lilo [08:45] sorry about the kline earlier, one of your IP's hit a user limit.... we have to kline on those to catch bot attacks quickly enough [08:45] I added new I: lines, so the problem shouldn't recur anytime soon [08:45] (hey Kinnison) [08:47] lilo: are bots typically registered with NickServ? [08:47] Thanks for that lilo [08:48] It's a conference IP :-) [08:48] oic! yah, we need to figure out how to get people to check with us before setting those up [08:48] if not, that could be a sweet optimisation for the auto-killer [08:48] more likely we just need some way to look for conferences in process and plug a calendar into the kline process [08:48] I've been thinking about that, but we don't have the facilities yet === lilo notes that #freenode-registry can use more Python people 8) [08:49] anyway, let us know if you need anything at all [08:54] cheers lilo === Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad [09:05] Merge to thelove@canonical.com/dists--bazaar--1.5: new build (patch-64) [09:06] Merge to thelove@canonical.com/bazaar--devo--1.5: baz lock-revision without argument, informative message at the end (patch-50: Matthieu.Moy@imag.fr) === mpt [~mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === BjornT [~bjorn@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === sabdfl [~mark@sabdfl.silver.supporter.pdpc] has left #launchpad [] === sabdfl [~mark@sabdfl.silver.supporter.pdpc] has joined #launchpad === sabdfl [~mark@sabdfl.silver.supporter.pdpc] has left #launchpad [] [10:11] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial, partial rs=SteveA] nuke the old MaloneApplicationView, fix a typo and deal with null SourcePackage.currentrelease -- fixing bug 1549 in the process. Also fixes (once and for all) the handling of the bugtrackertype enum in checkwatches (patch-2190: christian.reis@canonical.com) [10:37] otherwise pqm might go rusty! === warthylog [~warthylog@port49.ds1-van.adsl.cybercity.dk] has joined #launchpad === Topic for #launchpad: Discussion with Launchpad users and developers. || https://launchpad.ubuntu.com/ || Includes Rosetta and Malone. === Topic (#launchpad): set by SteveA at Thu Jul 28 19:07:42 2005 [11:32] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] fix bugs link in facet menu for person (patch-2191: james.henstridge@canonical.com)