/srv/irclogs.ubuntu.com/2009/10/17/#bzr.txt

=== abentley1 is now known as abentley
=== davidstrauss_ is now known as davidstrauss
Peng_mwhudson: Who's the copyright owner for your contributions to Loggerhead? You or Canonical?08:15
lifelessPeng_: most if not all were done on canonical time09:17
baccenfutterhey folks... I read through most of -> http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html   but was wondering if there is a document saying in like 10-20 lines: first do bzr init, then bzr add, this is how to set acls, this is how to branch and merge, done11:44
baccenfutterso basically, what I am looking for is a bzr in 60 seconds11:45
baccenfutternayone know if such doc is available anywhere11:46
baccenfutterunfortunatly I can't expect all of my users to read through the entire users guide11:51
baccenfuttersurely I could write a 10-20 liner myself, but why should I if such a doc allready exists...?11:51
baccenfutterplus, I'm not even sure, if I'm getting everything right11:51
wgrantbaccenfutter: http://doc.bazaar-vcs.org/latest/en/mini-tutorial/11:51
baccenfutterwgrant: nice, thx11:53
baccenfutternow all I need is acl and I am set11:53
mwhudsonPeng_: canonical12:59
Peng_mwhudson: OK, thanks. I wanted to know because I was thinking of putting the GPL header in some of the files that lack it. (But I'm probably not gonna do much of it.)13:06
Peng_(IANAL, so I'm kind of afraid of getting it wrong.)13:10
baccenfutterI could use some advice on setting up a working centralized bzr repo. I'm member of a local computer club with about 300 members. each member has a user acc on our shell server. Inside each $HOME there is a /public_html/ which is linked to our apache2. Now what I want to achieve is to have my very own bzr repo which is writeable only to certain users, while it is readable to 'world'. I can't find anything about acls though. If I place the rep13:41
baccenfutterOr am I getting this completly wrong?!13:43
mathepicYay 2.0.1 Ubuntu Package is out now. Upgrading.13:49
baccenfutteranybody...?15:12
Peng_baccenfutter: Eh. You got cut off at "If I place the rep"15:12
baccenfutterthe repo in $HOME, it is only acessable through ssh if I put it into $HOME/public_html/ it is writeable to 'world'. Now how would I have to go about?15:13
Peng_...public_html is world-writable?15:14
baccenfutterIn svn I had acls to take care of this15:14
baccenfutterPeng_: no, but it is world accessable its like you would place your repo in /var/www/15:15
Peng_Sorry, but I really don't have experience with this. Launchpad does it using anonymous HTTP access + a custom SSH server.15:15
baccenfutterso I see it crrectly there is no such thing like acl15:16
baccenfutter?15:16
Peng_baccenfutter: Maybe the contrib.bzr_access script would help?15:16
Peng_Err, contrib/bzr_access.15:17
baccenfutterI'll chack that out, thx15:17
Peng_Like I said, I don't have experience with this stuff.15:18
baccenfutterPeng_: where would I find that?15:23
Peng_baccenfutter: contrib/bzr_access? In the source tree.15:29
Peng_baccenfutter: http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/annotate/head%3A/contrib/bzr_access if you don't have it handy15:30
nyuhi16:25
nyuI branched from svn trunk, then made a few commits.  now I want to push just one of them, and keep the rest in my local branch.  I checked the docs but don't know where to look;  anyone can point me in the right direction?16:26
Peng_nyu: You can push all revisions up to and including revision N with "bzr push -r N".16:31
nyuPeng_: and if I wanted to push only revision N ?16:33
Peng_nyu: You want to push revision 123 but not 122? Not pisslb.e16:34
Peng_Wow, that sentence fell apart. "possible."16:34
nyuah, maybe I'm not using the right approach16:35
Peng_Well, technically, it's more or less possible with history editing from the bzr-rewrite plugin, but mostly you shouldn't do that.16:35
nyuon one hand, I like the "patch stack" model in which I stack lots of patches in, but I also like being able to stuff unrelated patches in my repository16:35
nyuas a replacement for .diff files liing around in my filesystem16:36
Peng_I guess you should create a branch for each one.16:36
nyuis there no easier way?16:37
Peng_Eh. I don't think so.16:39
nyuok, I guess I can live with adding more branches16:40
nyuwhat if I want to modify one of my commits before pushing it?16:40
mathepicCommit again?16:40
nyuyou mean on top?16:45
nyubut then I'd be pushing the broken commit + the fix, what if I'd rather only push the fixed version?16:45
nyue.g. imagine I send a patch for review and commit it locally, then someone notices a typo16:46
nyuhow can I commit the right thing in trunk?16:46
Peng_In Bazaar, you typically just create a second revision fixing the typo.16:48
nyuwhen you push a set of commits, they become a single commit in svn, or multiple ones?16:49
Peng_Multiple16:50
Peng_If you were using pure Bazaar instead of svn, and merged them into the target branch, the log view would only show the merge revision by default.16:51
nyunot an option right now16:55
nyuthe project trunk is on svn.  some people use git to manage their own patchsets16:55
nyuand I'd like to use bzr to do the same16:56
nyumy workflow is not very organized;  I have a directory full of patches that I move back and forth manually16:56
Peng_Git might work better for you.17:00
nyuoh, c'mon don't tell me this :-)17:02
jszakmeisternyu: I haven't tried myself, but I hear bzr-pipeline is good for managing patchsets17:04
jszakmeisteror loom17:04
nyuwhat if I manually extract a set of commits, then commit them into svn, then bzr pull?17:05
Peng_Oh, I forgot about pipeline.17:05
Peng_nyu: bzr-svn won't see them as the same revisions, but you can do that, yes.17:05
nyuso what will bzr believe after pull?17:05
nyuwill it still think it has diverged from trunk?17:06
Peng_nyu: Yeah. You can use "pull --overwrite" tohough17:08
Peng_trhough. though. There, got it.17:08
nyubut that gets rid of all my commits, right?17:08
nyunot just the ones that were merged17:08
jszakmeisterpipeline manages your patches as branches.  Once it's merged, you just drop it.17:11
jszakmeister(from what I understand.  I haven't used it myself, but it's at the top of my list of things to learn)17:11
Peng_nyu: Yes, sorry.17:41
mzzI need to figure out which, if any, of bzr-pipeline and loom are useful to me17:45
mzziiuc there's some overlap between the two17:45
=== sdboyer_ is now known as sdboyer
=== davidstrauss_ is now known as davidstrauss

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!