[00:00] SamB: so yes, it would kill us. [00:00] lifeless: how does it move the data? [00:00] we'd have to figure out a lot more structure than we do, which would push memory usage up, processing time up, and increase network traffic - in pathological cases by thousands of times. [00:00] tarball? [00:01] we send the delta compressed data as-is [00:01] with the minimum edits to its storage to meet user expectations about when data propogates [00:01] right. [00:02] is that how it works when pulling between formats? [00:02] depends on the formats [00:02] examples? [00:03] I don't mean to be rude, but I've a tonne of code to write [00:04] unless this is more than academic, can I encourage you to look at the various formats in repoformats/ [00:04] what code should I read, then? [00:04] oh, repoformats [00:04] which define constraints like needing topological insertion, atomic transactions etc [00:04] lifeless: bug 390563 is marked in-progress, should it be marked assigned to you [00:04] Launchpad bug 390563 in bzr "absent factory exception from smart server when streaming 2a stacked branches" [Critical,In progress] https://launchpad.net/bugs/390563 [00:05] cross format fetching is parameterised by the RepositoryFormat objects + the stream behaviour / InterDifferingSerializer (streaming is for network, IDS for local) [00:05] SamB: we try to do the least work at any time when copying data [00:06] its the whole background theme to all this code [00:06] poolie: no [00:06] mmmhmm. [00:06] poolie: jam has a branch to land [00:06] thanks [00:13] * SamB settles for running bzr branch with -rsvn:1000, then bzr pull with -rsvn:2000 etc. [00:15] (for the moment) [00:19] * SamB keeps expecting "bzr revert" to ask him hunk-by-hunk for some reason ... [00:25] I installed bzr from the source... how do I uninstall it? [00:33] delete it ;) [00:35] it installed like a million files in different directories [00:38] it should have written the bzr script, and a single directory 'bzrlib' in your python site-packages directory === kiko is now known as kiko-afk [00:45] jam: around? [00:52] I'm running bzr (1.16 or 1.17rc1) froma Fedora 11 installed inside VirtualBox, and it always hangs around 1054K or 1060K when checking out a branch... [00:57] any ideas why? [00:57] GungaDin: how long have you left it to conclude that it's hung? [00:59] hours? [00:59] It succeeds from other machines [01:01] SamB: i fully support getting better api docs, but filing bugs on every class without them, if that's where you're heading, is probably not the most efficient way to do it [01:02] how about if for instance you put up a branch containing your guesses at better descriptions or the answers people give to your questions about the api? [01:03] GungaDin: oh ok [01:03] GungaDin: no idea then really :( [01:03] hello mwhudson [01:03] hi poolie [01:04] yeah, weird. [01:04] Can somebody explain the correct way to merge two branches with the same ancestory? [01:06] are there any logs I can check? [01:22] MT-: bzr merge BRANCH-B [01:23] GungaDin: you can look in ~/.bzr.log [01:23] GungaDin: and/or use strace or lsof to see whats going on [01:23] garyvdm: I was confused because I would do that and then get a message when I tried to commit the merge about no changes having been made [01:24] garyvdm: I added --unchanged to the commit and it seems to have worked - thanks [01:24] Er. If commit said there were no changes, there probably were no changes... [01:25] (and if there were, and commit wasn't seeing them, --unchanged probably didn't make it start) [01:27] fullermd: that's why I was so confused [01:28] I suspect merge's output will be more enlightening. [01:30] http://bzr.pastebin.com/m1d9af2f9 [01:30] exactly like I'd expect [01:37] poolie: I wasn't going to do it for every class, no [01:37] for starters, I'm skipping all the ones whose names begin with _ ;-P [01:37] there probably should be some better way to track this [01:38] it just doesn't map well to bugs [01:38] poolie: yeah [01:38] but I couldn't think of any other thing to do that wouldn't get completely lost [01:39] and honestly I don't really have any but the vaguest guesses what it's for ... [01:39] http://starship.python.net/crew/mwh/bzrlibapi/undoccedSummary.html [01:39] (not linked to or very useful though) [01:40] lots of things might be clearly-enough named/subclassed that a docstring would, in fact, be redundant [01:40] I'm not planning to file bugs against those [01:40] I think its reasonable, when something confuses you, to ask for help on it [01:41] if you write a docstring and submit a merge as a result of the help, a bug is kindof wasteful [01:41] OTOH if you don't plan to submit a patch yourself, a bug is accurate, but perhaps its unlikely anyone will work on it [01:42] agree [01:42] i think one can be kind of usefully provocative by asking the question and then turning it into the patch [01:45] lifeless: I agree, but to do that ... wouldn't I have to have understood what you said about InterDifferingSerializer ? [01:46] * SamB does a lastlog to see if he mentioned it more than once? [01:47] jml: did my inventory checks stuff get into 1.17rc1? [01:48] lifeless, I don't know. [01:55] jelmer: what the heck is a "native foreign revision"? [02:01] lifeless - how would lsof or strace help me to understand what's going on? [02:04] GungaDin: well, it might end up telling you that something was actually happening [02:04] or at least give you an idea where they go wrong [02:08] How can I uninstall a version installed from the source? [02:09] SamB: where is that mentioned? [02:10] jelmer: bzrlib.foreign [02:10] GungaDin: as I said before you need to delete it [02:11] GungaDin: one way would be to install it from the source again, and take note of all the files installed [02:11] and then delete them [02:12] why don't you supply an uninstall option?? [02:15] GungaDin: python's distutils don't (currently) provide any mechanism to do that. [02:15] There's a proposal on python-dev atm that would address that, I think. [02:15] SamB: revisions that were not roundtripped from bzr [02:15] alright. [02:15] thx [02:16] jelmer: yeah ... that was my eventual guess [02:16] GungaDin: if I'm installing something system-wide from source I usually use stow, mostly because it means I can always uninstall it later. [02:17] jelmer: now to figure out how to say that without using an oxymoron [02:17] hmmm... never used stow. [02:17] never even heard of it, to be honest. [02:19] GungaDin: http://www.gnu.org/software/stow/ [02:19] Although it's probably packaged for Fedora, which I think you said you are using? [02:20] yeah, it is. [02:20] justed yummed it :P [02:20] GungaDin: tastey, is it? [02:20] missing a bit of salt. [02:21] hmm, what column should comments be wrapped at? [02:21] more or less [02:22] 79 [02:25] would it make sense to wrap a bit sooner if it puts a >40 char parenthetical on it's own line? [02:26] well, let me just paste ... [02:40] okay, here it is: http://paste.ubuntu.com/217434/ [02:40] which of those comments is better wrapped? [02:41] the first [02:42] okay, next question: does jelmer like the comment? [02:58] jml: why 79 and not 80? Does that apply for all code? [02:59] garyvdm, 79 is what pep8 says for general code wrapping. [02:59] garyvdm, I don't know whether it's binding on bzr (I suspect it isn't) [03:00] garyvdm, but if someone asks a wrapping question about a Python project, you need a good reason to say anything other than 79 :) [03:00] (pep 8 actually recommends 72 for comments & docstrings, but that's pretty silly, since none of the editors on my system will do that automatically) [03:01] jml: I was just under the impression that it was 80 not 79. [03:01] garyvdm: Emacs displays an \ and wraps if you go over that [03:01] (under SamB's configuration) [03:01] (with an 80-character-wide terminal, or the default window size) [03:01] jml: not just mine [03:02] Ah - the -1 is for the \ [03:02] that's, of course, the *default* default [03:02] garyvdm: yeah [03:03] Historically, some terminals had Issues(tm) with drawing characters in the last column of the last line, which is one reason to go with 79 over 80. [03:03] (probably none of them have been USED in a long count of years, but I probably have one in my closet :P) [03:04] well, depends how you define issues [03:04] * garyvdm changes editors edge line from default of 80 to 79 [03:05] there are some terminfo/termcap flags to specify standard "issues" terminal type has [03:06] jml: also, my editor seems to have somehow been given the impression that like 72 is good for comments in Python ... [03:06] +something [03:06] I sometimes wonder how many of those flags still work with modern apps. [03:07] I was looking through termcap the other week and reflecting that, "Gee, 'xterm' is used all the time, and 'vt100', and probably a few others like 'cons25', but I'll bet 98% of these entries haven't been used in 20 years." [03:08] fullermd: could be, but some of these flags *apply* to xterm and/or some of it's ilk [03:09] (oh, and better not forget "linux" and "screen") [03:10] Yeah. But then there are all these comments about "I don't know what this entry is for, there's no model number or attribution", with timestamps in the early 80's. [03:11] yeah, probably those ones aren't really used much ;-) [03:11] jml: I routinely use all 80 [03:11] because the bottom right character works these days [03:12] lifeless: vi-using jerk! [03:12] :P [03:14] Yeah. And all these entries for homebrew terminals... [03:14] Including (at a spotcheck) some that call for tabset files the system doesn't even include :p [03:14] what files ? [03:15] anyway, a lot of these flags are basically used by curses + screen [03:15] Beats me. I'm not insane enough to have learned termcap that deeply. [03:15] as far as I can tell [03:16] I learned enough to trick screen into doing some insane things and mess with VT10x and such. That was quite enough for me. [03:17] I only try to learn it when something isn't working right [03:18] test_transport_implementations has been renamed to per_transport? [03:21] jml: sounds plausible [03:23] jml: i have a branch fixing that [03:24] mwhudson, oh cool. anything I can do to get it landed? [03:25] jml: i'll ask you to review it [03:34] my bzr always hangs on "Fetching revisions:Get stream source" [03:34] .... [03:34] any ideas why? [03:35] look at it with strace or lsof [03:35] how do I look at it with lsof? [03:35] lsof just tells me what files are open. [03:36] thats right [03:36] its data about whats going on [03:36] just as strace would b e [03:45] back [04:00] * igc hits the review queue [04:03] when I do strace on the process, the output is: read(6, [04:03] what does that mean?? [04:05] it means its waiting for IO [04:05] on fd 6 [04:06] so why isn't any IO coming? :) [04:07] well, I don't know [04:07] lsof can tell you what fd 6 is [04:11] are there any open source projects that use bzr? [04:12] yes, lots [04:12] such as? [04:12] mysql [04:12] I appreciate you're having some trouble, and I'd like to help [04:12] you need to gather data though [04:13] I don't know how really... [04:13] I think fd 6 was just a pipe. [04:13] apart from that there's nothing much I can say... [04:13] checkout works on oher machines. [04:13] what url scheme are you pulling from? [04:13] (bzr+ssh? http? ...?) [04:13] bzr+ssh [04:13] that should just work really [04:13] and you can SSH out from that VM fine? [04:13] is it a very big project or some such? [04:14] yup [04:14] it's quite big [04:14] but it shouldn't hang like this [04:14] so the client is waiting for data from the server [04:14] do other clients work on the same project ok? [04:15] yup [04:15] that's what I said: the checkout works on other machines [04:16] to answer your other question more fully - http://bazaar-vcs.org/WhoUsesBzr - lists /some/ of the open source projects using bzr [04:16] cool [04:16] there are more (based on people asking for support) [04:16] I'll try checking out from one of those project [04:16] we'll see how it goes [04:16] theres something like 20K projects on launchpad with branches [04:16] all of ubuntu is imported, for instance [04:17] imported into bzr? [04:17] yes [04:17] from cvs? svn? [04:17] depends on the thing [04:17] most of the ubuntu packaging branches are imported from the dpkg source packages [04:17] * wgrant points over to https://code.launchpad.net/ for lots of branches. [04:17] there are also thousands of svn/cvs/git imports [04:18] GungaDin: I also suggest you file a bug to provide a place we can gather systematic data about your problem [04:19] I don't know if it's a bug. [04:20] something is wrong somewhere [04:20] it may be system config [04:20] or a bug [04:21] either way, having a place to record notes about the problem is a good idea [04:21] and we usually do that in our bug tracker [04:22] hmmm... seemed to work with https on alltray. [04:55] how can I checkout using bzr+ssh from an open source project on launchpad? [04:55] or somewhere else. [04:55] I'd like to see that the exact scheme works with a different project. [04:58] setup your ssh keys in launchpad [04:59] GungaDin: you need a lp user name with a ssh key set to use bzr+ssh on lp [04:59] then bzr branch lp:PROJECTNAME [04:59] then turn http:// into bzr+ssh://USERNAME@ in any of the http urls [04:59] *sigh* [05:18] doesn't seem like it's working [05:18] where do I check the branches of each project on lp? [05:22] The "code" link for a project will show the branches. e.g. https://code.launchpad.net/bzr [05:27] i'd like to say just ssh://host... [05:27] well, if I bzr+ssh://myaccount@code.launchpad.net/bzr/trunk - it hangs forever... [05:27] i know there's a bug for it [05:27] poolie: that still really squicks me [05:27] sorry but i think you'll just have to cope [05:27] you don't have to use it :) [05:28] as long as we don't drop support for bzr+ssh I'll deal [05:29] but I really think its liable to lead to trouble down the track [05:29] lifeless - I can't bzr+ssh the way you mentioned. [05:29] GungaDin: what happens [05:29] nothing [05:30] no error? [05:30] like the onion or someone said [05:30] I tried: bzr co bzr+ssh://myaccount@code.launchpad.net/bzr/trunk [05:30] "why don't we have _optional_ gay marriage?" [05:30] eventually I get a timeout error from ssh [05:30] GungaDin: branches are on bazaar.launchpad.net [05:30] GungaDin: bzr+ssh://myaccount@bazaar.launchpad.net/bzr/trunk [05:30] does that really still time out? [05:30] that's lame [05:30] GungaDin: e.g. bzr+ssh://myaccount@bazaar.launchpad.net/~bzr.dev/bzr/trunk [05:31] i thought the firewall was changed a long time ago [05:31] GungaDin: actually spiv has it right [05:31] maybe it regressed [05:31] poolie: I don't follow the onion ref [05:31] GungaDin: if you use "bzr launchpad-login" you can just do "bzr co lp:bzr" and it will look up the right bzr+ssh URL for 'bzr' for you. [05:31] nm, it's a joke [05:31] poolie: I'm concerned that url handlers in firefox are going to end up fighting with ssh: urls [05:31] poolie: in a way that won't happen with what we do today [05:31] as if all the people objecting to gay marriage were afraid they personally would have to gay marry [05:32] i'm not saying you're being that silly [05:32] poolie: and further that we're adding ambiguity that doesn't need to exist [05:32] or indeed that they are [05:32] poolie: I could care less what individuals use as local scheme aliases; things that are liable to make the ecosystem more fragile are something I do care about. [05:33] spiv - I get an error saying it's not a trunk [05:33] we could possibly apply a kind of 'be strict in what you emit' here [05:33] and just treat them as a shortcut on input [05:33] sorry.. [05:33] I mean "not a branch" [05:33] i think bzr rejecting somebody typing the url is too pedantic [05:34] GungaDin: oh sorry [05:34] GungaDin: .../~bzr/bzr/trunk [05:34] GungaDin: that's what I get for typing from memory! [05:34] GungaDin: like I say, I usually just use "lp:bzr" [05:34] spiv: however that can use http [05:34] better [05:34] spiv: and I don't think it tells the user [05:34] thx [05:35] spiv: which is why I suggested explicitness here for debugging [05:35] lifeless: I'm not disagreeing :) [05:35] ;) [05:36] poolie: bzr does tell the user what url they should be using. [05:37] poolie: if bzr were to nag that its altering the url to be bzr+ssh and translated, well that might be ok. But I think its pragmatically bad to start emitting ssh:// urls ourselves, or encouraging people to put them in app handles [05:37] ah [05:38] i'd forgotten it gave a suggestion in the message [05:38] let's discuss it if/when somebody actually starts on it [05:39] I'd actually like to put this to bed permanently someday [05:39] its a bit of a recurring nightmare [05:39] unless we embed a terminal in bzr [05:40] it's a URL [05:40] it locates a resource [05:40] it doesn't need to say everything about what to do with the resource [05:40] if you click on a ssh url in a browser, what should happen? [05:41] presumably it'll go through the 'what app do you want to use for this' function? [05:41] of course at present: nothing happens afaict [05:42] to me this seems reasonable [05:43] what do you think should happen? [05:43] As a user I'd expect the sshshell (there is a gui ssh shell colin walters has been working on - its really nice) to fire up by default [05:43] with no questions [05:44] k, that sounds good then [05:44] what's not to like? [05:44] if the web page wants to say "open this in bzr" there should definitely be a syntax for that [05:44] hm [05:45] i mean really it should be something like handwavey ssh://example.com::bzr/some/dir [05:45] ssh there *and then what*? [05:45] just pointing to the directory on the host doesn't really mean a lot [05:45] maybe this is in the ssh url spec [05:45] if any [05:45] this is a bit of a weakness in std66 [05:46] and AFAIK the only workaround at the moment is in the scheme [05:46] I'll note that bzr+ is less letters than ::bzr :P [05:46] lifeless: you just need a keyboard with a :: key ;P [05:47] You could maybe adapt a keyboard with a -- key for tla ;) [05:47] * lifeless shudders [05:47] i shall treat that trolling with the respect it deserves [05:48] pragmatically, web browsers dispatch off three things: [05:49] embedded controls where a plugin is invoked [05:49] the scheme [05:49] and the mime type [05:49] How big is the the trunk of bzr? [05:49] around 68147K? [05:49] GungaDin: about 70MB [05:49] seems like my bzr hangs again [05:50] strace shows the same thing [05:50] read(6, [05:50] GungaDin: and I guess if you strace the ssh subprocess it's stuck in a recv or a select on a socket? [05:51] yeah, select. [05:51] GungaDin: but it's managed to download 68147kB to .bzr ? [05:52] seems like it. [05:52] apparently it always hangs at the end. [05:52] like with my repo. [05:52] I wonder if you have a broken plugin installed? [05:52] Can you try sending SIGQUIT to your bzr process? [05:52] That will drop it into the Python debugger. [05:52] or -Dhpss perhaps [05:53] Then type "bt" and pastebin the result. [05:53] kill -? [05:53] kill -QUIT [05:53] well.. I already stopped it with CTRL-C [05:53] Or hit Ctrl-\ in the terminal. [05:53] Ah. [05:53] any other smaller repo? [05:53] Did it give a backtrace (or did it leave one in ~/.bzr.log)? [05:54] GungaDin: you can use the one you were having trouble with earlier, if thats smaller [05:54] ~jml/testtools/trunk on the same server is quite small. [05:56] ok [05:56] brb [05:57] GungaDin: another test to try would be to add --no-plugins to a command that hangs. [05:57] tried that already [05:57] it didn't help [05:57] Ok. [06:01] igc: I have more inventory delta stuff [06:02] igc: I'll be updating the merge request this avo [06:02] igc: I'd love if if you could tell me if it sucks perf wise [06:02] lifeless: shall do. I want to get through some more reviews then I'll make some measurements ... [06:03] I sent a SIGQUIT to bzr... what do you want to do now, spiv? [06:03] lifeless: I'm all for safety first but ... [06:03] lifeless: we need to be sure we don't throw away all the recent gains accidentally [06:04] for sure [06:04] the reason this has taken a week is I've been looking and thinking carefully about every change [06:05] I'm sure there will be fallout, but I'm also sure it will be much less than the gains we've made by better disk structure [06:09] GungaDin: type "bt" and pastebin the traceback that makes [06:10] GungaDin: that will tell us where in bzr it is stuck, which might help diagnose what's going wrong. (Even though it's almost certainly not bzr's fault) [06:18] jml: so, can code auto update diffs please?:) at the moment, clicking superseded and aking a new review seems to me to be *more* work for lp... [06:18] lifeless, you're asking the wrong person. [06:18] thumper isoffline [06:19] lifeless, well, I think Launchpad should auto-update diffs too [06:19] ok cool [06:21] speaking of which [06:21] how does one do the superceded dance? [06:22] I get an error about an existing proposal [06:24] EOD (started at 6:30 :P) [06:25] igc: updated thingy submitted [06:25] poolie: I'll get to your patch early tomorrow [06:25] lifeless: thanks [06:27] * spiv makes a late lunch [06:27] igc: I think (I still have to do a careful audit) that I now have complete coverage of things that make deltas go wrong [06:28] igc: which means that once I've done that audit I can get onto iter_changes again and be protected [06:28] lifeless: and in theory, my patch will fail, right? [06:28] i.e. be trapped by your new tests [06:28] igc: your tests won't, but I can construct cases using the regular command line that will make it generate bad deltas [06:29] and those would be caught [06:29] anyway, as I promised I'm going to fix iter_changes itself [06:29] theres no need to layer on it when iter_changes is, itself, broken [06:30] for instance, a simple example is [06:30] lifeless: thanks. I still never got why my stuff was wrong so I'm looking forward to understanding that soon [06:30] init; mkdir a, touch a/b [06:30] commit [06:30] mv a c [06:30] mkdir a touch a/b [06:30] commit a/b [06:31] this sort of situation would turn up after merging parallel imports, for instance. [06:32] igc: the layering approach isn't /wrong/ in a correctness sense; its wrong in a performance sense because of the full-iteration being done under the hood. Thats tolerable. [06:32] the correctness wrongness is that you have to spider out upwards just like we do downwards [06:32] in what we include [06:33] and that may have further implications (e.g. a spider down impact) that I haven't yet thought all the way through [06:33] it was while I was thinking it through that I realised our delta sanity checks were totally insufficient to protect us against mistakes [06:33] anyhow, I'm really done for today. [06:33] see you all tomorrow [06:33] lifeless: sure, seeya tomorrow [06:51] spiv: http://pastebin.com/d5fb72ec7 [06:53] GungaDin: hmm, so it's stuck while waiting to receive a response to a get_stream request (i.e. the big request that fetches all the data) [06:54] but why???? [06:54] Yeah, that's the question. [06:55] lifeless: let's talk more when it's a bit closer to the top of my stack [06:55] I mean, I can fetch branches from Launchpad via bzr+ssh just fine. [06:55] I tend to think it could be a problem with one of the VM drivers. [06:55] I can fetch it fine from other machines as well. [06:55] So if the response isn't making it through to you I'd guess at network weirdness, like a bad MTU setting or something. [06:56] I would have expected that to show up slightly differently, but perhaps not. [06:56] There's certainly nothing particularly special about get_stream, except that it tends to send lots of data fairly quickly... [07:11] well, svn works fine... [07:19] hi all [07:33] hello vila [07:33] hey poolie, I will on and off a bit today, it's national holiday here [07:34] oh right [07:34] bastille day? [07:34] yes :) That one, heads on spikes and so on [07:35] ah, happy days :p [07:42] * jml has eats some cake to celebrate it === loxs is now known as loxs_ [07:44] Folks, is there some easy way allow multiple (system) users to commit to the same repository? [07:46] loxs_: create a system group, and chown the repo to that group and set the perms to be group writeable. [07:46] oh, and set the perms to make sure that new directories/files in that repo are also group writeable. [07:52] spiv, seems like I'll go with access control lists [07:53] If those'll propogate correctly to new files, it would probably work. [07:53] bzr will do the work of propogating g+w to new files/dirs; with ACL's, the system itself would have to do so. [07:54] (and yes, 'propagate' is one of those words I ALWAYS misspell, even though I KNOW I misspell it...) === mario_ is now known as pygi [08:12] just reviewing aaron's merge -i patch, that's very nice [08:20] fullermd, you can support a door, or you can prop a gate! [08:20] (maybe that's terrible enough that you'll remember it forever) [08:22] eww [08:23] I remember a sign or banner or something in my grade 1 classroom that said "Smell _a rat_ when you _separate_" [08:24] never ever had a problem with smelling that word! :P [08:24] my favourites are "weird is weird" ie doesn't follow the weak "i before e" rule [08:24] and "its is like his" ie doesn't have an apostrophe [08:25] neither of them are particularly amusing though [08:34] vila: happy "heads on stakes" day :-) [08:35] Yeah, stakes, spikes, whatever, they were rather unsophisticated you know :-) [08:36] It's raining like in November though so for fireworks.... :-D [08:38] "Bastille Day was the day that France declared independence. It was a remarkable achievement, coming only ten days after America invented freedom." [08:48] jml: Heh. Link? [08:49] RAOF, sadly that's all I've managed to make up so far. [08:49] Boo! [09:08] fullermd: lp:libcpuinfo has language bindings now [09:09] fullermd: you might like to let us know if it builds still on BSD :P [09:15] lifeless: In a quick test, autoreconf gets all uppity about AC_PROG_SWIG and AC_PYTHON_DEVEL and bails. Don't have time to look more closely right now. [09:29] hi... is there a way to do a 'bzr branch' to an existing directory? [09:30] --use-existing-dir [09:32] bzr: ERROR: no such option: --use-existing-dir [09:32] Don't think that'll be released 'till 1.17. [09:32] (I think it's in 1.17, but I'm not actually sure) [09:33] hm, push has such an option [09:33] Yeah, push has had it for ages. branch just hasn't until very recently (like, last week recently, I think) [09:34] hm [09:35] i think i have version 1.5. 1.17 is the latest? [09:36] fullermd: it needs autoconf-archive [09:36] Not yet, no. 1.17 won't actually be released until late this week or early next, I believe is the plan. [09:36] fullermd: and swig - both are doc'd in INSTALL.txt [09:36] 1.16.1 is the current release. [09:36] lifeless: Hm. I thought I had swig installed... maybe I didn't put it on this machine. [09:37] its the autoconf-archive i bet though [09:38] gah. so I pretty much have no choice but to upgrade? [09:38] or if i move my existing dir, let bzr create it, and then move the other things back, might that work? [09:38] Well, you always have choices :) [09:39] Well... what's the use-case for having a dir with stuff already in it, and THEN branching? --use-existing-dir is more aimed at existing _empty_ dirs, I tend to think... [09:40] pfctdayelise: what fullermd said... this sounds like a weird thing to want. [09:40] well I don't even know if I really want to branch, is the case any different with checkout? I just want to get a copy of the code, not necessarily develop on it [09:41] you could just bzr branch newdir [09:41] mv newdir/.bzr ./ [09:41] bzr revert [09:41] rm -rf newdir [09:42] Leaving aside the existing dir/files bit, it's probably something like 6 of one, half a dozen of the other, whether you branch or co there, at least in isolation. [09:42] Either way, why do you want to get a copy of the code into an existing, non-empty directory? Generally you'd do "bzr co URL somedir". (or "bzr branch ...") [09:42] I am working on a web app, and i didn't put the framework into my bzr source control [09:42] so i work on it on my home machine, pushed to lp, now trying to get a copy on my web host server [09:43] is it such a weird set up? [09:43] lifeless: i might try that :) ta [09:43] What makes it weird I guess is that it mixes unversioned and versioned data. [09:44] If all the framework files are in their own dir, it's probably easier to "bzr branch lp:foo newdir ; cd newdir ; mv ../framework/dir ./framework" or the like. [09:44] hm, well the "unversioned" data is probably controlled by its own svn co [09:44] pfctdayelise: for publishing it I recommend 'bzr upload' [09:44] pfctdayelise: its designed for deploying web sites [09:44] The use case you just described doesn't sound weird, the part where it's apparently necessary for you to mix the bzr working tree with an existing tree of files still sounds weird to me :) [09:44] (lifeless's solution would probable be simpler if there were a ton of files scattered all over the place. But if there are existing dirs shared, be prepared for that to cause conflicts in the revert too) [09:45] lifeless: bzr: ERROR: No help could be found for 'upload'. [09:45] pfctdayelise: its a plugin - bzr-upload [09:45] pfctdayelise: https://launchpad.net/bzr-upload [09:45] ciao [09:45] lifeless: g'night [09:46] hm... looks interesting [09:47] so I install this on my 'dumb server'? [09:47] http://tinyurl.com/nkypfa [09:47] pfctdayelise: no, on the client, I believe. [09:48] spiv: as in, my web host? because surely I can't install it at LP. I can install it at my web host or my personal (dev) machine. [09:49] pfctdayelise: The idea with upload is that you install it on your personal machine, and it takes care up uploading the files to the web host. [09:49] ah ok [09:49] pfctdayelise: the README might help: http://bazaar.launchpad.net/~bzr-upload-devs/bzr-upload/trunk/annotate/head%3A/README [09:49] (just the working files, not VCS data like you'd copy up with 'push') [09:49] right [09:51] wow, this is perfect. thanks everyone [09:51] and i just went to the hassle of installing bzr on my web host. oh well, I am sure I'll use it another time :) [09:52] :) [11:25] The bzr problem I had earlier also happens in an Ubuntu guest os. [12:51] so, how do I use "bzr join" ? [12:51] every invocation I try produces errors [12:57] Keybuk: bzr branch foo somebranch/subdir; bzr join somebranch/subdir ? [12:57] LarstiQ: "Cannot join somebranch/subdir. Trees have the same root" [12:57] Keybuk: aha. [12:58] Keybuk: those branches were created before a rich-root format then. I don't know what the correct way to make their tree roots unique is. [12:58] * LarstiQ knows how to do it with bzrlib, but that might be breaky [12:58] can I not just use "merge" ? [12:59] no, apparently not due to file conflicts :-/ [13:00] Keybuk: pfoe, you could try that, if you `bzr init --something-rich-root ../newroot; bzr merge -r 0..-1 ../newroot` [13:00] Keybuk: oh merge the two branches? [13:00] Keybuk: yeah, you can do that, if you say in the the subdir branch move everything to be under subdir/ first [13:01] provided they have a common ancestor [13:01] which is sort of disjoint with the usecase for `bzr join` [13:02] I can just merge -r 0..-1 if they don't, right? [13:05] Keybuk: yes [13:07] cool [13:07] I think have a branch that works ;) [13:08] good :) [13:09] Keybuk: I hear jml say that you've done some wicked things to test upstart, is there a writeup available about that, or should I look at the source? [13:09] I've done the odd talk about it [13:10] basically it's a set of C pre-processor macros that expand to common test constructs [13:10] and let me do things like "run a block of code, count the malloc() invocations, then loop over it that many more times failing each malloc() in turn" [13:10] as well as all the usual things like "TEST_EQ" and stuff [13:15] maybe I'm just not good enough in C macros to see how to do some of that :) [13:21] LarstiQ: e.g. http://bazaar.launchpad.net/~scott/libnih/trunk/annotate/head%3A/nih/test_alloc.h === kiko-afk is now known as kiko === ja1 is now known as jam [14:29] Hi; is there anyway to completely remove a file from a bzr pack? We had a rather large file in our repository that has since been deleted; but we'd like to remove it completely [14:30] otherwise our repository is about 50mb instead of 5 and makes branching a somewhat slow and bandwidth heavy operation [14:34] Elleo: You can't. But even if you could, that would mean fixing all existing branches (that's what distribution is about, everybody has its own copy of the history) [14:34] Elleo: May you want to look at stacked branches ? [14:35] well we pretty much one have the one main branch at the moment (just shifted over from svn) [14:36] s/one/just/ [14:36] Elleo: yet you want to keep the history ? [14:37] yeah [14:37] Elleo: the history includes that large file.... [14:39] yes and unfortunately it was commited right near the beginning of the project; sot here's a lot of commits after it [14:40] oh well, we can work around it; it's just annoying [14:41] Elleo: You may try looking at fast-import to re-create an history starting after the file has been deleted... I think recent versions allows that kind of thing (or it's planned, I don't know exactly, I' don't use it myself) [14:41] Elleo: Another way is stacked branches and/or shared repositories so that you don't pay for the bandwidth each time [14:42] right, I'll take a look; thanks [14:43] ping jml, abentley [14:43] morning vila [14:43] hey jam ! [14:43] jam: pong [14:44] abentley: I just noticed that +activereviews doesn't seem to include Approved merge proposals anymore [14:44] Where am I supposed to go to see what is ready for me to land? [14:44] to be explicit, this page: https://code.edge.launchpad.net/bzr/+activereviews [14:44] is no longer showing this merge request [14:44] https://code.edge.launchpad.net/~jameinel/bzr/1.18-switch-branch/+merge/8469 [14:45] And I'm not sure what other proposals I have Approved [14:45] so that I can make sure to land them all [14:45] jam: I'm not sure it ever did. Marking them approved gets them out of the review queue. [14:45] abentley: I'm sure I used to use it for that [14:45] but regardless, it is something I need [14:46] is it just not available? [14:46] jam: are you sure you don't mean the requested reviews? [14:46] (it may just have been people marking the review as approved, but not the merge) [14:46] jam: https://edge.launchpad.net/~bzr-core/+requestedreviews for example [14:47] abentley: well, I've never gone to +requestedreviews before :) [14:47] anyway, it is possible that I used to see things that were "review approve" and *not* "merge approve" [14:47] but regardless [14:47] how can I find a list of things that have been submitted for review [14:47] and have been approved [14:48] so that I can go land them [14:48] I see this: https://code.edge.launchpad.net/~jameinel/+approvedmerges [14:48] for just me [14:48] is there something for all bzr requests? [14:48] I guess this: https://code.edge.launchpad.net/bzr/+approvedmerges [14:49] though it seems to fit with the "these are reviews that need to be done, and these are reviews that are approved and need to land" [14:49] I'm not sure why it has to be 2 pages [14:49] jam: I don't think there's anything that directly provides what you're asking for. I've asked for similar things, too. [14:52] jam: I think "merges I need to work on" and "merges I should land" should also be included on that page. [14:52] sure [14:52] is there a bug for it? [14:52] jam: dunno. [14:52] k [14:52] I'll look into it [15:10] Hi guys, is there any way to figure out why my clone times are so slow. I've tried wget'ing a dirstate file to test the network speed and I'm getting ~30k/s, but for a bzr get I appear to be averaging ~6k/s [15:23] sidnei: ping (are you using kerguelen ?) [15:26] jam: not ATM [15:27] sidnei: k, I went to log in, and there are already 2 connections [15:28] ATM they both seem to be Administrator [15:28] and one had the buildbot stuff in a terminal and vim [15:28] sidnei: do you always log off when you are done? [15:28] jam: last i logged in was more than a week ago [15:29] k [15:29] jam: yes, unless the connection died at the time, i can't remember [15:29] sidnei: so at some point, I'll need you to walk me through how to actually build things with the new layout :) [15:29] for now, I'll do 1.17rc1 with the old way [15:30] jam: ok. i saw ian's comment about adding some documentation [15:31] sidnei: I'm a bit surprised he landed it without stuff like fixing the PYTHON26 issue... [15:32] jam: but basically 'make installer-all' from the top-level [15:33] jam: is it landed already? too bad then :( i will make a follow up branch with docs and fixing that [15:33] sidnei: it is in bzr.dev [15:33] It isn't in 1.17 AFAICT [15:34] sidnei: I also wonder if we should build a newer svn, I think there is a 1.6 out somewhere [15:34] looking forward to a patch :) [15:36] jam: running 'make installer-all' from bzr.dev would work fine, it will checkout the version specified and build that, it doesn't build the current directory. in fact, i was thinking if all of this should be moved out of the tree and be managed separatedly. [15:36] sidnei: potentially, but we still have to update lots of versions since you targeted 1.15 with your original buildout.cfg [15:36] jam: thats how we do it for the Plone installers, since you usually have to make changes to the scripts that generate an installer after the final release is made. [15:37] sidnei: sure. A goal of mine would be to have the change made in the rc1 release, and then *not* have to change it again for the final :) [15:38] jam: thats a nice goal yeah. so if you build the installer the normal way, just let me know the versions you used (or I could look at the versions in kerguelen myself) and i will update to use those [15:40] sidnei: I'll try to submit the change to build_release.py back to bzr.dev as well [15:40] jam: awesome! [15:42] sidnei: right now I'm working with: http://paste.ubuntu.com/217999/ [15:42] I'll update you if that has any problems [15:44] jam: thank you [15:44] I don't know that bzr-svn 0.6.3-win32-1 is officially in bzr-svn source, I had to do it manually as a workaround for a bug [15:46] it was the follow up bug to bug #384813 [15:46] Launchpad bug 384813 in bzr-svn "bzr-1.15-1 Windows standalone claims " Unable to look up default port for ssh" for sftp connections" [High,Fix released] https://launchpad.net/bugs/384813 [15:46] jelmer had fixed it in a way that broke in a different way === kiko is now known as kiko-fud [15:56] sidnei: the installer is failing right now anyway [15:56] We moved a script [15:56] and then tried to make it work by updating an env variable [15:56] but that variable is different on windows... [15:56] PYTHONPATH=.:$PYTHONPATH [15:56] versus [15:56] PYTHONPATH=.;$PYTHONPATH [15:56] (semicolon versus colon) [15:56] anyway, I'll need to do something to get it working [15:56] I'll let you know [16:00] jam: ok [16:01] sidnei: lp:~jameinel/bzr/1.17-build-updates [16:01] wasn't terribly tricky (yet) :) === kiko-fud is now known as kiko [17:40] hi, can one "switch" a branch? it would seem, no... [17:47] as i understand it, one just needs to create a new branch from the new desired parent. is that correct? [17:48] you mean "switch" in the git sense, or in the svn sense? [17:48] bzr has a switch command too, but it's only for COs. [17:49] i suppose i mean in that sense, which is analogous to the svn sense. [17:50] yeah - it doesn't really make sense to switch unbound branches, because you can push to or pull/merge from anywhere you want [17:52] that's what i thought, thanks for the confirmation though :) [18:26] okay, what does bundle buggy key off of to notice merge directives? [18:28] SamB: Use lp merge proposals instead :D [18:28] bug 399398, bug 399392 [18:28] Launchpad bug 399398 in launchpad "Diff highlighting in mail body" [Undecided,New] https://launchpad.net/bugs/399398 [18:28] Launchpad bug 399392 in bzr-email "HTML Support" [Undecided,New] https://launchpad.net/bugs/399392 [18:29] vila: what's the command for that? ;-) [18:29] SamB: bzr lp-open [18:29] SamB: and then clicety-click [18:30] * SamB supposes this will involve creating a silly branch [18:30] SamB: If it's worth merging, it's not silly [18:31] well, it just seems kind of silly since I probably won't use it ever again ... [18:31] can I view two closely-related branches at once with bzr vis? [18:31] apparently I can, awesome! [18:31] SamB: no problem, it will be stacked by default so very small [18:32] uh, oh, no I can't, internal error blah blah blah: KeyError: 'svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk/Pyflakes:17692' [18:32] SamB: But, yes, you may want to use a unique name (we tend to prefix with the bug number a lot :) [18:32] bummer [18:32] mgedmin: sounds like a ghost problem, file a bug, in the mean time, try with qlog too [18:33] vila: there is no bug number [18:33] it's just a rewrite of a 2 line comment [18:33] SamB: file one first ;-D [18:36] * SamB decides to just use the date [18:37] * mgedmin reports https://bugs.launchpad.net/ubuntu/+source/bzr-gtk/+bug/399405 [18:37] Error: This bug is private [18:38] mgedmin: do you really need to make it private ? [18:38] mgedmin: you are seriously limiting the number of people who can fix it.... [18:38] vila: why did lp-open put me on edge? [18:38] it wasn't me, honest! it was apport! I didn't know :) [18:39] mgedmin: :) [18:39] * mgedmin made it public as soon as ubbotu told him about the privateness thing [18:39] SamB: because you can :) [18:39] because I can *what*? [18:39] go on edge, can't you ? [18:39] can some people not? [18:40] only lp-beta-testers can ! [18:40] ... how did I get to be one of those ? [18:40] SamB: ok, you lost me here, why did you ask in the first place ? :-D [18:42] AIUI, if you're not a beta tester, edge.lp.net should redirect you to lp.net, so you shouldn't even know edge exist [18:42] well, maybe I am [18:42] but I don't know how I became one! [18:42] ok, thanks for the moral support, and bye! [18:42] SamB: what is you lp ID ? [18:42] naesten [18:44] Right, so you're not part https://edge.launchpad.net/~launchpad-beta-testers [18:44] but if you click on the link above, where do you end up ? [18:46] https://edge.launchpad.net/~launchpad-beta-testers [18:46] and it says "This site is running pre-release code. Please report all bugs." [18:47] Meh [18:47] * SamB suspects that vila may have gotten confused about which way the redirection goes [18:47] Oh ! Yes, in the little grey bar, gee, I'm so used to it I don't see it anymore [18:48] Anyway, may be things have changed... [18:48] where do you end up if you go to https://launchpad.net/~launchpad-beta-testers ? [18:48] But I recently discussed lp-open and the edge/lp.net thing with jml (the lp-open author) so you may want to check with him [18:49] https://edge.launchpad.net/~launchpad-beta-testers [18:49] ah, see, you get ridirected vanilla->edge [18:49] and that's expected [18:49] I don't get redirected at all [18:49] That's not expected :) [18:49] why not? [18:50] it doesn't say anything about the other direction on that page! [18:50] And if you delete the edge in the url ? [18:50] jml: so ... why doesn't lp-open send you to vanilla? [18:50] vila: I still don't get redirected [18:50] I land on vanilla [18:51] no dark grey bar, no request to report all bugs [18:51] jml told me that the redirection was fixed to avoid very bad errors for people pointed to edge... May be that was fixed and the redirection cancelled, in that case jml may have to revisit his heuristic... === AnMaster is now known as AnMaster_ipv6 === kiko is now known as kiko-afk === cody-somerville_ is now known as cody-somerville [22:15] moin [22:30] huh, why does bzr merge say "Contents conflict..." for some files and "Text conflict..." for others? [22:32] they're different kinds of conflict [22:32] though i admit, i never remember what a content conflict is [22:32] kfogel: 'bzr help conflicts' [22:33] content conflict == conflict in a file bzr doesn't think is text [22:33] mwhudson: thanks === _thumper_ is now known as thumper [23:11] poolie, we still good for squash tomorrow? [23:26] jml, hi, yes we are, at 5 [23:27] cool, thanks. [23:30] Hi all [23:31] hello gary [23:46] * poolie reads the build-updates patch [23:46] jml, did you see https://code.edge.launchpad.net/~jameinel/bzr/1.17-build-updates/+merge/8753 [23:47] it wants to merge to 1.17 [23:47] poolie, no, I didn't. [23:47] just making you aware; you don't have to read it [23:47] poolie, ok. thanks.