/srv/irclogs.ubuntu.com/2014/02/17/#bzr.txt

vedicHey friends, I am learning bzr. I want to setup repository on a remote server. From that server, my friends will pull the updates and push their work. Also want to ensure that no body else other than friends (total 5) should be able to pull or push to that repo. How to setup such a bzr repo12:23
vedicI also don't want to give access of remote server (i.e. they should not be able to get ssh access to the server)12:24
vedicAny tutorial or blog post will be very helpful12:25
fullermdYou can do stuff in ssh config to restrict what commands a user is allowed to run.12:35
vedicfullermd: ok12:35
fullermdOf course, in extremis, a user can certainly abuse bzr to read arbitrary stuff on the server.  And possibly pull off enough gymnastics to run stuff.12:36
vedicfullermd: Then you mean to say I create user accounts on that server and for each user I create public/private key and restrict access to certain thing using ssh config?12:37
fullermdYeah.  Just know that if they really, really, really want to, they can probably break out of jail.12:41
vedicfullermd: Ok, tell me if I am doing write: 1) I logged into remote server. Into my home directory (say /home/f1) I created a shared repo as: bzr init-repo projectx; bzr init projectx/trunk; Now how should I allow others to pull and push from this repo? If I create f2, f3, f4, f5 users then they all will have access to their home directory. How will they access /home/f1/projectx/trunk?12:44
vedic*right*12:45
fullermdGenerally by putting them all in a group, and chgrp/chmod/etc'ing the repo.12:45
vedicI see12:46
fullermdAnother possible way is to have a single shared account that owns it, and have everybody ssh in as the same user (probably with different keys, for management dolphins)12:46
vedicfullermd: That is much better12:49
vedicSo there also I can limit the commands for each key?12:49
fullermdYeah, there's some syntax in the authorized_keys file for it.  'd have to check the openssh docs.12:50
vedicok12:50
vedicfullermd: I am going ahead with creating multiple users: sudo useradd -r -s /bin/false USERNAME12:59
vedicInstead of keys12:59
vedicAnd will soft link the repo in my home to /usr/local/projectx/trunk13:00
fullermdSetting shell to false probably won't work; I think ssh generally needs a "real" shell of some sort to be able to execute programs remotely.13:00
vedicfullermd: http://doc.bazaar.canonical.com/bzr.dev/en/admin-guide/security.html#using-ssh13:03
vedicI think there he explains the same thing you suggested13:04
vedicIs bzr loosing ground? http://www.stationary-traveller.eu/pages/bzr-a-retrospective.html14:58
vedicPeople are switching or opting git and hg14:58
vedicWhy is so? can anybody tell?14:59
LeoNerdNetwork effect15:00
LeoNerdEveryone does, so everyone else does15:00
vedicLeoNerd: Just a network effect?15:01
fullermdCanonical stopped developing it, and nobody else has started.15:01
vedicIRC of bzr has 78 users but for git has 1000+15:01
vedicfullermd: I see15:01
vedicfor the fate is unknown15:02
vedic*so*15:02
DarkLinkXXXXI tried building bzr, but I got an error with cython.17:32
DarkLinkXXXXbzrlib/_dirstate_helpers_pyx.pyx:1815:36: undeclared name not builtin: cmp17:34
DarkLinkXXXXAnyone know something about this?17:35
Enlikmaybe you are using Python 3 instead of Python 2?17:37
Enlik(my guess after seeing the name; I may be wrong)17:37
DarkLinkXXXXOh.I thought bzr supported python 3.17:40
DarkLinkXXXXMy bad.17:40
jelmerthere is an attempt to add python3 support, but it's nowhere near finished17:49

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