通过apache来访问svn, 这样就可以通过http来访问svn了。jinkens里配置svn url。

使用Apache访问SVN的优缺点:

There are some disadvantages of using Apache's http for your Subversion server:

It's slower
It's harder to setup
Then, there are advantages:

It uses a standard port (80) that's not normally blocked by firewalls.
It can be integrated with LDAP and Active Directory
You can use HTTPS which will encrypt updates and checkouts (including user passwords).
You can have multiple repositories use the same Apache httpd instance. With svnserve, you can only do a single repository per instance and if you have multiple repositories on one system, you'll have to run each svnserve process on a non-standard port.

My personal take: If you are doing a corporate environment, the advantages of using the HTTP or HTTPS protocol way outweigh the disadvantages. If you are talking about a small repository and you and your friends, I run svnserve simply because of the lower overhead and easier setup. However, in those circumstances, I just use Github and not worry about it.

I run Subversion as my personal source control system on my machine, and I use svnserve in that instance.

 

参考文档:

  • httpd, the Apache HTTP server Chapter 6. Server Configuration : http://svnbook.red-bean.com/en/1.1/ch06s04.html
  • http://www.blogjava.net/jasmine214--love/archive/2010/09/26/332989.html
  • CentOS7:搭建SVN + Apache 服务器: https://www.cnblogs.com/eastson/p/6051269.html
  • CentOS 6/7环境下搭建SVN服务 - 基础篇 : http://www.jiazi.cn/blog/?id=48
  • [原]使用mod_dav_svn访问Subversion仓库: http://www.linuxfly.org/post/449/
  • 用 Apache 和 Subversion 搭建安全的版本控制环境: https://www.ibm.com/developerworks/cn/java/j-lo-apache-subversion/
  • mod_dav_svn Configuration Directives http://svnbook.red-bean.com/en/1.7/svn.ref.mod_dav_svn.conf.html
  • mod_dav_svn Configuration Directives: https://www.kancloud.cn/i281151/svn/197208
  • https://stackoverflow.com/questions/6227893/why-choose-mod-dav-svn-instead-of-svnserve-a-repository-browser

发表评论