[00:00] cheater99: Also, for people who are familiar with CVS or Svn, it has a basically-compatible command set. [00:00] cheater99: And finally, it can do remote operations, which git cannot. [00:00] ok [00:01] cheater99: git's advantage is that it is ridiculously, blindingly fast. [00:01] what's the slowest thing in bzr? [00:01] cheater99: Probably annotate, like every DVCS (git and hg will be the same). Also, "bzr log -v" can be slow on large projects. [00:01] interesting question [00:01] 'check' is probably the least optimized code [00:02] what is the slowest thing in bzr that is comparably very fast in git? [00:02] poolie_: But also one that normal users will almost never be running. [00:02] probably also check [00:02] what about local branching? [00:02] bzr being in python has a startup time overhead of a fraction of a second on each command, which git doesn't have [00:02] how does that work out? [00:03] aha [00:03] cheater99: If you have created a "repository" with bzr, local branching is very fast. [00:03] but can't you have a python daemon.. [00:03] bzr commit was recently measured (benchmarks are all bogus) as faster than hg [00:03] which didn't used to be true [00:03] mhm [00:03] cheater99: The day-to-day difference of speed using bzr and git makes no significant difference in my development productivity. [00:03] but if you have a running python process already then there's no startup overhead [00:04] cheater99: But if I had 100,000 commits in my repo, that might be a different story. [00:04] cheater99: The startup overhead is not something that's going to affect your productivity. [00:04] cheater99: There isn't any common operation where there isn't a linear difference between bzr and git. [00:04] aha [00:04] that is good to know [00:05] cheater99, there is a plugin that gives you a longrunning python process [00:05] and then a c program that passes commands to it [00:05] poolie_: That's cool; I didn't know that. [00:05] nice [00:06] cheater99: Also, I suppose one of the advantages of bzr is that you go into #bzr and the project lead helps you out, there. Hahaha. [00:06] (Although actually, pretty much everybody in this channel I've found to be pretty helpful.) [00:06] who's the project lead? [00:06] cheater99: poolie [00:06] ah [00:06] nice [00:06] hi [00:07] also, very different experience from the git channel :) [00:07] Yeah. [00:07] Where you go in and people insult you because you're not doing it right. :-D [00:07] (Well, not always, though. Sometimes #git is helpful.) [00:07] that's sadly the kind of experience i got [00:08] what do you think is missing most in bzr? [00:09] ah, cleaner colocated (git-style) branches [00:09] s//and built-in [00:09] ditto built in nested trees aka submodules aka externals [00:10] is it far off? [00:12] i guess it doesn't matter that much though :) [00:12] bzr feels very solid [00:12] what i really like about it is the manuals are so friendly [00:12] big difference from cvs, git, svn, rcs, .. [00:13] can i somehow make bzr version files inside archives? [00:13] how do you mean? [00:13] well [00:14] some applications save documents as archives. for example, mysql workbench [00:14] it has this .mwb file format, which is in fact a zip with xml and other ascii files in it [00:14] :) [00:15] cheater99: The answer to that is "no, but it comes up from time to time" [00:15] cool [00:16] i would need to convert from cvs to bzr. [00:17] will that make historical commits in cvs atomic? [00:17] most of the conversion tools put some effort into that, yes [00:18] cool [00:18] does that actually work? [00:18] the repository i'm talking about isn't huge [00:18] Often :) [00:18] and it wasn't extremely busy [00:18] about up to 5 developers at any time... doing just a handful of commits every day [00:18] should be fine [00:19] that will atomize the non-atomic commits in cvs? [00:19] really? [00:19] nice! [00:20] hm, one thing that would be cool: to be able to use bzr for my editing buffer in vim ;) [00:20] for undo/redo [00:20] :) [00:21] Well, most converters try. CVS makes it difficult to be sure of success, so results vary. [00:21] that's cool though [00:21] after all we're not talking about rocket brain surgery [00:22] If you haven't done repo surgery, or a lot of cross-branch work, it usually turns out OK. [00:22] not at all [00:22] i would say, maybe 3 concurrent branches at most [00:23] Well, things like having a file on one branch that are later added to another branch can be squirrely. And figuring branch points is educated guesswork. [00:23] It really just ends up as "try and see". [00:24] cheater99: I'm drafting a blueprint specifically for that use case (diffing and merging zip files) [00:24] (that's not bzr-specific; it's the "figure out what actually should have happened from CVS records" side of things) [00:24] jbowtie: nice! [00:25] jbowtie: any cool bits to talk about? :) [00:26] The proposal is specifically for working with free software formats that we currently treat as unmergable binaries. [00:27] yes [00:27] but then i ask myself [00:27] if a zip has a zip in it [00:27] you will have to merge recursively. [00:27] For zip files (and variants and other archives) we should be able to treat them as folders. [00:27] and then you are really defining a new "dimension" of files [00:28] so not only horizontally across the file system [00:28] but also vertically inside files. [00:28] And we already know how to merge folders recursively. [00:28] yes [00:28] i guess if you think of it that way [00:28] then it becomes easy [00:28] a folder is just a different "file format" then [00:29] and then, i guess, other formats which do not depend on zip etc, but still have some sort of modules in them, could possibly have a plugin that talks to some sort of api [00:29] Well, there are going to be performance issues working with archives (particularly tar files) but the improved user experience should make up for it. [00:29] yes [00:29] Yes, that's what I really need to pin down in the blueprint proposal - what the API looks like. [00:29] but those "performance issues" should only happen when they choose to merge, right? [00:31] any operation that requires accessing the contents of the files is going to incur some overhead from decompression [00:31] i think the simplest api would be: present the plugin with both files to be merged, expect a third file in a special location :)) [00:31] Correct; I imagine in the first iteration of an implementation you'd have to turn it on via plugin. [00:31] dOxxx: that's obvious :) [00:31] that's me, captain obvious :P [00:32] jbowtie: but if you want your merge to only overwrite? [00:32] jbowtie: you'd need to have a special way to do that too [00:32] i.e. i want to merge, but all my binaries overwrite remote binaries. [00:32] something like that might be possible with the per_file merge hooks [00:33] ah [00:33] there's already a plugin that handles merging of NEWS files specially [00:33] but, that's a bit crappy not to have this granularity then and there [00:33] We just need to make sure the merge hook API covers our scenarios, and add corresponding diff hooks. [00:34] i would even like to be able to say "bzr always-overwrite-on-merge myarchive.tgz" [00:34] yeah, I'm not sure how configurable it is, whether it can selectively operate on some files some of the time [00:34] What you do is have your plugin use the hooks, then make the plugin configurable. [00:34] :) [00:34] theoretically, the plugin could add a file to the .bzr directory in the branch which contains a list of files that have to merged specially [00:35] btw [00:35] can i use bzr with github? [00:35] not as the main repository [00:35] but just so that i can use github statistics, graphs, and all that silly stuff [00:35] But I'm also looking at more complex scenarios, like merging Photoshop files - the diff and merge works on layers instead of lines of text. [00:35] yes [00:35] Yes, just use the bzr-git plugin. [00:35] i guess you'd need a graphical log then huh? [00:36] displaying graphics :) [00:36] i really like this jbowtie [00:37] I think you need to work with the GIMP folks to see what can be reported in text (layer names perhaps) as well as hooks for the (existing) graphical diff tools. [00:37] My goal is to ultimately make bzr a good experience for artists as well as programmers. [00:38] jbowtie: Does bzr even do binary deltas right now? [00:38] Working on, say, a game, you should be able to version your art assets in the same repository as your code assets. [00:39] jbowtie: That would definitely fix the third common unanswerable question that people come in here with. [00:39] jbowtie: "I have this repository with these 20GB files in it, and..." [00:39] mkanat: I'm pretty sure it does, but diff and merge is reduced to (these binaries differ) and (choose mine or theirs) respectively. [00:40] mkanat: Though I'd actually have to look at the branch format to see how it stores things. [00:40] the problem of course is that compressed content doesn't diff well, on the whole [00:40] jbowtie: *nod* [00:41] jbowtie: great idea [00:41] hard to squeeze out entropy in two ways at once [00:42] jbowtie: does it let you interactively download and open the two binaries? [00:42] jbowtie: so that you actually know what you're overwriting, [00:42] and so that you can open it in, for example, photoshop. [00:43] cheater99: Yes, if you use qdiff right now it shows you images side-by-side, that sort of thing. [00:44] yeah but what if they're, say, UnrealED maps. [00:44] i need to open them in the level editor [00:44] (just giving you an idea of where you need access to the files) [00:45] cheater99: That's the point of the blueprint I'm drafting; so you have an API that lets plugins hook in and provide that for both diffing and interactively merging. === sidnei-dinner is now known as sidnei [00:45] yep [00:45] but that api won't be implemented for everything! [00:46] so the situation i describe will still be the default for most things.. [00:46] Absolutely - but we'll start by handling zips (I would think) and start talking to the main free software artist tools. [00:47] Once we've got a decent API and good examples to build of off, people will be able to write plugins for any binary format. [00:47] And we always have a fallback for generic, unhandled binary files, which is the current behaviour. [00:47] yup [00:47] :) [00:48] i'm off to sleep, cya guys! [00:48] thanks for the info! [00:48] :) [00:49] ciao [01:00] poolie: I'm going to do some loggerhead research and possibly some work today. :-) [01:07] mkanat: nice [01:14] I can't help but feel like loggerhead.config is a reinvention of a wheel that exists somewhere else. [01:14] It's not that complex, though. [01:15] There's got to be duplicate code in bzrlib, though, since it's doing very bzr-ish things. [01:17] In fact, looking over the general startup code for loggerhead, I'm tempted to join the "this should entirely be a bzr plugin" camp. [01:26] Man, there's a lot of Paste stuff in loggerhead, strewn about. :-( [01:28] Largely because Paste itself does too many things. [01:32] jam: Does the existing bzr-history-db stuff do on-disk file locking? That is, would multiple loggerhead processes running be OK? [01:32] I assume it does, and that it's just part of the normal bzr locking mechanisms. [01:52] mkanat: i think that's correct [01:52] it uses a pack db i think, which is multi writer safe [01:52] poolie: Okay. [02:01] poolie: Did you need any supporting material for my CV? Last time I asked you were still waiting on HR. [02:02] * poolie looks [02:02] i still am waiting :/ [02:02] will ping them tonight [02:02] actually can you send me a copy direct, in parallel? [02:04] Sure, will do. [02:12] poolie: Sent through to your canonical account. [02:26] thanks [02:27] poolie: I'm starting to lean toward's lifeless's suggestion of making a 1-thread paste server and running it multiple times, and just putting it behind a proxy. [02:28] ok, interesting [02:28] why behind a proxy? [02:28] poolie: The reason being that Paste is sort of littered throughout the code. [02:28] poolie: For load-balancing. [02:29] poolie: That is, we simply would run serve-branches four times, on four different ports, on a four-core machine. [02:29] Or we'd run it 10 times, if we wanted to be able to handle 10 simultaneous requests. [02:29] you know you can actually have multiple processes listening on the same port [02:30] poolie: Yes, with a master + forking situation. [02:30] poolie: Which would be Spawning, then, not Paste, since Paste can't do multi-process. [02:31] doesn't SO_REUSADDR let you bind a port that's already open? [02:31] poolie: Unless you just mean have the process release the port when it's working, and then wait in a queue. [02:31] imbw [02:31] i'm just saying it seems nice to avoid adding a proxy if it's only going to distribute work across ports [02:32] poolie: What lifeless suggested is what Launchpad does now. [02:32] poolie: The advantage is that it's just a configuration change. [02:32] Although I'd have to test it locally and make sure that running multiple loggerhead processes actually works. [02:37] poolie: The scaling problem is only a problem at Launchpad, AFAIK. [02:37] ok, that makes sense [02:38] poolie: The complexity of threading is a problem everywhere, so it would still be nice to switch to a multi-process model, and I'd love the code cleanup that would involve. But I feel like the best time investment might be to investigate the 1-thread paste server solution. [02:40] how do I get the source for bzr-rewrite? using bzr? [02:40] I have the url for trunk... but how do I check it out? [02:40] doesn't seem to be a repo [02:41] GungaDin: 'bzr branch lp:bzr-rewrite' doesn't work? [02:41] will try [02:41] works [02:41] thx [02:58] poolie: Next time I work on loggerhead I'm probably going to try out the 1-thread system and see if it works and what would need to be fixed. [02:59] spiv: Thanks for reviewing those doc patches so quickly. [03:00] I was thinking that more of those links should be turned in Sphinx ref directives, might reduce link breakage bugs. [03:03] jbowtie: yeah, that sounds good [03:03] jbowtie: we only switched to just Sphinx relatively recently [03:03] Before that we were a bit limited by also supporting plain docutils. [03:05] I've accidently rebased a branch and I'd like to undo it... how can I do that? [03:05] (using bzr rebase) [03:07] GungaDin: Perhaps with 'bzr pull --overwrite -r revid:OLD_REVID', if you know the old revision ID (or can find it with 'bzr heads' from the bzrtools plugin) [03:08] something very weird happened.. because I specified a branch I had merged into and not the parent branch [03:08] and now both branches looks the same [03:33] * spiv -> lunch. Looking forward to some replies from PQM when I get back... [04:24] Good evening [04:30] http://img137.imageshack.us/img137/2454/bzr3.png (some more work on a new website) [04:31] (for bzr, that is :) ) [04:33] hi there anteru [04:33] spiv could you take a pass through the New bug queue? [04:33] Slow progress, as I'm investing 1 hour every two weeks or so right now, busy with work... [04:34] it's good [04:34] i wonder if the command-line samples are a bit too directly derivative of the git homepage? [04:34] hg has the same :) [04:34] also, to me, the different shades of blue kind of clash with each other [04:35] Yeah, the colors are crap, I need to fabricate a few images later on. [04:35] And I still wonder how to place the explorer screenshot [04:35] after all, it's a usp for bzr [04:36] right, i think we want to communicate both the gui and cli bits [04:36] I assume you're going to align the second block to the grid at some point? [04:36] I'm going to pull a grid over this really soon now, wanted to get the big fat bazaar text right today. [04:38] navigation will be close to what ubuntu.com has, that shouldn't be a problem as it's canonical here as well [04:39] I wonder if someone agrees that it's enough to have the version number at the downloads instead of having it below the bazaar text? [04:39] At least for me as a user, I'm going to search the version at downloads, to see if X.Y is available for my OS. [04:42] I agree, though it would be good if a major release made a bit of a splash on that page - is there an obvious place for that? [04:42] agree [04:42] i like having the blog and announcements syndicated there [04:42] above the fold [04:42] also it kind of sucks to say "no test release" [04:42] let's just omit that if there is none [04:42] well, you could always add a big 3 next to bazaar === FryGuy_ is now known as FryGuy- [04:45] Ok, taking some notes: Different color scheme, gridified layout, place for syndication, less version numbers. [04:49] For the color scheme you might want to see what the full Ubuntu palette looks like (I'm sure they have compatible shades of yellow and blue to go with their dominant colors) [04:51] Once you've nailed down the grid I'll start overhauling the documentation templates to coordinate. [04:51] That'll probably bring up color issues with the images in the doco. [04:53] Do you have a link to the ubuntu color scheme? [04:58] I'd probably start on design.canonical.com - I'm just running off to a meeting or I'd hunt it down. [04:58] Ok, thanks! [04:58] Should do it [04:59] Found the color palette [05:28] when merging only several commits, how come you can't see the merged commits in qlog? [05:30] You don't see the plus sign? [05:31] nope [05:31] just one commit [05:31] without a plus sign [05:32] and bzr log --include-merges shows it? [05:37] qlog doesn't accept that. and with just log doesn't seem so . [05:38] If bzr log doesn't show it, then it's not a qlog problem. [05:38] Are you sure you didn't push? [05:38] * anteru never had an issue with a merge loosing history ... [05:46] just merged and commited [05:47] no, log doesn't show them. [05:49] Sounds like a bug. [05:56] GungaDin: "merging only several commits", you mean "bzr merge -r x..y"? [05:57] GungaDin: if so, then that's cherrypicking, bzr can't record those as merges, it's more like just applying the diff [05:58] GungaDin: if you look at the "bzr st" output before committing that sort of merge it won't have any "pending merges" [05:59] GungaDin: so I think it's not a qlog issue, just a bzr limitation: http://doc.bazaar.canonical.com/latest/en/user-guide/adv_merging.html#cherrypicking [06:01] yes [06:01] -r x..y [06:02] I'm just looking for a way to move commits to a different branch... if that's possible. [06:02] I have a branch where there are two sets of commits which are mutually exclusive. [06:08] Well, one option may be to "bzr branch original-branch different-branch; cd different-branch; bzr merge -r Y..X; bzr ci -m 'Revert changes from X to Y'" — note the order of Y..X, i.e. a reverse cherrypick. So all the revs are still in the history, but then you add a rev that undoes the changes those revs make. [06:08] Not sure if that suits your needs or not. [06:09] Hm, is bzr going to track cherrypicking in the future? [06:10] anteru: hopefully, but we're unlikely to work on that in the near future :( [06:10] Stuff like co-located branches are higher on Canonical's todo list... but patches are always welcome ;) [06:10] Ok. I often cherry-pick something before merging the rest of the branch later on, didn't notice that yet. [06:11] spiv: I'll look again at contributing to bzr when I'm back at home, ~ 2 months. [06:12] The use case I'm running into is that I do some quick fix on a feature branch, and I want to move that fix immedialtey back to my trunk, and merge the rest of the feature later. [06:12] In practice cherrypicking often works out ok, because although bzr doesn't track them, it does avoid reporting a conflict when you merge two branches that appear to have independently made an indentical change. [06:12] s/indentical/identical/ [06:12] Ah ok. Colocated-branches is branches svn:external? [06:12] Args: Colocated branches are the svn:external equivalent? [06:13] No, colocated branches is having a single working tree that can contain multiple branches that you can 'bzr switch' between. [06:14] Similar to what git does? [06:14] Right. [06:14] Ah ok. All the DVCS are so similar now, it's just a question until they converge to a common feature set ... [06:14] There's a bzr-colo plugin already, but there's some progress towards making it a polished feature of core bzr. [06:15] Sounds useful for some of the C++ stuff I do, as I won't need to have several build trees. [06:16] Right. [06:17] You can already have a single working tree for multiple branches in bzr, but it's a bit more effort to set up and use than we'd like. [06:18] (Make a shared repo of tree-less branches, and have a single lightweight checkout that you 'bzr switch' between those branches, and of course create/remove/etc branches in the repo) [06:22] I can see why colocated branches are moving into core :) [06:22] :) [06:25] I really hope that some more high-profile projects finally pick up Bzr, the amound of Fud on the intertubes is incredible. [06:25] it'd be nice if cherry picking was better supported. [06:25] if you could see the actual partial commits that have been merged.. [06:51] night [06:58] i'm using colo now [06:58] quite good so far [07:51] poolie: quick chat ? [07:52] err, hi all ! [07:52] Hi vila :) [07:52] spiv: hey ! [07:52] spiv: did I thank you for the unicode patch ? I don't think so, so THanks ! [07:53] spiv: is there a reason you didn't try to target it at 2.0/2.1 ? [07:54] vila: 2.2 was the source of the initial repot [07:54] spiv: ok [07:54] It's probably easy to backport (at least of the affected tests doesn't exist in 2.1, I'm fairly sure). [07:54] spiv: if we try to activate the testsuite during the builds in the future we may want to backport it [07:55] spiv: if you could do that that will be great [07:55] vila: your 644855-test-isolation just bounced due to a NEWS conflict, btw [07:55] yeah, a backport makes sense to me. [07:55] spiv: shudder, thanks for the heads-up [07:56] spiv: I thought about it and... forgot :-/ [07:56] spiv: I mean, I suspected that adding the first bug entry may lead to problems down the road and forgot to check [08:03] dOxxx: thanks for merging my README changes ! [08:03] dOxxx: of course I made typos :-/ I'll fix them in the 2.3 branch [08:04] hi there vila [08:08] poolie: we can't officially release 2.2.1 yet, we still miss the windows installers, and a complete bzr-proposed PPA [08:08] ok [08:10] vila: I just uploaded the last bits to bzr/proposed [08:10] Unfortunately the launchpad build farm is broken [08:11] maxb: hurrah ! === vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv | Release Manager: vila | bzr 2.2.0 is officially out | bzr-2.0.6, 2.1.3, 2.2.1 and 2.3b1 need installers, aTdHvAaNnKcSe ! Some of them are already available, please test !| work on bzr: http://webapps.ubuntu.com/employment/canonical_BSE/ [08:12] maxb: does this means that *you* need to resubmit something or only that your submissions are delayed ? [08:15] Just a delay, I hope [08:16] vila: Is there anything left to do under "ping Debian maintainers" on http://wiki.bazaar.canonical.com/Releases/2.2.1 ? [08:17] maxb: hmm, I was waiting for an answer from them, but I think you proxied quite nicely so I guess we should delete this item [08:35] 'evening maxb, vila [08:36] jelmer: wow, now, *where* are you ? [08:36] jelmer: maxb, maxb: jelmer, I think you have matter to discuss and I will carefully listen :) [08:37] vila: I'm in California :-) [08:37] we do? Debian packaging? Nothing urgent if jelmer is somewhere esoteric [08:37] jelmer: cool :) [08:38] hello jelmer! [08:38] are you at a conference? [08:38] 'morning poolie! [08:38] maxb, yes, debian packaging and plugins for the PPAs needing (or not( new releases), this also can have an impact on OSX and windows installers [08:39] meh [08:39] yep, I'm at the storage conference in Santa Clara [08:39] maxb, yes, debian packaging and plugins for the PPAs needing (or not) new releases, this also can have an impact on OSX and windows installers [08:39] I can't tolerate typos in parens, no way [08:39] :D [08:42] vila: On the second point, if bzrlib has not api-bumped in 2.3, then it's purely an issue with the debian packaging metadata assuming it will [08:46] vila: proposed PPA is now complete apart from one karmic build which is still running [08:47] maxb: rock-and-roll ! Thanks a lot for all your efforts there ! [08:48] maxb: started 28 minutes ago on shipova ? [08:52] so all we need now are the windows installers and we can push for testing, which means the official release is already delayed until at least monday [08:52] I will mail the list as soon as I get feedback from Gary [08:53] that's for 2.2.1 [08:53] maxb: what's the overall status of the bzr-beta-ppa ? Already testable ? [08:56] maxb: email is perhaps the best medium for me at the moment, the connection is pretty bad here. [08:56] alternatively we can discuss it when I get back on monday [08:59] vila, re the SRU [08:59] http://doc.bazaar.canonical.com/bzr.dev/developers/releasing.html#getting-the-release-into-ubuntu [08:59] basically says subscribe the sru team [08:59] (it should say) tag it sru [09:00] and add a comment asking for it [09:00] just a comment then and "they" will now how to get the diff ? [09:01] well, you may need to get in #ubuntu-devel and nag someone to help with it [09:01] they're basically just going to pull in the new tarball or tag, i think [09:02] ok, yeah, I'd like to better understand what happens there and what is missing to make it easier and/or address the issues (or at least understand what they are) [09:03] I know it's about parallel imports but I'm unclear about what workarounds are available... or not [09:05] vila, well, i think diving in and trying to document or solve things that come up is pretty worthwhile [09:06] poolie: so, bug #636930 to start with. It already affects 'bzr (Ubuntu)' so I sould nominate it for maverick [09:06] Launchpad bug 636930 in Launchpad Bazaar Integration "Upgrading a repository fails with 'Inter1and2Helper' object has no attribute 'source_repo' (affected: 4, heat: 876)" [High,Triaged] https://launchpad.net/bugs/636930 [09:07] but there is no 'nominate' button anymore ;) so is it 'also affects distribution' or 'target to release' ? Neither it seems [09:10] both i think [09:11] poolie: well, 2.2 is already targeted, and distribution seems to be for Ubuntu (not maverick or lucid) [09:12] * poolie looks [09:13] or may be I don't have enough access to add the needed distrotask (or whatever it's named) to the 'bzr (Ubuntu)' part [09:14] I can't even change the assignee to 'ubuntu-sru'. 'no items matched "ubuntu-sru"' >-/ [09:15] so basically you want to follow https://wiki.ubuntu.com/StableReleaseUpdates#Procedure [09:15] eerk https://bugs.edge.launchpad.net/ubuntu/+source/bzr 28 New bugs ??? [09:15] though, you can't do all of that [09:16] Ok, I have a small human grabbing at my foot, time to go I think :) [09:16] you need to subscribe them, not assign them [09:16] omomom [09:16] g/l [09:16] poolie: the StableReleaseUpdates wike page still says subscribe ubuntu-sru, not tag sru [09:16] Happy weekend, everyone! [09:17] maxb: yeah but we want to tag it anyway for easier tracking for *us* [09:17] ah [09:17] you can tag it [09:17] vila, so i think: tag it, subscribe them, create a distro task, post a comment asking for an SRU [09:17] let's do that and see if they have any further feedback [09:18] vila: HAH [09:18] ok, but still, how do I 'create a distro task' ? [09:18] I have found the missing nominate button [09:18] maxb: haaa, where ? [09:18] "also affects distribution" [09:18] nope [09:18] can you add this to the docs too? [09:19] poolie: no, it's the already existing 'bzr (Ubuntu)' [09:19] So, it appears that Launchpad shows "Target to release" if the selected bugtask is a project one, and "Nominate for release" if it's a distro one [09:19] ok, you don't need to do anything else then [09:19] ah yes, you can go into the distro bug context [09:19] that's pretty damn obscure [09:19] https://bugs.edge.launchpad.net/ubuntu/+source/bzr/+bug/636930 [09:20] Launchpad bug 636930 in Launchpad Bazaar Integration "Upgrading a repository fails with 'Inter1and2Helper' object has no attribute 'source_repo' (affected: 4, heat: 38)" [High,Triaged] [09:20] So, if you want to create an Ubuntu maverick task, you first hack the URL changing bzr to ubuntu/+source/bzr [09:20] so this would be maverick only? === poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: jam | Release Manager: vila | bzr 2.2.0 is officially out | bzr-2.0.6, 2.1.3, 2.2.1 and 2.3b1 need installers, aTdHvAaNnKcSe ! Some of them are already available, please test !| work on bzr: http://webapps.ubuntu.com/employment/canonical_BSE/ [09:20] maxb: 8-( [09:22] poolie: pfewwwwwwwwww. ok, I'll try to replicate that for the others and will document in in releasing.txt [09:22] maxb: thanks the back-magic hint [09:22] black [09:22] * vila kills one more chicken, deploring that it becomes a bad habit especially for the chikens [09:23] i'll comment there [09:23] :) [09:23] poolie: ok, I'm watching the blinken lights :) [09:26] poolie: p-e-r-f-e-c-t, that's all I needed, I'll do the others [09:27] adapting the comments as the policy will be slightly different (open to discussion) for 2.1 and 2.0 [09:27] and 2.3 [09:27] vila: Maybe you should switch to goats? [09:27] but 2.3 is irrelevant for now [09:28] done [09:28] vila: Hmm, didn't the TB want us to run the testsuite as part of the buildd build? [09:28] yes [09:28] In which case, shouldn't we be doing the packaging work for that *first* [09:28] istm the reasonable thing is to grandfather the current releases where that doesn't pass [09:28] fullermd: chickens and chicken thieves are the rage in France these says (black humour)... [09:29] these days [09:30] maxb: it will most probably fail with various degrees for 2.0 2.1 2.2, we can only try to make it succeed for the next releases for the *build* itself [09:30] maxb: see my mail about the related bugs [09:30] ah, ok [09:31] So, we're going to opt for getting a -proposed upload done, and then playing with selftest against the built package until we've convinced ourselves the world is good? [09:31] maxb: I'm trying to target as low as 2.0 as possible and spiv will also try to backport its fix, but that will probably not be enough [09:31] maxb: how, we *are* convinced the world is good :) We want to reach the point where the build itself share this conviction ;D [09:32] lol [09:32] Yeah, but chickens have limited power. Sacrificing a few goats can be much more effective at smoothing the way. [09:32] noooo [09:32] maxb: care to add some goats to the packaging branches ? [09:32] I... am not sold yet myself on goats [09:33] * fullermd sells vila to some goats. [09:33] . o O (Great, as if my desk wasn't already such a mess...) [09:34] See? Perfect solution; a couple goats will eat your desk clean in no time ;) [09:35] Noooo ! Not these notes ! Boom, one goat sacrificed already... there goes the restriction... [09:36] My neighbor has been mostly out of town for, like, the last year. I keep her front lawn mowed, but the back is an absolute jungle. [09:36] She quite seriously says she'll just drop a few goats back there when she gets back. [09:37] I see where the goat selling stuff is coming from now... [09:37] you've got mail: Want some goats ? I'm the lawyer of... [09:38] Teehee. "My late husband was Minister of Finance for Ghana. I require your assistance to transfer five million US goats..." [09:40] ok, good night all [09:49] poolie: good night ! [09:49] fullermd: lol [09:52] maxb: I'm sure you could answer this one: I'm about to ask for an SRU for 2.1 in lucid and 2.0 in karmic, should I also target jaunty and hardy for 2.0 ? Or are they already considered EOLed and we should just tell people to use the stable ppa for them ? [09:53] jaunty is EOL real soon now [09:53] It's not worth the effort of SRU processing [09:53] maxb: just what I wanted to hear :) And about hardy ? [09:53] The only kind of SRU that would be eligible for hardy would be a 1.3.2 release :-) [09:54] maxb: good ! I'm making progress :) [09:54] Hmm. I have a question. Is there any way to move the tree root file-id to not-the-tree-root, and create a new root? [09:55] maxb: where to you want to move the old root ? [09:56] maxb: you can't [09:56] :-/ [09:56] I was pondering Chris Hecker's "help getting a clue about tracking changes in an integrated library" email [09:57] what you can do is merge a whole tree inside an existing one (eventually into a sub folder) [09:57] I don't remember if we support this directly and from which release, but that's definitely something we want to improve [09:58] Won't that lose the root-id of the secondary tree? [09:58] no, we fixed a bug about that [09:58] so you can then merge again from this tree [09:58] *blink* [09:59] maxb: was I unclear ? [09:59] How can that work? You merge the secondary tree, and all its contents end up in the root of the merge target initially [09:59] How is the root-id of the secondary tree going to end up assigned to the new subdir that you then make to move all the stuff into? [10:00] 1) you can move the merged content 2) we manage to track the parent of the merge files and recognized that they once was in the other root-id [10:01] merged files [10:01] 2) sounds very magic [10:01] we don't track the root-id itself, we track where it was used as a *parent* [10:02] maxb: that was bug #375898 [10:02] Launchpad bug 375898 in Bazaar "bzr merge fails: bzr: ERROR: No final name for trans_id 'new-1' (affected: 11, heat: 13)" [High,Fix released] https://launchpad.net/bugs/375898 [10:02] * maxb reads [10:02] maxb: prepare some coffee first :) [10:04] https://code.edge.launchpad.net/~vila/bzr/375898-fix-root-more will NOT show you the diff because... it has been merged... sounds like a bug to me even if I kind of understand why the diff is empty :-/ [10:04] ha no, silly me, it's there: https://code.edge.launchpad.net/~vila/bzr/375898-fix-root-more/+merge/22625 [10:05] I'm afraid the patch itself will make you think it's even more magic though :-/ [10:08] hrm [10:08] I think this is a subtley different thing to what I want [10:09] I am addressing the question of newly added files in the subproject's upstream branch, which I want to *automatically* merge in underneath the subtree in the aggregate branch [10:09] maxb: right, it fixes a case in the same area so most of the support was there already [10:09] For what I want to work, I think the tree_root fileid of the subproject needs to end up propagated to the container directory within the aggregate branch [10:09] maxb: I'm not sure about this precise point but at worst they will end up in the root of the new tree and may need to be renamed [10:09] yes, that's what happens [10:10] ha [10:10] file a bug [10:10] or search for a duplicate maybe [10:10] I think the fix basically involves making bzr merge-into a first-class command [10:11] maxb: I think spiv worked on that to make it possible to define it in core or something [10:11] I don't remember the outcomes though [10:11] either that or doing something loathesome like resetting the fileid of an added directory to match the old parent of its children if they are all being freshly added [10:12] It is at this point I should stop pondering the guts of bzr and actually go to work [10:12] bzr-builddeb may also have some hacks for some cases, I'm not (yet) up to date there [10:12] well, I'm totally out-of-date here to be honest :-} [10:13] maxb: and the plan is to get involved in the bzr packaging using udd to address that [10:14] maxb: starting now by watching what you're doing :D [10:24] * maxb chuckles and enworkifies [10:31] hi [10:35] chuckle [10:36] lol, bad window :) [10:36] :) [10:36] can't find the meaning of enworkify though :-/ [10:36] quick question: bzr on an older suse system - does bzr have a lot of dep's? [10:36] we can't use the package manager for one thing [10:37] it has mostly python deps [10:37] mhm [10:37] so pip/easy_install should do it [10:37] this one has no internet connection [10:37] but i can handle that [10:37] you'll need pyrex to generate the c files unless you start with a tarball that shoul contain them [10:37] i don't know [10:37] what's the best thing to install from source? [10:37] then you'll "just" need to run 'make' [10:38] cheater: if you need to bootstrap you can't 'bzr branch lp:bzr' so you need to start from a tarball [10:39] yes [10:39] cheater: from there it depends when and how you intend to update [10:39] mhm [10:39] cheater: you can't use the package manager because you don't have an internet connection ? [10:39] is there any way to get remerge to only do bits that are still herringboned? I fixed half a file manually then ran into two methods which were mixed up together, after a remerge --weave its fixed the really broken one, but undone my other fixes [10:39] yes [10:40] well, i can use the package manager [10:40] I confess I don't know what is packaged in suse anyway [10:40] but it's an old suse that hasn't been supported for the last 3 years :p [10:40] at the risk of asking a silly question [10:40] wow, so better start from source then, [10:40] why not upgrade/replace the box? [10:40] yes vila :) [10:40] Glenjamin: it's not mine :) [10:41] cheater: which python version ? python -V [10:41] i think it's 2.6 [10:41] so that shouldn't be a problem [10:41] maybe 2.5.. [10:41] let's see [10:41] really ? 3 years old and already 2.6 ? [10:41] i think they updated it [10:42] suse or opensuse ? [10:42] there is http://wiki.bazaar.canonical.com/DistroDownloads#openSUSE but I don't know how up-to-date it is nor how it applies to your case [10:44] 2.3.3 xDD [10:44] cheater: updating the wiki page with your own case will be welcome ;) (hint hint nudge nudge) [10:44] cheater: python ? argh [10:44] Well, either that or a REALLY up to date bzr :p [10:44] that'll be FUN. [10:44] cheater: end of story then, we support >= 2.4 ~< 2.7 [10:44] vila: that's ok, i'll upgrade it [10:45] :) [10:45] * cheater has root [10:45] cheater: go for 2.6 then [10:45] yeah [10:45] i see no reason to go for 2.7 yet [10:45] most libs aren't ported are they? [10:45] * cheater doesn't actually know [10:45] cheater: the support for 2.7 is... a bit unknown [10:46] ok [10:46] cheater: from a bzr pov that is [10:46] vila: You could upgrade that vm and make it known ;p [10:46] fullermd: the vm *is* upgraded and we know we have failures but no time to investigate :-/ [10:47] Well, knowing is half the battle, so we're almost done! [10:48] fullermd: hehe, yeah almost... [10:49] fullermd: except almost when it comes to regression testing is marginally better than not at all. I've missed several incidents because I'm used to the red icon meaning 'failures' even when the failure involved a vm crash and a file system corruption :-/ [10:50] Ah, you just need to run a more reliable OS then... [10:51] hehe, I'm pretty sure the OS is not involved here as the failures has happened across all the OSes used by babune including ... nah that would be cheap ;) [10:52] Pfft. Since when has that stopped you? :p [10:53] fullermd: always ! You saw only the expensive ones ;) [10:55] lol [11:11] is there anything I can do about ghost revisions? [11:15] what are ghost revisions? [11:15] cheater: revisions created by a bzr ghost, but you won't be there until you kill your bzr, you need a bzr first [11:16] Glenjamin: it depends on where you encounter them and if it causes problems or not [11:16] i have bzr on my laptop [11:16] :) [11:16] ;) [11:17] maxb: I actually did implement a cmd_merge_into, but removed it before the final landing, but it should still be in the revision history [11:18] maxb: look at the parent revisions of where MergeIntoMerger landed, I guess [11:18] Or use bzr-search ;) [11:18] spiv: what was the rationale for not landing it ? [11:19] vila: we weren't sure it was a good feature, IIRC, but check the review comments on the merge proposal. [11:19] https://code.edge.launchpad.net/~spiv/bzr/merge-into-merger/+merge/28824 I think? [11:20] spiv: nah, just wanted a quick summary ;) My stack already includes too many pending items ;) [11:20] including reading the night mail... [11:20] Hmm, actually the reason isn't in those comments. [11:21] But the comments do say "(This history of this patch includes an [11:21] updated cmd_merge_into it could use.)" [11:21] (talking about updating bzr-merge-into to use the APIs from this patch, rather than its own old code that doesn't work with 2a) [11:22] ha right, so the plan is more to update merge-into than to make it a core command, at least for now, right ? [11:24] Yeah. [11:24] vila: in the history, some blame/log commands wont work [11:24] Anyway, there's a UI for it now: make a recipe and use bzr-builder ;) [11:24] it's not crucial, but it's annoying sometimes. And i think it messes up loggerhead a bit [11:24] But the cmd_merge_into I had had a fairly flexible (although perhaps not intuitive?) UI. [11:25] * spiv wanders off [11:26] dOxxx: small problem here, It seems I can fetch pycrypto, I will copy the 2.2/src one manually instead [11:26] Glenjamin: first, try 'bzr check' just to be sure [11:27] Glenjamin: then, do you know where these ghosts are ? [11:27] http://pastebin.com/Yv6f1cXS [11:27] vila: http://bazaar.launchpad.net/~spiv/bzr/merge-into-merger/revision/5272 is the diff removing cmd_merge_into [11:28] Glenjamin: if you do, it may just be a matter of fetching these revisions into your repo [11:28] I'm not sure they exist anywhere [11:28] Glenjamin: like 'bzr branch -r ; rm -fr ' [11:28] Glenjamin: ha, this kind of ghost [11:29] we used bzr locally with an svn server for about 8 months [11:29] i've got the rev id of a ghost; GhostRevisionError: {mbrown@macbook-mb.genesys.local-20100716092059-4so0wsqli7tqcxwy} is a ghost. [11:30] Glenjamin: we intend to support them as gracefully as possible, so file bugs if you're annoyed so we can fix it [11:30] Glenjamin: do you know who mbrown is ? Can you check whether or not this revision exists in one of its repos ? [11:31] Glenjamin: start by checking in whatever central or shared repo you have of course [11:31] he's sitting next to me, how do i find out? [11:31] Start with a pair of pliers and a blowtorch... [11:32] ...of course [11:32] "*slap* What were you doing the morning of July 16th?! TALK!" [11:38] bzr cat-revision -r revid:{id} is how I test if it's there? [11:38] Glenjamin: like 'bzr branch -r ' or even bzr log -c should do (not sure about the later though as they're may be a check against the branch ancestry) [11:39] Glenjamin: yup, same caveat about cat-revision than for log [11:40] bzr branch -r presumably? [11:40] yeah, but with an existing branch for just to find the repo [12:03] vila: if i manage to get a ghost repo into my local repo, do i just push the dummy branch to the central repo to get it across? [12:03] Glenjamin: yup [12:04] Glenjamin: if the central repo is a bzr repo that is [12:04] it is [12:04] k [12:57] Glenjamin: I'm about to do a break for lunch, did your ghost chase gave any results ? [12:58] gave... ? give ? [13:00] garyvdm, GaryvdM: Get out of this grep and come talk to me, I'll be there in ~1h ;-P [13:00] vila: i got as far as doing -v on check to get the list, and found that the rev ids aren't in any of the repos [13:08] vila: hmmm pycrypto website seems to be dead [13:21] vila: I'll be off IRC today until ~7pm EST. Email me if you need anything for the Mac installers. [14:07] how difficult would it be to add a post-resolve hook? I'd quite like something to remind me to commit after a merge before making any other changes [14:23] does http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/annotate/head%3A/bzrlib/builtins.py work for anyone? [14:30] How can I diff a file between two bzr revisions? need to repair some partial damage [14:32] in the same branch? [14:32] yes [14:32] bzr diff -r.. [14:32] thanks much [14:33] Interestingly, I can't see a way to diff 2 revisions of a file in different branches. [14:33] Arbitrarily more complex revspecs. [14:34] Actually, I'd imagine you could select any rev in the repo by revid, so if the branches are sharing a repo you could just go like that. [14:35] dOxxx: bah, too late, anyway, I managed to build the 2.3b1 installer for OSX 10.5 by copying the parmiko .tgz so all is well [14:36] Glenjamin: ok, so your ghosts are lost then [14:37] Glenjamin: try #launchpad if the problem persists on this link [14:37] it's been like that for days [14:37] i think its loggerhead [14:37] big file, lots of history [14:37] Glenjamin: diff --old --new should work [14:37] Glenjamin: ha, no, just got a response [14:38] vila: how to specify revisions form each branch? [14:38] aha, works for me now too [14:38] See help revisionspec. You can do 123:/some/branch to get revnos from the branch. [14:38] Glenjamin: ooooh, the tricky one now... [14:38] pfew, saved by fullermd :) [14:39] ah [14:39] was looking at revisionspec, but didn't see that bit [14:39] (this "working between branches" thing is one place where branches being FS objects makes things arbitrarily inconvenient :| ) === tchan1 is now known as tchan [14:41] something along the lines of git's remotes might be nice [14:41] some sort of intelligent bookmarks, but i'm not really sure how they'd work [14:50] hmm [14:52] wasn't there a bzr plug-in somewhere to allow arbitrary shortcut definitions? something like how lp:foo works, but so that you could define gnome:foo or otherserver:foo for example? [14:53] I've been writing my own for each repo we use here [14:53] not aware of it, but sounds handy [14:53] i thoguht the thing was 'copy the lp one' [14:53] i'm not sure how the plugin would store it, but it's simply enough to do [14:53] you just need prefix, url pairs [14:55] Glenjamin: the most recent one I heard about in this family is lp:bzr-debuntu (be aware that it will be merged in to bzr-builddeb though IIUC) [14:55] i was just reading the source for that [14:55] dobey: [14:55] it sets stuff up with a dict [14:56] the slightly non-trivial bit is moving the dict to a config file [14:56] and then rely on lp for the resolution [14:57] bzr config files should be able to provide a mapping to a [xxx] section to a dict with little nudge I think (but that's not part of the officially supported stuff) [14:57] what i want to do is set up a "lp:foo" alias to point to "file:///tmp/blah/blah/foo" for example, for unit tests [14:57] we don't really need a dict, just pairs [14:57] or well, s/want/need/ [14:59] dobey: not sure I understand the constraints here, but if you're using bzr TestCaseWithTransport or even TestCaseWithTempDir, your current dir is already under /tmp so you can use relative paths 'dir/file' [14:59] dobey: if you need a transport, you can (with TestCaseWithTransport) do self.get_transport('dir') too [15:01] vila: i'm trying to write more unit tests for some of the code in tarmac, which is currently untested, which handles the actual merging of branches and talks to launchpad to get proposals and stuff. and tarmac complains if branch identities do not use the lp: protocol. and with the TestCaseInTempDir (which we're already using), lp: is not a valid protocol, so after setting up the config for a couple of branches to test the merger of, [15:02] bzr-bookmarks is the arbitrary one [15:03] james_w: i was looking at it last night, but it seems to only allow doing "foo = file:///foo" rather than "lp:foo = file:///foo" afaict [15:03] dobey: you don't access lp: right ? [15:03] dobey: right, it's not what you need [15:03] you need to define a directory service in your tests [15:03] dobey: so you can *redefine* the lp: protocol for your tests no ? [15:04] vila: i need to avoid hitting the network, yes. can i redefine it? [15:04] dobey: sure [15:04] the lp plug-in tests seem to have a way to set up a fake Factory for the URLs, but it seems to only support doing it for one url at a time? [15:06] dobey: you wan to look at bzrlib.transport.transport.list_registry [15:06] dobey: you wan to look at bzrlib.transport.transport_list_registry [15:07] dobey: the latest transport registered for a given protocol wins, so your tests need to register your lp: implementation (and presumably unregister it during cleanup), [15:07] hmm, ok [15:08] dobey: look in bt.test_transport.py for more examples [15:08] ok [15:09] dobey: hmm, and poke the lazy that put a FIXME there instead of doing the cleanup so you'll get proper examples ;) [15:10] dobey: there is also bt.per_transport.py [15:11] heh [15:12] maxb: yeah for bzr/proposed !! [15:13] GaryvdM: hey ! [15:14] here's a thought [15:14] why do directory services have to be instantiated? [15:14] return service().look_up(name, url) [15:15] it's easier to factory object which have a lookup method than to factory objects which after being called have a lookup method :| [15:19] vila: Hi [15:19] vila: Esh - I've been busy a work! - But I'm free now [15:19] Glenjamin: ECANTPARSE, could you rephrase in simpler english ? (I'm not a native speaker) [15:20] GaryvdM: great ! I wanted to ask about the windows installers [15:20] GaryvdM: 2.2.1 being the priority [15:20] Trying to get going with with win installers, but need to finish off the bzrw/qbzr/tbzr/bzr-explorer [15:20] issue [15:21] ok, do you have an estimate ? [15:21] can I answer that in a while - Not sure yet. [15:21] I'd like to mail the list asking for testing focused on 2.2.1 [15:21] Ok [15:21] which bit are you on now Gary? I'm actually around today and this weekend [15:21] GaryvdM: ok, take your time, [15:22] GaryvdM: you still have.. 5 minutes or such [15:22] GaryvdM: mwhahahaha kidding of course [15:22] (so, yell if you need help, was the subtext there) [15:23] vila: If people want to test, the installer I linked to on this page: http://wiki.bazaar.canonical.com/Releases/2.2.1 [15:23] GaryvdM: I know, I wanted to ask you put it on lp instead, if there are problems you will have to use a new name anyway, so need to buffer here IMHO [15:24] so *no* need to to buffer [15:25] GaryvdM: unless you think it's not usable yet, in which case, better wait for the fix since we will need it to be tested again anyway [15:25] vila: I've seen lots of people who don't consider themselves as testers get test copies of installers from launchpad, and then complain about instability [15:25] So I think it is important to buffer. [15:26] (by dropbox may not be the best place... [15:26] *but [15:26] hmm, you're right of course... chicken-and-egg [15:27] I've not been keeping up with the mailing list. :-0 waterfall.... [15:27] On the other hand, that's what test is about... if people don't want to test they can just wait, the release hasn't been officially announced (whatever my poor phrasing was ;-) [15:28] just read the Roadmap for Bazaar thread, unless you're really interested in nested trees [15:28] or visual studio integration [15:28] or vila's many release posts :) [15:28] GaryvdM: don't even read that :) Focus on the present, the future can wait :-D [15:29] This is the issue I'm trying to fix: http://osdir.com/ml/bazaar/2010-09/msg00189.html [15:29] GaryvdM: release posts are "present" in this respect ;) [15:29] Easy fix, then have to release new versions of qbzr, tbzr, and bzr explorer... [15:30] vila, directory_service.DirectoryServiceRegistry.dereference does return service().look_up(name, url) [15:30] ah, yeah, I saw that and was going to respond, but poolie posted saying what I was going to before I got there [15:30] GaryvdM: wrong way, delay 2.3b1 if you want, but not 2.2.1 unless it's critical [15:30] look_up is an instance method of a directory service, it'd make more sense for it to have been a static/class method [15:30] * GaryvdM often wants to merge bzr-explorer in to qbzr to reduce release work... [15:31] GaryvdM: when releasing, there is *nothing* easy [15:31] vila: It's a regression in 2.2.0, So I think it's important. [15:31] Caused by bzrw.exe. [15:31] GaryvdM: then it's critical, ok [15:32] and bad code. [15:32] ok [15:32] * GaryvdM focusses... [15:33] Glenjamin: ISTM that making it a static/class method reduces the flexibility no ? [15:34] in the general case maybe, but the constructor gets no arguments [15:34] Glenjamin: oh, you want to pass some arguments to service() constructor ? [15:34] hehe, crossed on the wire ;) [15:34] well not really, i'd rather not have to make something instantiable [15:34] i'll show you in a sec, just making the plugin [15:35] I encounter the same problem in a another area and resort to define class attributes and new classes :-/ [15:37] 137 downloads for the 2.3b1 tarball, do we have so many installer builders ??? [15:37] or packagers [15:37] I always install from source on my windows box [15:37] or gentoo users? [15:37] or did, when I did any dev on it [15:38] any gentoo packagers around ? [15:38] mgz: I'm not sure gentoo users will jump on the first beta... [15:39] vila: lp:~glenjamin/+junk/bzr-shortcuts (the __call__ hack works around having to be callable) [15:39] mgz: 'lost connection during test' rings a bell ? [15:39] yeah, babune hits it sometimes, it's a generic subunit failure scenario [15:40] mgz: subunit, thanks [15:40] if for instance, the child process dies [15:40] * mgz hopes he's remembering this correctly [15:40] mgz: yeah, find another example will you, I don't like that one :D [15:40] child process closes the pipe? :) [15:41] far better :) [15:41] keep going :) [15:42] I want one that could match a spurious failure that can be target at someting outside the test suite :) [15:43] 6 jobs in raw failing on jaunty for different reasons.... some bug wants to die today... or knows I'm knee-deep in releases... [15:44] in a row (right ?) [15:45] dobey: Kamping_Kaiser lp:~glenjamin/+junk/bzr-shortcuts is a first draft of a plugin for defining arbitrary url prefixes [15:48] Glenjamin: it's a bit weird or at least not using the API as it was intended, i.e. you don't call register_transport [15:49] Glenjamin: it's true that this sounds a bit heavy in your case, but you're supposed to call register_urlparse_netloc_protocol less often then register_transport [15:49] blah [15:50] you're supposed to call register_urlparse_netloc_protocol less often then register_transport [15:50] i think i just copied the launchpad one [15:50] hmm [15:50] in your case you want to call register_netloc and register_transport for each one [15:50] what does register transport do? [15:50] >-/ [15:51] as i'm not defining a transport, just an alias [15:53] Glenjamin: oh, sorry, wrong layer [15:53] hmm [15:53] interesting [15:56] Glenjamin: I think you should at least mail the list about it, I'm not sure there is a lot of users of DirectoryServiceRegistry and even then, we can find ways to make the API evolve [15:56] it's not exactly prohibitive, but its a bit odd [15:56] Glenjamin: forget most of my previous remarks I wasn't on the right page [15:56] and every matching service instantiates an object unnecessarily [15:57] the class has a single method too, so it may just mean it did the job when it was introduced [16:07] ugh, two failures on maverick from my selftest changes and test_selftest sucking [16:07] will work around rather than launching in to making the tests sane [16:09] the 7th was the good... looks like goats work better than chicken ? [16:10] there's more blood in a goat. [16:10] mgz: 24,567 tests... took 36ms... [16:11] mgz: ha, so you're part of this conspiracy against goats too... [16:11] I'll fix that timing thing when I work out where it needs fixing. [16:12] mgz: plan for mutiple targets :D === deryck is now known as deryck[lunch] [16:14] GaryvdM: sorry to interrupt, just one question: do you plan to build installers for 2.0/2.1/2.2/2.3 or only 2.2/2.3 ? I'll tend to prefer the later if that matters [16:14] * GaryvdM wishes that bzr (version|plugins -v) would tell me what dirs it looks for plugins in. [16:14] vila: I prefer to only volunteer to to 2.2/2.3 [16:15] GaryvdM: fine [16:15] the build method is different, and I've never done a 2.0/2.1 build [16:16] GaryvdM: I;m not sure we should continue to support 2.0/2.1 on windows at all, but it's not the place nor the time to discuss it [16:16] if i sent a message to the list and got bounced for not being a member, then joined; is it better to resend or leave someone to approve it? [16:17] GaryvdM: and, until "bzr (version|plugins -v) would tell" you, remember that you get full control with BZR_PLUGIN_PATH [16:17] vila: Yes - and you can also see in .bzr.log. [16:18] Glenjamin: depends on the list, if it's bazaar@, feel free to sent it again, at worst we;ll get it twice, but AIUI, the moderators are more harmed by spammers than by good willing citizens [16:19] i'll just resend then, ta :) [16:19] It's just easier to type bzr plugins -v than less ~/.bzr.log - ^H^H^H^H^H^ Aghhh where is .bzr.log on windows :-) [16:20] %APPDATA%/.bzr.log by default I think [16:20] but point taken :) [16:20] mgz: :-) [16:20] GaryvdM: LOL [16:20] i think it belongs in version -v [16:22] Glenjamin: right, but most of the people that really care about it, especially care about it after running plugins -v and pestering that it's still not there :) practicality vs purity, I'm 50/50 [16:23] should it be at the top of plugins -v or the bottom? :p [16:23] Glenjamin: blue [16:23] I prefer pink. [16:23] mgz: I knew it :) [16:24] and on that topic... /me gets back to it [16:24] No! the bikeshead should be yellow! [16:24] Glenjamin: hrmm, does your plug-in actually work? [16:25] :-P [16:25] Glenjamin: how can i test it? [16:25] ok, blue, yellow, pink, which country flag is that ? [16:25] dobey bzr info test: [16:25] you'll get an error that http://example.com isn't a repo [16:26] http://bazaar.launchpad.net/~parthm/bzr/403687-shelve-summary-in-status/revision/5426/bzrlib/shelf.py <- funny commit, says something about lazy_import (lack of) usability I think [16:26] Glenjamin: hrmm, i wonder if the bzr testcase is preventing me from doing the same thing inside the testcase setUp() then :( [16:27] is the thing you're testing itself dereferencing locations? [16:28] well, bzr is trying to do something, and then gives me UnsupportedProtocol: Unsupported protocol for url "lp:branch1" === Ursinha is now known as Ursinha-lunch [16:29] at a guess, i'd say lp: isn't registered with the netloc urlparse thing [16:30] what throws that exception? [16:31] File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1576, in convert_path_to_url [16:31] it seems like my factory isn't getting called [16:33] things tend to run with --no-plugins for testing by default? [16:33] how about stubbing in a fake lp: thingy just for your tests? [16:33] ...wait, that's what you're trying to do [16:34] post some code? [16:34] that is exactly what i'm doing. i'm not calling load_plugins() [16:34] it needs to run in setUp or later as tests are isolated from general hooks [16:34] it's in setUp() [16:35] mgz: http://pastebin.ubuntu.com/499785/ [16:35] thanks. [16:35] dobey: name is undefined there [16:36] shouldn't it be throwing an exception [16:36] presume that's just an extracting c/p error [16:36] undefined where? [16:36] directories.register in setUp [16:36] the general idea looks fine, any ideas vila? [16:36] EOVERFLOW [16:37] there's no upcall in setUp() that might be making things wonky [16:37] Glenjamin: true, not sure why it didn't except there, but changing it to a string had no useful effect :) [16:37] was guessing that's also a c/p error, as we throw if you forget [16:37] james_w: there is a super() for it, i just omitted it in the pastebin [16:37] if it really was undefined, it means setUp isn't being called [16:37] dobey: is the super before or after that? [16:38] althought it might have just picked up a variable called "name" from a different scope [16:38] james_w: it's the first call in the setUp() [16:39] setUp() is being called, because it's failing after things that are done in setUp, are successfully completed [16:41] can you inspect the directories registry and try a call to directories.dereference at the end of setup? [16:42] dobey: eureka [16:42] http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/annotate/head%3A/bzrlib/registry.py#L107 [16:42] override_existing defaults to false. [16:42] although it excepts, so its not that :< [16:48] yeah i don't know what it is [16:49] Ok - Fix committed - another bug is now showing, but maybe not critical. [16:49] * GaryvdM kicks off install build. [16:50] :-/ [16:50] you're a star Gary. [16:51] dobey, my next step would be to pdb the test and look at the various internals during the run [16:54] yeah, will have to wait though. it's nigh time for me to hop off for lunch and an appointment [16:55] hello [16:55] we're geting a strange status. a file is showing up as "nonexistent" in status [16:55] it's a .OTHER file for something that we've deleted. [16:55] we're not sure what to do about it [16:56] jml: you deleted it in your branch but modified in the other, if you still don't care about this file delete .OTHER and resolve [16:56] vila, .OTHER does not exist! [16:56] jml: oh, and .THIS was modified ? [16:57] vila, who knows? [16:57] vila, bzr is just telling us that there's a thing called foo.OTHER that has the status of 'nonexistent' [16:57] jml: you ? [16:57] jml: it was probably modified :) [16:57] vila, perhaps. foo doesn't exist in our tree either. [16:58] huh === deryck[lunch] is now known as deryck [16:58] jml: shudder [16:59] jml: .bzr/checkout/conflicts pastebin ? [16:59] tried revert/resolve on it? [16:59] Glenjamin: I think jml wants to know before acting [17:00] jml: anything related to the parent dir ? [17:00] heh, my userland approach would be to hit it with sticks til it worked :) [17:00] vila, I don't have access to the branch... it's on someone else's machine [17:00] * vila cries [17:00] oh, on the ghost thing - is there any way for me to make some fake revisions to replace the missing ones? [17:02] jml: 'nonexistent' or 'missing' ? [17:02] vila, nonexistent [17:04] jml: I need to know the conflict type [17:05] vila, ok. let me reproduce locally... [17:06] vila, http://paste.ubuntu.com/499800/ [17:06] vila, buildd-dispatching.txt is the "foo" from above [17:07] If I do "bzr status", lib/lp/soyuz/doc/buildd-dispatching.txt.BASE is "missing" [17:08] jml: ok, Contents conflict, always misleading, content refers to the path: The files are of different types (or both binary), or not present [17:09] vila, right. [17:09] vila, the file has been deleted in our local branch, and we want to keep it deleted [17:10] vila, if I just do "bzr resolve lp/.../buildd-dispatch.txt", resolve the other conflict and then commit... [17:10] jml: so deleted in this and modified in other, so yes [17:10] vila, I get this... http://paste.ubuntu.com/499804/ [17:11] jml: how did you resolve ? [17:11] bzr resolve lp/.../buildd-dispatch.txt --take-this [17:12] reminds me, i get an attribute error whenever i do --take-other [17:12] vila, no option. [17:12] Glenjamin: file a bug, with a reproducing recipe if possible, the simplest the best [17:13] mm, doing now [17:13] jml: bzr version ? [17:13] jml: nvm, 'bzr rm lp/.../.OTHER' ; 'bzr resolve lp/.../.OTHER' [17:15] $ bzr rm lib/lp/soyuz/doc/buildd-dispatching.txt.OTHER [17:15] bzr: ERROR: Can't safely remove modified or unknown files: [17:15] added: [17:15] lib/lp/soyuz/doc/buildd-dispatching.txt.OTHER [17:15] Use --keep to not delete them, or --force to delete them regardless. [17:16] jml: sudo amke me a sandwich [17:16] --force [17:16] aiee [17:16] * fullermd slaps vila with a salami. [17:17] * vila seriously reconsider paying for those goats [17:17] why does --take-other do a transform, rather than just a filesystem move? [17:17] un baguette de pain [17:18] Glenjamin: EOVERFLOW, nasty edge cases [17:18] jml: une ! :) [17:18] anyway, bug posted as 646961 [17:18] jml: can't you guess from the shape ??? [17:18] vila, heh heh [17:18] If we hit you enough, it'll be whatever gender we WANT it to be! [17:18] vila, I suggest you steal fullermd's salami and make your own sandwich [17:19] * fullermd has a feeling this conversation took a turn somewhere... [17:19] jml: will think about it, AFTER you tell me your conflict is gone for good [17:20] was that a multilingual pun? [17:21] vila, that works. [17:21] mgz, yes. [17:21] pfew [17:21] jml: so, 'bzr version' ? [17:21] Bazaar (bzr) 2.2.0 [17:22] un pain de peine would also work. [17:22] mgz: I don't know what 'un pain de peine' is [17:22] Now, that's a multilingual pun :-D [17:22] or my french fails. [17:23] My french should be great. Heck, in school, I took 4 years of French I. [17:24] gone [17:24] i've got patch for bug 202374 at https://code.launchpad.net/~ryorke/bzr/202374-pull-update-showbase -- do i just run bzr lp-propose and take the defaults? [17:24] Launchpad bug 202374 in Bazaar "pull and update should accept --show-base (affected: 0, heat: 4)" [Medium,In progress] https://launchpad.net/bugs/202374 [17:25] roryy: you can also click "Propose for merging" and fill in the details on that page [17:26] mgz: ok. do i need to worry about what the submit branch is? [17:26] you pick what you based it off, which should be lp:bzr (the default) [17:27] mgz: ok, thank you === beuno is now known as beuno-lunch [17:40] s'pose i should actually run *all* the tests before proposing a merge === Ursinha-lunch is now known as Ursinha [17:45] it's not the end of the world if you don't, as PQM will do that for you before landing [17:45] but doing `./bzr selftest -s bt.test_source -s $your_test_module` can be useful [17:48] mgz: Please could you test an installer for me? http://dl.dropbox.com/u/4494367/bzr-2.2.1%7Ed-setup.exe [17:48] http://dl.dropbox.com/u/4494367/bzr-2.2.1~d-setup.exe [17:49] getting. [17:49] GaryvdM: I'm about to crash, I'm sending an email to the ML about the releases status [17:50] vila: ok [17:50] GaryvdM: feel free to reply to it once you're comfortable with your installers [17:50] GaryvdM: I tried to make it quite clear that we want testers, [17:51] GaryvdM: the osx installers are already on lp so it;s up to you to decide where you want them to be dl from [17:51] Ok - I'll reply with links to what ever I have. [17:51] GaryvdM: a big thank you for your help here ! [17:51] do you need me to include tortoisebzr? [17:51] mgz: yes - [17:52] mgz: I'm just writing up reproduce steps for a bug. [17:53] ok, EODing EOWing but will probably pass around... [17:53] have fun ! [17:54] looks fine at first blush, anything in particular that needs poking with a stick? [17:54] bye vila! [17:54] bye vila. [17:54] mgz: http://pastebin.ubuntu.com/499833/ [17:54] ta. [17:55] mgz: I'm trying to reproduce that with out tbzr [17:55] I saw something similar when I was fiddling with bzrw's boot_common.py [17:56] I didn't get anything there, I'll try again. [17:56] When bzr is finished tries to flush stderr/stdout, which was erroring. [17:56] And there's nothing in .bzr.log :-( [17:56] I'm blaming tbzrcommand at the moment. [17:58] okay, trying with a bigger shared repo, and log is struggling... [17:59] hm, still no error message here [17:59] Oh - Ok [18:00] mgz: The other thing I would like for you to try for me is to try run the testsuite. [18:00] I wonder how that will go. [18:00] just selftest on the command line? [18:01] mgz: Unless you think that this is something to try between releases? [18:01] no, it's worth doing, I filed a bug on it a bit back, as there are a few things that need resolving [18:02] ha, couple of deprecation warnings, and that __subclasscheck__ thing Andrew was fixing [18:05] mgz: I'm just going to grab so food. [18:05] bbl [18:05] nothing unusual looking so far [18:16] is it possible to remove tags? [18:16] they're part of the history, so it's the same story as commit messages, you'd need to rewrite history [18:16] nah [18:17] bzr tag --delete [18:17] thanks [18:17] ha, whoops, so overwrite has been implemented there where it hasn't been for messages [18:20] need to poke around some of the bits of bzr I never use [18:23] It's not a case of overwrite being implemented [18:24] It's simply a case of tags not actually being part of history, but mere annotations on top of it [18:24] ah, so I was wrong about the base thingy? [18:24] base thingy? [18:25] concept maybe, pick a word. [18:29] have we got any dev docs on tags? I'm not finding much. [18:30] Tags are a dictionary of name: revid, stored in a branch. [18:30] That's pretty much it [18:32] okay, I'll go back to not worrying about them but be able to answer the question correctly next time === beuno-lunch is now known as beuno [21:48] If I maintain a branch for each release, and keep updating master with new features and bug fixes, how can I apply the bug fixes to the released branch? [21:49] it seems "bzr merge" doesn't work for this purpose.. [21:50] Well, it sorta does, insofar as you can cherry pick. How well that works over time is more questionable. [21:52] I need to digging the cherry pick stuff.. I always wondered what the cherry pick is.. [21:52] I'm new to bzr.. :) [21:53] A cherrypick is basically any merge that, for one reason or another, can't be recorded as a merge. [21:53] In this case, it would be a cherrypick because the graphs are disjoint; a merge of one revision transitively includes all its ancestors. [21:54] Since you don't actually want that in this case, we can't make it a real merge. [21:54] yes.. [21:55] I can't do the real merge.. I need *partial* merge for bug fixes.. [21:55] You could make sure everything's connected by using DaggyFixes, but that would probably just get increasingly more difficult as time went by, so it's probably not really a general option. [21:55] Right. So we can't record the merge; as far as bzr is concerned after the fact, it's no different from you manually editing the files and committing, so it can't use any of that information to attempt future merges. [21:55] I might make a patch file from the master for the bug fixes, then apply the patch to the released branch, but I would think there is a better way.. [21:56] It often works just fine, and it's pretty much always going to be at least as smart as doing diff | patch yourself. [21:56] But as things get more diverged, there'll tend to be more and more cases where bzr can't figure out how to move things across, because the common ancestor it works from gets really far back. [22:02] except from bazaar wiki.. "A cherrypick is an operation in which the delta between two revisions is applied to a working tree. The process is roughly similiar to generating a diff between two revisions and applying it to a working tree." I think this is what I need.. [22:02] thanks.. [22:02] s/except/excerpt === Ursinha is now known as Ursinha-afk [22:18] fullermd: thanks.. cherrypicking works beautifully.. === Ursinha-afk is now known as Ursinha [23:29] Is there a bzr command to list the braches available? [23:29] like "git branch -a".. [23:29] ls