5

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?

Community
  • 1
  • 1
Andrew Matthews
  • 3,006
  • 2
  • 29
  • 42
  • 1
    My project [WebGit.NET](https://github.com/otac0n/WebGitNet) has been around for a while, but we just released version 2.0 Current Features: - Push/Pull over HTTP/HTTPS - Commit Log - Graph view - Plugin infrastructure - Impact plugin (shows users and their contribution impact) - Syntax highlighting via SHJS - Raw file downloads - Image viewer for images in the repository Things we are planning on supporting in the future: - Issue tracker plugin - Whatever *you* want! (Add a feature request on GitHub, and we'll see what we can do!) – John Gietzen Apr 15 '12 at 05:06
  • Thanks John, I'm not at that company any more, so for now it's someone else's problem. However I will take a look, because it may be an issue sometime in the future. – Andrew Matthews Apr 17 '12 at 01:32

3 Answers3

8

I just created a project. It has an ASP.NET HttpHandler that follows what Grack does. Welcome to try it out.

CharlesB
  • 86,532
  • 28
  • 194
  • 218
yysun
  • 1,026
  • 7
  • 2
8

GitAspx - By Jeremy Skinner

http://github.com/JeremySkinner/git-dot-aspx/downloads

Install Instructions

http://www.jeremyskinner.co.uk/2010/10/19/gitaspx-0-3-available/


Git Web

http://gitweb.codeplex.com/


Bonobo Git Server

http://www.chodounsky.net/bonobo-git-server/


WebGitNET

https://github.com/otac0n/WebGitNet


Alternatively ... (non-IIS)

Gitea (fork of Gogs): https://gitea.io

Gogs: https://gogs.io

SCM Manager allows you to easily setup Git, Hg, and SVN servers over HTTP/HTTPS under a separate Java process and complete with built in authentication.

http://www.scm-manager.org/
https://bitbucket.org/sdorra/scm-manager/

Brian Chavez
  • 8,048
  • 5
  • 54
  • 47
  • Thanks Brian. Is this new? I didn't see references to it at the time I posted this Q. – Andrew Matthews Nov 23 '10 at 22:25
  • any ideas on how to add a password to GitAspx? Right now anyone can push/ pull/ etc – Rob Oct 23 '11 at 19:26
  • You can try Git Candy, A Git platform based on ASP.NET MVC. Source on:http://github.com/Aimeast/GitCandy, Demo on: http://git.53wb.com/ – Aimeast Jan 07 '14 at 14:20
  • windows.. it is absurd that people even use it as a server in enterprise environments.. oh well... i have the same problem. working at a bank which doesn't understand technology.. – london-deveoper Jun 16 '18 at 17:00
0

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
  • 2,756
  • 19
  • 14