Changeset - 601282d36c06
[Not reviewed]
default
1 1 1
Thomas De Schampheleire - 11 years ago 2015-04-05 20:46:21
thomas.de.schampheleire@gmail.com
docs/usage: generalize 'git support' into 'version control systems support'

Rename and rework the 'git support' page such that it can hold information
about Mercurial as well.
2 files changed with 23 insertions and 24 deletions:
0 comments (0 inline, 0 general)
docs/index.rst
Show inline comments
 
@@ -27,7 +27,7 @@ Administrators Guide
 
   :maxdepth: 1
 

	
 
   usage/general
 
   usage/git_support
 
   usage/vcs_support
 
   usage/performance
 
   usage/locking
 
   usage/statistics
docs/usage/vcs_support.rst
Show inline comments
 
file renamed from docs/usage/git_support.rst to docs/usage/vcs_support.rst
 
.. _git_support:
 
.. _vcs_support:
 

	
 
===============================
 
Version control systems support
 
===============================
 

	
 
Kallithea supports Git and Mercurial repositories out-of-the-box.
 
For Git, you do need the ``git`` command line client installed on the server.
 

	
 
===========
 
You can always disable Git or Mercurial support by editing the
 
file ``kallithea/__init__.py`` and commenting out the backend.
 

	
 
.. code-block:: python
 

	
 
   BACKENDS = {
 
       'hg': 'Mercurial repository',
 
       #'git': 'Git repository',
 
   }
 

	
 
Git support
 
===========
 

	
 

	
 
Kallithea Git support is enabled by default. You just need a Git
 
command line client installed on the server to make Git work fully.
 
-----------
 

	
 
Web server with chunked encoding
 
--------------------------------
 

	
 
Large Git pushes requires a http server with support for
 
````````````````````````````````
 
Large Git pushes require an HTTP server with support for
 
chunked encoding for POST. The Python web servers waitress_ and
 
gunicorn_ (linux only) can be used. By default, Kallithea uses
 
gunicorn_ (Linux only) can be used. By default, Kallithea uses
 
waitress_ for `paster serve` instead of the built-in `paste` WSGI
 
server.
 

	
 
@@ -33,18 +44,6 @@ Also make sure to comment out the follow
 
    use_threadpool =
 

	
 

	
 
Disabling Git
 
-------------
 

	
 
You can always disable Git or Mercurial support by editing the
 
file ``kallithea/__init__.py`` and commenting out the backend.
 

	
 
.. code-block:: python
 

	
 
   BACKENDS = {
 
       'hg': 'Mercurial repository',
 
       #'git': 'Git repository',
 
   }
 

	
 
.. _waitress: http://pypi.python.org/pypi/waitress
 
.. _gunicorn: http://pypi.python.org/pypi/gunicorn
0 comments (0 inline, 0 general)