=== jaypipes_mysql is now known as jaypipes [00:07] lifeless: in a structure like /repo/tom/feature1/ for example, tom is a branch? or only feature1 ? [00:07] i need to create tom/ withg 'bzr init tom' ? [00:09] nefertum: both can be, it's more usual to have only feature1/ be the branch though [00:09] LarstiQ: i have the next problem...i have in a machine a repo and in local i've created a new branch that i've just pushed to the server [00:10] but now i don't know if i can get all the content of the repository [00:10] in the remote server the repo is /bazaar, and i've created the branch /bazaar/main [00:11] but if i created /bazaar/feature1 i'd like in the future to get all the repository content in another machine, for example [00:11] you mean you want to get all the branches instead of specific ones? [00:12] yes, all the repo tree [00:12] i have to do a checkout? [00:12] nefertum: no [00:13] nefertum: maybe I don't really understand what your goal is [00:14] like in svn, i can do svn co url/svn/repo/ and this gives me all the repo [00:14] i don't know how to do this in bazaar [00:15] fwiw, I think you can just copy it [00:17] nefertum: in bazaar branches are much more loosely coupled with a repository [00:17] (than in subversion) [00:17] aham.. [00:18] nefertum: but even in svn, there are usually only a couple of branches you care about, and not the rest [00:19] yes...that's what i've seen [00:20] nefertum: unlike svn, in bzr a repository is just a place to store revisions. you can have standalone branches (without a separate repository) [00:21] Verterok: the idea is that i'd like to have a remote server with a repository and i don't know if i should create it first in the remote machine or push the repository from my local repo... [00:22] basic things i supose... [00:22] you can just create it on the remote side [00:22] nefertum: first, we should clarify what a repository means :) [00:23] mmmm, well, in bazaar is also my local branches, but i mean about a server that stores the main branches in a project [00:23] so the developers push the changes in it [00:24] nefertum: in that case, as AmanicA said, you can create it in the remote side [00:24] aham... [00:24] ok, but i should create with --no-trees or --trees ? [00:25] nefertum: and probably you would have a local repository in you workstation [00:25] nefertum: if its on a central server, --no-trees [00:25] I prefer --no-trees on the central server [00:25] yes, actually i have a local repo [00:25] ok, so i can create an empty repo with --no-trees an later push my branches in it? [00:25] nefertum: if its on your workstation, and you want to edit your code inside the repo (rather than doing a checkout), --trees [00:26] nefertum: yeap [00:26] i'll try... [00:43] i find myself wanting to do cd :this [00:44] will `bzr cd :this` work ? :) [01:10] markh: I recently got a very cryptic bzr-svn message on windows, is there a list somewhere (I looked at http://bazaar-vcs.org/WindowsDownloads and regular Downloads) that mentions what components go into a specific installer release? [01:13] LarstiQ: not really :( There is a wiki that describes the parts needed, but the version numbers are often stale - eg, bzr-svn is now using svn-1.5.x rather than 1.4.x. [01:14] markh: that's exactly what I ran into btw, a "upgrade your Subversion client" message [01:14] LarstiQ: that wiki page is http://bazaar-vcs.org/WindowsInstall [01:14] markh: thanks! [01:14] I've seen that error on my local svn repos lately too (ie, without bzr-svn) [01:14] markh: so the installer has it's own subversion library? [01:14] yeah [01:15] aaah, ok [01:15] markh: the problem was that I had a svn 1.5 working copy [01:15] LarstiQ: you using 1.7 binaries? [01:15] or 1.6? [01:15] markh: and then tried to bzr diff on that, but I guess it must have been with 1.4 [01:15] markh: 1.5 [01:15] 1.6 was built with 1.4 [01:15] right! [01:15] 1,7 is built with later libs [01:15] * LarstiQ nods [01:15] that should fix it in this case then [01:16] IIUC, 1.5 used the "pysvn" bindings - now bzr-svn uses its own bindings [01:16] markh: Would it be possible to detect if TortoiseSvn is installed and use those libraries? [01:16] markh: right, but it steel needs an svn library to talk to? [01:16] still even [01:16] it would be a bit of a qa nightmare. But for 1.7 etc, we should be using the latest available anyway... [01:17] yeah - but what svn library was used was outside the control of bzr-svn - it just relied on whatever pysvn uses. Now things are directly under bzr-svn's control [01:17] it bundles the full svn runtim [01:17] ah ok, so less problems there [01:18] markh: the main thing to do I guess is to catch that message thrown by svn and display something that makes more sense to the user [01:18] markh: since upgrading Tortoise makes the problem of incompatible working copies worse :) [01:19] LarstiQ: but IIUC, only old bzr clients will display that message, and its too late to fix them? [01:19] * LarstiQ will file a bug/patch for that tomorrow [01:19] markh: I'll test it [01:19] markh: for svn 1.5, yes. But if I use svn trunk I think I'd get the same message [01:20] IIUC, the problem is the old version of bzr you have uses old versions of svn libs? And newer TSVN and bzr versions use a later version? [01:20] markh: correct [01:20] LarstiQ: right - so you want to upgrade just the bzr-svn for your old bzr binary? [01:21] I mean, your old 'svn.exe' copies will no longer work either. All the other tools need an upgrade to work - same with bzr [01:21] markh: for my concrete problem, I'll just install bzr 1.7 [01:21] (fyi, 1.6 uses old svn too - only 1.7 has svn 1.5) [01:22] markh: but when the next svn release comes out and is incompatible, there is a window for confusing errors until we can say "use the latest bzr installer, that will work" [01:22] markh: ok [01:22] markh: so I'd like to nail that confusing message before the next incompatible svn release comes out [01:23] right. === kiko is now known as kiko-zzz [01:58] what-da-fark ? [01:58] bzr: ERROR: No module named chkmap [01:58] You may need to install this Python library separately. [02:08] lifeless: that dependency issue has caused a lot of failed marriages when it crops up while driving [02:09] hhe [02:09] heh* [02:09] spiv, are your around? [02:09] you* [02:09] typo city [02:10] oh, is that where we're going? i'm pretty sure it's the next left. no need to get the map out ... [02:10] * mneptok accelerates and turns up the radio [02:17] poolie: yeah [02:22] would my comment at the end of https://bugs.edge.launchpad.net/bzr/+bug/260335 be allright? [02:22] Launchpad bug 260335 in launchpad-bazaar "Server is too old for streaming pull, reconnecting. (Upgrade the server to Bazaar 1.2 to avoid this) " [Undecided,Invalid] [02:25] poolie: that seems ok. We certainly don't want to advise downgrading :) === jaypipes is now known as jaypipes-afk [03:33] out to lunch, biab [04:49] I'm pushing a new revision up to a stacked branch and getting a "Revision {...} not present" error. [04:50] I had just created that branch, did a local commit, and then pushed again. [04:50] board 1 [04:50] * fullermd twitches. [04:53] I get the same thing even if I don't commit :( [04:53] oh, branchformat6... [05:01] i guess someone should file a report for that bug :( [05:24] after upgrading to bzr 1.7, I won't be able to push to a remote ssh repository anymore. Any ideas? [05:24] leo2007: why won't you be able to? [05:39] lifeless: I've just posted the error here: http://pastebin.com/d7f25357c [05:40] markh: see leo2007's traceback [05:40] thats a new one :) [05:42] leo2007: do you use putty or ssh? [05:42] leo2007: your use of the future tense was quite confusing :) [05:43] markh: sorry for my English. I used to be able to push to remote server with version 1.5. But couldn't. I use putty. [05:44] leo2007: Try setting BZR_SSH=plink and trying again [05:44] ie, at the cmd-prompt [05:44] set BZR_SSH=plink [05:44] and try again [05:47] markh: same error [05:48] hrm - is plink.exe on your path? The traceback shouldn't reference paramiko if putty's plink is being used (I think :) [05:48] markh: paramiko provides our sfp:// implementation, FWIW [05:49] lifeless: right - sftp:// urls? But ssh+... ones use ssh/putty? [05:49] hrm [05:50] * markh thinks he is confused... [05:50] putty/ssh only used for auth, not for "remote file-system" work? [05:51] The windows error message for that error code is the (not very helpful) "'Key not valid for use in specified state." [05:52] oh [05:52] I've seen this error before :( [05:52] The new error is here: http://pastebin.com/d5fe02026 [05:52] markh: if you use bzr+ssh then paramiko shouldn't be needed; but if you use sftp then paramiko gives use the parsing logic, still use putty or whatever for the transport [05:53] plink is in my path [05:56] poolie: ping [05:57] poolie: I need to decide where to put some tests; you've moved the pack repository specific tests out of test_repository, but these tests I am writing are not really pack specific [05:57] poolie: rather they are the actual format I'm working on specific [05:57] I would have previously put them in test_repository, I'm just not sure why the pack ones got moved out, I'm confused and wondering if I should be doing the same [05:58] markh: I vaguely recall a thread or two on the paramiko list about random number sources, perhaps that's related? [05:58] ah yes, its all coming back to me now :) Its a bug I reported in pycrypto a while back [06:00] hrmph - the bug was #1343753 at sourceforge, but apparently the project is now managed at launchpad - and there are 20 bugs in total ever reported. It is as if the bugs didn't migrate. [06:01] so I can't work out the status of the bug in that package at the moment :( [06:01] a copy of the sourceforge bug message is at http://osdir.com/ml/python.cryptography.cvs/2005-11/msg00000.html [06:03] so what's the solution? [06:04] good question :( Use the version you were in the past for now I guess... [06:08] the bug still exists in pycrypto best I can tell. I guess I better open a new bug. [06:09] where to get older versions? [06:11] leo2007: https://edge.launchpad.net/bzr/+download [06:11] (Or just https://launchpad.net/bzr/+download) [06:12] spiv: of pycrypto ? :P [06:12] lifeless: (back) [06:12] lifeless: I thought it was bundled in the win32 installer? [06:13] re test_repository: as i recall, test_repository was just getting too big [06:14] and, i think having one file or module per scope of parameterization is probably something good to aim for [06:15] leo2007: I might be able to get a fix in an hour or so - will you be around? The error doesn't happen everywhere, so having someone to repro it is important... [06:15] poolie: on the former, mmm, possibly. On the latter, I disagree [06:16] poolie: because, it makes choosing to parameterise a heavier task than it should be [06:16] markh: I'll be around and happy to test [06:16] it's (just) over a thousand lines, that's the point where i start wondering if it can easily be split [06:17] do you mean that if parameterizing means adding a new file it'll make people not do it? [06:18] poolie: yes [06:18] poolie: jam has complained about the cost already, comparing it to mixins [06:18] I am restarting my computer. [06:18] poolie: not to mention that we have lots of examples of parameterisation within a single module already [06:19] so, my thinking was basically "hm this is getting big; oh, these tests are somewhat logically separate so i'll hive them off" [06:19] this is not to say they must always be that way [06:20] as i see it the cost is in understanding how to set it up - like that 20-25 line function we looked at yesterday [06:37] so a recent bug on pycrypto's launchpad page has just been marked "fix committed" - but the points points at some *git* repository! [06:38] there are 4 bzr branches on launchpad, but none are marked as "trunk" nor owned by the project itself. I'm really not sure *where* the trunk is! [06:45] markh: the homepage linked from launchpad.net/pycrypto does list a git branch, so I guess that is the current trunk. [06:48] right - so the "problem" seems to be a new maintainer. The most recent version looks like it came from amk's launchpad branch [06:57] hi all [07:01] vila: good afternoon [07:12] leo2007: grab http://starship.python.net/crew/mhammond/Crypto.Util.winrandom.pyd and replace the existing copy of that file in the bzr directory with the new copy (take a copy of the old one first though!) [07:16] jelmer: i have a self-contained local reproduction now. === jfroy is now known as BahamutZERO [07:19] vila: thanks for that review === BahamutZERO is now known as jfroy [07:26] jelmer: this is the weirdest crash i've seen in a long time [07:31] leo2007: any joy? [07:35] spiv: thanks for yours :) [07:36] anyone want to try and reproduce bug #276219 with the tarball i posted? [07:37] Launchpad bug 276219 in bzr-svn "Segmentation fault in the calling of subversion libraries." [Undecided,New] https://launchpad.net/bugs/276219 [07:37] just wanna make sure i've done enough for others to reproduce, and it reproduces it on my machine, but that's hardly a good sample [07:46] markh: I will test it in a minute. [07:46] markh: need to reinstall version 1.u [07:46] s/1.u/1.7/ [08:05] spiv/lifeless: re your comment on bug 260335 - we're still issuing this error about Repository.get_parent_map in 1.8pre [08:05] Launchpad bug 260335 in launchpad-bazaar "Server is too old for streaming pull, reconnecting. (Upgrade the server to Bazaar 1.2 to avoid this) " [Undecided,Invalid] https://launchpad.net/bugs/260335 [08:11] jml, are you still here? [08:14] poolie: yes. [08:14] poolie: you mean when the client is 1.8pre? What version is the server? [08:15] so jml said that error still occurs if you use 1.5 against a 1.6 server [08:15] the error seems to be issued from inside get_parent_map [08:15] did we really remove that, and if so why is the client still trying to call it? [08:16] and, kind of related to that, the conclusion the client draws if its unsupported is that the server is older than 1.2 [08:16] so if what was said in that bug is correct, maybe the other code is wrong? [08:19] Any idea why the signature tab of bzr-gtk's visualize would say "Revision committer is not the same as the signer." for all the revisions for which I just did `sign-my-commits`? [08:19] I'm confused. The error in that bug will be emitted by 1.5 against a 1.6 server because the streaming pull verb (Repository.stream_revision_chunked) was removed as fallout of the versionedfiles work. [08:19] I don't see anything in that bug talking about get_parent_map or get_revision_graph? [08:20] ok i might just be confused... [08:21] poolie: the guy that filed it is running 1.5 [08:21] poolie: he says 'i want to run whats in debian stable' or something like that [08:23] in other news, I've written a dumb CHKMap [08:23] and am fixing repository so it can work with a CHKMapInventory [08:24] poolie: was here something you wanted in particular? [08:24] jml, i was just going to ask you about your comment on that bug [08:24] AfC: maybe it's verifying that the committer ID (i.e. the 'bzr whoami' of the committer) matches an ID on the GPG key that signed it? [08:24] but it's fine [08:24] * spiv -> yoga [08:24] ok :) [08:29] spiv: not sure. Have a happy downwards dog. [08:34] afc, that would be my guess too that it's used the wrong userid [08:34] does it show which one did sign it? [08:34] poolie: yeah, it does [08:34] poolie: and it notes that that one is ultimately trusted [08:34] but is it the same as the committer userid? [08:35] um [08:35] huh? [08:35] I'm not really sure what you're asking. I issued `bzr sign-my-commits` and it chugged away for a while. [08:35] so [08:35] you said that bzr-gtk complains that "revision committer is not the same as the signer" [08:36] and i'm wondering if they are actually different, or if it's just misunderstanding them [08:36] poolie: that's what it's saying [08:36] and if they are different, in what way they're wrong [08:36] poolie: I'd assume so [08:36] but does it show you which key was used to sign it? [08:36] Yes its does. [08:37] I mean, it could only have identified what key to use to sign what commits if sign-my-commits made the correlation. So is bzr-gtk not using the same logic maybe? [08:37] that's what i'm wondering [08:37] Yes its does -> mine [08:39] [This is in the category of "I'd file a bug if I knew I wasn't doing something wrong and if I knew what to report"] [08:40] could it be that your gpg key does not have a uid for precisely the same address that was used to make the commits? [08:41] Hm. [08:41] Yes, I guess that's the case. [08:41] bzr whoami : Andrew Cowie [08:42] gpg --fingerprint ... : uid Andrew Frederick Cowie [08:42] So, like, the fact that `sign-my-commits` figured out what key to use is sorta damning as far as `visualize` is concerned, right? [08:45] well, they should be consistent with each other [08:45] Or, put the other way, how on earth did `sign-my-commits` know what to use if it is going to be so pedantic as to try and match the stuff outside the email address? [08:45] yeah [08:45] i'd be inclined to say that sign-my-commits should complain if there's no key that corresponds to your committer address [08:45] AfC: gpg has a default key for signing [08:45] Well, it's too late now. The testaments are made, and I'm sure not about to change my key. [08:46] lifeless: ah, yes, I have that set. [08:47] poolie: (though I point out that there IS a key that corresponds to my committer _email_ address. I had assumed that was what it looked up until Robert pointed out that maybe gpg did the default thing) [08:49] AfC: well, it shouldn't sign somebody else's revisions with your key [08:50] I would hope not :) [08:50] and as far as gpg is concerned, the uid was different so technically it's somebody else [08:50] * luks would report a bug against bzr sign-my-commits [08:50] {shrug} [08:50] * AfC hopes sign-my-commits keeps doing what it's doing, actually. [08:50] otherwise I won't be able to use it anymore. [08:51] you can have multiple uids on your key, can't you? [08:51] so, there is a separate key (not uid) that it's used instead? [08:52] luks: I've worked hard not to pollute my key. I'll keep it that way, thanks. [08:52] ok [08:52] poolie: no, I only have one uid on one key. [08:52] poolie: the email address of the uid matches `whoami` [08:56] Huh. My key is back into the top 100. How about that. Can't say as I've been doing _that_ many signings lately. I guess a bunch of keys must have expired. [08:56] afc, and it's the same uid as on the revisions? [08:58] poolie: `bzr vis` reports key 57F6E7BD was used to sign the revisions. That is indeed me. Judging by what flew by when I ran `bzr sign-my-commits`, I'd say that my key was in fact used to sign, correlating what visualize is saying. [08:59] poolie: The only crink in the works is that something is not recognizing that 57F6E7BD is me (or, more to the point, the same person as "Andrew Cowie ") [08:59] ok, so it seems like there's a bug in bzr-gtk displaying that warning when in fact the key does correspond to the author [09:56] when bzr tries to delete a directory during a merge or pull, it baulks if the directory is not empty [09:56] does it factor in whether or not the files in question are "ignored"? [09:58] sabdfl: i think so; if not that would be a bug [09:58] hi btw [09:59] howdy! [10:03] hi, we have a branch where a binary directory (about 30M) has been checked in (a while back) which makes the whole thing much larger than it needs to be. Is there any surgery I can do that drops this directory from the history and the branch? [10:03] (it is not a public branch) [10:03] arnarl: you can use launchpad.net/bzr-rebase to make a new history in which "that never happened" [10:04] but carrying across your later commits [10:04] you'll have to get everyone to restart their work based on that branch [10:04] poolis: sounds great [10:04] what do you mean by restart? [10:04] check it out again? [10:04] yes, [10:04] ah, that shouldn't be a problem [10:04] poolie: thnx [10:24] Hello all. I'm trying to "bzr init" in an existing directory and I'm getting an error saying "No repository present". Any idea what I'm doing wrong? [10:27] lllama: what does 'bzr info' show there? [10:27] lllama: what version of Bazaar are you running? [10:32] poolie: Same error [10:32] AfC: 1.6.1 [10:33] lllama: that's certainly reasonably recent. [10:33] is there a traceback? [10:33] lllama: is there a .bzr directory in any parent directory above where you are trying to `bzr init` [10:33] lllama: ? [10:33] poolie: Nope. Just a "bzr: ERROR" line. [10:33] AfC: checking.... [10:34] AfC: Ah. There is. There shouldn't be though. [10:34] If I do a bzr st in the parent then I get told it's not a branch. [10:35] same with info. [10:36] I'll try moving the .bzr dir out of the parent and see what breaks... [10:38] Hm. Same error. I think I'll try a big clean out. [10:40] lllama: if pain persists can you look in ~/.bzr.log, see if there's a traceback at the end, and put it in answers.launchpad.net/bzr [10:43] markh: sorry I won't be able to test the new BZR. [10:43] poolie: will do. Thanks for the help. === kiko-zzz is now known as kiko === Ng_ is now known as Ng [11:56] Folks, i got bzr-synchronized dev and live setups of php app. Problem is, there are certain parts of few configuration files that have to differ on those installations, but leaving those files entirely out is not a good solution. I was wondering if there was way to mark part of file to be "ignored" by bzr, or how is such situation best handled? [11:57] zrg_needsjob: that's not possible [11:58] zrg_needsjob: the usual ways are to have a .local file which is included in to the main one, if possible with the format [11:58] zrg_needsjob: or have a .template which is copied and customised in each branch [12:00] james_w: including unfortunately not possible but would be good solution, what do you mean by template? [12:01] zrg_needsjob: can you just merge only one way? [12:02] zrg_needsjob: the same file basically, but with blanks for the passwords or whatever. When you make a new branch you copy the file and make any changes necessary. It's a pain to update the common bits then though [12:04] bob_2: there are occasional changes in live setup too that have to be backported and actually now i have 2 dev setups. they all use same remote repository, so commits and updates go whichever way. === jamesh_ is now known as jamesh [12:06] ignore blocks would be cool feature tho i think :) [12:21] does trac-bzr work with trac 0.11? [12:52] is it possible to get colored difs with bzr? [12:52] thrope: Yes, look at the cdiff command in bzrtools. [12:54] Odd_Bloke: great - had it installed just didnt know the command, thanks === jaypipes-afk is now known as jaypipes === kiko is now known as kiko-phone [13:51] hi people [13:52] when using bzr-svn, how does one specify the username to authenticate? [13:52] nosklo: http://user@host/svn/... is one way [13:55] LarstiQ: is there another? :) [13:56] trotek: yes, but it depends on what you are trying to do [13:56] when I do it. It segfaults :( [14:00] bzr-svn just segfaults, no traceback. http://dpaste.com/81664/ === kiko-phone is now known as kiko [14:07] nosklo, what version of bzr-svn? === thunderstruck is now known as gnomefreak [14:08] jelmer, bzr 1.3.1, bzr-svn 0.4.9 [14:08] jelmer, ubuntu default [14:08] nosklo, 0.4.13 should work better [14:09] jelmer, okay. updating. [14:36] Heh, mercurial still can't cut it for my use case [14:36] It still goes "boink" on long paths with lots of caps in them [14:38] They're getting way ahead of us. bzr still doesn't even have a prototype "boink" feature :| [14:38] I'll try to make a plugin [14:39] I think I'd prefer "boink" to be written in Erlang, not Python [14:39] That way you can work on other implementations of "boink" and replace them at runtime without interfering with other instances [14:39] Although doesn't stackless Python achieve that also? [14:39] Quick, let's rewrite bzr in Erlang. [14:39] True. We could be the only VCS on the planet that supports massively-parallel boinking. [14:40] Only then can it be truly distributed version control. [14:40] sabdfl, poolie: We don not factor in if the files are ignored. We don't know if they are ignored because they are private (your secret passwords) or because they are junk (your .pyc cruft) [14:40] so when we delete a directory, it must be fully empty [14:41] "boink" ? [14:41] it is an open bug that we want to solve [14:41] I think we were talking about putting things in a "lost+found" or something like that === thunderstruck is now known as gnomefreak === toytoy_ is now known as toytoy === thunderstruck is now known as gnomefreak === jaypipes_mysql is now known as jaypipes [15:55] * fullermd contemplates being left in a darkened room with `log -v` and a blunt object. [15:57] Gaah. Stupid inability-to-refer-to-historical-files bug! [15:57] * fullermd stabbies. [16:00] fix it [16:01] I have had many clients that have asked the following question with many vcs's, any idea how to do with bzr? Q: How do I export *only* the files changed since the last revision or a specific revision? [16:02] The idea is they only want to push the smallest set of changes when version production-type deployments. [16:02] davidmac: use bzr-upload? [16:03] You could wrap a little scripting around 'stat' to do it, I s'pose. [16:03] Or just use bzr diff | patch [16:03] Or what LarstiQ said. Depends on just what's involved in the deployment. [16:03] hmmm. I'll check into that. I don't think diff is the answer they want. I'll explain deployment... [16:04] Just an example: They version production which has a lot of binaries: executables, images, etc. on linux and it is very large to do a full export from stage to prode. They only want to export the changed binaries so they can zip them up and send them from stage. [16:05] I'm new to bzr so I'll check in to bzr-upload and stat. [16:06] 'zip them up and send them from staging', is there some difficulty in getting something to production? [16:07] Yes, in many cases. This specific client has that case. They are in a hosting environment where they can make changes in dev and stage, but have to provide a tgz file when pushing to prod. [16:07] How does that handle deletions or moves? [16:07] Ops team doesn't want them sending the entire 2 gig file every time, just the changes files. [16:08] It doesn't handle deletions and moves, pretty problematic as I see it. I'm encouraging them to use bzr in production too to export a tagged build. [16:09] I was thinking as a temporary workaround, since they have control of stage, they could just do a find -mtime type of approach to create a zip. [16:10] Anyway, wrapping some scripting around 'stat' to figure out what to export is probably the easiest way to work up a tarball. Still won't do well at moves, or at all at deletions. Dunno how you could do that easily. shar, maybe. [16:10] thx [16:10] You can use bzr stat -rx..y to see what files were touched between those revs, and go from there. [16:10] very kewl fullermd, I'll check that out [16:10] One more piece of advice I need, then I'll leave you guys alone :) [16:11] (for scriptability, especially see stat -S) [16:12] This is the logical description of what they want to do: They have a program.cfg config file for dev, same name but different contents for dev, also for prod. How would you recommend they do an export and get only the correct config file in each environment? [16:12] They have done this with clearcase filters before. [16:13] Well, I do similar things by having a dev.conf and a live.conf under version control, and just choose which is applied in each case by a symlink. Whether that's an option in your environment... [16:14] k, anything is an option at this point, just looking for inputs in case there is some elegant semi-automatic way to do it in bzr. [16:15] Not really. What's versioned is what's versioned. You could have the contents of the files be different in different branches, but that would take careful manual maintenance merging between them. [16:15] I find it easier to just have the separate files, and have the program load a "conf.conf" or something that's a symlink to one or the other. [16:16] (it also means I can craft up custom conf.conf files for certain places to have different settings, without having to worry about them being local changes not to commit) [16:16] Okay, thanks. And thanks for all your help. I like what I've seen so far of bzr, so much that I'll probably start hacking some plugins or scripts myself, and maybe a ulipad integration :) [16:18] y'all have a good one! === thunderstruck is now known as gnomefreak [16:44] º [16:44] ups [16:48] hi - I am using bzr-svn in what I think it the recommended way - I have a checkout of my svn trunk, which I branch to do work, then merge updates, then merge into my bazaar checkout and commit to svn [16:48] this is working great - it is really nice to be able to work with subversion in this way [16:48] but I loose all the information about the commits in the branch - in subversion I just see the merge commit [16:49] thrope: Check out the 'rebase' plugin. [16:49] I wondered if there is a better way of working - or perhaps a bazaar plugin to automatically propograte the commit message with some infromation about the seperate commits. [16:49] Odd_Bloke: I have the rebase plugin - but I must admit I have some trouble understanding what it does [16:50] Odd_Bloke: do you mean I should rebase my trunk bzr checkout before comitting [16:50] thrope: I'm not entirely sure myself, I don't use it. But you should 'rebase' your branch onto the trunk. [16:50] no - you mean rebase my branch to the trunk checkout before merging (then I could push in theory) back and committing to svn [16:51] thrope: Yes. [16:51] That essentially throws away the commits in your branch and creates new, similar ones based on a different revision. [16:51] right I think I get it [16:52] Which is fine, so long as you haven't branched from the commits that are being thrown away. [16:52] I didn't want that initially because it's nice to have the branch structure in my bzr trunk, but I loose it in svn. If I do the rebase, I have all the commits in svn (and my bzr trunk) but I loose the branch structure in my trunk [16:53] thrope: Why are you using SVN? [16:53] You could perhaps push your branches to SVN branches... [16:53] jelmer will know better. [16:53] partly habit, got all my stuff in there at the moment, partly because it's easier to work with other people and has nice things like viewvcs [16:54] thrope: For the latter, have you seen Loggerhead? [16:54] also I didn't quite figure out how to have a central bazaar repo that works like svn - I work on a lot of different machines and use svn to keep them in sync [16:54] thrope: bzr-snv will set the meta data so at least the bzr revisions will be known, even if you only see the merge commit in svn [16:54] ok [16:54] you can set push-merged-revisions in newer versions of bzr-svn [16:54] LarstiQ: But the bzr revisions won't be pulled into a new branch, you'll get ghosts, right? [16:54] and it'll push the merged revisions as well, not just the mainline [16:55] jelmer: So, to answer my own question, 'no'? [16:55] Odd_Bloke: right, but you could distribute your bzr branch for other bzr users to pull from, or apparently set push-merged-revisions ;) [16:56] Odd_Bloke: I had a look at loggerhead and will try and install it - but it wasn't clear to me how to run a centralised bzr branch on a remote server... If I understand to update I need to merge 'into' that central branch to maintain the mainline - which would require logging onto the server... I couldn't see anyway to push a merge and resolve conflicts remotely [16:57] thrope: The way to do it is to keep a pristine copy of the branch locally. [16:57] So you merge into the pristine copy and push from there. [16:58] thrope: If you've been doing that and it hasn't been working, something's going wrong somewhere along the line. [16:59] Odd_Bloke: no I haven't really tried because everythings in svn at the moment anyway... I will have a look though [17:00] jelmer: where do I set push-merged-revisions? [17:01] thrope, in ~/.bazaar/subversion.conf for the relevant repository [17:01] ok thanks [17:01] thrope: s/push-merged-revisions/push_merged_revisions/ === kiko is now known as kiko-fud [17:37] hey, I have a question about the eclipse plugin [17:38] alejandro_: shoot :) (I'll try to answer) [17:39] I just installed the plugin using the update site [17:40] alejandro_: ok, did you installed the bzr-xmloutput plugin? [17:40] and in the preference/configuration dialog I get "invalid command 'xmlversion'" [17:40] yes [17:40] 0.8 [17:40] alejandro_: which OS? windows? [17:40] ubuntu [17:41] alejandro_: from a terminal, try: bzr -Derror xmlversion [17:41] alejandro_: it seems that the xmloutput plugin is not correctly installed [17:43] I just dropped it at $HOME/.bazaar/plugins and ran setup.py build_ext -i [17:43] should that produce any output? [17:44] alejandro_: the plugin must be installed as xmloutput, not bzr-xmloutput [17:44] bzr-xmloutput is an invalid name for a python module [17:45] oh, that could be [17:45] alejandro_: also the setup.py step is not neccesary :). it's a pure python plugin [17:48] great, it works now. Thanks a lot [17:48] jelmer: is there anywhere I can find info on the format of subversion.conf - how to specify repositories etc. [17:51] alejandro_: np [17:57] hello [17:57] is it possible to set bzr to automatically ignore certain files with bzr add? [17:58] aantn: bzr add will ignore files that match patterns, see `bzr ignore` [17:58] LarstiQ: I know [17:58] I'd like to set it to always ignore two or three files of my choice [17:58] aantn: ok, then I don't understand your question? [17:59] aantn: ah, globally, and not on a per branch basis? [17:59] LarstiQ: no, just per branch [17:59] * LarstiQ swings back to not understanding the question [17:59] LarstiQ: sorry, never mind [18:00] LarstiQ: I misread your initial answer. Thanks :) [18:00] aantn: ah, ok :) === doomster__ is now known as doomster === mw____ is now known as mw|food [18:34] I had to leave earlier - does anyone know where I can get some info on the format of the subversion.conf file for bzr-svn? [18:53] If I did a bzr co on a remote branch, how can I make that checkout be the master instead? [18:53] hi folks, i downloaded the bzr 1.7 installer for leopard, but the only bzr i can find is in /usr/local/bin, from macports.. [18:54] justizin: are you sure it's from macports? [18:54] justizin: as that is also the location the .dmg uses afaik === kiko-fud is now known as kiko [18:55] sharms: `bzr unbind` will make the checkout into a regular branch. Do you also want to switch the remote branch to be a checkout of your local one? In that case, do a `bzr bind path/to/new/master` [18:55] thanks! [18:55] justizin: macports normally uses /opt/local [18:55] LarstiQ: FYI, its' an FHS violation. [18:55] i have something in /usr/local, but yah, it's probably overwritten without consent. ;) [18:55] justizin: FHS, on OSX? [18:55] FHS is not Linux, it's UNIX [18:56] if you use OSX's installer facilities, it's like using rpm, which counts as "vendor installed", and goes in /usr [18:56] justizin: All I know is that the .dmg switched from /usr/bin to /usr/local/bin [18:56] right on, good to know, it's a pain in the ass because it's not on path, and yes, whether anyone cares, it's an FHS violation [18:56] * justizin memorized the FHS in high school [18:56] justizin: you'll have to take it up with someone who actually knows anything about it to know why though [18:56] thanks for the heads up [18:56] yeh [18:57] they wont want to hear it [18:57] * justizin symlinks [18:57] :) [18:57] ookay [18:59] uh, FHS is not really a UNIX thing, it started as a pure linux thingy and some people tried to extend it to others but it has never really taken off outside linux [18:59] * Keltia goes back to lurk mode === kiko is now known as kiko-phone [19:00] Yeah, but people who use free software on the Macs feel they have to make up their inferiority somehow. ;) === Spaz is now known as Kittens [19:25] Odd_Bloke: I'm one of them :) [19:36] Keltia: :D === mw|food is now known as mw [19:53] If I see a file that is part of a bzr branch, is there a simple way that I can track down who added that specific file? [19:53] log it and keep scrolling back? [19:54] (or log --forward it and don't scroll, of course) [19:58] "log --forward -l 1" maybe? === bac is now known as bac_afk === kiko-phone is now known as kiko [20:31] jam: hi! I wonder if you saw this: today when I "make" bzr.dev (linux gcc), I get lots of compiler warnings, and the resulting bzr segfaults on simple "bzr branch" (no problem if no "make"); no problem with bzr-1.7-rc1. [20:32] guilhembi_: hmmm. I certainly haven't seen that [20:32] I re-tried with a fresh branch of bzr.dev, same problem. Seems to have been recently introduced... [20:32] are you on 64-bit or 32 bit [20:33] jam: 32; I'm diff-ing some c files like _btree_serializer_c.c (lots of warnings), [20:33] and it's really different between bzr.dev and 1.7.1-rc1: [20:33] guilhembi_: so my *guess* is an issue with Py_ssize_t and int, but 32-bit shouldn't matter [20:33] for example, 1.7.1-rc1 starts with [20:33] Generated by Pyrex 0.9.6.4 [20:33] and bzr.dev starts with Generated by Pyrex 0.9.4.1 [20:34] well, that is *your* pyrex version [20:34] then lots of code difference in this C file. [20:34] I tend to build with 0.9.8 [20:34] guilhembi_: but it is generated from the _btree_serializer_pyx.pyx [20:34] But still, I had no issue the previous time I did "make" in bzr.dev, which was only a few weeks ago... === mvo_ is now known as mvo [20:37] guilhembi_: sure, I'll email you a "current" form for all of them, and see if that fixes it [20:37] we certainly could have done something that broke pyrex 0.9.4 [20:38] Hmm, I'm on 0.9.51a-1 without problems. [20:38] 5.1* [20:43] guilhembi_: also, btree_serializer shouldn't be the problem, as I doubt you are using a btree repo yet [20:43] jam: other files give lots of warnings: [20:43] bzrlib/_knit_load_data_c.c [20:43] bzrlib/_dirstate_helpers_c.c [20:43] bzrlib/_readdir_pyx.c [20:43] eof [20:44] jam: I'll just upgrade my pyrex [20:44] and see if it helps [20:46] just make sure you "make clean" first [20:46] yes [20:47] jam: that's funny: "make clean" does not remove bzrlib/_btree_serializer_c.c [20:47] shouldn't it? [20:48] yeah, it is just hard to do arbitrarily, as we have some .c files that need to be kept [20:48] jam: ok, so better re-branch... [20:48] guilhembi_: well "rm bzrlib/*.c ; bzr revert" works, too [20:49] Or bzrtools's clean-tree command may help [20:49] jam: ok, my too old pyrex was the cause, sorry for eating your time [20:50] guilhembi_: not really, we still need to know what we did [20:50] because unless necessary [20:50] we'd like to support older versions [20:50] Is it safe to delete obsolete_packs [20:51] stefanlsd: not the directory, but everything *in* the directory, yes [20:51] bbiab, need to reboot [20:51] jam: k. thanks [20:56] beuno: have you looked at the loggerhead breadcrumbs bug? [20:57] Which bug? [20:57] the same one [20:57] abadger1999 has been having fun [20:57] Oh [20:57] mwhudson, not yet. Do you have a number handy? [20:57] mwhudson: heh. "fun" heh. [20:57] :-) [20:58] beuno: https://bugs.edge.launchpad.net/loggerhead/+bug/268867 [20:58] Launchpad bug 268867 in loggerhead "Breadcrumbs ignore PrefixMiddleware" [Undecided,In progress] [20:58] guilhembi_: We might just open a bug about bzr.dev not supporting pyrex 0.9.4, but if you could include any of the errors, .c files, etc it would be helpful [20:59] mwhudson, I merged that into trunk already [20:59] jam: where should I put the errors? [20:59] mwhudson, https://code.edge.launchpad.net/~toshio/loggerhead/breadcrumb [20:59] beuno: um, there is more [20:59] guilhembi_: well, as attachments when possible [21:00] mwhudson, ah? sorry, didn't look into it that deep [21:00] jam: ok if you open the bug report, I'll attach my errors. Or do you want me to open the bug report? [21:00] well, abadger1999 commented yesterday complaining about r227 [21:00] either way, I don't have much to go on from my side, though [21:01] mwhudson: Yeah. the original branch that was merged fixed things for start-loggerhead and my mod_wsgi script. [21:01] mwhudson, ah, I see. [21:01] abadger1999: does https://code.edge.launchpad.net/~toshio/loggerhead/mod_wsgi fix the problems you've been having? [21:01] mwhudson: But by r227, those were broken and only serve-branches worked. [21:02] mwhudson: yes... I'm toshio :-) [21:02] ah! hi abadger1999! :) [21:02] thanks for the fixes [21:02] abadger1999: yes, i've figured that much out :) [21:02] beuno: No problems :-) [21:03] * beuno re-assigns the bug to abadger1999 [21:03] AmanicA: thankks for the python2.4 branch :) [21:03] hah :-) [21:03] * beuno is *very* happy to see Loggerhead getting more and more contributions [21:05] Ugh. === jfroy|work is now known as jfroy [21:06] okay, that branch doesn't fix my problems because I pushed mod_wsgi code to it. [21:06] jam: https://bugs.launchpad.net/bzr/+bug/276868 [21:06] which has a merge to trunk at some point [21:06] Launchpad bug 276868 in bzr "bzr.dev does not support pyrex 0.9.4.1" [Undecided,New] [21:08] So here's the relevant line in what was the branch: [21:08] / [21:08] specifically: href python:url([crumb['suffix']])" [21:10] mwhudson: But at some point after my branch was merged you commited a change with this: href python:static_url('/'+crumb['path'])" [21:11] mwhudson cool [21:11] the comment is: "fix breadcrumbs, maybe" [21:11] abadger1999: ah yes [21:11] hmm [21:12] I don't know TAL very well (first exposure to it) so I don't know what the practical difference is. [21:12] i'm not sure that breadcrumbs make much sense when using start-loggerhead ... [21:12] Hmm... That could be. [21:12] i guess i should write myself a loggerhead.conf and see what happens [21:13] guilhembi_: thanks for reporting it. I wish there was more info. But I believe 0.9.4 could easily cause compiler warnings, so that isn't a strictly obvious problem. [21:13] stuff like the "declared static but not used" I remember being in older versions of pyrex [21:14] mwhudson: Here's mine for reference: http://toshio.fedorapeople.org/loggerhead.conf [21:14] I've been playing with server.webpath. Normally it's uncommented. [21:15] Yeah, I get a lot of warnings with 0.9.5.whatever, but no actual problems. [21:23] jam: if this bzr.dev/pyrex cannot be fixed, maybe one can add something like "require pyrex_version >=x.y.z" to "make". [21:24] opensuse 10.2 is from end of 2006, upgrading pyrex is imaginable. [21:24] (that's my distro). [21:25] guilhembi_: well, we try to support back to python2.4, so whatever was around in that era [21:25] though for *packaged* versions [21:25] we always bundle the .c files directly [21:25] so it doesn't matter what version of pyrex you have [21:26] jam: so, maybe: [21:26] "if .c file is missing, require pyrex_version >=x.y.z" in "make"... [21:27] if someone uses bzr.dev he may/should accept having recent tools, I believe we require that in MySQL. [21:27] we do for m4/automake/autoconf. [21:27] guilhembi_: do you still have access to the older code? [21:27] I'm curious what you would get with [21:27] hm, a url like http://localhost:8080/None/static/images/ico_branch.gif seems suspicious :) [21:28] bzr revert -r 3731 [21:28] as one of the last changes is: [21:28] 3732 Canonical.com Patch Queue Manager 2008-09-24 [merge] [21:28] (robertc) Allow C extensions to build on python2.4 with older pyrex [21:28] versions. (Robert Collins) [21:30] guilhembi_: what version, btw, 0.9.4, or 0.9.4.1? [21:31] and what version of python? [21:31] * mwhudson stabs ff [21:31] jam: [21:32] Python 2.5 (r25:51908, Nov 27 2006, 19:14:46) [21:32] pyrex was 0.9.4.1-25 [21:32] but I upgraded it, I don't have it around, I can see to restore it... [21:32] well, I don't know Suse's packaging system very well anymore [21:33] you *could* rm /usr/lib/python2.5/site-packages/Pyrex and then install from scratch, but I'll try doing that here first [21:34] jam: wait, I started [21:34] removed 0.9.8, reinstalling 0.9.4.1... [21:35] wow, *lots* of exceptions with 0.9.4 and python2.4 [21:36] how can drop a commit revision? i tried revert, but not exactly what i want. [21:36] jam: "bzr branch -r3731" still warnings and segfault [21:37] just a sec, I'll give you another node to check [21:37] stefanlsd: If you want to remove the most recent revision(s) from history, use "bzr uncommit". [21:37] you say that 1.7 series works [21:37] jam: 1.7.1-rc1 yes [21:37] jam: but 1.7 source package! [21:37] sure [21:37] which has the .c built with canonical's pyrex, more recent than mine. [21:37] Peng_: thanks. that was it [21:37] but haven't you been using bzr.dev for a while? [21:38] or you just haven't done 'make' in a while? [21:39] well, *my* compile issues for 2.4 were because of a missing Python.h :) [21:39] no wonder it wasn't working [21:40] jam: I hadn't done "make" since a few weeks. [21:41] k, I still have some thoughts [21:41] jam: wait [21:42] jam: I read wrongly: [21:42] with -r3731, warnings but no segfault [21:44] guilhembi_: so there is still a question, did the extensions actually *build* correctly [21:44] do you have all of the .so files that we might expect [21:44] jam: wait [21:44] with -r3731, warnings but no segfault [21:44] it is possible it doesn't segfault because it doesn't finish compiling [21:44] with -r3757, warnings but segfault [21:44] s/but/and/ .I'm doing dichotomy [21:45] bisection, I would say :) [21:45] from the messages, it finishes compiling [21:45] abadger1999: um [21:45] mmm in my maths lessons, "dichotomie" (in French) was looking at a and b, then (a+b)/2 and (a or b), etc. [21:45] mwhudson: yes. [21:46] 3732 is ok [21:46] abadger1999: your rearrangement of interpreting the 'potential_overrides' values from the config file is broken [21:46] 3745 broken, continuing [21:46] mwhudson: k. I nthe latest mod_wsgi branch? [21:47] well 3738 is suspicious [21:47] value = keytype(config.get(key, default)) [21:47] if value is not None: [21:47] parsed_conf[key] = keytype(value) [21:47] 3739 is too [21:47] jam: 3738 ok [21:47] if keytype is str and default is None... [21:47] 3741 broken [21:48] 3739 broken === thrope_ is now known as thrope [21:48] jam: 3739 introduced the problem. [21:48] the segfault. [21:49] yeah, that was a big code drop [21:49] Yeah... that's broke. [21:50] * abadger1999 looks at what was there before [21:51] guilhembi_: so... new code breaks older compiler. Not entirely surprising :) [21:51] I just wish we had more to go on as to *why* the segfault occurs [21:51] I'll see if I can reproduce here [21:51] and maybe I can get a gdb traceback [21:52] crap [21:52] it seems you can't have multiple versions of pyrex installed side-by-side [21:52] value = config.get(key, default) [21:52] if value is not None: [21:52] parsed_conf[key] = keytype(value) [21:52] there is only one /usr/bin/pyrexc [21:52] mwhudson: That better? ^ [21:53] abadger1999: maybe [21:53] value = config.get(key) [21:53] if value is not None: [21:53] parsed_conf[key] = keytype(value) [21:53] else: [21:53] parsed_conf[key] = default [21:53] ? [21:55] mwhudson: That works. I might do keytype(default) as well... it shouldn't hurt if default is already an int or a str [21:56] but it will protect us if someone set '10' instead of 10. [21:56] (OTHOH, it might break on non-simple types.) [21:56] i don't think it's worth worrying about being very generic here [21:56] k. [21:56] guilhembi_: segfault :) [21:57] Segfault at bzrlib/_dirstate_helpers_c.c:7785 [21:58] moin [21:58] lifeless: morning. Seems that the compiled iter_changes breaks on pyrex 0.9.4 with a segfault [21:58] abadger1999: can you commit/push that change, then i'll get back to digging? [21:58] jam: fun [21:58] anyway, I'll be back in a few minutes [21:58] k [21:58] lifeless: it works fine with pyrex 0.9.6 and 0.9.8 [21:58] So i'm trying to figure if it is a simple fix [21:59] or if we just make a dependency for running from source [21:59] jam: hmm, isn't dapper 0.9.4 anyhow?, if so it worked on pqm ... [21:59] jam: ok, it seems you have good insight now, I'll head to bed. [22:00] no, feisty has it though [22:01] lifeless: I was able to reproduce it with a local install and some creative PATH settings, so I'll poke at it for a while [22:01] mwhudson: Which branch are you pulling from? [22:02] abadger1999: ~toshio/loggerhead/mod_wsgi [22:02] are there any pre-canned presentations about bzr that I can pillage for a 15 minute talk I'm giving to a PUG? [22:02] mwhudson: Cool. It's pushed. [22:03] thumper: PUG? [22:03] thumper, http://bazaar-vcs.org/Talks [22:03] lifeless: python user group [22:03] oh lol :P [22:03] beuno: thanks [22:04] clearly I've been playing too much wow - I was thinking 'pick up group?' surely not. [22:05] lol [22:41] What is the proper way to install Bazaar plugins system-wide? I'm having an issue where on a stock Leopard system, easy_install bzr bzr-svn results in a functional bzr install, a successful installation of bzr-svn, but the plugin doesn't get found (e.g. there are no load failures either, it's just not found). [22:42] jfroy: wherever 'python -c import bzrlib.plugins; print bzrlib.plugins.__path__' [22:43] jfroy: is where they should go; I'm not sure on the right way to install bzr-svn though === `6og is now known as Kamping_Kaiser [22:44] Ah, it seems bzr-svn doesn't install itself properly, or rather this is probably a setuptools issue [22:44] I checked out a svn repository by using bzr checkout. Made a small change in a file, and now I want to commit. Repository uses simple http auth on apache. Why doesn't it work? It works fine with svn. [22:44] mwhudson_: are you aware of any downsides to putting a proxy object in sys.modules? [22:44] ls -l /Library/Python/2.5/site-packages/bzr_svn-0.4.13-py2.5-macosx-10.5-i386.egg/ [22:44] drwxr-xr-x 3 root admin 102 Oct 1 14:30 bzrlib === mwhudson_ is now known as mwhudson [22:44] it installs as an egg [22:44] lifeless: not really [22:44] it never asked for my password http://dpaste.com/81778/ [22:45] (And so does bzr: /Library/Python/2.5/site-packages/bzr-1.7.1rc1-py2.5-macosx-10.5-i386.egg/bzrlib/plugins) [22:45] Although bzr seems to be smart enough to add site-packages/bzrlib/plugins to its plugin import path as well [22:46] nosklo: have you read te FAQ I think it talks about auth [22:46] In general, is it recommend to use easy_install for plugins (apparently there are issues), or should one generally download them and run the standard setup.py (that may not even address the issue). [22:47] jfroy: I am of the 'easy install is a broken concept' school; other than digging into what-why-and-how of eggs to decide I really do dislike them, I don't ever use the egg-and-related facilities [22:48] jfroy: thus my recommendation will always be to use bzr's setup.py, and ditto bzr-svn's setup.py [22:48] lifeless, hmm, can you point me to it? is it this faq http://samba.org/~jelmer/bzr-svn/FAQ.html here? can't find it. [22:48] lifeless: so... as near as I can tell it is just a buggy pyrex that would be really hard to work around [22:48] (for the 'fails with pyrex 1.4.1 stuff) [22:48] patches from users of easy_install are welcome, as long as they don't degrade support for non-easy-install environments [22:48] It is re-using a variable [22:48] lifeless: noted. I will agree with you there are issues with setuptools, but easy_install is truly useful as a Python package manager of sort. Until a better solution is developed... [22:48] and sometimes setting "pointer = 0" and using PY_XDECREF [22:49] and sometimes using PY_DECREF [22:49] jfroy: macosX? fink|maxports|the packaged bzr installer [22:49] and it is failing because it is using PY_DECREF when it should be using PY_XDECREF [22:49] jam: uhg [22:49] Just this morning, I had to hack some of the guts of setuptools because its zip unarchiver didn't restore UNIX mode bits when installing an egg, and I had UNIX executables as package data that wouldn't run after installation (obviously) [22:50] nosklo: oh, its changed; uhm [22:50] lifeless: so I get the feeling that if we want to support 1.4.1, we just need to create smaller functios [22:50] jelmer: ^ haaalp [22:50] functions [22:50] jam: 1.4.1 ? [22:50] lifeless: sorry pyrex 0.9.4.1 [22:50] jam: :P [22:50] lifeless: that's general a good solution; however, unfortunately, there is no easy way to install or manage python packages using MacPorts while using the system's interpreter [22:50] It seems to just be something it runs into when a function is complex enough [22:50] jam: can we blacklist that version or something? [22:51] lifeless: sure, we can do it as part of setup.py I believe [22:51] jfroy: oh, ah well [22:51] And I need the system's interpreter because I heavily use PyObjC import packages for system frameworks [22:51] we can look at Pyrex.Compiler.Version or somesuch [22:52] mmm, it may be a worthwhile idea to see if a bzr install-plugin command / plugin would be useful to assist in installing plugins [22:52] jfroy: ok; well like I say, happy to review patches to work better in that environment; you might like to look at 'bzrlib.plugin' to see how the 'load plugins' code works [22:52] * jfroy add item to TODO [22:53] lifeless: either that, or it is this bugfix [22:53] - Temporary vars used by del statement not being properly released, sometimes leading to double decrefs. [Jiba] [22:53] lifeless: I think, unfortunately, that it's not a Bazaar issue, but a plugin packaging issue, e.g. I've seen plugins install in various different ways based on weather they use setuptools or plain distutils, and how their setup.py is configured. It's somewhat of a mess... [22:53] but the "del" statements I see aren't near where it is segfaulting [22:53] *whether [23:03] jfroy: actual install for plugins is really just their setup.py; this works very well in other environments; it *sounds* like failing introspection [23:13] lifeless: yeah it's setuptools' doing. Bazaar just doesn't scan eggs on the path for plugins. The "fix" would be to have bazaar scan every entry in sys.path for "bzrlib-plugins/" as a subdirectory of every entry, making sure that's not an actual package, and then adding that as a plugin import path [23:14] let alone refactoring the plugin code to support importing from potentially a virtual directory, e.g. if the plugin was installed as a zipped egg [23:14] Sounds like a lot of work that's not really worth the trouble :| [23:17] jfroy: it isn't worth some of our time, but it may be worth it for others [23:17] if people really need to use setuptools to install everything [23:18] jam: it's not an issue for people comfortable with Python, but in a situation (such as mine) where you'd like to promote adoption of Bazaar, it does help to be able to tell people to just "sudo easy_install bzr bzr-svn ..." [23:18] One liner install instructions are A Good Thing™ [23:19] jfroy: well, if they have "easy_install" available [23:19] No matter how flawed the underlying install mechanism may be... [23:19] apt-get install bzr works well here [23:19] jam: quite true... [23:19] or "start bzr-setup.exe" [23:19] depending on your platform [23:19] I'm mostly concerned with Mac OS X. MacPorts is certainly viable in a lot of cases. [23:20] But not in mine :( [23:22] I should get in touch with the maintainer of the 10.5 Installer package to help improve it. [23:36] jfroy: sure, I know I'd certainly appreciate the help in getting things packaged everywhere [23:43] jfroy: I usually build the 10.4 installer, what improvements to recommend? [23:43] ah, mornin' all [23:44] Verterok: I just sent an email to Szilveszter Farkas, I can forward it to you. [23:45] jfroy: that would be nice, I know the installers are a bit different, but I'ld like improve it [23:45] The 10.4 installer actually offers more plugins than the 10.5 one (bundling loom would be nice), but the critical one is bzr-svn (in my case). [23:46] jfroy: right, I'm working to include bzr-svn in the 10.4 installer, but I'm fighting with PackageManager to include both versions (for 1.4.x and 1.5.2) [23:47] jfroy: actually, buidling a mpkg for bzr-svn is quite easy [23:48] The maintainer for the 10.5 package recommends using bdist_mpkg [23:49] jfroy: yeap, I use that. just need to patch the setup.py to use setuptools instead of distutils === jam changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | bzr-1.7.1 now available! | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/ [23:52] I'm using bzr-svn version 0.4.13 and I'm trying to branch an svn repo without using svn+ in the URL (since it's deprecated), but when I do that, it tells me that authorization is required... how do I get around that? [23:55] jfroy: and to build it run something like: http://rafb.net/p/qlHJMT35.html [23:56] Verterok: it dies on me, fails to find the nidump command [23:56] looking at the source right now [23:57] mxpxpod, that's a known bug [23:57] jfroy: I have it at /usr/bin/nidump [23:57] That sounds like one of the old netinfo tools [23:57] jelmer: any fix? [23:57] Verterok: they're gone on 10.5 :p [23:57] mxpxpod, for now please just use svn+ until that bug is fixed [23:57] jelmer: ok, thanks [23:58] jfroy: setuptools is trying ot use it? [23:58] mxpxpod: bug 256612 [23:58] Launchpad bug 256612 in bzr "should handle 401 (unauthorized) response" [Medium,Triaged] https://launchpad.net/bugs/256612 [23:58] jelmer: thank you [23:58] hi jelmer, all [23:59] Verterok: it's used by bdist_mpgk.tools.get_gid() [23:59] poolie: morning. Can you call the house today for the standup? Or my cellphone [23:59] hi poolie, Verterok, jfroy, jam [23:59] sure