##// END OF EJS Templates
vcs: added logging into VCS middlewares
marcink -
r753:bb7a4b59 default
parent child Browse files
Show More
@@ -23,12 +23,15 b' SimpleGit middleware for handling git pr'
23 23 It's implemented with basic auth function
24 24 """
25 25 import re
26 import logging
26 27 import urlparse
27 28
28 29 import rhodecode
29 30 from rhodecode.lib import utils2
30 31 from rhodecode.lib.middleware import simplevcs
31 32
33 log = logging.getLogger(__name__)
34
32 35
33 36 GIT_PROTO_PAT = re.compile(
34 37 r'^/(.+)/(info/refs|git-upload-pack|git-receive-pack)')
@@ -23,12 +23,15 b' SimpleHG middleware for handling mercuri'
23 23 (push/clone etc.). It's implemented with basic auth function
24 24 """
25 25
26 import logging
26 27 import urlparse
27 28
28 29 from rhodecode.lib import utils
29 30 from rhodecode.lib.ext_json import json
30 31 from rhodecode.lib.middleware import simplevcs
31 32
33 log = logging.getLogger(__name__)
34
32 35
33 36 class SimpleHg(simplevcs.SimpleVCS):
34 37
@@ -18,6 +18,7 b''
18 18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20 20
21 import logging
21 22 from urlparse import urljoin
22 23
23 24 import requests
@@ -26,6 +27,8 b' import rhodecode'
26 27 from rhodecode.lib.middleware import simplevcs
27 28 from rhodecode.lib.utils import is_valid_repo
28 29
30 log = logging.getLogger(__name__)
31
29 32
30 33 class SimpleSvnApp(object):
31 34 IGNORED_HEADERS = [
General Comments 0
You need to be logged in to leave comments. Login now