windows 通过 IIS 使用 GIT Smart HTTP
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2987099/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Using GIT Smart HTTP via IIS
提问by Andrew Matthews
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).
我最近阅读了 Scott Chacon 的帖子“智能 HTTP 传输”,并且我希望自从该帖子撰写以来它可能通过 IIS(Windows 7)成为可能。我找不到任何显示如何完成它的内容,并且在我的基于 IIS 7 的环境中 Apache 不是一个选项。所以,我不知所措(git daemon 被 AVG 防病毒和 AD 的组合挫败了)。
I want to provide LDAP authenticated read/write access for selected users. So thisquestion seems not to be relevant.
我想为选定的用户提供 LDAP 身份验证的读/写访问权限。所以这个问题似乎不相关。
Do you know of a way to provide access to GIT via IIS?
您知道一种通过 IIS 提供对 GIT 访问的方法吗?
回答by yysun
回答by Brian Chavez
GitAspx- By Jeremy Skinner
GitAspx- 杰里米·斯金纳 (Jeremy Skinner)
http://github.com/JeremySkinner/git-dot-aspx/downloads
http://github.com/JeremySkinner/git-dot-aspx/downloads
Install Instructions
安装说明
http://www.jeremyskinner.co.uk/2010/10/19/gitaspx-0-3-available/
http://www.jeremyskinner.co.uk/2010/10/19/gitaspx-0-3-available/
Git Web
网络版
Bonobo Git Server
Bonobo Git 服务器
http://www.chodounsky.net/bonobo-git-server/
http://www.chodounsky.net/bonobo-git-server/
WebGitNET
网络版
https://github.com/otac0n/WebGitNet
https://github.com/otac0n/WebGitNet
Alternatively ...(non-IIS)
或者......(非IIS)
Gitea(fork of Gogs): https://gitea.io
Gitea(Gogs 的分叉):https://gitea.io
Gogs: https://gogs.io
戈格斯:https: //gogs.io
SCM Managerallows you to easily setup Git, Hg, and SVN servers over HTTP/HTTPS under a separate Java process and complete with built in authentication.
SCM 管理器允许您在单独的 Java 进程下通过 HTTP/HTTPS 轻松设置 Git、Hg 和 SVN 服务器,并完成内置身份验证。
http://www.scm-manager.org/
https://bitbucket.org/sdorra/scm-manager/
http://www.scm-manager.org/
https://bitbucket.org/sdorra/scm-manager/
回答by Scott Chacon
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.
您可以使用 IronRuby ( http://github.com/jschementi/ironruby/tree/master/Merlin/Main/Hosts/IronRuby.Rack) 和 Git http 服务器机架应用程序 ( http: //github.com/schacon/grack)。你至少需要 Git 1.6.6,可能需要 1.7.0 才能让它工作 - 我不确定它会不会,但它可能会。如果您正在运行任何 Java 应用程序服务器,您也可以将 Grack 编译为 WAR,如果这是一个选项的话。