/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/other-setups.txt

  • Committer: Martin Pool
  • Date: 2005-06-28 03:02:31 UTC
  • Revision ID: mbp@sourcefrog.net-20050628030231-d311e4ebcd467ef4
Merge John's import-speedup branch:

                                                                                         
  777 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:20:32 -0500
      revision-id: john@arbash-meinel.com-20050627032031-e82a50db3863b18e
      bzr selftest was not using the correct bzr

  776 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:20:22 -0500
      revision-id: john@arbash-meinel.com-20050627032021-c9f21fde989ddaee
      Add was using an old mutter

  775 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:02:33 -0500
      revision-id: john@arbash-meinel.com-20050627030233-9165cfe98fc63298
      Cleaned up to be less different

  774 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:54:53 -0500
      revision-id: john@arbash-meinel.com-20050627025452-4260d0e744edef43
      Allow BZR_PLUGIN_PATH='' to negate plugin loading.

  773 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:49:34 -0500
      revision-id: john@arbash-meinel.com-20050627024933-b7158f67b7b9eae5
      Finished the previous cleanup (allowing load_plugins to be called twice)

  772 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:45:08 -0500
      revision-id: john@arbash-meinel.com-20050627024508-723b1df510d196fc
      Work on making the tests pass. versioning.py is calling run_cmd directly, but plugins have been loaded.

  771 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:32:29 -0500
      revision-id: john@arbash-meinel.com-20050627023228-79972744d7c53e15
      Got it down a little bit more by removing import of tree and inventory.

  770 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:26:05 -0500
      revision-id: john@arbash-meinel.com-20050627022604-350b9773ef622f95
      Reducing the number of import from bzrlib/__init__.py and bzrlib/branch.py

  769 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:32:25 -0500
      revision-id: john@arbash-meinel.com-20050627013225-32dd044f10d23948
      Updated revision.py and xml.py to include SubElement.

  768 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:03:56 -0500
      revision-id: john@arbash-meinel.com-20050627010356-ee66919e1c377faf
      Minor typo

  767 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:03:13 -0500
      revision-id: john@arbash-meinel.com-20050627010312-40d024007eb85051
      Caching the import

  766 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:51:47 -0500
      revision-id: john@arbash-meinel.com-20050627005147-5281c99e48ed1834
      Created wrapper functions for lazy import of ElementTree

  765 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:46:37 -0500
      revision-id: john@arbash-meinel.com-20050627004636-bf432902004a94c5
      Removed all of the test imports of cElementTree

  764 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:43:59 -0500
      revision-id: john@arbash-meinel.com-20050627004358-d137fbe9570dd71b
      Trying to make bzr startup faster.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Other Setups
2
 
============
3
 
 
4
 
Dumb servers
5
 
------------
6
 
 
7
 
Bazaar can also serve branches over protocols that know nothing about Bazaar's
8
 
specific needs.  These are called "dumb servers" to distinguish them from
9
 
Bazaar's native protocol.  Currently HTTP, FTP, SFTP and HTTP+WebDAV can be
10
 
used to read branches remotely.  FTP, SFTP and HTTP+WebDAV can be used for
11
 
writing as well.  To use any of these protocols, it is just necessary to
12
 
provide access to the server's filesystem under ``/srv/bzr``.
13
 
 
14
 
For example, for Apache to provide read-only access to the branches
15
 
in ``/srv/bzr`` the configuration may look like this::
16
 
 
17
 
  Alias /code /srv/bzr
18
 
  <Directory /srv/bzr>
19
 
      Options Indexes
20
 
      # ...
21
 
  </Directory>
22
 
 
23
 
and users could use the URL ``http://server.example.com/code/projectx/trunk``
24
 
to refer to the trunk branch.
25
 
 
26
 
Note that SFTP access is often available whenever there is SSH access and it
27
 
may be a good choice when Bazaar cannot be installed on the server to allow
28
 
``bzr+ssh://`` access.  Dumb servers are slower by their very nature than the
29
 
native protocol, but they can be a good choice in situations where the
30
 
software and protocols that can be used on the server or the network is
31
 
limited.
32
 
 
33
 
Smart server over HTTP(S)
34
 
-------------------------
35
 
 
36
 
Bazaar can use its native protocol with HTTP requests.  Since HTTP is a network
37
 
protocol that is available on many networks, this can be a good option where
38
 
SSH access is not possible.  Another benefit of this setup is that all of the
39
 
authentication and access control methods available to the HTTP server (basic,
40
 
LDAP, ActiveDirectory, etc.) are then available to control access to Bazaar
41
 
branches.  More information about setting up this type of access using Apache
42
 
and FastCGI or mod_python or WSGI is in the `smart server section of the User's
43
 
Guide <../user-guide/http_smart_server.html>`_.
44
 
 
45
 
Direct Smart Server Access
46
 
--------------------------
47
 
 
48
 
The built-in server that is used by ``bzr+ssh://`` access can also be used as a
49
 
persistent server on a dedicated port.  Bazaar's official port is 4155,
50
 
although the port used can be configured.  Further information on running the
51
 
Bazaar smart server from inetd, or directly from the shell is in the `User's
52
 
Guide <../user-guide/server.html#inetd>`_.  The dedicated Bazaar server does
53
 
not currently perform any authentication, so this server by default provides
54
 
read-only access.  It can be run with the ``--allow-writes`` option, but the
55
 
smart server does not do any additional access control so this may allow
56
 
undesired people to make changes to branches.  (Which of course can be
57
 
reverted.)  If the user that runs the server has write access to the branches
58
 
on the filesystem, then anyone with access to port 4155 on the server can make
59
 
changes to the branches stored there. 
60