我应该使用哪个 Windows SVN 服务器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/880302/
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
Which Windows SVN server should I use?
提问by John Bubriski
On the SVN Windows binaries download page, there are a few to choose from:
在 SVN Windows 二进制文件下载页面上,有几个可供选择:
http://subversion.tigris.org/getting.html#windows
http://subversion.tigris.org/getting.html#windows
Are there pros and cons to the different versions provided by the different organizations? Is there anything I should look out for?
不同组织提供的不同版本是否有优缺点?有什么我应该注意的吗?
Mainly, I just want something free that I will be running off my Vista laptop. Then I will probably do backups of the SVN files from time to time to an external hard drive.
主要是,我只是想要一些免费的东西,我将在我的 Vista 笔记本电脑上运行。然后我可能会不时将 SVN 文件备份到外部硬盘驱动器。
采纳答案by tikotzky
We chose VisualSVNbec it makes it easy to use windows authentication instead of having a separate SVN user.
我们选择VisualSVN是因为它可以轻松使用 Windows 身份验证,而不是拥有单独的 SVN 用户。
Other benefits is an easy to use GUI for permission management and for managing SVN hooks.
其他好处是易于使用的 GUI 进行权限管理和管理 SVN 挂钩。
The one thing I'm not a real fan of is the web GUI. As far as I know you cannot view web based diffs, so if that makes a difference....
我不太喜欢的一件事是 Web GUI。据我所知,您无法查看基于 Web 的差异,所以如果这会有所不同....
回答by Cody Caughlan
回答by ilyaigpetrov
I've just configured win32svnserver according to this articleby Jeff Atwood.
我刚刚根据Jeff Atwood 的这篇文章配置了win32svn服务器。
In contrast to VisualSVN win32svn is not so tightly integrated to Windows, orientated on terminal usage and open sourced under Apache License.
与 VisualSVN 相比,win32svn 没有与 Windows 紧密集成,面向终端使用并在 Apache 许可下开源。
回答by David W.
All of these solutions setup the standard Apache HTTPD server with Subversion integration. They do no real magic.
所有这些解决方案都使用 Subversion 集成来设置标准的 Apache HTTPD 服务器。他们没有真正的魔法。
UberSVN and VisualSVN provide a pretty front end interface, but behind the scenes, it's just standard Apache setup. If you are not a CM, and don't want that to be your job, that's not a bad alternative. However, do not ever try to tweak the configuration behind their backs. They will either revert the changes, or really mess things up.
UberSVN 和 VisualSVN 提供了一个漂亮的前端界面,但在幕后,它只是标准的 Apache 设置。如果您不是 CM,并且不希望这成为您的工作,那么这不是一个糟糕的选择。但是,永远不要试图在他们背后调整配置。他们要么恢复更改,要么真的把事情搞砸。
However, I use Apache httpd in order to access my Windows Active Directory. I setup my users, so their Windows account and password are their Subversion account and password. I setup a Active Directory Security Group or a Active Directory Exchange Group as my authorization database. If a user is a member of this group, they have access to the repository via their Windows login. If not, they don't have access. Clean and simple. I am no longer in the user authorization business which gives me more time to play Candy Crush..I mean.. other CM work.
但是,我使用 Apache httpd 来访问我的 Windows Active Directory。我设置了我的用户,所以他们的 Windows 帐户和密码是他们的 Subversion 帐户和密码。我设置了一个 Active Directory 安全组或一个 Active Directory Exchange 组作为我的授权数据库。如果用户是该组的成员,则他们可以通过其 Windows 登录访问存储库。如果没有,他们就没有访问权限。干净简单。我不再从事用户授权业务,这让我有更多时间玩 Candy Crush..我的意思是.. 其他 CM 工作。
Otherwise, I might as well just use svnserve
: It's faster than Apache httpd, much easier to setup, and more stable too.
否则,我不妨直接使用svnserve
:它比 Apache httpd 更快,更容易设置,也更稳定。
If you're not going to use Active Directory as your authorization backend, you are technical, and don't mind getting your hands a bit dirty, I would use either play svnserve
(and set it up as a Windows Service. No need for any of these packages.
如果你不打算使用 Active Directory 作为你的授权后端,你是技术人员,并且不介意让你的手有点脏,我会使用任何一种播放svnserve
(并将其设置为Windows 服务。不需要任何这些包。
If you are going to use Active Directory as your authorization backend (and why not?), I would use CollabNet Subversion Edge to help setup Apache httpd and Subversion and do all of my configuration manually. Setting up Active Directory via LDAP via Apache httpd isn't really that difficult, and once done, you probably never have to touch again. The documentation on integrating Apache httpd/Subversion/LDAP/ActiveDirectory can easily be found.
如果您打算使用 Active Directory 作为您的授权后端(为什么不呢?),我将使用 CollabNet Subversion Edge 来帮助设置 Apache httpd 和 Subversion 并手动完成我的所有配置。通过 LDAP 和 Apache httpd 设置 Active Directory 并没有那么困难,一旦完成,您可能再也不必接触了。可以轻松找到有关集成 Apache httpd/Subversion/LDAP/ActiveDirectory 的文档。
I suggest you look at the on line Subversion Documentationand go through it. If thinking about using the svn
command line client makes you woozy, then get VisualSVN or UberSVN and let them take care of things for you. If you don't mind going all 1990 with your computer, then forget about the pretty front ends, and use CollabNet Edge.
我建议您查看在线Subversion 文档并阅读它。如果考虑使用svn
命令行客户端让您头晕目眩,那么请使用 VisualSVN 或 UberSVN,让他们为您处理事情。如果您不介意用您的计算机运行整个 1990 年,那么请忘记漂亮的前端,而使用 CollabNet Edge。
One more thing, I am not a fan of ViewVCthat comes with CollabNet Edge. It has to use file://
protocol and must run on the same server as your Subversion server software. Instead, I prefer Sventon. It can run on a separate server, and you can use the same credentials as your standard Subversion credentials. Plus, I like the interface a bit better.
还有一件事,我不喜欢CollabNet Edge 附带的ViewVC。它必须使用file://
协议并且必须与您的 Subversion 服务器软件在同一台服务器上运行。相反,我更喜欢Sventon。它可以在单独的服务器上运行,并且您可以使用与标准 Subversion 凭据相同的凭据。另外,我更喜欢这个界面。
回答by andersop
Putting in a vote for CollabNet Subversion Edge, it's dead simple to set up and administer via a web frontend. I'm comfortable editing config files if I must, especially coming from a Linux environment, but it's nice not to be requiredto do so - CollabNet makes that easy.
为 CollabNet Subversion Edge 投票,通过 Web 前端设置和管理非常简单。我很舒服编辑配置文件,如果我必须从Linux环境尤其是即将到来,但它很高兴没有被要求这样做- CollabNet的让那么容易。
回答by John Gietzen
We use an Apache SSPI module with the Collab.Net subversion server.
我们将 Apache SSPI 模块与 Collab.Net Subversion 服务器一起使用。
Has worked perfectly for us.
非常适合我们。
回答by Andre
Try UberSVN http://www.wandisco.com/ubersvn/download#windowsThe only downside is that is requires lot of server memory. Best free SVN server I ever tried. VisualSVN free version is OK as well.
尝试 UberSVN http://www.wandisco.com/ubersvn/download#windows唯一的缺点是需要大量的服务器内存。我尝试过的最好的免费 SVN 服务器。VisualSVN 免费版也可以。