comparison docs/usage/git_support.rst @ 2031:82a88013a3fd

merge 1.3 into stable
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 26 Feb 2012 17:25:09 +0200
parents docs/usage/enable_git.rst@bf263968da47 docs/usage/enable_git.rst@370e995e46c2
children 934906f028b5
comparison
equal deleted inserted replaced
2005:ab0e122b38a7 2031:82a88013a3fd
1 .. _git_support:
2
3 GIT support
4 ===========
5
6
7 Git support in RhodeCode 1.3 was enabled by default.
8 Although There are some limitations on git usage.
9
10 - No hooks are runned for git push/pull actions.
11 - logs in action journals don't have git operations
12 - large pushes needs http server with chunked encoding support.
13
14 if you plan to use git you need to run RhodeCode with some
15 http server that supports chunked encoding which git http protocol uses,
16 i recommend using waitress_ or gunicorn_ (linux only) for `paste` wsgi app
17 replacement.
18
19 To use waitress simply change change the following in the .ini file::
20
21 use = egg:Paste#http
22
23 To::
24
25 use = egg:waitress#main
26
27 And comment out bellow options::
28
29 threadpool_workers =
30 threadpool_max_requests =
31 use_threadpool =
32
33
34 You can simply run `paster serve` as usual.
35
36
37 You can always disable git/hg support by editing a
38 file **rhodecode/__init__.py** and commenting out backends
39
40 .. code-block:: python
41
42 BACKENDS = {
43 'hg': 'Mercurial repository',
44 #'git': 'Git repository',
45 }
46
47 .. _waitress: http://pypi.python.org/pypi/waitress
48 .. _gunicorn: http://pypi.python.org/pypi/gunicorn