##// END OF EJS Templates
docs updates on git support
marcink -
r2023:c45fb789 beta
parent child Browse files
Show More
@@ -1,59 +1,59 b''
1 .. _index:
1 .. _index:
2
2
3 .. include:: ./../README.rst
3 .. include:: ./../README.rst
4
4
5 Users Guide
5 Users Guide
6 -----------
6 -----------
7
7
8 **Installation:**
8 **Installation:**
9
9
10 .. toctree::
10 .. toctree::
11 :maxdepth: 1
11 :maxdepth: 1
12
12
13 installation
13 installation
14 setup
14 setup
15 upgrade
15 upgrade
16
16
17 **Usage**
17 **Usage**
18
18
19 .. toctree::
19 .. toctree::
20 :maxdepth: 1
20 :maxdepth: 1
21
21
22 usage/general
22 usage/general
23 usage/enable_git
23 usage/git_support
24 usage/statistics
24 usage/statistics
25 usage/backup
25 usage/backup
26
26
27 **Develop**
27 **Develop**
28
28
29 .. toctree::
29 .. toctree::
30 :maxdepth: 1
30 :maxdepth: 1
31
31
32 contributing
32 contributing
33 changelog
33 changelog
34
34
35 **API**
35 **API**
36
36
37 .. toctree::
37 .. toctree::
38 :maxdepth: 1
38 :maxdepth: 1
39
39
40 api/api
40 api/api
41 api/models
41 api/models
42
42
43
43
44 Other topics
44 Other topics
45 ------------
45 ------------
46
46
47 * :ref:`genindex`
47 * :ref:`genindex`
48 * :ref:`search`
48 * :ref:`search`
49
49
50 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
50 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
51 .. _python: http://www.python.org/
51 .. _python: http://www.python.org/
52 .. _django: http://www.djangoproject.com/
52 .. _django: http://www.djangoproject.com/
53 .. _mercurial: http://mercurial.selenic.com/
53 .. _mercurial: http://mercurial.selenic.com/
54 .. _bitbucket: http://bitbucket.org/
54 .. _bitbucket: http://bitbucket.org/
55 .. _subversion: http://subversion.tigris.org/
55 .. _subversion: http://subversion.tigris.org/
56 .. _git: http://git-scm.com/
56 .. _git: http://git-scm.com/
57 .. _celery: http://celeryproject.org/
57 .. _celery: http://celeryproject.org/
58 .. _Sphinx: http://sphinx.pocoo.org/
58 .. _Sphinx: http://sphinx.pocoo.org/
59 .. _vcs: http://pypi.python.org/pypi/vcs No newline at end of file
59 .. _vcs: http://pypi.python.org/pypi/vcs
@@ -1,24 +1,42 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.1 was disabled due to current instability issues.
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
14 BACKENDS = {
36 BACKENDS = {
15 'hg': 'Mercurial repository',
37 'hg': 'Mercurial repository',
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