[00:06] poolie: would you like to have lunch? [00:06] poolie: today I mean [00:06] mm [00:06] i would [00:06] i have to finish circa 5 [00:06] rather than 1 :-O [00:06] this sounds compatible so far [00:07] the bad 1 o'clock that is [00:07] I'll be finishing ~ 2 I imagine [00:07] wish I knew why i'm waking so early [00:07] but it sure is peaceful to be hacking - no trucks or traffic [00:08] anyhow, if you'd like to have lunch, so would I. So we should [00:19] sure [00:19] pick a place [00:19] meeting here would let me work more [00:19] meeting somewhere at the end of a motorcycle would add joy to my life :) [00:21] poolie: you're not seriously asking me to choose between you working or having joy? [00:22] poolie: thats rather faustian :) [00:22] uhm, I could go pie. Or vietnamese. or $other [00:22] one of us needs to choose :) [00:22] lets say pie [00:23] i am enjoying my work [00:23] ok, here? [00:23] poolie: yes, bzr-mac [00:23] wfm [00:23] morning all [00:23] great [00:23] done [00:23] 12ish? [00:23] igc, i was thinking about platform-specific bugs [00:23] or is that too early for your stomach [00:23] i suspect non-core people aren't subscribed to bug mail, or don't read it [00:23] in fact core people probably don't read all of it [00:23] should we maybe explicitly forward or subscribe platform teams to relevant bugs? [00:25] lifeless: wfm, i woke about 6.30 [00:28] poolie: maybe. I'm not sure if there would be any backlash against that or not. We could ask if anyone objects? [00:29] ok [00:29] poolie: there's certainly value in asking the teams to test platform specific fixes [00:29] i've had some success in the past pointing them out on the main list marked with eg win32 [00:30] i guess the question is whether they're platform test teams or platform dev teams [00:30] poolie, jml: can users/teams subscribe to bugs with certain tags? [00:31] igc, I don't believe so. It's quite possibly a filed bug too [00:34] vila: still here? [00:34] igc, i was wondering the same thing [00:34] it's probably better to just subscribe the team [00:35] i think it's probably not appropriate to subscribe the whole team to all relevant bugs [00:35] (maybe they want it) [00:35] but we could make ~bzr-win32-bug-team [00:36] poolie: do you want developers or qa-on-fixes [00:36] developers [00:36] poolie: if its qa on fixes I'd suggest ~bzr-qa-PLATFORM [00:36] primarily [00:36] i think some of these bugs are shallew [00:37] btw did you have any luck with wine in the case we mentioned yesterday? [00:37] poolie: no, it was on my todo to experiment today, but late last night bialix said it works [00:37] how sad :) [00:39] its terrible fixing bugs and stuff [00:39] bialix is going to try and get a 1.18.1 prepared with the windows fixes [00:40] Whats really a shame is that all of them were very shallow. [00:41] does buildbot actually run ascii tests specifically at the moment? [00:49] i don't know [00:49] i don't think so [00:49] but it sounds like vincent will add it soon [00:55] lifeless: oh, actually unfortunately i can't do lunch today, i have to do something for s [00:55] ok [00:55] no wakas [00:55] monday could be good, let's talk then? [00:57] friday or tuesday would be better for me [00:58] k [00:58] poolie: can you clarify vila's email last night ... [00:58] mm, which one? [00:58] about the rc? just done [00:58] poolie: the one that said rc1 vs beta1 [00:58] and lrelease date early next week [01:00] ah, i didn't see that about the release date [01:00] poolie: so to confirm, rc2 next week [01:00] poolie: and 2.0 the week after [01:00] if 2.0 is next Monday, that impacts what I'll do today! [01:04] poolie: would tomorrow work foryou? [01:04] igc: yes [01:04] was i insufficiently clear about what i wanted to happen or was vincent just a bit random here? [01:04] probably both [01:05] poolie: I think unclear; I know I've been unclear [01:06] *I've been unsure* [01:06] I was asking you yesterday whether this should be done before we're finished with the critical bugs or not, and you said not-before, but this seems to have happened before they are fixed : I don't really know where we stand. [01:07] poolie: I thought it was clear-ish but it's a change in process and we'll still finding our feet wrt monthly vs otherwise [01:07] poolie: 1.18 is yet to be announced for example IIUIC [01:07] true [01:07] what's "this"? [01:08] 2.0b1? at that time all of the 2.0 critical bugs were closed, i believe [01:08] doing a 2.0 b1 [01:08] poolie: jam is working on the fragmentation issue, I'm working on the pushing of 1.9 stacking against 2a issue [01:09] 415508 and 402645 were still open [01:09] bug 415508 [01:09] Launchpad bug 415508 in bzr "Content filtering breaks commit w/ merge parents" [Critical,In progress] https://launchpad.net/bugs/415508 [01:09] ! [01:09] it shouldn't be [01:09] poolie: also when you said critical I heard 'targeted to 2.0' not 'critical' [01:09] which is a hearing defect [01:11] we have non-2.0 bugs marked critical [01:11] um [01:11] poolie: I'd like to either untarget, or bump to critical, all the non-critical, non-fixed, bugs targeted to 2.0 [01:11] I think it will make sure you and I are on the same page [01:11] i'd like to either degrade or target all the critical bugs [01:11] so the non-critical bugs targeted to 2.0 are meant to be things we'd like to fix, or would consider merging [01:12] this might be an unhelpful distinction compared to just looking at the high/critical lists generally [01:12] so, um [01:12] i think both those changes are good [01:12] but let's do them one-by-one not wholesale [01:12] and then if we find a case that seems to invalidate the approach we'll reconsider it [01:12] I strongly desire that targeted means 'will delay release' [01:13] mm, me too [01:13] not having them critical seems to make them mean something different to you [01:13] i found that yesterday required more thinking than was optimal [01:13] or more thinking of a kind of overhead category [01:13] ok bug 416732 [01:14] Launchpad bug 416732 in bzr "check reports "Missing inventory {('TREE_ROOT'..." for trivial non-rich-root branch" [High,Confirmed] https://launchpad.net/bugs/416732 [01:14] targeted to 2.0. SHould block it IMO [01:14] lifeless: that's what "blocker" means in GNOME. Actually, "blocker" (if confirmed as such) means «holy shit, stop everything, and there will be a release about 30 minutes after we figure out the problem» [01:14] bug 402645 you mentioned before [01:14] Launchpad bug 402645 in bzr "fetch for --2a formats seems to be fragmenting" [Critical,In progress] https://launchpad.net/bugs/402645 [01:14] poolie: lets do this over the phone; it will be quicker [01:14] mm [01:14] let me finish something here first [01:14] then i'll call [01:15] ok [01:15] lifeless: so yeah, I guess that's what "critical" means there too [01:15] it's all very informal [01:16] so the key question is [01:16] should there be a category of 'wannabe blocker' or 'kinda blocker' [01:16] AfC: there are two dimensions here; one is 'before this release', the other is 'what should a dev look at next' [01:16] it seems to cause mental pain for the RM and may have no benefit [01:16] poolie: I don't think there should be; it should be a blocker, and if someone disagrees they stop it being a blocker. [01:17] make the decision and make it easy to change if wrong. [01:17] lifeless: the answer to the second question is always "my manboobs" [01:17] mneptok: no, never. I'm sorry, but goram-no. [01:17] lifeless: well, the later is task prioritization, and I've never found bug trackers are good for that. Anyway, topic for beer. [01:17] lifeless: so much for the adventurous and brave spirit of New Zealanders. [01:17] mneptok: ba! [01:17] lol [01:25] lifeless: your phone seems engaged, call me when you're fere [01:25] free* [01:25] as in beer [01:39] poolie: doing [01:40] poolie: your phone rang out [01:43] * lifeless tries again [02:06] poolie, ping? [02:06] beer? [02:06] I like beer. [02:07] mneptok, stay classy :) [02:07] * emmajane reads backwards in time. [03:05] poolie, reply sent. :) I'll be back in a bit for a little bit. [03:17] lifeless: you only get knit-delta-closure etc if you pass "include_delta_closure=True" which doesn't happen for normal fetches, only when someone wants fulltexts. [03:17] so you end up getting every little bit of content as a separate 'substream' in a normal fetch [03:17] 2a would be different [03:17] though I think it would be 1 group per substream [03:18] which still isn't great [03:18] and means that the target repository won't really have a chance to do batching [03:18] since it won't get all the groups in a single 'insert_record_stream' [03:18] you would have to batch between the streams... [03:18] jam: it's still the same write group, though. [03:19] spiv: sure... still sort of violates what I thought substreams were abouet [03:19] jam: wish you were here. Then I could buy you a coffee. [03:20] Well, it's explicitly allowed for there to be multiple substreams of the same kind. [03:23] It would be more elegant to turn the stream from the request into a continuous object stream, but Python doesn't make that easy to do. Well, we could add more threads... [03:23] spiv: sure. but 1 record at a time is not really a bunch of *streams*, but more, a bunch of records... :) [03:23] also, Repositories know about write groups [03:23] VF's know about record streams [03:24] so you would have to figure out how to have the VF know about the current Repo's write_group [03:24] which is a small inversion [03:24] or have Repo.commit_write_group() tell the VF.flush_your_buffer() [03:24] Well, for 1.9 pack repos I don't think there was any practical difference between insert_record_stream([2 records]) and 2 insert_record_stream([1 record]) ? [03:24] (and dump_your_buffer for abort) [03:24] Because it's the write group that allocates the pack file. [03:25] spiv: present day there isn't for 2a [03:25] I would *like* to regroup on-the-fly [03:25] given the discussion about fragmentation and recombination [03:25] I can't regroup if everything I see is a single record-at-a-time [03:25] Ah, I see. I was trying to figure out why you cared :) [03:34] bzr 1.18 is out or will be immenently right? (ie, it's ok for me to "advise" people that they really ought to be using bzr >= 1.18 on a website & in release notes for something I'm cutting today or so?) [03:35] AfC: 1.18 is out, the announcement hasn't hit pending the building of all packages for all platforms [03:35] the code is cut, though [03:36] k [03:36] close enough [03:45] 2009/8/27 Mary Gardiner : [03:45] > Why say "can we upgrade this to critical" when you mean "can we fix this?" [03:45] >                                    -- Martin Pool, twitter.com [03:45] great sig :) [03:46] heh [03:46] Heh. [03:47] Wait. We're supposed to FIX them? [03:50] poolie: I've just mailed the list with I think the pith of our chat [03:51] spiv: jam: it would be quite easy to daisy chain all the substreams of the same kind together in the insert_stream method [03:55] > "Do not assign bugs to other people unless you are confident they will work on them." sounds like some people can avoid getting bugs assigned to them altogether :) [03:55] but no one on this team :) [03:57] poolie: if you assign a bug to me, its == 'hey robert, please fix this for me' [03:57] and I'm very unlikely to unassign it immediately. [03:57] * igc lunch [03:57] mm [03:57] i'll reply in mail [03:58] I've seen fairly regularly in other areas, assign-to-someone being used by users to get their bug looked at [03:58] I think that was before the permissions on the assigned field were straightened out [04:00] what is 'staying stay' supposed to mean? [04:02] blah, typo [04:02] just switching folders. [04:06] poolie: staying stale [04:07] poolie: as data: https://bugs.edge.launchpad.net/~mbp/+assignedbugs :) [04:08] would bzr reconfigure --append-revisions-only be a useful feature? [04:08] mwhudson: yes! [04:09] Only I'm not sure I'm sanguine with it in reconfig. [04:09] lifeless: is there an easy way to set it at the moment? [04:09] mwhudson: vim [04:10] fullermd: got a better place? [04:10] Unfortunately, no. We should have a place for a lot of things like that. [04:11] And reconfigure is a great command for it. [04:11] But it's currently fairly purely "reshuffle the arrangement of bzrdir components", and I don't like mixing that with "set branch config options". [04:11] mwhudson: init has a flag for it, so check the cmd_init code. [04:11] fullermd: and repository options [04:11] mwhudson: api wise its easy [04:12] lifeless: i know [04:12] branch.get_config().set_user_option() [04:12] they're some of my favorite bugs [04:12] Yah, I know. I put that one there, remember :p [04:12] it may be too large of a queue but they're also things that i want to do in my slack time, if any [04:12] poolie: o/~ these are a few of my favourite things [04:12] Still a bit uncomfortable with it being there, though. [04:12] it may be there's some better place to store that [04:12] poolie: Would you be happy having an mbp tag on the tracker? [04:12] mm [04:12] maybe [04:13] tags are still harder to use [04:13] there is this 'bug list' feature that's meant to do exactly what i want here [04:13] no idea when that will be done though [04:13] I get concerned when I do something with someone else assigned to it. [04:13] to the point that I don't do those things. [04:13] or do them less often [04:15] ok [04:15] that's definitely a problem [04:15] some of this stuff is like working in python [04:15] nice, but you have to work with what you've got [04:15] s/.*, // [04:15] ie encoding all the bugs as tuples :-/ [04:16] :P [04:16] I like that we can file bugs on launchpad in launchpad. [04:49] thumper: will pyconz be briliant or just ok? [04:55] lifeless: I have no idea [04:55] lifeless: I expect it to be at least ok [04:55] very close to uds [04:56] I'm trying to decide if I should come to pyconnz and give a lightning talk on fixing unittest [04:56] amongst other things [05:03] lifeless: i think you have a good point about assignment actually [05:03] i've just had enough metadevelopment for today [05:04] poolie: thats fine, I have too [05:05] I was expecting a 3 minute call :P [05:05] :-) [05:16] spiv, igc, either of you want to catch up? [05:16] now would be good for me [05:17] poolie: sure, I'll call [05:17] poolie: I've EOD'd [05:24] Hi, I just started using bzr (and I've absolutely loved it, especially the bzr-svn module), but had a couple of new user questions. Is this a good place to ask them? [05:27] I created a test branch from an SVN repository and then posted it to my server. From there, I made a "working" branch that I could experiment with. However, whenever I post anything to the working branch, it also posts to the main branch on the server via SFTP. Is that normal? And if so, is there any way to disable it? [05:45] RobOakes: How did you make the working branch? [05:46] The first branch I created by using bzr push from within the SVN working copy. It took four days, but eventually it created a bzr branch of the code. [05:47] The "working" branch was created from that initial export using bzr branch /path/to/original [05:47] What does 'info' tell you in the working branch? [05:47] lifeless: ooh, when's pyconnz? [05:48] mtaylor: you mean kiwipycon?~ [05:48] It says "checkout of branch sftp://path/to/branch" [05:48] Related branches push branch: sftp://path/to/branch [05:48] mtaylor: http://nz.pycon.org [05:49] * mtaylor is always looking for excuses to go places... [05:49] mtaylor: where are you based? [05:49] RobOakes: Right. So you didn't make a branch, you made a checkout (either by running 'checkout' instead of branch, or later using 'bind' or one of its relatives). [05:49] thumper: seattle [05:49] * mtaylor now notices that CFP is open for US pycon [05:49] mtaylor: we'd love to have you :) [05:49] Okay. Is there any way to unbind it? [05:49] RobOakes: You want to turn it into a separate branch if that's what you want, with e.g. 'unbind'. [05:50] mtaylor: it is just a weekend though [05:50] mtaylor: we're only just starting out [05:50] Very, very nice. I just tried a test commit and it looks like everything is working. Now, when I want to update the remote branches, I use bzr push, right? [05:50] thumper: I'd love to come! you know, I'm sort of low on flying miles this year... [05:50] mtaylor: need to keep that gold membership? [05:51] RobOakes: Right. [05:51] thumper: yes! [05:51] thumper: if I lose it, they'll stop upgrading me places, and that would make me sad :( [05:51] mtaylor: you could talk to me in person about code reviews [05:52] thumper: oooh. now there's a business reason to come [05:52] Got time for a second question? Because of reasons too complicated to go into, I do most of my development work on a linux virtual machine. However, the actual files are stored on the physical hard drive and accessed through an interface. [05:52] For reasons I don't understand bzr seems to think that the file permissions change, quite frequently. This leads to very big (and pointless commits). Is there a way to tell bzr to ignore changes in the file permissions? [05:53] The only permission bzr watches is the +x. That really shouldn't be changing around unless you're flipping it... [05:54] mtaylor: mid nov [05:54] (I mean, depending on just what the 'interface' is, it may not mean much, but it shouldn't be _changing_) [05:55] I'm not, but the way vmware handles it's remote directories is weird. Sometimes, they mount as 777 and sometimes they mount with other permissions. [05:55] I still haven't quite figured out the overall method to the madness. [05:55] That's... pretty insane. [05:56] Anyway, making bzr ignore it would really be hackaroundish. Wouldn't be my choice of how to handle it. [05:56] But given that, no, AFAIK there's no existing config option to say "ignore +x totally plz". [05:56] Agreed. My plan has been to watch the permissions and only commit when they are 777, this prevents the nasty problem. [05:56] Maybe you could thunk something in with a plugin, but that's way outta my league. [05:57] I may think about doing that. My first desire would be for VMware to tell me why the permissions in the vmfs module are all crazy. [05:58] Vague memory tells me there is (or was) a plugin to try and allow some +x handling on win32; that might be a place to start. [05:58] I'll take a look at that. I'll look through the devel mailing list and see if I can find anything about it. [05:59] Maybe write a plugin or shell alias that checks that a) a file that should not be +x is indeed not, and b) a file that should be, is. Then abort/warn before commit as appropriate? [05:59] Oh, good, somebody competent is here. I'll leave you with spiv 8-} [06:00] That would help solve the problem, and wouldn't be too complicated. [06:00] Anyway ... thanks for the help. That clears up most of the miscellaneous questions I had. [06:00] That would catch any sort of weird "all mounted files get +x"/"all mounted files lose +x" condition. [06:00] And hopefully you can fix the root problem :) [06:00] * spiv grabs a late lunch. [06:01] Agreed. What's funny is that I don't seem to have the same issue with my svn working copies. (But I also haven't spent much time testing it. I figure it's a weird VMware thing.) [06:54] hi all [06:55] lifeless, poolie : the test are run with and without locale for quite a few days/weeks [06:55] poolie: argh, sorry about the rc/beta misunderstanding :-( [06:55] * vila checks mail [06:56] vila: thanks [06:56] it's ok [06:56] vila, what was the source of the confusion? [06:57] hmm, I think I fired qlog to search for examples of updates for version_info and could only found rc examples of course [06:58] you certainly mentioned 'beta' but it didn't print hard enough in my brain to override at that point :-/ [06:59] add to that some stress due to bugs encountered while setting up my 2.0 branch and apport masking me the real cause, etc, => small mistake, big consequences :-/ [07:01] ok [07:01] i thought that might have been it [07:01] the examples in the docs are a bit of a two-edged sword [07:01] without them it would be vague but it's easy to mentally or literally copy & paste them [07:02] while discussing with jam, I still wasn't sure about my mistake as 'cycle.txt' doesn't mention 2.0beta1 but mention 2.0rc1 [07:02] so it's still unclear whether 2.0 is different because it starts the new cycle [07:12] jam, you rejected your merge sort bug? [07:13] poolie: re-reading releasing.txt, memory comes back also: the document is clear about final releases, less so about candidates and says nothing about betas, I'll outline everything I found by mail [07:13] s/bug/mp [07:13] poolie: I saw it too, but I think he wanted to work on a second part instead and I'm pretty sure he send a submission to pqm [07:19] poolie: [07:19] File "/home/robertc/source/baz/pending/working/bzrlib/tests/test_selftest.py", line 2645, in test_run_bzr_user_error_caught [07:19] 'bzr: ERROR: Not a branch: ".*nonexistantpath/".\n') [07:19] AssertionError: pattern "bzr: ERROR: Not a branch: ".*nonexistantpath/". [07:19] " not found in [07:19] """\ [07:19] bzr: ERROR: Attempt to escape test isolation: 'file:///nonexistantpath/' [] [07:19] """ [07:21] :( [07:21] bbl - some errands to run [07:21] jml: this is good [07:21] jml: its a step towards not making 4 directories on every test [07:22] lifeless, I was reacting to a costly mistake that bzr let me make [07:23] make lots and lots of tedious changes, shelve them, merge in latest trunk, forget to commit, unshelve them, realize they're all mixed together, revert, sigh [07:23] jml: oh :( [07:25] jml: did you lose the changes? [07:25] jml: perhaps you can uncommit, or maybe we kept a backup for you? [07:27] backups would end with '~', right? [07:27] ... and the modified files aren't open in my editor. [07:27] mmm, they would have it in the name [07:27] is there a backup of the shelf in .bzr/checkout/** [07:28] jml: we should have kept backups for sure, grep for **/*~* [07:28] em, find . | grep .. or $something like that [07:29] no backup in .bzr/checkout [07:30] the backups look like they are of the wrong changes [07:30] I want what was in the shelf [07:31] please file a bug about this; we may tease it into several bugs [07:31] however, the backups are numbered [07:31] are you looking at the right ones [07:31] there's only ~1~ [07:31] no others. [07:32] ok, two bugs [07:32] revert is meant to back things up [07:32] unless you've set no backups [07:43] poolie: ouch, only 2.0rc1 appears on https://edge.launchpad.net/bzr in the download part, that's not true for https://launchpad.net/bzr though [07:44] i like the pedantry of the tooltip on RDF [07:44] vila, you're saying it should show the last stable release too [07:44] sounds like an lp bug [07:44] yes [07:44] oh, sigh [07:44] will you file it or should i? [07:45] well, had I made a beta I think the problem would have been the same... please do, I'm already filing another:-/ [07:45] oh, which one? [07:46] i'm going to finish soon btw [07:46] for a change [07:46] TooManyConcurrentRequests when pulling from lp in a lp bound branch [07:47] lifeless: bug #309309 was the one I was referring too yesterday in my review [07:47] Launchpad bug 309309 in bzr "selftest can't be run in a bound branch" [Undecided,New] https://launchpad.net/bugs/309309 [07:48] Launchpad is pathetic. Again. "The URI scheme "bzr" is not allowed. Only URIs with the following schemes may be used: bzr+ssh, ftp, http, https, sftp" when trying to give it a bzr:// branch. [07:50] someone just filed a bug on that [07:50] it may be a recent regression [07:50] I mean, shit, even Ohloh manages to get that right. [07:51] poolie: (no, I don't think so. I recall trying to register the proper branch URI for my mainline about a year ago and it didn't work. Back then it _also_ crashed my browser when I tried to file a bug about it, which was exceptional. But now it just errors) [07:51] well, sorry [07:51] AfC: I think you're being a little harsh; that code tries to be very paranoid (and thats arguably a mistake), but pathetic is a little strong. [07:52] poolie: {shrug} I'm not about to hold their behaviour against you. [07:52] poolie: but this is yet another feather in the cap of why I think it so important to encourage people to realize they don't need to use Lauchpad to work with Bazaar. [07:54] Yeah, I think that's always been the case. I think there was/is some reluctance to open up unnecessary ports. [07:54] lifeless: perhaps, perhaps not. Given that I've registered an external branch as a project's mainline I don't really see it as necessary that Launchpad advertises "to get this do `bzr branch lp:myproject`. It's like? Huh? That's a mirror, and a 5 hour out of date mirror at that. How about Launchpad advertise `bzr branch bzr://...` like I asked it to. [07:54] lifeless: things like that, again and again [07:54] So my recollection is that refusing bzr:// is not because LP doesn't understand that prefix, but because it knows it can't work. [07:55] lifeless: me registering a release series at a certain well known foreign location and then Launchpad claiming it's where the releases are hosted? That's not cool either. [07:55] AfC: for some folk its great, because they don't want lots of people pulling directly. Maybe there should be a toggle. [07:55] spiv: that's interesting. Bizarre to my eyes, but certainly informative. Of course, if bzr:// doesn't work maybe someone should take it out of bzr and I'd stop using it. [07:56] AfC: it works, its just firewalled @ canonical. [07:56] bzr:// works just fine, in general. [07:56] AfC: is there a bug on this? [07:57] lifeless: classic [07:57] Operationally, the way Launchpad is currently deployed, Launchpad cannot access that port on arbitrary hosts. [07:57] [and you said I was being harsh?] [07:58] It's probably worth revisiting that decision. At the time there were very few TCP-only bzr branches out there, so it wasn't a big deal. [07:58] And, co-incidentally, someone did file a bug about it recently as mentioned above, so probably someone will be revisiting that decision soon. [07:58] lifeless: I can try and file one if you like. Launchpad's javascript doesn't seem to be crashing Epiphany anymore. [07:59] Oh hey, another Epiphany user. [07:59] :) [07:59] spiv: of course. GNOME integration, baby [08:01] vila: i don't think you put the changelog in the2.0rc1 release on lp? [08:01] vila: i filed bug 419735 [08:01] Launchpad bug 419735 in launchpad-registry "downloads page harshly truncates series descriptions" [Undecided,New] https://launchpad.net/bugs/419735 [08:02] good [08:02] (not so important) [08:02] and more importantly bug 419733 [08:02] Launchpad bug 419733 in launchpad-registry "new Downloads portlet should show latest stable release as well as latest" [Undecided,New] https://launchpad.net/bugs/419733 [08:03] and reopened bug 275677 [08:03] Launchpad bug 275677 in launchpad-registry "downloads should be grouped by release, not series" [Low,New] https://launchpad.net/bugs/275677 [08:05] vila, also we should probably change the process not to upload source zips [08:05] i misunderstood the request when i added that [08:05] vila: checking the safety net appears to be 1-2 ms [08:05] (*20K = most of a minute) [08:05] people actually wanted zips of windows binaries [08:06] changelog... oooh, I just understood how it works, but that's not mentioned in releasing.txt and I think at the time I filed http://bazaar-vcs.org/Download I was already worried because the bugs didn't appear [08:06] lots of bugs appear :) [08:06] which ones did you miss? [08:06] I mean they weren't targeted at the milestone [08:07] mm [08:07] poolie: I'm wondering if your fix to show every test is the right way to fix the test progress bar [08:07] also creating the milestone was a key time in my mistale [08:07] rather than what? [08:07] poolie: simply because if tests are very fast the progress bar starts to dominate :) [08:07] srsly? [08:07] nice [08:07] I'm closing in on that [08:07] Ran 203 tests in 2.975s [08:08] * jml is reminded of Ubuntu boot discussions [08:08] presumably because of the time to paint it, not to calculate the text [08:08] what's the delta if you run with =none [08:08] =none ? [08:08] how would I spell that [08:08] BZR_PROGRESS_BAR=none ? [08:08] yes [08:08] ./bzr --no-plugins selftest selftest [08:08] ok [08:09] Ran 203 tests in 2.881s [08:10] about 0.5ms per I guess [08:10] so not huge yet [08:10] * lifeless ignores for now [08:11] mmm, but 5% of test time [08:11] when it gets up a bit higher I'll worry [08:12] 3% according to my calculator [08:12] lifeless: why not ./bzr selftest -s bt.test_selftest -s bb.test_selftest ? [08:13] but it seems like these are atypically fast tests? [08:13] vila: I have a lot of plugins I don't want loaded for this; and its fast enough without -s that I've never learnt to use it. [08:13] i reckon the overall overage is still above 50ms [08:13] does anybody knows why merge shows many files as modified in its output, but status after merge shows there is changed only file or two? [08:13] poolie: they weren't when I started [08:14] bialix: you're merging in things that have patches you already have [08:14] bialix: so the change ends up being nothing [08:14] I don't understand [08:14] why merge shows me incorrect info [08:14] there's a bug that merge should only show files as modified if they actually changed [08:14] ? [08:15] because they 'might have changed' [08:15] bialix: because it shows the files that had changed on branch A [08:15] but the changes didn't add up to anything [08:15] bialix: but in your branch, B, they already have the same textual changes [08:15] lifeless: about your fixes for win32 and locks [08:15] if I merge with --weave I don't have conflicts [08:15] but resulting diff after merge is scarely short [08:16] bialix: for example; if you and I both change "print foo" to "print bar" in different branches, if I merge from you I will get your change, but end up with no difference in the file. [08:16] lifeless: I think this is a bug in merge [08:16] as poolie says there is a bug open. [08:16] ok [08:16] lifeless: back to your 2 revisions with lock fixes: do you want to review them? [08:16] after I cherrypick them with weave? [08:16] I'm not entirely sure that this is wrong though, I mean, it would be odd to merge what you thought were different branches and see no output. [08:17] bialix: if you'd like me too, I'm very happy to. [08:17] lifeless: for me odd thing is that after merge status shows there is nothing changed, while merge shows there is a lot changes [08:18] it makes me nervous [08:18] you can always diff against both parents and see if the diffs look the same [08:19] bialix: I think it should say that this has happened [08:19] bialix: being totally quiet would be wrong; looking like a normal change and st showing nothing all looks wrong. [08:19] /all/also/ [08:19] luks: I can, but only if I know that bzr lies me [08:20] lifeless: revno 4635 NEWS has completelly unrelated entry: [08:20] * Fix a test failure on karmic by making a locale test more robust. [08:20] lifeless: well, if merge doesn't change anything in those files, does it need to list them? [08:20] (Vincent Ladeuil, #413514) [08:21] luks: see above [08:21] lifeless: it's not related to your patch. may I omit it while cherrypicking? [08:21] luks: its merging a patch from someone, you'd expect the change [08:21] bialix: sure [08:22] * bialix start hates the fact that bialix adding bzr.ico to bzr.exe, grrr [08:22] perhaps merge could output some diffstats [08:23] so after each file you see how much of it is changed [08:23] luks: that would be one way [08:23] M foo.py +0 -0 [08:23] yeah [08:23] M bar.py +123 -456 [08:24] * fullermd goes back to dreaming of having that in log... [08:24] fullermd: jfdi [08:24] fullermd: log -p on 2a:) [08:24] is it usably fast? [08:24] fullermd: hey, how did you go with your src tree? [08:24] luks: oh yeah [08:24] Oh, yeah, I'll just go design up a new repo format :p [08:24] fullermd: shouldn't need to now [08:25] it should be able to keep ahead of you [08:25] lifeless: Oh, I didn't. It's on my "hey, this is probably good enough to try sometime" list. Soon's work quiets down a little. 15, 20 years maybe. [08:26] Oh, I think it desperately calls for being cached at commit-time. log bzr.dev takes 1.6 seconds (with a somewhat chilly cache). log -p hasn't finished yet... [08:26] fullermd: in 2a format! [08:27] jam: merge -cN --weave ROCKS! [08:27] Well, I don't have a sizable 2a branch around. But still. I'll bet it's more than a factor or 2 or 3. [08:27] jam: you ** genius [08:27] (which is my WAG for "pretty expensive") [08:28] fullermd: so; I know someone that does log -v -p ~ in cron [08:28] of a big arse branch [08:28] data >> WAGs [08:28] Sure, but who's got a hundred thousand revs of ~? [08:28] fullermd: I mean approximately in cron [08:28] not homedir [08:30] * lifeless watches screens of tests fail [08:30] well, I expected that [08:32] "Crap, we just blew up half the moon." "Well, I expected that." [08:33] lifeless: cherrypicked branch bzr+ssh://bazaar.launchpad.net/~bialix/bzr/bzr-1.18-oslocks-win32/ [08:33] should I send merge proposal to the list? [08:34] bialix: please [08:34] or just propose it in lp [08:35] poolie knows beforehand that I will ask you him about 1.18.1 and ran away [08:35] ghaa [08:35] poolie: 1.18.1? [08:49] hi garyvdm [08:53] poolie: https://code.edge.launchpad.net/~vila/bzr/releasing-clarified/+merge/10792 [09:13] lifeless: oops, I've just realized I had to use --author when commit your fixes. I can rework if you wish [09:13] bialix: its fine [09:13] bialix: NEWS has my name anyhow [09:13] sorry [09:13] its fine [09:22] lifeless: https://code.edge.launchpad.net/~lifeless/bzr/test-speed/+merge/10775 leads to 14 failures for a full test run (I was checking --parallel=fork was still working but it's unrelated) [09:28] vila: thanks, could you attach --subunit output from that to the merge thread? [09:28] lifeless: yup, trying to do that right now but the output looks far too verbose >-/ [09:29] vila: bzr selftest --subunit | subunit-filter --no-skip > failed.log [09:29] subunit-filter ? [09:30] got it [09:31] hmm, known failures and unavailable features are back [09:32] lifeless: re-running without fork, will be longer [09:32] vila: thats because you only fixed it in bzr :) [09:32] vila: ignore them [09:33] vila: they'll get filtered out on my end [09:34] lifeless: the file is still 2M want that by mail ? [09:34] vila: sure [09:34] bzip2 it [09:37] lifeless: sent [09:38] you'll probably like my mail to the list ;) [09:38] jml: are you on xmpp [09:39] lifeless, I think so. [09:40] as? [09:41] jml: [gchat counts] [09:45] lifeless, I like your recent bzr ML post [09:45] thank you [09:45] lifeless, have you seen http://dev.launchpad.net/FasterTests [09:46] no [09:46] or rather maybe [09:46] I want to fork one of my projects and develop elements of it seperate to the trunk. I will want to periodically merge changes from the trunk into this fork, but not overwite specific files. Is this possible? [09:46] lifeless, it should probably cross-pollinate with your post [09:46] jml: actually, yes I have [09:46] I've even edited it. [09:47] page history doesn't say so, but maybe that's pre-open sourcing [09:47] probably was. [09:47] look for my name [09:48] ahh yes [09:50] anyway, I'm off for the evening [09:50] g'night. [09:50] ciao [09:52] LarstiQ: know where jelmer is? [10:14] wow karmic booting in16s... === timchen1` is now known as nasloc__ [11:31] vila: have you tried --lsprof-tests? === mrevell is now known as mrevell-lunch [12:02] vila: piiing [12:42] lifeless: poong, was biking and lunching :) [12:43] lifeless: not tried yet, but it's been a while since I wrote a test that took longer than 50ms :P [12:46] if I've got two branches, one of which is a fork, how do I merge specific changes into the fork? [12:46] i.e. I don't want to alter some of the files in the fork [12:47] bzr merge trunk [12:47] wont that give me a load of conflict messages? [12:48] or even merge in some changes I don't want? [12:48] The only way to know is to try [12:48] Start with a clean working tree (no changes nor pending merges), 'bzr st' should reports nothing [12:49] vila: 50ms is pretty slow ;) [12:49] lifeless: higher value, many are 0ms :D [12:49] lifeless: highest value, many are 0ms :D [12:49] vila: --parallel gives wrong per test timings, btw [12:50] lifeless: I know, I don't rely on these, I use '-v' without --parallel when the set is small enough [12:50] in fact I mostly use parallel for the whole suite [12:50] mostly [12:51] but no always :) [12:51] yea. its on my to-fix [12:51] I still use -s more than --parallel [12:51] subunit's parallel support has landed [12:51] sorry, progress nesting [12:51] anyhow, those tests all pass for me [12:52] with revno: 4659 [12:52] message: [12:52] Detangle test listing: its more part of the ui layer not the execute-this-test-layer. [12:52] eerk, same revno here [12:53] revision-id: robertc@robertcollins.net-20090826233048-4yerdwqhvi2dqzi9 right ? [12:53] yes [12:54] with extensions built ? [12:54] hmm will check [12:55] hmm, mine weren't up to date [12:55] dirstae_helpers [12:56] tricked by reviewing repeatedly in the same branch may be... [13:01] lol, unrelated but funny failure: test_crash.TestApportReporting.test_apport_report_contents AssertionError: pattern "(?m)^CommandLine:.*selftest" not found in CommandLine: ['./bzr', 'tss', '--no-plugins'] [13:01] tss is an alias for selftest --parallel=fork) : [13:02] so, sorry for the false alarm, the above is only failure I get once *I* recompiled my extensions [13:06] so, +1 to land? [13:07] re-reading now [13:07] also file a bug on that failure [13:07] tag selftest please [13:07] k [13:08] I don't follow the stopTestRun merged in python.. Is that in 2.7 ? [13:08] yes === mrevell-lunch is now known as mrevell [13:10] I thought done() has been defined in subunit and testttools too... will they be updated too ? [13:13] testtools is [13:13] subunit I need to check but I think is already [13:14] hmm, indeed testtools commit message explain it all [13:20] is the stop_early/stop_on_failure transitional or really needed ? [13:20] subunit does need an update [13:20] vila: it's contractually correct I think [13:21] so both are valid and need to be replicated ? stop_on_failure having higher priority ? Sounds a bit brittle [13:21] erm [13:22] I'll need to look closer, we may hav duplication [13:22] I only shuffled around in this patch [13:22] so whatever we had before, we have now [13:22] I thought you meant stop_early -> self.stop() [13:23] no :) [13:23] You give us a far cleaner TestRunner, [13:23] whatever is left appears bigger now [13:24] so a loop on result_decorators to propagate a boolean looks highly suspicious [13:24] the injection of BZRTransformingResult is uglier too now :) [13:24] and I still don't like that self.verbosity handling here [13:25] I think that sum up my review, will put that online under approve cause it's better, how about fixing those later [13:29] lifeless: reviewed [13:30] thanks [13:30] reagrding 2.7, xfail becomes standard but not UnavailableFeature ? [13:31] yes [13:31] k [13:40] hello, can anyone confirm that it is not a problem to just "rm -Rf" in a shared repository (the shared concept makes me feel this is not the right way to go, maybe leaving information behind in the shared .bzr or, worse, removing data necessary for other repo's under shared), thanks. [13:42] sender: if is a branch all that will be lost is the working tree, the changes not committed there and the easy reference to the branch tip [13:43] sender: doing 'bzr log -l 1 --show-ids' before the rm should give you all the needed bits to recreate the branch if needed [13:46] vila: thanks. that means that the removed branch will always remain in the shared repo? [13:47] the point of the shared repo is to share revisions between branches so the revisions will stay there yes [13:47] ok. so, I need the hash @ revision-id or parent to recreate it? [13:47] is there a way to fetch those, even after hard-removing a branch under a shared repo? [13:47] the revid yes [13:48] yes [13:48] bzr branch -r revid: trunk resurrected [13:51] hmm where does [13:51] sorry, where does trunk points to? [13:52] I've removed the branch, i've got the revid of that branch, now i am in the shared dir, and the command above gives me 'trunk' is no branch [13:52] hmm, generally I use a shared repo for each project I'm working on, so I always have a branch which is the trunk [13:52] and would trunk be the branch that was removed? [13:53] err, you have a shared repo without any more branch ? [13:53] can I pick just any other branch? [13:53] yes [13:54] we're cheating here anyway by using the branch as a entry point to the repo [13:54] the revid doesn't have to be part of the branch history [13:54] ah, nice it works :) yes exactly, it would make more sense to address the shared repo (as far as i can see) [13:56] sender: well, we are searching in the garbage can here, so it's not often used either [13:56] another way, a bit clearer may be is to do: [13:57] bzr branch trunk resurrected ; cd resurrected ; bzr pull -r revid: --overwrite . [13:57] mmm, not sure it's clearer, I guess it depends who you ask :) [13:59] interesting. now this is fastforwarding/scrolling back the resurected branch to a certain rev, right? [13:59] I guess this would never work with the regular revid, b/c those can diverge between branches, right? [14:00] You mean the revno ? [14:01] yes [14:02] You could just as well use "bzr init ; pull -rX .". [14:03] would that work? [14:03] Yah, I've done it a few times. [14:03] fullermd: preceding that with mkdir resurrected of course :) [14:03] and a cd [14:03] interesting, as far as I know, the revno is calculated based on the last_revision_info file [14:03] Well, init would make the 'resurrected' for you :p [14:04] Well, obviously specifying the revid rather than the revno. But you'd have to do that anyway, unless you had a branch with that rev in its history. [14:04] ah [14:04] I assumed that was a response to sender's last question [14:04] and in the future you may not have to specify 'revid:' once we get some DWIMery there :) [14:04] Someday, if somebody reviews the patch, it'll even DWIM the revid without having to qualify it :p [14:04] fullermd: hehe, I said it first :) [14:05] what's blocking the patch, btw? [14:05] That means you volunteer to review it, right? :p [14:05] Nothing. People looking at it. [14:05] when 2.0 is out, I already told you that there will be many discussions around and including that subject :-D [14:09] fullermd: no sequitur, what is the latest bzr version available for FreeBSD and what is the command to install it ? [14:10] ok one more question: is there a way to find all the removed branches (head revids I guess) in a shared repo (or look into the garbage can - as vila said it)? [14:10] Oh, I got 1.18 in ports... last week I guess. I usually get 'em submitted within a day of the release, and it takes a few days to get committed. [14:10] So something like (cd /usr/ports/devel/bazaar-ng ; make all install clean) [14:10] bzr heads --dead [14:10] you need the heads plugin [14:11] and to clean the garbage from the shared repo, you do 'bzr gc' [14:11] It's in bzrtools. [14:11] err, wait, no, we still haven't that one :) [14:12] right bzrtools (what was I thinking... wasn't it in another plugin like, years ago ?) [14:13] Yah, it got Assimilated a while ago though. [14:13] that would be sth like git compact? [14:14] * fullermd dreams of the day when he has a bzr command to check, reconcile, pack, and gc, all at once... [14:17] fullermd: you shouldn't need them :) [14:19] fullermd: seems to install 1.13 and failing because 1.13 is already installed [14:20] 1.13?? [14:21] i've got two branches in my shared, but bzr heads gives only 1 tip of branch, is this b/c these branches are not diverged? [14:21] Both HEADs have a different revno and different parent and revision-ids. [14:21] Oh, I guess you probably have an old ports tree from a release. [14:21] fullermd: 7.2 [14:21] sender: one is in the ancestry of the other ? [14:22] sender: 'heads --dead' only lists heads that DON'T already have a branch pointing at them. [14:22] vila: 'k, so you'll need an updated one. Clean out the old (e.g., rm -rf /usr/ports/*), and pull down and extract a new with portsnap (e.g., portsnap fetch extract) [14:23] Then you can get manually rid of the old bzr (pkg_delete /var/db/pkg/baz) and install the new, or install portupgrade and use that to catch everything up. [14:25] vila: true. thanks all! [14:25] sender: so the most recent one is reported, the other one is not a HEAD because it has children [14:27] makes sense [14:27] so, if i understood correctly, right now there is no way to clean dead heads out of a repo? [14:27] fullermd: ok, so from there, it's basically 1) grumble, too old, 2) cd /usr/ports// 3) make all install clean (gee don't try -j there >-) [14:27] sender: There is: create a new shared repo, copy all the branches you care about from one to the other [14:28] not pretty, but works === cprov-afk is now known as cprov [14:28] vila: 1.5) pkg_delete to get rid of the old version, yah. [14:28] it will do, thanks [14:28] vila: And it -j's internally already where vetted :] [14:29] vila: If you install portupgrade, you can also (after the tree update) just fire a 'portupgrade -a' to upgrade everything with upgrades available. [14:29] vila: That initial portsnap fetch/extract takes a while, but later updates (`portsnap fetch update`) are reasonably quick. [14:30] * fullermd really should sit down and write up a portupgrade replacement someday :| [14:30] fullermd: and what about upgrading the base system ? Not needed ? (*I* don't really care it's for the test farm so your advice will be god speak) [14:31] oh, Ill make that 2.5 instead 1.5 if you don't mind :) [14:31] Not needed right now, I'd say. 7.2's only a few months old. I don't usually upgrade base but a few times a year, at most (sometimes much less) [14:31] k [14:31] in rome... [14:31] My server's still running a pre-7.2 RELENG_7. [14:31] FreeBSD 7.1-STABLE #0: Tue Feb 17 18:07:44 CST 2009 [14:31] I guess it's probably due for an update... [14:33] fullermd: so to compare to Ubuntu, ports ~= main - base system + universe + multiverse ? [14:34] (of course, _I_ update base as the first thing I do after installing a system, before I even install any ports. But I'm nuts :P) [14:34] fullermd: I tried that and got a nice brick yesterday night :) [14:34] virtual brick mind you, but yet, that wasn't my day :D [14:34] Mmm. I don't know Ubuntu well enough to judge comparisons like that. [14:35] Base is... well, base. Kernel, basic complement of utils needed to run the system (newfs, mount, ps, ls, kill, sh, ssh, that sorta thing), and everything else is in ports. [14:36] fullermd: sounds correct [14:36] Don't need X or a web server or any of those weird fringe languages like python to get the system running, frex, so they're all off in ports :) [14:37] that's not that clear when installing, but I think I get it [14:37] I should try clarifying those bits in my rant from $YEARS ago. [14:38] 'course, that's just a subset of "I should update my whole dang website" :| [14:39] haaa 1.18 ! Thanks fullermd that was well spent minutes [14:39] vila: An offhand shortcut is "ls /{s,}bin /usr/{s,}bin"; that's base. [14:39] Anything ports does (with occasional exceptions for special cases) is under /usr/local/ [14:40] and /usr/local in ports !!! That\s why I couldn't make bash my shell !!! [14:40] s/in/is/ [14:40] bash? You mean there are people who don't use tcsh? :p [14:41] pff, I get out of these wars 15 years ago and settle to a shell I can use both interactive and batch :D [14:41] emacs? :p [14:41] then I learned perl, then python :D [14:41] vila: an os isn't a shell [14:42] fullermd, lifeless: the shell is where I see most of an os from emacs :-D [14:42] vila: http://paste.ubuntu.com/260346/ - sneak preview for you of my next selftest patch. [14:43] vila: this one causes some fallout, so its not finishd yet. [14:43] ho ho, now you're getting angry :D [14:43] is that permit dir and below ? [14:43] yes [14:44] I'll think about better names [14:44] permit tree [14:44] doesn't take a working tree [14:44] possibly just permit_in_url [14:45] ok [14:46] that will not catch the access via os.xx calls, do you catch lots of pirates already ? [14:46] with this patch, the time for the selftest only modules drops from ~3.4 seconds to ~2.9 seconds [14:47] os.xx is in the pipeline [14:47] oohh, you remove test_safety_net !! wow :D [14:47] this catches bzrdir.open(), as it documents [14:47] yes, test_safety_net triggers this code :) [14:48] so it fails at commit, not @ arbitrary later time [14:48] [minor lie there; TestCaseWithMemoryTransport cd's to TEST_ROOT, and TEST_ROOT *is* permitted [14:48] but it was failing until I realised I needed to permit TEST_ROOT, at least transitionally [14:49] TEST_ROOT is only permitted for TCWMT, not for TCWT [14:49] TEST_ROOT is above self.test_dir right ? [14:50] yes [14:50] in TCWT, TEST_ROOT/NAME is permitted [14:50] in TCWMT, TEST_ROOT is permitted [14:50] this isn't global, so its far safer [14:50] hmm, that's bad, at least it shouldn't after setUp [14:51] "at least transitionally" [14:51] sorry, just reading the pastebin, I lack context [14:51] I said that in IRC ;) [14:51] 23:48 < lifeless> but it was failing until I realised I needed to permit TEST_ROOT, at least transitionally [14:52] but transitionally is vague :) [14:52] I read it, just couldn't put a precise meaning on it :) [14:52] vila: the actual bug is that TCWMT makes any dir on disk at all [14:52] have to work towards it [14:52] have to fix bzrlib.config [14:53] I was about to mention config files [14:53] yah [14:53] so, my approach is [14:53] I never clearly understand why it needed that [14:53] - add preventative jails replacing detection jails [14:53] - ix fallout [14:54] (wow?!) [14:54] ix ? [14:54] - fix f allout [14:54] - remove detection jails, things go faster [14:55] anyhow, midnight, and I bet I wake @ 5 again. [14:55] so I'd better go sleep. gnight. [14:55] how about pushing down home/work dirs to TestCaseInTempDIr [14:55] good night :) [14:55] yes, for sure [14:55] and the log file too :) [14:56] even if some tests needs to inherit from TCITD now instead of TCWMT [14:56] meh, just delete that [14:57] oh, and puting the def setUp just after the def __init__ just at the beginning of the class will get you a beer or two next time we meet :-D [14:58] hmm? [14:59] TCWMT.setUp is lost in the middle of the class [14:59] oh [14:59] is it in alpha order? [14:59] I bang my head against the desktop each time I missed __init__ or setUp because of that [14:59] here's a naughty tests [14:59] ====================================================================== [14:59] FAIL: bzrlib.tests.blackbox.test_split.TestSplit.test_split [14:59] it was in alpha order, once, years ago ? [14:59] ---------------------------------------------------------------------- [14:59] RemoteException: RemoteException: Traceback (most recent call last): [14:59] File "/home/robertc/source/baz/pending/working/bzrlib/tests/blackbox/test_split.py", line 34, in test_split [15:00] self.run_bzr_error(('.* is not versioned',), 'split q') [15:00] AssertionError: pattern ".* is not versioned" not found in [15:00] """\ [15:00] bzr: ERROR: Attempt to escape test isolation: 'file:///tmp/testbzr-byGS2o.tmp/' ['/tmp/testbzr-byGS2o.tmp/bzrlib.tests.blackbox.test_split.TestSplit.test_split/', 'file:///tmp/testbzr-byGS2o.tmp/bzrlib.tests.blackbox.test_split.TestSplit.test_split/'] [15:01] excellent, you need permit_url('q') ? [15:01] split a/q [15:02] its running the command outside of a tree altogether [15:02] which is walking up [15:02] hmm, isn't 'a/q' less clear ? [15:02] working_dir=a is the other way [15:03] on the error hand, that's clearly a test that could be done at a lower level right ? [15:03] quite likely [15:03] not a broad focus yet [15:04] cathc NotVersioned instead [15:04] I'm focusing on environmental stuff at the moment [15:04] make TestCase* as cheap as possible. [15:04] sure, not in your focu.. exactly [15:04] this is going to be a fun one: [15:04] ERROR: bzrlib.tests.blackbox.test_ancestry.TestAncestry.test_ancestry [15:04] RemoteException: RemoteException: Traceback (most recent call last): [15:04] File "/home/robertc/source/baz/pending/working/bzrlib/tests/blackbox/test_ancestry.py", line 58, in test_ancestry [15:04] self._build_branches() [15:04] File "/home/robertc/source/baz/pending/working/bzrlib/bzrdir.py", line 1172, in sprout [15:04] force_new_repo, stacked_branch_url, require_stacking=stacked) [15:04] BzrError: Attempt to escape test isolation: 'file:///tmp/testbzr-byGS2o.tmp/' ['/tmp/testbzr-byGS2o.tmp/bzrlib.tests.blackbox.test_ancestry.TestAncestry.test_ancestry/', 'file:///tmp/testbzr-byGS2o.tmp/bzrlib.tests.blackbox.test_ancestry.TestAncestry.test_ancestry/'] [15:04] File "/home/robertc/source/baz/pending/working/bzrlib/bzrdir.py", line 474, in determine_repository_policy [15:05] policy = self._find_containing(repository_policy) [15:05] File "/home/robertc/source/baz/pending/working/bzrlib/bzrdir.py", line 659, in _find_containing [15:05] its walking to the root to find a stacking policy [15:05] repo policy, I told you about these ones ! [15:05] yah [15:05] triggered with TMPDIR too [15:05] scary a t first, but then I realized it wasn't harmful [15:05] so my hook based net catches them [15:05] :) [15:06] excellent [15:06] but need a pervasive answer to stopping them [15:06] may be we need dedicated branches for that kind of patches so that the effort can be spread [15:06] we may need that [15:06] OTOH it may be a simple annotation like '@needs_sprout [15:07] and that would permit_dir TEST_ROOT for now [15:07] I'd like to land things that let you and others that are interested chime in in trunk [15:07] rather than accrue large branches outside [15:07] so it may landed somewhere even or *because* it leads to too many failures to be addressed in a single sumbission, right annotations may work too [15:08] I suspect determine_repo_policy is 90% of these [15:08] or more [15:09] if they were running against memory:/// it would be easy [15:09] from memory, maybe, many pirates there, but some more, I should retry the experiment, I think I had a script for that [15:09] 3K [15:09] here, I'll send you the fail.log [15:10] 3000 failures ? [15:10] :!subunit-filter --no-skip < failed.log | subunit-stats [15:10] There are 266 lines with trailing white space in 84 files. [15:10] There are 1961 lines longer than 79 characters in 313 files. [15:10] Total tests: 3212 [15:10] Passed tests: 0 [15:10] Failed tests: 3212 [15:10] Skipped tests: 0 [15:10] Tags: [15:10] ouch [15:12] * lifeless waves gnight [15:12] * vila waves back [15:12] vila: BTW, I have this perl script I threw together to munch up the selftest failures and throw out the summary I posted to the list. [15:13] You may find use for it, considering how many of those BSD failures seem likely to be the same root issue, whatever it may be. [15:15] fullermd: sure [15:15] the mail you're refferring to is around june 22 ? [15:15] Sounds right. [15:16] actually you may be interested in subunit which provided the same kind of filtering... [15:18] On its way. [15:19] cool [15:22] No cracks about code quality. I was young, and I needed the money :p [15:25] fullermd: oh, come on, that's perl, write once, use intensively, forget about it :D [15:26] python is far harder to use for throw-away code :-D [15:27] hu ho did I see gmake installed, wow, of course the famous BSD make ! :D [15:36] Well, everybody's gotta use their own local variant. 'till I get my replacement finished, of course, and everybody flocks to it. [15:38] well, I'm convinced that the problem is not with tools themselves but rather the way the are use (and in make's case abuse), I was.... impressed by the way autconf render the compile commands totally unreadable a couple of years ago... [15:39] Well, it had to do that. Otherwise it couldn't add 3 minutes up front to the build time. [15:46] good morning [15:47] mornibg samkramer, jam [15:48] morning vila [15:59] fullermd: wow, pertty clean perl, at least relative to my standard, use strict, even use warnings ! use Data::Dumper , the perl army knive :) Apart from the 8wide tabs, nice code :-D [16:00] Hey, just 'cuz a language CAN be dirty doesn't mean _you_ have to be in it. [16:00] (your tab size is your own problem though; mine at 4-char :p) [16:01] fullermd: oooh, literal tabs ! yeah mine is 4-char too but translated in spaces, always [16:02] Yeah, I believe in tabs for indentation. [16:02] night [16:02] (not, of course, for alignment. I shouldn't _have_ to say that, but it seems like so many people get caught up in conflating the two...) [16:03] * fullermd waves to igc. [16:03] night Ian [16:04] fullermd: I believe in editors handling the indentation for me and providing a way to share settings inside projects [16:18] lifeless: he left HAR early, the 14th or 15th, to go on a biking trip [16:18] lifeless: from Utrecht to Switzerland iirc [16:53] LarstiQ: pff, and no wifi on his bike ? === deryck is now known as deryck[lunch] [16:57] any good links on configuring bazaar from scratch as a centralized server? === beuno is now known as beuno-lunch === deryck[lunch] is now known as deryck [18:03] anyone that could help to get bzr 1.17 to work with gtk 0.97.0-final ? [18:03] After upgrading from bzr-1.13, 'bzr pull' dies with: [18:04] File "/usr/local/lib64/python2.5/site-packages/bzrlib/config.py", line 1246, in get_credential_store [18:04] cs = cs() [18:04] File "/usr/local/lib64/python2.5/site-packages/bzrlib/plugins/gtk/keyring.py", line 39, in __init__ [18:04] gobject.set_application_name("bzr") [18:04] AttributeError: 'module' object has no attribute 'set_application_name' [18:23] * mneptok pokes poolie, igc, lifeless etc [18:24] our work is stalled until Monty can commit. :) [18:28] mneptok: I got things going by downgrading to bzr-gtk 0.96.2, but it would be nice if bzr-gtk-0.97 would work too [18:41] Well, vila cut the release, so it's obviously his fault :] [18:55] lifeless: I should admit that I don't test your fixes yet [18:56] lifeless: only cherrypicked them and planning to test them soon [18:59] montywi: that's bug #403430 and/or #397967, gobject API is a mess regarding the two functions needed there, worse than I thought it seems, please file a bug reporting what os/version you are using [18:59] Launchpad bug 403430 in bzr-gtk "bzr diff fails with traceback and error 'module' object has no attribute 'get_application_name'" [High,Fix released] https://launchpad.net/bugs/403430 === beuno-lunch is now known as beuno [19:00] lifeless: quick test reveals that push now works ok, and shelve at least run without errors [19:00] montywi: in the mean time, just commenting out the offending line should do as the surrounding comments will tell you [19:00] vila: bonsoir [19:01] bialix: hi ! [19:01] * vila fades === vila is now known as vila-dinner [19:01] today everybody ran away when I want to ask someting [19:02] * bialix watches for vila! [19:02] bialix: quick then, gf waiting :) [19:02] gf? [19:02] I'll run away BEFORE you ask me anything, if that'll help break your streak. [19:02] bon appetite, I'll wait [19:03] girl-friend [19:03] hell - what was the solution to "ERROR: Operation denied because it would change the mainline history" with bzr-svn? [19:03] girl...friend? [19:16] so, I'm just curious, today is karmic featurefreeze, and what version of bzr was included there? I think it should be 1.18, but core devs insist on 2.0. who won in the end? [19:19] !info bzr karmic [19:19] bzr (source: bzr): easy to use distributed version control system. In component main, is optional. Version 1.18-0ubuntu1 (karmic), package size 6593 kB, installed size 21304 kB [19:21] cool, you know black magic [19:22] then I'll continue backport fixes for some annoying bugs [19:22] like https://bugs.launchpad.net/bzr/+bug/418931 [19:22] Launchpad bug 418931 in bzr "AssertionError: _remember_remote_is_before((1, 18)) called, but _remember_remote_is_before((1, 15)) was called previously" [High,Fix committed] [19:24] * Tak `bzr push --overwrite --no-strict`, wait for horrible things to happen [19:36] !info qbzr karmic [19:36] qbzr (source: qbzr): Qt frontend for Bazaar commands. In component universe, is optional. Version 0.14-0ubuntu1 (karmic), package size 281 kB, installed size 1612 kB [19:37] !info bzr-explorer karmic [19:37] Package bzr-explorer does not exist in karmic [19:37] !info bzr-svn karmic [19:37] bzr-svn (source: bzr-svn): Bazaar plugin providing Subversion integration. In component universe, is optional. Version 0.6.4-1ubuntu1 (karmic), package size 234 kB, installed size 1540 kB [20:26] Just popping in here to tell everyone that it *rocks* that "bzr upgrade bzr+ssh://..." works. Just finished a repo conversion on a remote slice with too little memory to do the conversion locally. [20:26] (That with bzr 1.18rc1) [20:27] conversion to 2a? === EdwinGrubbs is now known as Edwin-lunch [20:58] moin [21:00] bialix: cool [21:00] lifeless: hi? [21:00] bialix: I'm glad the fixes worked for you [21:00] ah yes [21:01] though new shelve lacks some nice features from old one [21:12] @bialix: yes, conversion to 2a. worked like a charm. [21:12] that's good [21:15] jwhitley: thats a really good data point. We've got a desire to make upgrade always run remotely; we should document how to force it to do the work locally. [21:15] igc: ^ what do you think, just a line in the upgrade guide? [21:16] lifeless: For some reason, I'd assumed for ages that upgrade was an inherently local operation. Running out of memory on a remote host forced new awareness. ;-) [21:20] jwhitley: oh, did I misunderstand... it ran remotely and that was good? [21:20] jwhitley: I thought you were saying, you had a remote branch ona server that doesn't have enough memory to do upgrades on the server? [21:28] lifeless: you're correct, sorry to randomize matters. For no particular reason, I'd assumed that 'bzr upgrade' had to be done on the same host as the branch/repo's filesystem. I'm terribly glad that isn't the case, since the server does not have enough memory for the ugprade. [21:28] ok [21:29] you may find you need more memory for regular push-pull operations though [21:30] as we're moving more and more code into the server to eliminate round trips [21:30] if you find this happens you can use 'nosmart+' at the front of a url to disable server side processing for that operation === Edwin-lunch is now known as EdwinGrubbs [21:56] vila-dinner: gimme a shout when you return [22:00] * bialix wonder when vila sleep [22:02] Sleep is for wimps. [22:02] Happy, healthy, well-rested wimps. But wimps nonetheless. [22:03] I'm sure vila is not [22:04] Well-rested? Yeah, probably not :) [22:04] :-# [22:06] how can I copy specific changes from one branch to another? [22:06] I have two branches, but they need to be kept slightly different [22:07] it depends [22:07] you can use merge -rN..M [22:07] or rebase -r N..M [22:07] err [22:07] what's the difference? [22:07] replay -r N..M [22:08] merge just merge [22:08] replay will replay commit with all commit metadata [22:08] with merge you can cherrypick changes to specific files [22:08] not entire changeset [22:09] ok. Don't I lose the 'link' with a cherrypick merge? [22:09] but merge will not carry commit metadata [22:09] yes, you do [22:09] is my workflow wrong? [22:09] that's why Daggy Fixes is better [22:10] not necessary, it depends [22:12] but at least I'd recommend to read about Daggy Fixes [22:12] to understand another way === cprov is now known as cprov-afk [22:17] CaMason: if you're OK to share history without sharing some changes, you can merge only istory to preserve "link", but revert wrong changes [22:18] so merge, commit, revert, commit? [22:19] no [22:19] merge, st/diff [22:19] revert $FILES [22:19] or shelve changes away [22:19] ah now that's an idea [22:19] commit [22:19] shelve changes away? [22:20] bzr shelve -h [22:20] shelve aka selective revert [22:21] I see [22:24] what is the purpose of shelving them over reverting? [22:24] CaMason, to bring back the change later on [22:24] so maybe you shelve, commit, un-shelve, continue working on that change [22:25] you may want to revert some changes in the one file and retain other changes in the same one file [22:25] well, you can deleted shelved changes [22:25] without bring them back [22:25] unshelve --delete does this [22:25] I see, great :) [22:26] because bzr require explicit commit after merge you can change everything you want before you commit your merge [22:27] I didn't realise that, thanks [22:27] so you can do merge only for history without merging changes [22:27] merge; revert . ; commit [22:27] that's precisely what I wanted [22:28] revert . (dot is intended) [22:28] how about if I had a lot of files, and only wanted to keep 2 of them? Could I shelve them, then revert, then unshelve, then commit? [22:28] ok, now you're armed [22:28] armed D:= [22:29] yes you can [22:29] :) [22:30] what a misterious smilie? [22:30] D:== that one? [22:30] yeah. it's a cat? [22:31] lol no. My friend keeps using it [22:31] thing of that long faced guy from muppets [22:31] and it's reversed. a 'shocked' face [22:31] D: [22:31] * bialix start s fear [22:32] about armed: there is such russian proverbs: if you informed then you're armed [22:33] I figured. I wanted to double check [22:33] http://www.toymania.com/columns/spotlight/megabeaker.shtml [22:33] that's what the smiley is based on :) [22:33] maybe I've translated it bad [22:33] D:===== [22:34] maybe it's just be being an idiot ;) [22:35] funny muppets [22:35] I saw this show [22:44] morning [22:45] igc: hi [22:46] you're early today [22:46] hi igc [22:47] lifeless: btw about test. is there a way to test NotBranchError? [22:47] bialix: in what regard? [22:48] I have some code that trying to open branch and show error dialog if there is none [22:48] I've mocked gui [22:48] raise errors.NotBranchError("woo hoo") [22:48] ? [22:49] inside function? [22:49] how? [22:50] well just like that [22:50] raise the exception wherever you want it raised [22:52] lifeless: http://pastebin.com/mf2f7519 [22:52] I want to test the code path for except NotBranchError [22:53] hey :) [22:53] just reported this bug: https://bugs.launchpad.net/bzr/+bug/420188 [22:53] Launchpad bug 420188 in bzr ""Svndiff contains a too-large window" error" [Undecided,New] [22:53] I can't create empty dir in test sandbox [22:54] lifeless: err, I can, but empty dir won;t raise NotBranchError because root of sandboxed temp dir for tests has guard tree [22:54] bialix: try this [22:54] make a dir [22:54] bzrdir.BzrDir.create('dir') [22:54] this will make an empty dir [22:54] should stop the search and raise NotBranchError [22:55] alternatively you could hook into BzrDir.pre_open [22:55] and raise NotBranchError from there yourself, for the path that you'll be opening [22:56] that would be a little harder to write the code for; but do less IO/be faster [22:56] I'll try to play with it [22:59] its basically [22:59] bzrdir.BzrDir.hooks.install_named_hook("pre_open", my_deny_function, "deny a directory") [22:59] with [23:00] def my_deny_function(transport): [23:00] raise errors.NotBranchError(transport) [23:00] this is a global hook, gets reset at the end of the TestCase automatically. [23:00] pre_open is new thing? [23:00] 1.14 [23:00] cool [23:00] that's nice [23:00] thanks [23:03] Sjors: looks like the bug actually in bzr-svn plugin [23:03] bialix: yes, indeed [23:04] retargeted [23:04] vila-dinner: ping === bialix is now known as bialix-wimp [23:36] hello bialix, lifeless, vila, igc, [23:36] hi poolie [23:37] poolie: oh, btw - http://twitter.com/search/users?q=martin+pool&category=people&source=users [23:38] huh [23:38] updated, it may take a while [23:47] hi jcastro [23:48] figured you should be around here as you deal with upstreams <-> launchpad, and we're a big part of that === vila-dinner is now known as vila [23:56] poolie: remind/confirm 12 for lunch [23:56] back from movie, lifeless ? I won't stay long though [23:56] still fine [23:56] hello vila [23:56] vila: hi [23:56] hey :-D [23:56] vila: what movie? [23:57] pff, a story about the end of world, french actors, quite good, very strange story. a bit a la Bunuel :) [23:57] s/the/an end/ [23:57] vila: I highly recommend district 9 [23:58] k, noted, will check availability :) [23:58] vila: I'm thinking of recording somewhere the test themes we have to work through to solve this problem [23:58] a bit of a todo [23:58] we could use bugs [23:58] or a wiki page [23:58] or something [23:59] amazing, I was thinking about using a wiki page to handle bug lists as an alternative to assigning bugs to myself without working on them... But you're talking more about something like the url jml gave for launchpad I presume ?