[03:42] hello, I'm new to compiling from source, but I've been interested since I've stuck on ubuntu 9.04 on arm. I've been successfull at building bzr 2.50 from source, but I'd like to make it a deb package so I can distribute it to my friend who has the same setup. I don't see where the debian/control or changelog files can be found to make this possible, will have have to create them from scratch? [03:44] cpuchip: why not grab them from the (current) ubuntu package sources? [03:45] cpuchip: add the bzr ppa, then do apt-get source bzr [03:46] oh? the launchpad.net/bzr/+download? or is this a different location for the source? [03:48] looking at https://launchpad.net/~bzr/+archive/ppa I don't see jaunty on the list. but I guess I can pull from those packages. anyway. [04:28] lifeless, spiv: I think I found what I needed here: http://ppa.launchpad.net/bzr/ppa/ubuntu/pool/main/b/bzr/ but I'll have to backport from lucid to jaunty. [04:30] I'm pretty sure jaunty is entirely unsupported now ;) [04:31] lifeless it is. but motorola decided to move forward with it on their Motorola Atrix phone for webtop (ubuntu 9.04) so I've been dealing with that, fortunately their later phone sport ubuntu 10.10, unfortunately I'm stuck with the atrix. [04:32] I was able to compile from source bzr 2.5.0 orig and it work's just fine, I just didn't want to install it from source bypassing the package manager (apt-get) [05:01] I might as well install from source on this one.. I'd have to migrade debhelper from 7.0.7 to 7.4.15 and that's proving to be no fun. thanks guys, I might try again tomorrow for fun again. [09:20] Hi vila, could you give me some advices on how to handle upgrades and bug fixes in branches ? If you have time ;) [09:22] Merwin_: remind me about your setup ? Centralized branch and lightweight checkouts / [09:22] ? [09:22] or just regular branches and a public shared branch ? [09:22] We have a dev branch we all branched/checkout from [09:23] Developpers regulary push on it (either from their checkout or from a branch) [09:23] so, they merged their changes locally and then push ? [09:23] We also have a "production" branch which is synchronised from the dev branch regulary [09:23] Yes vila [09:23] ok, good [09:24] In this case, they are already working with so-called feature branches where the real work happen [09:24] Sometimes my boss comes to me and tell me "Update all what X did today please, but not what Y and Z pushed a few moment ago" [09:24] ouch [09:24] so 'push --overwrite' ? [09:24] update = merge into the production branch [09:25] They, currently, I have to check the log, and take commits one by one, merging them with -c number of -rxxx..yyy if they follow. [09:25] Then* [09:26] right, cherry-pick [09:26] that means that when you later try to merge th dev branch you may encounter conflicts [09:26] But that's a nightmare to maintain, I have to commit after each merge (I can't do a commit after all commits I want have been merged) [09:27] There is no other way to do this [09:27] ? [09:27] topic branches [09:27] well, you can use 'merge --force' but the commits at least give you a point you can revert to [09:28] and provide *some* readability for your production branch... [09:28] it [09:28] Yeah, 15 commits named "Commit after merge" is not what I call readability lol :P [09:29] it's really a workflow issue you have here, all of you validated their additions to dev, cherry-picking them means you have to validate unknown mixes of changes [09:29] you can use better commit messages :) "cherry-pick feature A" [09:30] vila, but the feature is dipatched in more than one commit :p [09:30] vila, what workflow should I use then ? We are ready to change if it's for the better [09:30] best* [09:30] Merwin_: develop the feature in its own topic branch as bob2 suggested [09:31] well, if you land intermixed changes on dev, you can't properly cherry-pick them :) [09:31] note that it's at best a part-solution [09:31] the real solution is to not write bugs! [09:31] so as bob2 said: use feature/topic branches and make sure they are complete *before* merging them to dev [09:31] LarstiQ, bob2 : and merge from the branch regulary ? [09:31] Merwin_, no [09:32] Merwin_: no, when you're ready to land on the dev branch, [09:32] get an up-to-date dev branch, merge your feature branch, make sure it works, commit, push [09:33] the gate-keeper model does that in an automated way relying on a test suite to "gate" changes [09:33] And then on the production server I just have one commit to merge [09:33] you don't do merges on production servers [09:33] I agree with bob2 :) [09:33] bob2, ah ? [09:34] you validate the dev branch so that the production branch you can always pull from dev ;) [09:34] Hum [09:34] s/branch you/branch/ [09:34] And if there are some bugs (because they always have) [09:34] the tool is not a magic bullet [09:35] it can help you organize your workflow though [09:35] +1 [09:35] in this case, you fix the bug in the feature branch and then your merge it again [09:36] It's a bit hard to explain without pictures, do some tests and look at the result with 'bzr qlog' [09:36] you can look at lp:bzr which use the gate-keeper workflow, [09:36] You're welcome in France to show me how it works with pictures :) [09:37] I'll take a look, thanks [09:37] Merwin_: you're welcome in Strasbourg to look :) [09:38] Merwin_: each commit on lp:bzr mainline is a merge [09:38] the merged branch can have one or several commits [09:38] except for the first few dozen ;p [09:38] bob2: hehe, yeah, merge was implemented a bit later ;) [09:39] hum ok [09:39] but pqm (our gate keeper) has been used for more than a couple of years now ;) [09:39] Wand when you backport a bugfix into an old version, how do you do ? [09:39] Merwin_: in some cases, the same feature branch is merged repeatedly and qlog will show you that [09:39] ha, backport... [09:40] http://wiki.monotone.ca/DaggyFixes/ [09:40] ideally you start fixing in the oldest version so you can merge 'up' into the newer ones [09:40] hahaha [09:40] :) [09:41] hey, we're talking ideal workflows or not ? :) [09:41] the point is that daggy fixes are the easiest and give the cleanest history [09:41] backports now... [09:41] Ok, that's the best way nobody uses ? :D [09:41] there are two main cases [09:41] no no no, I do daggy fixes as much as I can [09:42] 1) you can just cherry-pick the exact change and be done [09:42] you just have to merge up until dev where small conflicts (generally trivial) can occur [09:43] 2) you cannot cherry-pick because the fix is not compatible with the old version [09:43] The advantage of daggy fixes is that you never have to cherry-pick anything; the history is all fully connected. The downside is that (a) you have to plan to do it, and (b) you can setup a lot of work if the LCA is a long ways back. [09:43] in that case you can sort-of start with the actual fix and make it work [09:43] man, i haven't heard anyone say least-common-ancestor in forever [09:44] :) [09:44] Obviously, you don't hang out here enough ;p [09:44] ok, it's clearer thank you. [09:45] Merwin_: overall, keeping the shared history clean pays off big times [09:46] vila: Funnily enough, I accidentally looked at babune last week and have been meaning to corner you about those sphinx messages ;p [09:46] My bosses don't want to do branches. They all uses checkout because "it's simpler" : They don't need to commit nor merge. [09:47] The thing is that it's not them who cherry-pick 20 commits because of "Put this in production now" [09:47] So, they want to create everything mashed together, and then for you to separate it all out later. Luckily, they pay bonuses to you for doing it. [09:48] fullermd, "luckily" :) [09:48] or said otherwise: sh** always go down, if you have to handle it, do so sooner rather than later [09:48] You should cook them a nice dinner to thank them. Flank steak, mashed potatos, asparagus, minestrone. Pumpkin pie for desert, say. [09:49] Of course, you'll make it by putting all the ingredients in one pot at the beginning, then subjecting the whole thing to each step of the preparation. [09:49] They can just separate out the bits themselves if they want to. [09:49] Merwin_: yes ;) [09:49] hahaha nice idea :) [09:49] vila, do you do training on bzr ? :D [09:51] Merwin_: canonical (my employer) does (I may be involved ;) [09:52] Do you have a link or something to get an idea about prices, etc ? [09:53] http://www.ubuntu.com/contact-us [09:57] vila: So, you have an idea what's up with that TestTCPServer failure? It seems consistent on the handful of runs I looked at, and passes every time for me (though occasionally dumping a thread warning) [09:58] fullermd: don't start me on this topic [09:59] let say it's a known transient failure [09:59] Haha. That's silly. Surely there's no such thing. [09:59] haha [10:00] oh, and I have a fix for the sphinx failures, approved already, I should land it [10:00] Yah, I saw the MP. [10:04] oh, and I'm migrating away from vbox to kvm so expect hiccups on babune too ;) [10:05] Oooh, I see your strategy. babune works -> fullermd looks at it -> fullermd bugs vila. If we break the chain one place, we're safe everywhere :p [10:05] why do you migrate to kvm? [10:05] . o O (rats, uncovered) [10:06] Obviously, so that the one slave I bother to look at stops working :p [10:06] well, the slave is causing problems is... the windows one [10:06] I still have to address some networking issues but freebsd runs fine under kvm [10:07] Hey, if you know a fix for _that_, quit your job right now. You can become a billionaire overnight. [10:07] Merwin_: in a nutshell, better support [10:08] fullermd: oh, there are a *ton* of different fixes ;) [10:08] And one of them starts and ends with 'u', right? ;p [10:08] hehe [10:09] in fact, the first slave I tried migrating was freebsd, no idea why I chose this one first ;) [10:11] I'm kinda impressed. I was under the impression that getting it running under KVM was a herculean task, and the result didn't work too well when you got it. [10:11] That might be from $YEARS ago though. [10:13] nah, I migrated the vbox disk with qemu-img and it just worked [10:14] the issue is it's nated in kvm and I was using the bridged mode in vbox, it looks like I should do the same with kvm even if this doesn't seem strictly required [11:44] Hii friends! [11:44] I have one problem! [11:45] I have co a branch from launchpad [11:45] now the branch at launchpad is at rev39 and I am at rev36! [11:45] Now how to sync the two branches? [11:54] vivekimsit: bzr up [11:54] thanks [11:54] :) [14:33] Can anyone tell me how I start Qbzr (gui front end for Bazaar)? [14:34] I have it installed, but when I type qbzr in the Dash (ubuntu 11.10) nothing happens [14:36] hannie: qbzr isn't a single application, it just provides extra GUI subcommands for bzr [14:36] hannie: e.g. "bzr qlog" [14:37] ok, so instead of commit I use qcommit in the terminal [14:38] I also tried Ground Control, but that does not work [14:40] thanks jelmer I just tried qpull and it works :) [14:40] great === deryck is now known as deryck[lunch] [17:45] bzr: ERROR: Cannot lock LockDir(chroot-83045520:///%2Bbranch/openerp-web/6.1/.bzr/branch/lock): Transport operation not possible: readonly transport [17:46] when doing a bzr pull [17:54] anyone know why? [18:11] santagada, it looks like it's a readonly drive or something from the last two words, check your permissions on that file. is my only guess [18:16] cpuchip: its my hard drive, and I set chmod santagada -R * on it [18:18] did you add +w for user on it? [18:19] cpuchip: no, will try it [18:19] santagada, good luck I hope that helps, I'm not a veterine here, [18:21] cpuchip: didn't work either [18:22] so you do have read/write access to branch/openerp-web/6.1/.bzr/branch/lock? [18:22] I'm not familiar with the chroot protocal. I'm familiar with chroot as a command. [18:26] neither am I [18:26] I'm not manually using chroot [18:26] I'm using bzr+ssh [18:27] somehow I think bzr is trying to lock the other side [18:27] right that looks familiar [18:27] why it is trying to do that I don't know [18:27] that's okay if it's pushing, I'm not familiar with locking remote on a pull but it might. === deryck[lunch] is now known as deryck [20:11] Hi people, what best to use for SSH support in Windows with bzr? [20:17] putty/plink I believe [20:19] cpuchip, I cant find any reference how to do this properly [20:19] did you install tortoisebzr ? I thought that included plink for ssh. [20:20] but it might not. I'm on linux and haven't had to install on windows in a while. [20:22] peteris, let me look up our internal docs to see how we setup our windows dev machines [20:23] peteris we install the standalone version: http://wiki.bazaar.canonical.com/WindowsDownloads [20:25] peteris, then get putty from: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html download the windows installer that includes everything but puttyel [20:26] I assume you'll want to setup ssh keys (it's less typing your password...) but after that you'll need to add a global environmental variable called BZR_SSH=plink [20:27] make sure putty bin dir is in your path [20:27] you'll then need to create a dir (assuming windows 7) to tell bzr what usrname to use: [20:28] c:\Users\\AppData\Roaming\bazaar\2.0\authentication.conf in it place the next two lines [20:28] [DEFAULT] [20:28] user=your.user.name [20:29] though I think that's configurable in tortiosebzr's menu, we just found it easier to explane it that way. [20:29] your.user.name is your ssh user name [20:29] then bzr+ssh://path/to/your/repo/branch should work [20:30] on a checkout/clone [20:31] ok, will try that :) [20:31] thanks [20:31] peteris, good luck! [21:04] cpuchip, it worked, thanks