##// END OF EJS Templates
updated CONTRIBUTORS...
marcink -
r2058:fb51a6fc beta
parent child Browse files
Show More
@@ -15,4 +15,5 b' List of contributors to RhodeCode projec'
15 Les Peabody <lpeabody@gmail.com>
15 Les Peabody <lpeabody@gmail.com>
16 Jonas Oberschweiber <jonas.oberschweiber@d-velop.de>
16 Jonas Oberschweiber <jonas.oberschweiber@d-velop.de>
17 Matt Zuba <matt.zuba@goodwillaz.org>
17 Matt Zuba <matt.zuba@goodwillaz.org>
18 Aras Pranckevicius <aras@unity3d.com> No newline at end of file
18 Aras Pranckevicius <aras@unity3d.com>
19 Tony Bussieres <t.bussieres@gmail.com>
@@ -20,6 +20,7 b' fixes'
20 - fixed git protocol issues with repos-groups
20 - fixed git protocol issues with repos-groups
21 - fixed git remote repos validator that prevented from cloning remote git repos
21 - fixed git remote repos validator that prevented from cloning remote git repos
22 - fixes #370 ending slashes fixes for repo and groups
22 - fixes #370 ending slashes fixes for repo and groups
23 - fixes #368 improved git-protocol detection to handle other clients
23
24
24 1.3.1 (**2012-02-27**)
25 1.3.1 (**2012-02-27**)
25 ----------------------
26 ----------------------
@@ -82,9 +82,11 b' log = logging.getLogger(__name__)'
82
82
83 GIT_PROTO_PAT = re.compile(r'git-upload-pack|git-receive-pack|info\/refs')
83 GIT_PROTO_PAT = re.compile(r'git-upload-pack|git-receive-pack|info\/refs')
84
84
85
85 def is_git(action):
86 def is_git(action):
86 return action in ['pull','push']
87 return action in ['pull','push']
87
88
89
88 class SimpleGit(BaseVCSController):
90 class SimpleGit(BaseVCSController):
89
91
90 def _handle_request(self, environ, start_response):
92 def _handle_request(self, environ, start_response):
@@ -230,14 +232,16 b' class SimpleGit(BaseVCSController):'
230 return User.get_by_username(username)
232 return User.get_by_username(username)
231
233
232 def __get_action(self, environ):
234 def __get_action(self, environ):
233 """Maps git request commands into a pull or push command.
235 """
236 Maps git request commands into a pull or push command.
234
237
235 :param environ:
238 :param environ:
236 """
239 """
237 service = environ['QUERY_STRING'].split('=')
240 service = environ['QUERY_STRING'].split('=')
238 if len(service) > 1:
241 if len(service) > 1:
239 service_cmd = service[1]
242 service_cmd = service[1]
240 mapping = {'git-receive-pack': 'push',
243 mapping = {
244 'git-receive-pack': 'push',
241 'git-upload-pack': 'pull',
245 'git-upload-pack': 'pull',
242 }
246 }
243
247
General Comments 0
You need to be logged in to leave comments. Login now