Show More
@@ -285,11 +285,11 b' self: super: {' | |||||
285 | }; |
|
285 | }; | |
286 | }; |
|
286 | }; | |
287 | "configparser" = super.buildPythonPackage { |
|
287 | "configparser" = super.buildPythonPackage { | |
288 |
name = "configparser-3.7. |
|
288 | name = "configparser-3.7.4"; | |
289 | doCheck = false; |
|
289 | doCheck = false; | |
290 | src = fetchurl { |
|
290 | src = fetchurl { | |
291 |
url = "https://files.pythonhosted.org/packages/4a |
|
291 | url = "https://files.pythonhosted.org/packages/e2/1c/83fd53748d8245cb9a3399f705c251d3fc0ce7df04450aac1cfc49dd6a0f/configparser-3.7.4.tar.gz"; | |
292 | sha256 = "0bfg1fn061djhs3aqqprk9sd5sxacj8wc6h6fhck57r7zks4qn97"; |
|
292 | sha256 = "0xac32886ihs2xg7w1gppcq2sgin5qsm8lqwijs5xifq9w0x0q6s"; | |
293 | }; |
|
293 | }; | |
294 | meta = { |
|
294 | meta = { | |
295 | license = [ pkgs.lib.licenses.mit ]; |
|
295 | license = [ pkgs.lib.licenses.mit ]; | |
@@ -666,11 +666,11 b' self: super: {' | |||||
666 | }; |
|
666 | }; | |
667 | }; |
|
667 | }; | |
668 | "hupper" = super.buildPythonPackage { |
|
668 | "hupper" = super.buildPythonPackage { | |
669 | name = "hupper-1.6"; |
|
669 | name = "hupper-1.6.1"; | |
670 | doCheck = false; |
|
670 | doCheck = false; | |
671 | src = fetchurl { |
|
671 | src = fetchurl { | |
672 |
url = "https://files.pythonhosted.org/packages/a4 |
|
672 | url = "https://files.pythonhosted.org/packages/85/d9/e005d357b11249c5d70ddf5b7adab2e4c0da4e8b0531ff146917a04fe6c0/hupper-1.6.1.tar.gz"; | |
673 | sha256 = "0p30l0pk63js0c0hl57c0dvffmawkwhh4yjmfaqyzgwdpdb0g3fc"; |
|
673 | sha256 = "0d3cvkc8ssgwk54wvhbifj56ry97qi10pfzwfk8vwzzcikbfp3zy"; | |
674 | }; |
|
674 | }; | |
675 | meta = { |
|
675 | meta = { | |
676 | license = [ pkgs.lib.licenses.mit ]; |
|
676 | license = [ pkgs.lib.licenses.mit ]; | |
@@ -714,15 +714,15 b' self: super: {' | |||||
714 | }; |
|
714 | }; | |
715 | }; |
|
715 | }; | |
716 | "ipdb" = super.buildPythonPackage { |
|
716 | "ipdb" = super.buildPythonPackage { | |
717 |
name = "ipdb-0.1 |
|
717 | name = "ipdb-0.12"; | |
718 | doCheck = false; |
|
718 | doCheck = false; | |
719 | propagatedBuildInputs = [ |
|
719 | propagatedBuildInputs = [ | |
720 | self."setuptools" |
|
720 | self."setuptools" | |
721 | self."ipython" |
|
721 | self."ipython" | |
722 | ]; |
|
722 | ]; | |
723 | src = fetchurl { |
|
723 | src = fetchurl { | |
724 |
url = "https://files.pythonhosted.org/packages/80 |
|
724 | url = "https://files.pythonhosted.org/packages/6d/43/c3c2e866a8803e196d6209595020a4a6db1a3c5d07c01455669497ae23d0/ipdb-0.12.tar.gz"; | |
725 | sha256 = "02m0l8wrhhd3z7dg3czn5ys1g5pxib516hpshdzp7rxzsxgcd0bh"; |
|
725 | sha256 = "1khr2n7xfy8hg65kj1bsrjq9g7656pp0ybfa8abpbzpdawji3qnw"; | |
726 | }; |
|
726 | }; | |
727 | meta = { |
|
727 | meta = { | |
728 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
728 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
@@ -1373,7 +1373,7 b' self: super: {' | |||||
1373 | }; |
|
1373 | }; | |
1374 | }; |
|
1374 | }; | |
1375 | "pyramid" = super.buildPythonPackage { |
|
1375 | "pyramid" = super.buildPythonPackage { | |
1376 |
name = "pyramid-1.10. |
|
1376 | name = "pyramid-1.10.2"; | |
1377 | doCheck = false; |
|
1377 | doCheck = false; | |
1378 | propagatedBuildInputs = [ |
|
1378 | propagatedBuildInputs = [ | |
1379 | self."hupper" |
|
1379 | self."hupper" | |
@@ -1388,8 +1388,8 b' self: super: {' | |||||
1388 | self."repoze.lru" |
|
1388 | self."repoze.lru" | |
1389 | ]; |
|
1389 | ]; | |
1390 | src = fetchurl { |
|
1390 | src = fetchurl { | |
1391 | url = "https://files.pythonhosted.org/packages/0a/3e/22e3ac9be1b70a01139adba8906ee4b8f628bb469fea3c52f6c97b73063c/pyramid-1.10.1.tar.gz"; |
|
1391 | url = "https://files.pythonhosted.org/packages/bc/0e/73de9b189ff00a963beeedaff90e27b134eedf2806279a1a3fe122fd65b6/pyramid-1.10.2.tar.gz"; | |
1392 | sha256 = "1h5105nfh6rsrfjiyw20aavyibj36la3hajy6vh1fa77xb4y3hrp"; |
|
1392 | sha256 = "0gn6sw6ml67ir150ffivc0ad5hd448p43p9z2bkyp12jh2n9n2p7"; | |
1393 | }; |
|
1393 | }; | |
1394 | meta = { |
|
1394 | meta = { | |
1395 | license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; |
|
1395 | license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
@@ -1760,11 +1760,11 b' self: super: {' | |||||
1760 | self."bleach" |
|
1760 | self."bleach" | |
1761 | self."celery" |
|
1761 | self."celery" | |
1762 | self."channelstream" |
|
1762 | self."channelstream" | |
1763 | self."cryptography" |
|
|||
1764 | self."click" |
|
1763 | self."click" | |
1765 | self."colander" |
|
1764 | self."colander" | |
1766 | self."configobj" |
|
1765 | self."configobj" | |
1767 | self."cssselect" |
|
1766 | self."cssselect" | |
|
1767 | self."cryptography" | |||
1768 | self."decorator" |
|
1768 | self."decorator" | |
1769 | self."deform" |
|
1769 | self."deform" | |
1770 | self."docutils" |
|
1770 | self."docutils" | |
@@ -2160,11 +2160,11 b' self: super: {' | |||||
2160 | }; |
|
2160 | }; | |
2161 | }; |
|
2161 | }; | |
2162 | "vine" = super.buildPythonPackage { |
|
2162 | "vine" = super.buildPythonPackage { | |
2163 |
name = "vine-1. |
|
2163 | name = "vine-1.3.0"; | |
2164 | doCheck = false; |
|
2164 | doCheck = false; | |
2165 | src = fetchurl { |
|
2165 | src = fetchurl { | |
2166 |
url = "https://files.pythonhosted.org/packages/ |
|
2166 | url = "https://files.pythonhosted.org/packages/1c/e1/79fb8046e607dd6c2ad05c9b8ebac9d0bd31d086a08f02699e96fc5b3046/vine-1.3.0.tar.gz"; | |
2167 | sha256 = "0xjz2sjbr5jrpjk411b7alkghdskhphgsqqrbi7abqfh2pli6j7f"; |
|
2167 | sha256 = "11ydsbhl1vabndc2r979dv61s6j2b0giq6dgvryifvq1m7bycghk"; | |
2168 | }; |
|
2168 | }; | |
2169 | meta = { |
|
2169 | meta = { | |
2170 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
2170 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
@@ -2250,18 +2250,18 b' self: super: {' | |||||
2250 | }; |
|
2250 | }; | |
2251 | }; |
|
2251 | }; | |
2252 | "webob" = super.buildPythonPackage { |
|
2252 | "webob" = super.buildPythonPackage { | |
2253 |
name = "webob-1.8. |
|
2253 | name = "webob-1.8.5"; | |
2254 | doCheck = false; |
|
2254 | doCheck = false; | |
2255 | src = fetchurl { |
|
2255 | src = fetchurl { | |
2256 | url = "https://files.pythonhosted.org/packages/e4/6c/99e322c3d4cc11d9060a67a9bf2f7c9c581f40988c11fffe89bb8c36bc5e/WebOb-1.8.4.tar.gz"; |
|
2256 | url = "https://files.pythonhosted.org/packages/9d/1a/0c89c070ee2829c934cb6c7082287c822e28236a4fcf90063e6be7c35532/WebOb-1.8.5.tar.gz"; | |
2257 | sha256 = "16cfg5y4n6sihz59vsmns2yqbfm0gfsn3l5xgz2g0pdhilaib0x4"; |
|
2257 | sha256 = "11khpzaxc88q31v25ic330gsf56fwmbdc9b30br8mvp0fmwspah5"; | |
2258 | }; |
|
2258 | }; | |
2259 | meta = { |
|
2259 | meta = { | |
2260 | license = [ pkgs.lib.licenses.mit ]; |
|
2260 | license = [ pkgs.lib.licenses.mit ]; | |
2261 | }; |
|
2261 | }; | |
2262 | }; |
|
2262 | }; | |
2263 | "webtest" = super.buildPythonPackage { |
|
2263 | "webtest" = super.buildPythonPackage { | |
2264 |
name = "webtest-2.0.3 |
|
2264 | name = "webtest-2.0.33"; | |
2265 | doCheck = false; |
|
2265 | doCheck = false; | |
2266 | propagatedBuildInputs = [ |
|
2266 | propagatedBuildInputs = [ | |
2267 | self."six" |
|
2267 | self."six" | |
@@ -2270,8 +2270,8 b' self: super: {' | |||||
2270 | self."beautifulsoup4" |
|
2270 | self."beautifulsoup4" | |
2271 | ]; |
|
2271 | ]; | |
2272 | src = fetchurl { |
|
2272 | src = fetchurl { | |
2273 |
url = "https://files.pythonhosted.org/packages/ |
|
2273 | url = "https://files.pythonhosted.org/packages/a8/b0/ffc9413b637dbe26e291429bb0f6ed731e518d0cd03da28524a8fe2e8a8f/WebTest-2.0.33.tar.gz"; | |
2274 | sha256 = "0qp0nnbazzm4ibjiyqfcn6f230svk09i4g58zg2i9x1ga06h48a2"; |
|
2274 | sha256 = "1l3z0cwqslsf4rcrhi2gr8kdfh74wn2dw76376i4g9i38gz8wd21"; | |
2275 | }; |
|
2275 | }; | |
2276 | meta = { |
|
2276 | meta = { | |
2277 | license = [ pkgs.lib.licenses.mit ]; |
|
2277 | license = [ pkgs.lib.licenses.mit ]; |
@@ -48,7 +48,7 b' pyparsing==2.3.0' | |||||
48 | pyramid-beaker==0.8 |
|
48 | pyramid-beaker==0.8 | |
49 | pyramid-debugtoolbar==4.5.0 |
|
49 | pyramid-debugtoolbar==4.5.0 | |
50 | pyramid-mako==1.0.2 |
|
50 | pyramid-mako==1.0.2 | |
51 |
pyramid==1.10. |
|
51 | pyramid==1.10.2 | |
52 | pyramid_mailer==0.15.1 |
|
52 | pyramid_mailer==0.15.1 | |
53 | python-dateutil |
|
53 | python-dateutil | |
54 | python-ldap==3.1.0 |
|
54 | python-ldap==3.1.0 | |
@@ -76,7 +76,7 b' venusian==1.2.0' | |||||
76 | weberror==0.10.3 |
|
76 | weberror==0.10.3 | |
77 | webhelpers2==2.0 |
|
77 | webhelpers2==2.0 | |
78 | webhelpers==1.3 |
|
78 | webhelpers==1.3 | |
79 |
webob==1.8. |
|
79 | webob==1.8.5 | |
80 | whoosh==2.7.4 |
|
80 | whoosh==2.7.4 | |
81 | wsgiref==0.1.2 |
|
81 | wsgiref==0.1.2 | |
82 | zope.cachedescriptors==4.3.1 |
|
82 | zope.cachedescriptors==4.3.1 | |
@@ -109,7 +109,7 b' gunicorn==19.9.0' | |||||
109 | waitress==1.1.0 |
|
109 | waitress==1.1.0 | |
110 |
|
110 | |||
111 | ## debug |
|
111 | ## debug | |
112 |
ipdb==0.1 |
|
112 | ipdb==0.12.0 | |
113 | ipython==5.1.0 |
|
113 | ipython==5.1.0 | |
114 |
|
114 | |||
115 | ## rhodecode-tools, special case |
|
115 | ## rhodecode-tools, special case |
@@ -6,7 +6,7 b' billiard==3.5.0.3' | |||||
6 | chameleon==2.24 |
|
6 | chameleon==2.24 | |
7 | cffi==1.12.2 |
|
7 | cffi==1.12.2 | |
8 | ecdsa==0.13 |
|
8 | ecdsa==0.13 | |
9 | hupper==1.6 |
|
9 | hupper==1.6.1 | |
10 | gnureadline==6.3.8 |
|
10 | gnureadline==6.3.8 | |
11 | jinja2==2.9.6 |
|
11 | jinja2==2.9.6 | |
12 | jsonschema==2.6.0 |
|
12 | jsonschema==2.6.0 | |
@@ -15,3 +15,5 b' pyramid-jinja2==2.7' | |||||
15 | setproctitle==1.1.10 |
|
15 | setproctitle==1.1.10 | |
16 | scandir==1.10.0 |
|
16 | scandir==1.10.0 | |
17 | tempita==0.5.2 |
|
17 | tempita==0.5.2 | |
|
18 | vine==1.3.0 | |||
|
19 | configparser==3.7.4 No newline at end of file |
@@ -12,5 +12,5 b' mock==1.0.1' | |||||
12 | cov-core==1.15.0 |
|
12 | cov-core==1.15.0 | |
13 | coverage==4.5.1 |
|
13 | coverage==4.5.1 | |
14 |
|
14 | |||
15 |
webtest==2.0.3 |
|
15 | webtest==2.0.33 | |
16 | beautifulsoup4==4.6.3 |
|
16 | beautifulsoup4==4.6.3 |
@@ -87,20 +87,22 b' class SimpleSvnApp(object):' | |||||
87 | stream = True |
|
87 | stream = True | |
88 |
|
88 | |||
89 | stream = stream |
|
89 | stream = stream | |
90 | log.debug( |
|
90 | log.debug('Calling SVN PROXY at `%s`, using method:%s. Stream: %s', | |
91 | 'Calling SVN PROXY: method:%s via `%s`, Stream: %s', |
|
91 | path_info, req_method, stream) | |
92 | req_method, path_info, stream) |
|
92 | try: | |
93 | response = requests.request( |
|
93 | response = requests.request( | |
94 | req_method, path_info, |
|
94 | req_method, path_info, | |
95 | data=data, headers=request_headers, stream=stream) |
|
95 | data=data, headers=request_headers, stream=stream) | |
|
96 | except requests.ConnectionError: | |||
|
97 | log.exception('ConnectionError occurred for endpoint %s', path_info) | |||
|
98 | raise | |||
96 |
|
99 | |||
97 | if response.status_code not in [200, 401]: |
|
100 | if response.status_code not in [200, 401]: | |
|
101 | text = '\n{}'.format(response.text) if response.text else '' | |||
98 | if response.status_code >= 500: |
|
102 | if response.status_code >= 500: | |
99 |
log.error('Got SVN response:%s with text: |
|
103 | log.error('Got SVN response:%s with text:`%s`', response, text) | |
100 | response, response.text) |
|
|||
101 | else: |
|
104 | else: | |
102 |
log.debug('Got SVN response:%s with text: |
|
105 | log.debug('Got SVN response:%s with text:`%s`', response, text) | |
103 | response, response.text) |
|
|||
104 | else: |
|
106 | else: | |
105 | log.debug('got response code: %s', response.status_code) |
|
107 | log.debug('got response code: %s', response.status_code) | |
106 |
|
108 |
@@ -98,6 +98,23 b' class SubversionRepository(base.BaseRepo' | |||||
98 | head = self._remote.lookup(None) |
|
98 | head = self._remote.lookup(None) | |
99 | return [str(r) for r in xrange(1, head + 1)] |
|
99 | return [str(r) for r in xrange(1, head + 1)] | |
100 |
|
100 | |||
|
101 | def run_svn_command(self, cmd, **opts): | |||
|
102 | """ | |||
|
103 | Runs given ``cmd`` as svn command and returns tuple | |||
|
104 | (stdout, stderr). | |||
|
105 | ||||
|
106 | :param cmd: full svn command to be executed | |||
|
107 | :param opts: env options to pass into Subprocess command | |||
|
108 | """ | |||
|
109 | if not isinstance(cmd, list): | |||
|
110 | raise ValueError('cmd must be a list, got %s instead' % type(cmd)) | |||
|
111 | ||||
|
112 | skip_stderr_log = opts.pop('skip_stderr_log', False) | |||
|
113 | out, err = self._remote.run_svn_command(cmd, **opts) | |||
|
114 | if err and not skip_stderr_log: | |||
|
115 | log.debug('Stderr output of svn command "%s":\n%s', cmd, err) | |||
|
116 | return out, err | |||
|
117 | ||||
101 | @LazyProperty |
|
118 | @LazyProperty | |
102 | def branches(self): |
|
119 | def branches(self): | |
103 | return self._tags_or_branches('vcs_svn_branch') |
|
120 | return self._tags_or_branches('vcs_svn_branch') |
General Comments 0
You need to be logged in to leave comments.
Login now