Show More
@@ -20,7 +20,7 b' Users Guide' | |||||
20 | :maxdepth: 1 |
|
20 | :maxdepth: 1 | |
21 |
|
21 | |||
22 | usage/general |
|
22 | usage/general | |
23 |
usage/ |
|
23 | usage/git_support | |
24 | usage/statistics |
|
24 | usage/statistics | |
25 | usage/backup |
|
25 | usage/backup | |
26 |
|
26 |
@@ -1,13 +1,35 b'' | |||||
1 | .. _enable_git: |
|
1 | .. _git_support: | |
2 |
|
2 | |||
3 | Enabling GIT support (beta) |
|
3 | GIT support | |
4 | =========================== |
|
4 | =========== | |
5 |
|
5 | |||
6 |
|
6 | |||
7 |
Git support in RhodeCode 1. |
|
7 | Git support in RhodeCode 1.3 was enabled by default. | |
8 | However,if you would like to test git support please feel free to re-enable it. |
|
8 | Although There are some limitations on git usage. | |
9 | To re-enable GIT support just uncomment the git line in the |
|
9 | ||
10 | file **rhodecode/__init__.py** |
|
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:: | |||
|
20 | ||||
|
21 | use = egg:Paste#main | |||
|
22 | ||||
|
23 | To:: | |||
|
24 | ||||
|
25 | use = egg:waitress#main | |||
|
26 | ||||
|
27 | In you .ini file, then you can simply run `paster serve` as usual. | |||
|
28 | ||||
|
29 | ||||
|
30 | ||||
|
31 | You can always disable git/hg support by editing a | |||
|
32 | file **rhodecode/__init__.py** and commenting out backends | |||
11 |
|
33 | |||
12 | .. code-block:: python |
|
34 | .. code-block:: python | |
13 |
|
35 | |||
@@ -16,9 +38,5 b' file **rhodecode/__init__.py**' | |||||
16 | #'git': 'Git repository', |
|
38 | #'git': 'Git repository', | |
17 | } |
|
39 | } | |
18 |
|
40 | |||
19 | .. note:: |
|
41 | .. _waitress: http://pypi.python.org/pypi/waitress | |
20 | Please note that the git support provided by RhodeCode is not yet fully |
|
42 | .. _gunicorn: http://pypi.python.org/pypi/gunicorn No newline at end of file | |
21 | stable and RhodeCode might crash while using git repositories. (That is why |
|
|||
22 | it is currently disabled.) Thus be careful about enabling git support, and |
|
|||
23 | certainly don't use it in a production setting! |
|
|||
24 | No newline at end of file |
|
General Comments 0
You need to be logged in to leave comments.
Login now