[00:03] how do I set up the default maintainer email so that "bzr send" doesn't need an email address? [00:06] SmileyChris: according to the help, submit_to is the configuration key to set [00:06] lifeless: yep, i got that far... how do you set configuration keys [00:07] the help wasn't very clear on that [00:07] the user guide has documentation about that [00:08] basically just edit a config file depending on where you want the setting to apply [00:08] globally/url/branch are the three choices [00:12] lifeless: thanks for the explanation. So I can attach this setting to the branch itself or is it a client-side only configuration? [00:13] Hmm, that reminds me [00:13] I wonder if it makes sense to have a UI command for modifying the branch configuration? [00:13] including some way to list the available settings [00:14] hrm... i see there's a .bzr/branch/branch.conf - i wonder if that's where it should go [00:15] the guide isn't very clear on this [00:17] SmileyChris, yep, that's where it should be [00:17] jelmer: cheers [00:17] jelmer: does it need to be in a [DEFAULT] block? [00:17] SmileyChris, yep [00:17] good to know [00:21] actually, i see in my local branch.conf there isn't a default block [00:21] probably doesn't need it, it's a branch specific conf anyway [00:25] :( bzr: ERROR: No mail-to address specified. [00:25] seems it can't be server-side, unless i'm doing something wrong [00:25] which is more than likely :P [00:25] SmileyChris, it can be server side [00:25] set child_submit_to on the server side [00:25] ah [00:34] only affects new branches though I believe [00:36] how do i create a branch of a particular format in a test? [00:36] make_branch only takes a format for the bzrdir, unless i'm misreading things [00:38] i guess make a bzrdir and initialize a branch of the desired format on it? [00:42] mwhudson: format=knits etc [00:43] mwhudson: tests/test_repository.py shows nearly every variation [00:43] some fugly, some not [00:45] thanks [00:45] * mwhudson reads [00:46] bzrdir.format_registry.get('knit')() seems reasonably clear for this purpose [00:46] self.make_branch('foo', formamt='knit') is the most pithy [00:49] ok [00:57] The bzr user's guide says "Checkouts are source trees that are connected to a branch" - is that strictly accurate? Isn't a checkout a "bound branch"? [00:57] (it doesn't qualify with 'lightweight') [01:00] markh: its strictly accurate [01:00] bound branches are still connected to a branch [01:01] "source tree" implied "working tree" to me [01:01] what is a "source tree"? [01:01] I'd guess a tree you edit your code in ?:) [01:01] note that a bound branch with no tree object is not a checkout of any shape or form [01:02] hrmph - the docs for "bound branches" define it as being exactly a "checkout" [01:02] (I'm trying to get my head around a few of the subtleties I've been happily glossing over) [01:04] so I'm not trying to be painfully pedentic. Given that http://bazaar-vcs.org/BzrUsingBoundBranches defines "bound branch==checkout", I'd expect the user's guide to be stated as "Checkouts are branches that are connected (or "bound") to another branch" [01:06] bound branch + working tree = checkout [01:08] right. So the users guide is slightly misleading ("source tree" is vague) and BzrUsingBoundBranches is also slightly misleading (makes no reference to working trees) ;) [01:08] is there a ane usecase for a bound branch without a working tree? [01:08] sane [01:22] markh: yes [01:23] markh: one in particular is quite fun: [01:23] master [01:23] how about s/sane/common/? [01:23] mirror bound master (no tree) [01:23] lightweight checkout of mirror [01:23] I think that one is quite common for shared trunks [01:23] on C style projects where you want only one tree and to reuse build products [01:26] right - so I'm thinking of "bound" as being mainly useful for checkins. Why would 'mirror' use a bound branch, rather than just pulling from masteR? [01:29] markh: so that you can checkin to trunk when you want to, but still access what trunk looks like offline [01:30] right - "mirror" is writable. [02:13] does anyone use graphical diff/merge tools w/ bzr? if so, which ones? [02:14] teratorn: Not very often, but `meld` comes in handy once in a while. [02:14] was just looking at meld.. gotta try it out [02:14] ideally I would like a tool that can also let me do cherry-picking and then shelve or commit those selections [02:15] emacs! [02:40] huh what that's crazy talk [03:37] I see 'info' agrees that a bound-branch must have a tree to be reported as a 'checkout'. On a similar vein, when would be come across a 'branchless tree'? [03:39] a branchless tree does not exist [03:39] to open a branch you must have a reository object [03:39] to open a tree you must have a branch object [03:43] right - "info" explicitly handles that case, but it should never hit it in real life? [03:44] or only upon misused of that api I guess... [03:49] the API won't let you construct this [03:49] checkout --lightweight generates a branch references [03:54] I mean misuse of 'info.describe_layout(), which takes the repo, branch and tree as 3 sep args. but thanks for confirming that isn't another state I need to worry about :) [05:00] markh: ping [05:00] Verterok: hi [05:00] markh: hi [05:01] markh: are you building the standalone bzr.exe? [05:01] yep [05:03] markh: I'm wondering if it's possible to include SimpleXXMLRPCServer in it [05:04] Verterok: I'm sure it would be for 1.7 I guess. [05:04] markh: some bzr.exe users, also use bzr-eclipse and xmloutput plugin (that need SimpleXMLRPCServer) [05:04] great! [05:04] * Verterok dances [05:06] markh: if I can help, just drop me a line. I'll be glad to ;) [05:06] how will I know if it works? :) I can add that line to the 'includes' option to py2exe, but I'm not sure what to do after that... [05:07] I know - once 1.6 is out, just ping me and I'll hack up a binary and you can test it ;) [05:08] markh: bzr branch lp:bzr-xmloutput and bzr start-xmlrpc :-D [05:08] heh - ok [05:08] markh: if that is the only py2exe trick, I can try to build a binary and run some tests [05:09] its likely to also need 'xmlrpxlib' nominated in 'packages' [05:09] rpclib [05:09] it would help if you could do that - then just submit a merge request and I won't need to do anything at all ;) [05:10] but if you don't and I remember, I'll have a go when 1.7 is getting closer [05:10] markh: I can try :). do I need a custom enviroment to build bzr.exe? [05:11] markh: easier, any wiki/doc telling how to build it? :) [05:11] theoretically not :) It might complain about a few things missing, but should succeed [05:11] 'make installer' if you are *really* lucky ;) [05:12] obviously need py2exe installed, but most other things are optional [05:12] * Verterok fires up virtualbox and waits [05:13] xmlrpclib appears to be a simple module and is already in the package. [05:13] as is SocketServer - so if you are extremely lucky, you could just stick SimpleXMLRPCServer.pyo in library.zip and it would work ;) [05:14] nice :) [05:17] I'll give py2exe a try, if I'm lucky enough...I'll send the patch [05:20] markh: thanks for the guidance :) [05:20] np [05:55] hello [05:56] does bzr support checkouts of only portions of a source tree? or do you have to get the whole thing? [05:56] i haven't been able to get a straight answer :/ [05:56] no [05:56] where source tree = branch [05:58] we host multipule projects in our suppository, it would be possible to create branches for each of the projects, right? [05:58] *repository [05:58] i genuinely typo'd that >_> [05:59] yes [05:59] ah i see. [05:59] bob2, and you can check out each branch independently if my understand is correct, right? [05:59] yup [05:59] horray [05:59] thanks [06:26] markh: bzr.exe with xmloutput, worked like a charm :D [06:27] Verterok: excellent ;) [06:27] * Verterok sends the patch [06:28] Verterok: cool [06:28] indeed :-D [07:04] * Verterok heads to bed [07:05] seeya later [07:54] abada abada abada, thats all folks [10:43] finally, hi all [10:43] How to get the changes from the initial revision? [10:43] (using the bzrlib api) [10:45] Leonidas: current tree vs revision 1? [10:45] lifeless: but that does not show me what was added in revision 1. I need to use something like: [10:45] bzr diff -r ..1 [10:46] so I need the first revtree and the revision 1 revtree [10:46] repository.revision_tree(NULL_REVISION) [10:47] ahh! Where is NULL_REVISION defined? [10:49] bzrlib.revision.NULL_REVISION, ok === mark1 is now known as markh === mark1 is now known as markh [11:21] Hello all, can someone please tell me what's happening here? http://paste.ubuntu.com/40393/ [11:25] bad stuff :P [11:25] (hi mate) [11:25] Kamping_Kaiser: hi. [11:34] jpds: You can't upgrade over bzr+ssh [11:35] RAOF: So what do I do? [11:35] jpds: You can over sftp, but that takes quite some time; there's an open bug on the bzr-launchpad integration for a "upgrade this branch" button. [11:36] Be warned: remote upgrades over sftp aren't exactly lightning fast. Bring a packed lunch :( [11:43] hello [11:44] whenever i do bzr upgrade i get this error and a corrupted repo: bzr: ERROR: Cannot convert to format . Does not support rich root data. [11:48] you want to upgrade to --rick-root-pack (probably) [11:48] and corrupted repo in what way? [11:50] luks: i move .bzr.backup back to .bzr and it doesn't recognise it as a repo [11:50] so my only option then is to delete the whole thing [11:51] "doesn't recognise" isn't very specific [11:51] bzr: ERROR: Not a branch [11:51] it upgrade corrupts anything it's a serious bug [11:51] let me do it again [11:51] what's inside the .bzr directory? [11:51] *if [11:52] let me reupgrade to tell you for sure [11:52] oh it works now [11:52] that's odd [11:52] well, not the upgrade, but the backup [11:53] is rich root pack better than the one i have currently? [11:53] i don't understand why it fails, though [11:53] it succeeded upgrading to that, if i push will the other repo also get upgraded? [11:54] it isn't better [11:54] why upgrade to that then? [11:54] but if you need to support branches from bzr-svn, you need to use it [11:54] oh [11:54] is it worse? [11:54] no [11:55] ah, okay then [11:55] it just supports a feature needed by bzr-svn [11:55] ah [11:55] eventually the default format will support something like that too and everyone will stop getting confused :) [11:55] Stavros: and no, push will not upgrade it [11:56] luks: ah, thanks === mark1 is now known as markh [12:14] hello [12:15] i'm made a branch trunk/foo, but when i go to do something like bzr co http://example/trunk, foo doesn't show up [12:16] if your branch is trunk/foo, you should checkout trunk/foo :) [12:16] lifeless, i want the whole thing though (trunk/foo included) [12:17] no, it doesn't work like svn [12:17] :( [12:17] is there any way i can make a branch that behaves that way? [12:17] Spaz: you want a branch that contains other branches? [12:17] lifeless, yes, but i want those branches to also be able to be checked out not just individually, but all at once [12:18] Spaz: bzr really isn't gear to do that [12:18] *geared* [12:18] :( [12:18] (none of the modern DVCS's are) [12:18] "bzr multi-pull" can help. [12:19] On the client side, at least. [12:19] RAOF, is this a plugin of sorts? [12:20] lifeless: well, git and hg can do that, but it's not as streamlined as in svn [12:20] It's in bzrtools, I believe. [12:20] bzr multi-pull will pull all the branches under the current directory. At least that's how I use it :) [12:20] having a bzr extension that does something like http://www.kernel.org/pub/software/scm/git/docs/git-submodule.html would be nice [12:20] Isn't that subtree support? [12:20] another question [12:21] luks: they don't do the same thing [12:21] I may have got that wrong, though. [12:21] luks: gits nested tree is similar to bzr's, hg's is very different [12:21] wait nvm [12:21] luks: and none are analagous to svn's system [12:21] i was going to ask if bzr had plans for arbitrary checkouts, but i'll just use nested branches for now [12:21] lifeless: git's submodules are not bound to specific revision, as far as I know [12:22] luks: they are refs [12:22] so it works kind of like svn:externals [12:22] Ah, so submodules appear to be svn externals. Which isn't what he's after, anyway. [12:22] bzr multi-pull works :) [12:22] luks: "Submodules allow foreign repositories to be embedded within a dedicated subdirectory of the source tree, always pointed at a particular commit." [12:22] uh oh [12:22] sorry then [12:22] its ok :) [12:23] so it's the same principle as bzr subtrees, but not as integrated [12:23] while it's kind of an "argh >_<" thing for me, it's not like "argh let's go back to svn" kind of thing [12:23] but I'm not prone to random wrong statements:> [12:23] actually I think git and bzr subtrees/submodules will be nearly identical [12:23] we've got very similar model in this regard [12:23] I'd like more something like svn externals [12:24] yeah, we have a second iteration planned that will be closer [12:24] Spaz: we have plans for arbitrary checkouts [12:24] shouldn't be hard to do as a plugin using git submodule's UI though [12:24] lifeless, :o [12:24] Spaz: 'views' is what we'll call them [12:25] hrm views? [12:25] sounds like it's read-only [12:25] >_> [12:25] no more than any other operation [12:25] oh nice [12:26] it will just select a subset of the tree to put on disk [12:26] :D [12:26] the same amount of history will be needed locally etc etc [12:26] ah ok [12:26] because to merge full trees you need access to the full tree metadata [12:26] any clue about what version this might happen? (i'm asking for mere speculation, i'm not asking for "when will it be done" etc.) [12:26] its *why* DVCS works efficiently [12:26] 1.8/1.9 [12:27] ah ok [12:33] can somebody quickly help... I installed bzr on my server. I can commit my files... But an other user when he want to commit gets "Cannot lock LockDir" How can I solve this? [12:35] enquest: permissions I would say [12:35] enquest: does he have write permission ? [12:35] I made a group "admin" and added him and me to that group [12:36] what should I do more? [12:36] check the permissions on the contents of .bzr/ [12:36] I bet its wrong group or some such [12:37] lifeless, the permissions on the .bzr is drwxr-xr-x [12:38] and enquest:admin [12:38] so I should give write permissions to admin? [12:39] is that correct lifeless [12:42] I would say so :) [12:51] hi [12:53] The bzr faq says that there are other version control systems better suited for binary files (such as images), but it gives no references. Does anyone has a good suggestion? [12:54] I don't know of anything that has a smart delta compression of compressed data [12:59] luks: thanks. Just the way the FAQ is written, it suggest that such tools exist. I use bazaar for coding, but I want something similar for my projects which consist of only images. [13:00] there are systems that handle binary data better in general [13:00] but for compressed content, such as images or video, it doesn't help much [13:02] luks: are some of these systems free? could you give some names? [13:02] svn does binary xdelta compression [13:03] but what exactly are you doing? [13:04] well, I am a visual artist, so the result of my projects consist of images [13:04] some are generated by self written code, some are manipulated in gimp, ... [13:05] what format are they in? [13:06] I mostly use png for generated images, as it is compressed without quality loss [13:06] anyway, I don't think you will see any significant differences between most VCSes [13:06] but some are also in svg [13:07] are svg files typically gzipd? [13:07] no [13:08] I generate svg through pycairo [13:09] I'd personally just use bzr if you already know it [13:10] I wouldn't use bzr only if the files are huge [13:10] it doesn't handle that well === andreas__ is now known as ahasenack [13:26] Hi. I have a local branch from a shared repository and I would like to add the branch to the main repository, while keeping it a branch. How do I do that? [13:28] not sure what do you mean by that [13:28] that is 'the main repository'? [13:28] *what [13:29] by main repository I mean the remote, shared repository which contains the trunk branch [13:29] just push it there [13:29] if you push it to a location under the repository, it will automatically use it [13:29] I see, thank you [13:31] So do I specify bzr push sftp://remote/reporoot/mynewbranch or do I omit "mynewbranch"? [13:31] including mynewbranch, the command is correct [13:32] thanks again === thunderstruck is now known as gnomefreak [14:16] I have a problem using bzr-gtk, namely the visualize command, on my gentoo box. I am using bazaar 1.1.0 with bzr-gtk 0.94.0 I installed it by extracting the tarball into /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk Error is pasted here: http://rafb.net/p/P9TdMc24.html [14:17] you need newer bzr [14:18] luks: Ok, I will try, just thought it should work with these versions cause http://bazaar-vcs.org/bzr-gtk said bzr-gtk 0.94.0 should work with >=1.0 [14:18] 1.5, probably [14:18] looks like a lie :) [14:19] hm, no [14:19] looks like the personal taste of gentoo developers prevented a stable program to get into stable tree, once more :/ [14:19] iter_ancestry was added earlier [14:19] hm... [14:19] still worth a try to upgrade [14:19] there is a bzr overlay for gentoo [14:20] https://launchpad.net/bzr-gentoo-overlay/ [14:21] bzr 1.5 is already in the portage tree, but tagged as ~x86 not x86 [14:21] Easy to just add it to portage.keywords [14:22] I know gentoo, and I did so, but it is not a nice solution because mixing arch with ~arch sometimes breaks things [14:23] My package.keywords is as long as my arm :) [14:23] I prefer to use stable generally, but push certain things along as I need them. [14:24] what does the ~ mean? [14:24] arch-masked [14:24] Effectively the 'unstable' branch [14:24] so, "doesn't work on x86"? [14:25] More like they're not confident, not sufficiently tested, they can't be arsed etc [14:26] gnome basically stays in ~ for about six months after release [14:26] pickscrape: it's more a question of the maintainers taste. e.g. pidgin 2.4 was already very long in portage (~x86) but it became x86 not because it was said to be stable enough but just because 2.3 did not work anymore [14:27] cfchris6: == can't be arsed :) [14:27] just ~x86? what about all the other platforms? [14:28] Freaky: In general it was ~arch, for more exotic ones I don't know [14:29] Other arches could be quicker or slower. They have dedicated arch teams, so it depends on how on the ball they are when compared to the maintainer of the package itself. [14:30] anyway, with bzr-1.5 it works now, thank you [14:32] The only downside of the bzr gentoo overlay is that it includes beta packages. It would be nice to have a stable version of the overlay [14:50] * vila wonders who put water into his gusty -> hardy upgrade after midnight [14:50] vila: I put sugar in the tank, but I didn't have time to get water. Must have been someone else. [14:51] I guess so, but the last gremlin needed a .xmodmaprc to get killed. though one :-/ [14:52] Check the power cord to your clock. [14:52] lightbulb ! The clock damn it ! Skewed again ! [14:53] vila: I'm just waiting for your next hhtp patch [14:53] :-) [14:53] hm... it seems beuno isn't around yet [14:53] time to get the 1.6-final out the door [14:53] anyone have any blockers? [14:53] Last chance [14:55] the last days were all about reorganizing my hardware and the associated softs, I just have to commit now. [15:02] siretart, thanks, much appreciated :-) [15:03] * jelmer hopes this is also the first step towards loggerhead on bzr.debian.org.. [15:06] jelmer: well, we almost got webserve on there, but it missed etch, and then the project seemed to stall, so I refrained from packaging it [15:08] ahh [15:09] so it looks like we'll be out of luck again, since we're already past freeze time :-/ [15:09] yeah, though they may be willing to use a backport once it is actually in === cody-somerville_ is now known as cody-somerville [15:15] james_w: ah, cool, that's definitely worth asking for [15:16] I agree [15:17] jelmer: I think they prefer packages from backports.org, but asking might be a good idea anyway [16:07] bug 5 [16:07] Launchpad bug 5 in rosetta "Plone Placeless Translation Service metadata missing from po files" [Wishlist,Fix released] https://launchpad.net/bugs/5 === cody-somerville_ is now known as cody-somerville === jam changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | 1.6-final is out !!! | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/ [17:50] yay :) [17:50] no more RCs [17:50] whoah [17:51] Woah. [17:51] Wait, so there was no rc7? Damn! [17:51] Congrats on the release. :) [17:51] * Peng_ has to run. [17:58] I'm trying to merge this branch https://code.launchpad.net/~richies/hypernucleus/richie into this branch https://code.launchpad.net/~manuq/hypernucleus/manuq but the two branches have different revision histories (I creaed mine wrong!). How do I merge them? [17:58] It gives me this error: bzr: ERROR: Branches have no common ancestor, and no merge base revision was specified. [18:10] RichW, the two branches you're trying to merge are not related [18:11] RichW, are you really sure you'd like to merge them? [18:11] RichW, if so, just specify -r0..-1 to "bzr merge" [18:14] * mw starts his bzr 1.6 for opensuse packages [18:14] So... what is the proper debian string for the 1.6 release? [18:15] "1.6~bazaar1" sorts before "1.6~rc5..." [18:15] Should it be "1.6-1~bazaar1" [18:15] 1.6-1~bazaar1 [18:15] or "1.6~1~bazaar1" ? [18:15] thanks luks [18:16] 1.6~bazaar1 would mean a native debian package [18:16] err, surely it's just 1.6-1 ? [18:16] yes, but not for ppa packages [18:17] oh, right, PPA [18:19] jelmer: ok il try it, some things happened and it all went wrong :) [18:20] RichW: honestly, with such branches I think diff/patch is the best you can do [18:23] luks: ok, I tried your method to build the package, care to try it out? [18:23] It is in my ppa [18:23] one sec [18:23] https://launchpad.net/~jameinel/+archive [18:23] did you upload the packages? [18:24] * luks doesn't see them [18:24] jelmer, james_w: If you want to give it a poke, too. I'm using bzr-debbuild for this [18:24] luks: upload just finished [18:24] ah, it will take a moment then [18:24] jam: I just uploaded 1.6-1 to Debian sid [18:25] s/sid/experimental [18:25] jam: What branch is the ppa build created from? I can't instal the package here, but I can look at the changes. [18:26] jelmer: it is built from the tarball [18:26] Or you mean the "debian" branch? [18:26] I just have that locally [18:26] jam: yeah, the debian branch [18:27] It is originally branched from luks work [18:27] because I'm just playing with it for now [18:27] I'll switch to the "official" ones later [18:27] jelmer: I'll push it real quick [18:27] well, I didn't change anything but fixing the watch files [18:28] jelmer: when it finishes: lp:~jameinel/+junk/packaging-hardy [18:28] * jelmer wonders if the ppa branch shares any ancestry with the pkg-bazaar debian team branch [18:28] luks: well, and you "released" ~bazaar2 [18:28] etc [18:28] jam, thanks [18:28] oh, yes :) [18:29] ah, looks like it was based on the Debian packaging branch, it's just diverged since then [18:29] luks: LP has just accepted my submission and is building now [18:29] jelmer: seems like we should mostly keep them in sync [18:30] lamont: I know you had concern about our earlier packaging, would you care to take a look at my attempt at a 1.6-final package? [18:30] jam: my build just finished. :-) [18:31] luks: Would you know why, export FOO="a b c"; for foo in $FOO; do echo $foo; done always gives them all at the same time? [18:31] luks: I'm trying to use your documentation [18:31] but it seems ZSH doesn't do "for" like bash/sh [18:32] jam: gives me 3 lines of output.... [18:32] jam, package looks good to me [18:33] lamont: I don't know if that is good or bad [18:34] jam: it's correct. :-) [18:34] and yeah, package looks fine [18:34] yay \o/ [18:34] the 3 lines was wrt $FOO above [18:34] jam, there's not a lot of differences with the debian debian package [18:34] lamont: using zsh or bash? [18:34] jam, (try diffing with http://bzr.debian.org/pkg-bazaar/bzr/unstable to see) [18:36] jelmer: I see a lot of differences in the changelog, but I guess that is because you don't actually include the upstream release information in changelog [18:36] So it only has your changes [18:37] jelmer: also, do you still have the "contrib/bash/bzr" bug? [18:37] I see this line: contrib/bash/bzr etc/bash_completion.d/ [18:37] in your unstable branch [18:38] no, that's been fixed (though differently from the ppa branch) [18:38] ah, ok [18:38] ah, and you don't remove ones that are already there [18:38] as part of post-install [18:39] We never uploaded a package with the broken file in it, so there's no need to do that for us [18:39] jelmer: should we be merging your changes for stuff like "overrides/bzr" which sets "script not executable" on a few files [18:40] jam: Yeah - the overrides are no longer necessary [18:40] jam: bash [18:40] you may also want to import the change to the watch file, which makes sure that betas for a release are not considered newer than the release itself [18:40] so for changelog, is it meant to be only the changes for that "branch" of packaging? [18:41] jelmer: I think luks did a similar change [18:41] opts="uversionmangle=s/(rc|b)/~$1/" \ [18:41] ah, right [18:41] jam: I'm not sure what the right policy is wrt merging changelogs [18:41] does anyone know if launchpad supports stacked branches now? (no response in #launchpad) [18:41] jam: IOW, zsh isn't posix. [18:42] see also the behavoir of dash [18:42] lamont: it seems like it, though it is a bit odd [18:42] lamont: it prints it out 3 times for me [18:42] It prints "a b c" 3 times [18:42] which is a bit silly [18:43] ah no, that was because I was using: FOO='a b c' [18:43] and bash does the same [18:43] This is just strange: bash -c "FOO='a b c'; for x in $FOO; do echo $x; done" [18:44] in zsh I get 'a b c' [18:44] in dash and bash, I get a\nb\nc\n [18:44] yeah, same here lamont, except for the one I just posted, where I get "a b c\na b c\na b c\n" [18:45] scripts shouldn't use zsh :-) [18:45] Unless they're zsh scripts ;) [18:46] if you need that rich a language, you don't belong in a shell [18:46] radix, I think so [18:46] radix, It is running bzr 1.6 IIRC [18:47] lamont: Well the specific issue was that it is a "step by step of what to do to release" not a real script, and I couldn't follow it because zsh is my interactive shell. I can always workaround that [18:47] heh [18:48] such as by turning it *into* a script :0 [18:48] FTW! [18:48] congrats to all devs for 1.6! [18:49] jelmer: bzr-svn will follow-up shortly? [18:49] gour, 0.4.11~rc1 is already in Debian [18:49] or do you mean the 0.4.11 release? [18:50] jelmer: can we get 0.4.11 into the bzr ppa/beta ppa? [18:50] jelmer: 0.4.11 [18:50] gour, In the next couple of dayus [18:50] great. ta [18:51] it no longer requires svn-1.5? [18:51] no, just svn 1.4 or higher [18:51] no patches [18:51] that's great [18:51] jam: Sure, I'm happy to help with that [18:52] We'd also like to get bzr-gtk put there [18:52] finally, one will be able to completely replace fetching all svn repos with bzr-svn :-) [18:52] whatever works with 1.6 [18:53] lamont: so do you know about "merging changelog" files? I would like to sync up our various packaging branches, and don't want to do something stupid. I can just revert "changelog" when I merge in the other changes. [18:53] bzr will return to monthly-releases now? [18:53] gour: well I'm in charge of 1.7, so *it* will be a time-release, I can't say beyond that :) [18:53] I do believe everyone wants to return [18:54] jam: increasing chunks in time is always a good merge there... shame to lose history, unless it's pointless history [18:54] jam: I would rather not do the uploads myself though, since I can't promise I'll be able to upload regularly [18:54] for my packages, I tend to just not change debian/changelog, and then generate it at release time... less pain that way [18:54] since debian/changelog _never_ merges cleanly [18:54] jam: thank you for great work. i'm (slowly) learning python..hopefully be able to help a bit in the future [18:54] (for values of never approaching zero) [18:54] jelmer: well, if we can streamline the process, I'm fine with documenting it and having a standard "release 1.X" include packaging the important plugins. [18:55] lamont: well all of our "debian/changelog" entries are "* New upstream release" [18:55] jam, should we have a look at doing that now? [18:55] it's interesting experience to switch between haskell & python... [18:55] And we have one entry for each ~hardy1, ~gutsy1, etc. [18:55] jelmer: That would be nice. I'd like to get bzr-1.6 and associated plugins [18:55] Everyone complains when they go to upgrade bzr and lose all of their deps [18:57] jam: all of the "package for $SUITE" are (IMO) boring and can be tossed - pretty much any ~ debian version (as opposed to ~upstream versions, which are interesting) [18:57] although more so if they have more meat to them than "new upstream release" [18:58] lamont: that is what "bzr log --short" is for :) [or NEWS] [18:59] jam: Pushing to ~bzr/bzr-svn/ppa-hardy === fta_ is now known as fta [18:59] jam: Can you see if that uploads correctly to ppa? [19:00] jam: bzr log [19:00] bzr: ERROR: Not a branch: "/home/lamont/chroots/a/bzr-1.6~rc5/". [19:01] changelogs _should_ have some history in them. source packages _shouldn't_ have VCS trees in them. [19:02] jelmer: so you want me to package that? or just check if a package shows up in ~bzr/+archive ? [19:02] then again, I expect that the upstream changelog is in the binary package [19:02] jam: It should already be packaged for hardy in the ppa [19:04] jelmer: the only package I see is: https://edge.launchpad.net/ubuntu/hardy/+source/bzr-svn [19:04] jam: It's finished now, lp:~bzr/bzr-svn/hardy-ppa [19:05] and ~bzr-svn doesn't have a ppa [19:05] jam: Sorry, I meant I hadn't uploaded it yet, but all the right bits are in the bzr branch I pushed to [19:06] jelmer: so you want me to "bzr debbuild -S" it ? [19:06] jam, yep, please [19:06] (currently grabbing it) [19:07] should I be uploading to the ~bzr-beta-ppa or is it ready for ~bzr ? [19:07] To whatever you uploaded 1.6 I think [19:08] jelmer: sure I just wanted to know if it was "stable" enough for the official ppa [19:08] I haven't uploaded anything to a public ppa yet [19:10] jam: Probably beta for now then [19:10] and that is a regular bzr-svn branch right, not just a packaging branch [19:10] how do you manage that across multiple targets? [19:10] jam: It's a regular bzr-svn branch that includes the debian/ dir [19:10] makes it easier to do debian-specific source changes [19:28] I guess the bzr deb packages aren't built yet? [19:32] radix, jam is working on uploads to the ppa [19:33] sweet [19:33] thank you jam :) [19:33] radix, I've uploaded packages to debian experimental [19:33] can't wait to try it out with lp [19:33] jelmer: did you file a sync request as well by any chance? [19:34] james_w, not yet - shouldn't I wait for it to actually hit experimental? [19:34] jelmer: it's normally safe as they have to get a sponsor's ACK first [19:35] james_w, ah, cool - I'll request one then [19:35] * jelmer hugs ubuntu-dev-tools [19:35] now if only somebody would package it for debian... [19:45] night [20:05] james_w: I've modified "bzr mu" to support merging from branches rather than just tarballs/directories [20:06] james_w, It'll now also default to using the export-upstream location if in export-upstream mode [20:07] james_w, and retrieve the upstream version number automatically from tags and revnos [20:07] james_w, It would be nice though if it could automatically add a draft entry to debian/changelog though [20:12] Is there a recommended bzr way to include one project inside another? (for example, project/mylib/ has its history tracked separately) [20:12] ToyKeeper, "bzr join" can import one project in another and makes merging in the future easier [20:13] ToyKeeper, there's no way to reference another project by location yet - that's what nested branches will bring [20:14] I have a common library I'd like to include with other projects, and basically would like 'bzr branch lp:myproject' to include the shared lib if possible. [20:14] Bringing the lib in at 'make dist' time is trivial, at least. [20:16] You could also look at the "bzr-merge-into" plugin. As long as the merge is "1-way" (you do the devel in the plugin branch, and then merge it into the project branches) it works pretty well. [20:18] jelmer: yeah, it doesn't do that for any mode [20:18] I stayed away from writing more code [20:18] I could just 'bzr export' the lib into a subdir and pretend it's part of the base project, until nested trees are working. [20:19] james_w: It suggests the right command to run, but I'm getting very lazy :-) [20:24] Hmm, I've used merge-into for one-time imports, but it doesn't seem to like merging a second time when the original branch changes. [20:25] ToyKeeper, if it's a subdir, I would recommend using bzr join [20:28] Yeah, I'm just trying to figure out how to merge changes after the initial join. [20:28] just "bzr merge " should work I think [20:29] Nope. [20:30] Maybe it's supposed to, though. I'm getting a traceback when I try. [20:32] jam: mutter.' and here I thought you'd just uploaded rc5-1~mumble, not that the release was out and that the sources weren't in the ppa yet. [20:53] looks like the same thing as bug 203376 [20:53] Launchpad bug 203376 in bzr "traceback when merging an svn repo with a 'bzr join'ed branch" [Undecided,New] https://launchpad.net/bugs/203376 [20:57] Weird. Some of the paths listed in the traceback don't exist. It's printing a different path than the file it's using. [20:59] It seems like it's been broken since bzr 1.2 or maybe earlier. === maw_ is now known as mw [21:04] lamont: :) no, have a couple other things I'm trying to get out, and then I'll upload [21:04] jelmer: hardy-ppa wants to sign the archive with *your* key, does that matter? [21:05] jam: no worries... if you happen to feel like it, poke me with something pointy when you upload, eh? [21:05] jam: debsign -m$yourkey foo_ver_source.changes [21:05] lamont: well, there is one in https://launchpad.net/~jameinel/+archive but I should have 1.6 final uploaded to ~bzr in about an our [21:05] *hour* [21:05] jam: You should probably just sign it with yours [21:05] jelmer: builddeb doesn't like that [21:05] jam: -m [21:06] jelmer: And I'm not enough of a deb guru to really know the point to do it at. [21:06] to override the maintainer in debuild [21:06] jam, Perhaps just change the name in the last entry in debian/changelog [21:06] jelmer: or pass in "-uc -us" and then manually "debsign -m$MYID foo_ver_source.changes" [21:07] * lamont usually does the last of those, so he could be completely wrong about debbuild taking a -m argument :-( [21:08] Well, builddeb defaults to -uc -us [21:08] But the config that luks suggested has me configure it to actually sign them. [21:08] Does LP require signing? [21:08] I know it doesn't sign the binary packages [21:08] jam, it requires signing on uploaded source packages I think === toytoy_ is now known as toytoy [21:10] jelmer: hm... it seems to actually connect to lp:bzr-svn, is there any way to get it to use my local repo instead? [21:11] jam: Yep, use --export-upstream=../path/to/local [21:12] jelmer: thanks, that helps a lot. Now... what about APR? [21:12] It seems to cause a warning [21:12] but doesn't actually fail the build process [21:12] jam: What sort of warning? [21:12] jelmer: "make" seems to be failing [21:13] in what way? [21:13] Exception: apr-config not found. Please set APR_CONFIG environment variable [21:13] make: [python-clean-2.5] Error 1 (ignored) [21:13] cd . && python2.4 setup.py clean -a [21:13] sh: apr-config: not found [21:13] jelmer: but it doesn't actually stop the build [21:13] I'm installing libapr1-dev now [21:14] jam, Oh, that's actually correct [21:14] it should be a little bit less verbose [21:14] now, of course, it needs the svn devel files [21:14] there's different names the apr config utility can have [21:14] the first name in the list doesn't exist on your system, but the second one probably does [21:14] jelmer: well, I didn't have the libapr1-dev at all [21:14] installing it made it happy [21:15] my bigger problem is that the build should *fail* [21:15] jam, You do have libapr-dev probably [21:15] if it can't actually build [21:15] I didn't have libsvn-dev or libapr1-dev [21:15] I don't know if you still need svn-dev [21:15] but the build process *thinks* it does [21:15] yeah, you need libsvn-dev [21:16] jelmer: so there seems to be a problem that "make" isn't causing the builddeb process to fail [21:16] so I would probably have built a bogus patch if I didn't check the traceback [21:16] jam: I don't think it should've failed [21:16] jam: It searches for apr-config first, then apr-1-config [21:17] jelmer: why is that, or more importantly, why do you need to do make if you don't need it to succeed [21:17] jelmer: I didn't have svn-dev either. I'm pointing out that "make" failed, but builddeb did not [21:17] ahhh [21:17] It seemed to think the package was fine [21:18] jam, it was the clean step that failed [21:18] that's probably allowed by cdbs [21:18] jam, not the build step [21:19] ah [21:19] ok [21:19] well, installing libapr1-dev and libsvn-dev and it builds "cleanly" so I'll stick with that for now [21:21] lamont, jelmer: 'dput' requires the file to be signed. Thanks for giving me the "debsign -mXXXX" command [21:21] jam: dput, and the backend processing both. :- [21:21] ) [21:21] jelmer: your .debs have been uploaded to ~jameinel/+archive, I imagine it will be a little while for them to build and be available [21:22] jam: cool [21:22] jelmer: I can copy them to ~bzr-beta-ppa if you want to give them a once over and make sure they are valid [21:22] and clean failing isn't necessarily an error... although it does bear wondering about [21:22] jelmer: also, what about builds for ~gusty and ~intrepid? [21:22] and even ~dapper [21:23] jam: sounds like a good idea to me :-) [21:23] jelmer: I just don't know what it actually *entails* I get the branches handed to me for bzr [21:23] my deb-fu is *very* week [21:23] weak [21:24] jam: it should be a matter of just taking the ppa-hardy branch and replacing hardy with intrepid/dapper/gutsy in the top-level entry of debian/changelog [21:25] jelmer: ppa just accepted my submission [21:26] also, what do you guys think. Should these be ~bzr/bzr/packaging-hardy, or should they be ~bzr/bzr-packaging/hardy branches? [21:26] As it is just the "debian" directory, they seem like they should be separate branches [21:26] But someone mentioned that most of the "ubuntu" packages are not done that way. [21:26] (separate projects) [21:28] in the case of bzr-svn, it really is a bzr-svn branch [21:29] in the case of bzr, I would prefer seeing that move to the same approach as bzr-svn >-) [21:29] jelmer: "packages failed to build" for amd64 [21:29] http://launchpadlibrarian.net/17067514/buildlog_ubuntu-hardy-amd64.bzr-svn_0.4.11%7Erc1-1%7Ebazaar1%7Ehardy1_FAILEDTOBUILD.txt.gz [21:30] /bin/sh: python2.4: not found [21:30] hmm same thing for which a debian bug was filed [21:30] Seems hard to build packages when you don't have python [21:30] looks like a cdbs problem to me.. [21:30] jam, it installs python2.5 but then tries to run python2.4 [21:30] weird [21:31] python-central/foo? [21:31] LarstiQ, probably [21:35] james_w, does the bzr-builddeb testsuite fail for you atm as well? [21:35] jelmer: which branch? [21:35] james_w, the main one [21:35] what's the failure? [21:36] a bunch of failures in the changelog parsing bits - apparently there's now two extra spaces and a newline [21:37] and index out of range errors parsing the version [21:38] what's your python-debian version? [21:38] ii python-debian 0.1.11 Python modules to work with Debian-related data formats [21:42] jelmer: yeah, I see that too [21:43] james_w, thanks for checking, I'll submit a fix for it [21:53] ... once I figure out what's actually going wrong [21:55] jelmer: i386 just failed as well, do you want the log? [21:55] jam: No, thanks. I just need to figure out how to fix this [21:58] jam: Please merge again [21:59] jam: I think the fix I applied now should take care of this [22:00] jelmer: what am I merging? [22:00] the ~bzr/bzr-svn/hardy-ppa branch doesn't seem to have anything new yet [22:00] jam: the bzr-svn debian branch, http://bzr.debian.org/pkg-bazaar/bzr-svn/unstable [22:00] jam: Ah, sorry [22:00] ah, I haven't merged that one yet [22:01] the hardy-ppa branch is based on it [22:06] jelmer: well, merging that brought in about 50+ revisions [22:06] is that expected? [22:06] though it only had 1 conflict in "changelog" [22:07] jam: It's harmless, though not intentional [22:07] I was playing with "bzr mu" in that branch [22:09] "mu" ? [22:09] (maintainer upload?) [22:09] Or the Godel Escher Bach "not an op" mu [22:10] is that the same as the zen mu? [22:10] GEB mu is the 'zen mu', yes [22:11] IIRC, it has been a long time since I read it. [22:12] jam: "bzr mu" is an alias for "bzr merge-upstream" from bzr-builddeb [22:13] jelmer: So... I seem to be still exporting the same bzr-svn revision_id, is that correct? [22:13] jam: Yep [22:13] where is that set, by the way [22:14] jam, hi! Congrats on the 1.6 release! [22:14] thanks beuno [22:14] I'm putting together new docs that use bzr-builddeb [22:14] Should be a lot easier [22:14] did you manage to package it? [22:14] as it ends up being "run these 4 scripts" [22:14] beuno: documenting as I package [22:14] so I don't forget anything :) [22:14] beuno: I have it in ~jameinel/+archive [22:15] But I'm documenting a proper version for ~bzr-beta-ppa [22:15] jam, very cool. Let me install that and give it a spin... [22:16] jelmer: I'm trying to upload again. Will I need to repackage with a foo....~2 ? [22:16] (aka, bump the packaging number?) [22:16] jam, not sure if ppa requires that [22:16] jam, can't really hurt though [22:16] well, so far nobody has complained [22:16] but I'll wait for ppa to tell me [22:17] * jelmer has now reduced packaging a new upstream version to: "bzr mu -d && bzr tag && bzr builddeb" [22:17] so branching stacked branches over the hpss appears to have issues :( [22:18] mwhudson: good thing it isn't set up in the default branch format :) [22:18] yeah [22:18] mwhudson: is it because of format inconsistencies? [22:18] that the Smart Server always says it is the default format? [22:18] or something along those lines [22:18] jam: maybe, but i don't think so [22:19] jam: let me set up a test again and -Dhpss it [22:20] Swedish Techmag TechWorld Open Source congrats on the 1.6 release :) Hope to see it in Hardy soon [22:20] jelmer: I need to bump the number, otherwise the "md5" sum does not match one already in the archive [22:21] jam: You'll need to bump the upstream version number actually [22:21] jam, That's because of a bug in bzr export (which uses now() as the timestamp for all the files in the tarball) [22:21] jam: Alternatively, you can use debuild rather than "bzr builddeb" [22:23] jelmer: so I need to make rc1-2 ? [22:23] jam: +1 probably ("-" is special) [22:24] jam: http://pastebin.ubuntu.com/40506/ [22:24] so something like rc1+1 [22:24] jelmer: can you spell it out for me [22:24] something like 0.4.11~rc1+1~bazaar1~hardy1 [22:25] it seems maybe the fetch logic is busticated ? [22:25] mwhudson: of course, there you have 2 bzr processes fighting to log to ~/.bzr.log, which makes it a bit ugly [22:26] jam: huh, indeed [22:26] I would have thought that fetch() wouldn't actually fetch anything for a stacked branch [22:26] so I'm not sure what is broken. [22:27] well, no, bzr branch stacked-branch local [22:27] should copy all the revision data into local [22:27] mwhudson: ah, you are branching *from* a stacked, and expecting it to pull everything from both [22:27] sure [22:28] jam: yes [22:28] maybe it's just a missing activate_fallback_repositories somewhere, i dunno [22:29] well, after I actually get these packages built, maybe I can poke at it a bit [22:29] thanks [22:32] jam: sorry, something like 0.4.11~rc1+1-1~bazaar1~hardy1 [22:32] jelmer: not rc1-1+1 ? [22:32] I would think the official upstream number would come first [22:35] jam: You need to update the upstream version number since every time you run "bzr builddeb" the timestamps in the upstream tarball change [22:35] jelmer: I understand that, I'm just trying to understand debian version numbering [22:35] and it seems like "rc1-1+1" would be better than "rc1+1-1" [22:35] but my knowledge is *very* weak [22:36] everything after the - is debian-specific [22:36] s/debian/packaging/ [22:36] the stuff before the - refers to the upstream version [22:36] and you need a new upstream version [22:36] sure [22:36] ok [22:39] jelmer: of course now I get "no such tag ..." but i'll shove one in [22:39] I assume we should use the same version again, right? [22:39] jam: or specify --export-upstream-revision=tag:0.4.11~rc1 [22:39] sorry, --export-upstream-revision=tag:bzr-svn-0.4.11~rc1 [22:41] jelmer: well, I went the tag route, since it makes it obvious what version is uploaded since the numbers don't match anymore. [22:41] Kind of odd to do "bzr tag -r tag:XXX XXX-1" :) [22:41] heh :-) [22:41] anyway, new packages are built and uploaded [22:42] again to ~jameinel/+archive, LP hasn't responded yet [22:48] ok, I'm currently uploading the bzr packages to ~jameinel/+archive [22:48] Unfortunately, I'm likely to be done for the night (have to pick up my son now) [22:49] So if someone can play with them to make sure they are good [22:49] and then I'll copy them to ~bzr-beta-ppa and ~bzr [22:50] beuno: you may want to check out http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/packaging [22:50] looks like it built succesfully [22:51] jelmer: that is probably the one I uploaded this morning [22:51] I'm doing all of gutsy/feisty/intrepid/etc right now [22:51] I'm a bit worried about multple .orig.tar.gz uploads [22:51] jam, I mean the new bzr-svn uploaded successfully [22:51] but at least the md5 sum should match [22:51] jelmer: ah yeah, I think that did [22:51] it should be building [22:52] jam: the export-upstream option in bzr-builddeb is the only bit that generates different tarballs each time [22:52] jam: if you don't use that, you should not have any problems [22:57] jam, the branch is enourmous. Does that include the bzr branch? [22:59] anyway, off to bed n' stuff [23:00] beuno, g'night [23:00] beuno, loggerhead is in NEW, btw, thanks to siretart [23:00] jam, scripts look good :) [23:01] jelmer, really? yay! [23:01] did -search get re-uploaded? [23:01] jam, just need to feed the scripts the information instead of hard-coding it, and we're in business [23:02] beuno, no, Ididn't see a re-upload of search [23:03] jelmer, I'll keep on insisting then. Thanks for the lh packaging :) I may upload it to bzr's PPA too, so we can update it more frequently [23:13] moin [23:15] hey lifeless [23:17] hi lifeless [23:24] beuno: what information is hard-coded in the scripts? You supply the version number [23:24] I just give some help text so *I* can remember what format they should be in [23:28] I guess I hardcode lp:~bzr/bzr/packaging-XXX [23:28] but that is because those are the official locs [23:41] the files have been copied to ~bzr-beta-ppa, if people like them, I'll put them in ~bzr tomorrow (except bzr-svn) [23:41] jam: cool [23:47] hi [23:48] i just started a merge, now i got some files with conflicts, is there any nice wrapper around fireing up kdiff3 or something like that [23:55] there's a plugin [23:55] merge-tool or something [23:55] oen sec [23:56] extmerge