~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/server.txt

  • Committer: Martin Pool
  • Date: 2007-04-24 05:02:04 UTC
  • mfrom: (2449 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2450.
  • Revision ID: mbp@sourcefrog.net-20070424050204-bfkc1qiq0axt5f14
Merge trunk & fix NEWS conflict

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
    bzr log http://bazaar-vcs.org/bzr/bzr.dev
18
18
 
19
 
Bazaar supports writing over FTP, SFTP and via a plugin over HTTP-WebDAV.
 
19
Bazaar supports writing over FTP, SFTP and (via a plugin) over HTTP-WebDAV.
20
20
 
21
21
High-performance server
22
22
=======================
23
23
 
24
 
**In development**
25
 
 
26
 
The high-performance server is currently in development.  The version of Bazaar
27
 
that accompanies this documentation is able to use the servers underlying
28
 
protocol as a dumb server.  This is the first stage high-performance server
29
 
functionality to be delivered.
 
24
The high-performance server is currently in development.  It provides a dumb
 
25
server facility as well as additional capabilities which allow the version of
 
26
bzr that accompanies this documentation to perform some operations much faster
 
27
than via dumb servers.  In future releases of bzr the range of operations that
 
28
are improved by using the high-performance server will increase.
30
29
 
31
30
To maintain the highest security possible, the current
32
31
high-performance server provides read-only access by default.  To
49
48
 
50
49
The ``bzr+ssh://`` URL scheme only supports absolute paths from the
51
50
root of the filesystem.  Future versions are expected to support ``~``
52
 
in the same way as ``sftp://`` URLs.
 
51
in the same way as ``sftp://`` URLs
 
52
(https://bugs.launchpad.net/bzr/+bug/109143).
53
53
 
54
54
inetd
55
55
-----
60
60
 
61
61
Running a Bazaar server from inetd requires an inetd.conf entry::
62
62
 
63
 
    1234  stream  tcp  nowait  bzruser  /usr/bin/bzr serve --inet --directory=/srv/bzr/repo
 
63
    4155  stream  tcp  nowait  bzruser  /usr/bin/bzr serve --inet --directory=/srv/bzr/repo
64
64
 
65
65
When running client commands, the URL you supply is a `bzr://` URL relative to
66
66
the ``--directory`` option given in inetd.conf::
67
67
 
68
 
    bzr log bzr://host:1234/branchname
 
68
    bzr log bzr://host/branchname
69
69
 
70
70
Dedicated
71
71
---------
82
82
 
83
83
    bzr log bzr://host:1234/branchname
84
84
 
 
85
This example runs bzr on its official port number of `4155` and listens on all
 
86
interfaces. This allows connections from anywhere in the world that can reach
 
87
your machine on port `4155`.
 
88
 
 
89
server::
 
90
    bzr serve --directory=/srv/bzr/repo