English 中文(简体)
解决SVN可移动性存储处的最佳办法
原标题:Best way to address SVN repository for portability
  • 时间:2012-05-25 16:34:32
  •  标签:
  • svn

我们在Windows环境

处理存储处的方式多种多样:

1) Via服务器计算机名称/FQDN(类似 svnerver.ourdomain.com)

(2) Via IP 地址

3) 通过 C: WindowsSystem3 2drivetchos ts 文件中的虚拟主机名 (或我猜虚拟主机名可以在路由器中设置, 但我们从另一个办公室通过 VPN 连接到此仓库的人, 而我们的路由器没有为他们命名分辨率) 。

我们一直用主机文件的方法3 () 来使用主机文件, 并且证明它对于可移植性是方便的—— 当我们的 SVN 服务器崩溃时, 我刚刚取下最后一个备份, 将它放在另一个服务器上, 更改主机文件中的 IP, 并且我又回到了业务中, 不需要做“ Svn 迁移 ” 。 这特别方便, 因为我们有人通过 VPN 远程连接到我们的存储库, 而他们所做的一切都只是更改主机文件中的条目 。

现在,我们正在将多个储存库合并为一体,我正在重新考虑这一办法。 这种做法是否有任何不利之处?

问题回答

选项 1 是最好的。 您现在正在做的要求每个人更新主机文件以获取新的 IP 地址。 当您试图移动主机时, DNS 总是更顺畅的选项 。





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签