tags:

views:

242

answers:

3

I recently read Scott Chacon's post "Smart HTTP Transport", and I was hoping that it might have become possible via IIS (windows 7) since that post was written. I haven't been able to find anything showing how it can be done, and Apache is not an option in my IIS 7 based environment. So, I'm at a loss (git daemon was foiled for me by a combination of AVG anti-virus and AD).

I want to provide LDAP authenticated read/write access for selected users. So this question seems not to be relevant.

Do you know of a way to provide access to GIT via IIS?

A: 

You might be able to do this with the Rack support in IronRuby (http://github.com/jschementi/ironruby/tree/master/Merlin/Main/Hosts/IronRuby.Rack) and the Git http server rack app (http://github.com/schacon/grack). You need at least Git 1.6.6, possibly 1.7.0 for this to work - I'm not sure that it will, but it might. If you're running any Java app servers, you can compile Grack into a WAR, too, if that's an option.

Scott Chacon
I'm not sure whether that's a 'yes' or a 'no', but it certainly sounds like an 'it's hard'. Thanks Scott.
Andrew Matthews
+1  A: 

I just created a project (http://gitweb.codeplex.com). It has an ASP.NET HttpHandler that follows what Grack does. Welcome to try it out.

yysun

yysun
thanks, yysun. I will! PS. Why codeplex, and not github? :)))
Andrew Matthews
you are on github already. good work!
Andrew Matthews
works nicely. thanks!
Andrew Matthews
not so nicely across the network: "did you run git update-server-info on the server?"
Andrew Matthews