##// END OF EJS Templates
http-proto: in case incoming requests come in as chunked stream the data to VCSServer....
http-proto: in case incoming requests come in as chunked stream the data to VCSServer. This should solve a problem of uploading large files to rhodecode. In case of git with small postBuffers GIT client streams data to the server. In such case we want to stream the data back again to vcsserver without reading it fully inside RhodeCode.

File last commit:

r1324:efd94f49 default
r1423:8b2e03e1 default
Show More
__init__.py
63 lines | 1.9 KiB | text/x-python | PythonLexer
project: added all source files and assets
r1 # -*- coding: utf-8 -*-
license: updated copyright year to 2017
r1271 # Copyright (C) 2010-2017 RhodeCode GmbH
project: added all source files and assets
r1 #
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License, version 3
# (only), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# This program is dual-licensed. If you wish to learn more about the
# RhodeCode Enterprise Edition, including its added features, Support services,
# and proprietary license terms, please see https://rhodecode.com/licenses/
"""
RhodeCode, a web based repository management software
versioning implementation: http://www.python.org/dev/peps/pep-0386/
"""
import os
import sys
import platform
VERSION = tuple(open(os.path.join(
os.path.dirname(__file__), 'VERSION')).read().split('.'))
BACKENDS = {
'hg': 'Mercurial repository',
'git': 'Git repository',
'svn': 'Subversion repository',
}
CELERY_ENABLED = False
CELERY_EAGER = False
# link to config for pylons
CONFIG = {}
Martin Bornhold
config: Fix settings for celery tasks.
r626 # Populated with the settings dictionary from application init in
# rhodecode.conf.environment.load_pyramid_environment
PYRAMID_SETTINGS = {}
project: added all source files and assets
r1 # Linked module for extensions
EXTENSIONS = {}
__version__ = ('.'.join((str(each) for each in VERSION[:3])))
comments: add comments type into comments.
r1324 __dbversion__ = 64 # defines current db version for migrations
project: added all source files and assets
r1 __platform__ = platform.system()
__license__ = 'AGPLv3, and Commercial License'
__author__ = 'RhodeCode GmbH'
setup: updated url to source code.
r1233 __url__ = 'https://code.rhodecode.com'
project: added all source files and assets
r1
is_windows = __platform__ in ['Windows']
is_unix = not is_windows
is_test = False
dan
tests: add missing disable_error_handler to rhodecoode/__init__.py
r736 disable_error_handler = False