/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/admin-guide/simple-setups.txt

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-08-23 01:15:41 UTC
  • mfrom: (7520.1.4 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200823011541-nv0oh7nzaganx2qy
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/389690

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
have many revisions in common, such as a project trunk and its feature
65
65
branches.
66
66
 
67
 
If Bazaar is not installed on the user's path or not specified in the SSH
68
 
configuration, then a path can be specified from the client with the
 
67
If Bazaar or Breezy is not installed on the user's path or not specified in the
 
68
SSH configuration, then a path can be specified from the client with the
69
69
``BZR_REMOTE_PATH`` environment variable.  For example, if the Bazaar executable
70
70
is installed in ``/usr/local/bzr-2.0/bin/bzr``, then a developer could use::
71
71
 
74
74
 
75
75
to get information about the trunk branch.  The remote path can also be
76
76
specified in Bazaar's configuration files for a particular location.  See
77
 
``bzr help configuration`` for more details.
 
77
``brz help configuration`` for more details.
78
78
 
79
79
If developers have home directories on the server, they can use ``/~/`` in
80
80
URLs to refer to their home directory.  They can also use ``/~username/`` to
112
112
 
113
113
The following example shows how a single line is configured::
114
114
 
115
 
  command="bzr serve --inet --allow-writes --directory=/srv/bzr",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAA...= my bzr key
 
115
  command="brz serve --inet --allow-writes --directory=/srv/bzr",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAA...= my bzr key
116
116
 
117
 
This command allows the user to access only bzr and disables other SSH use.  Write
 
117
This command allows the user to access only brz and disables other SSH use.  Write
118
118
access to each repository in the directory ``/srv/bzr`` has been granted with ``--allow-writes``
119
119
and can be removed for individual users that should only require read access.  The root of
120
120
the directory structure can be altered for each user to allow them to see only a subet
122
122
for Alice and Bob.  This method will not allow you to restrict access to part
123
123
of a repository, you may only restrict access to a single part of the directory structure::
124
124
 
125
 
  command="bzr serve --inet --allow-writes --directory=/srv/bzr/alice/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAA...= Alice's SSH Key
126
 
  command="bzr serve --inet --allow-writes --directory=/srv/bzr/bob/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAA...= Bob's SSH Key
127
 
  command="bzr serve --inet --allow-writes --directory=/srv/bzr/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAA...= Repo Manager SSH Key
 
125
  command="brz serve --inet --allow-writes --directory=/srv/bzr/alice/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAA...= Alice's SSH Key
 
126
  command="brz serve --inet --allow-writes --directory=/srv/bzr/bob/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAA...= Bob's SSH Key
 
127
  command="brz serve --inet --allow-writes --directory=/srv/bzr/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAA...= Repo Manager SSH Key
128
128
 
129
129
Alice and Bob have access to their own repository and Repo Manager
130
130
has access to the each of their repositories.  Users are not allowed access to any part of 
131
131
the system except the directory specified. The bzr+ssh urls are simplified by 
132
 
serving using ``bzr serve`` and the ``--directory`` option.
 
132
serving using ``brz serve`` and the ``--directory`` option.
133
133
 
134
134
If Alice logs in she uses the following command for her fix-1023 branch::
135
135