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