Files
@ d053efba3c0c
Branch filter:
Location: kallithea/docs/usage/git_support.rst - annotation
d053efba3c0c
1.1 KiB
text/prs.fallenstein.rst
pullrequests: saving raw_id instead of branch in org_ref
This fixes an issue when the pull request is created while the top commit
included is not the tip. In that case, the faulty code would but
branch:default:default as org_ref, that causes the pull request view to show
all commits on that branch instead of the wanted commit(s) only. The fix will
result in a branch:default:1234567890abcdef1234567890abcdef (e.g)
This fixes an issue when the pull request is created while the top commit
included is not the tip. In that case, the faulty code would but
branch:default:default as org_ref, that causes the pull request view to show
all commits on that branch instead of the wanted commit(s) only. The fix will
result in a branch:default:1234567890abcdef1234567890abcdef (e.g)
c45fb78969a3 c45fb78969a3 17c9393e9645 c45fb78969a3 c45fb78969a3 c45fb78969a3 c45fb78969a3 03bbd33bc084 03bbd33bc084 18d34a56a736 03bbd33bc084 03bbd33bc084 8b8edfc25856 03bbd33bc084 c45fb78969a3 03bbd33bc084 03bbd33bc084 c45fb78969a3 03bbd33bc084 8b8edfc25856 c45fb78969a3 c45fb78969a3 18d34a56a736 18d34a56a736 18d34a56a736 8b8edfc25856 8b8edfc25856 03bbd33bc084 c45fb78969a3 8b8edfc25856 8b8edfc25856 8b8edfc25856 8b8edfc25856 370e995e46c2 03bbd33bc084 03bbd33bc084 8b8edfc25856 8b8edfc25856 03bbd33bc084 c45fb78969a3 c45fb78969a3 8b8edfc25856 c45fb78969a3 c45fb78969a3 c45fb78969a3 c45fb78969a3 c45fb78969a3 c45fb78969a3 8b8edfc25856 | .. _git_support:
===========
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 do however require a 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 waitress_ for `paster serve` instead of the built-in `paste` WSGI server.
The default paste server is controlled in the .ini file::
use = egg:waitress#main
or::
use = egg:gunicorn#main
Also make sure to comment out the following options::
threadpool_workers =
threadpool_max_requests =
use_threadpool =
Disabling Git
-------------
You can always disable git/hg support by editing a
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
|