windows 适用于小型团队的 Visual Studio 2008 源代码管理
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/141500/
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
Visual Studio 2008 source control for small teams
提问by craigmoliver
I work on a small web team where I am the only .NET developer currently using Visual Studio 2008 Professional to build and maintain a few web applications. I am about to start training another member of our team so we purchased him a copy of Visual Studio 2008 Professional. I've looked into Visual Source Safe, but I'm dubious. I don't like that is file system based. Ideally, the system would work with SQL Server 2005 and plug into Visual Studio. Windows based solutions are the best because of the IT environment of the organization I work for.
我在一个小型 Web 团队工作,我是目前唯一使用 Visual Studio 2008 Professional 构建和维护一些 Web 应用程序的 .NET 开发人员。我即将开始培训我们团队的另一名成员,因此我们为他购买了 Visual Studio 2008 Professional 的副本。我已经研究了 Visual Source Safe,但我很怀疑。我不喜欢那是基于文件系统的。理想情况下,该系统将与 SQL Server 2005 配合使用并插入 Visual Studio。由于我工作的组织的 IT 环境,基于 Windows 的解决方案是最好的。
What are my options for a source control system?
源代码控制系统有哪些选择?
(Forgive me if the answer exists in another thread.)
(如果答案存在于另一个线程中,请原谅我。)
回答by Chris Wenham
Subversionhas good integration with Visual Studio 2008 through VisualSVNand Ankh.
Subversion通过VisualSVN和Ankh与 Visual Studio 2008 有很好的集成。
SourceSafe is dangerous. You're right that a filesharing-based SCM is a bad idea, and Microsoft themselves have downplayed it and replaced it with a new SCM that comes with the Team edition of Visual Studio.
SourceSafe 是危险的。你说得对,基于文件共享的 SCM 是一个坏主意,微软自己已经淡化了它,并用 Visual Studio 团队版附带的新 SCM 取而代之。
回答by Jacob Proffitt
I can't believe nobody has mentioned SourceGear Vault. It stores your code in SQL Server, integrates extremely well into VS, and is an excellent replacement/alternative to Source Safe. Since their single-user license is free, I even use it when coding at home. Plus, it's the company founded/run by Eric Sink.
我不敢相信没有人提到SourceGear Vault。它将您的代码存储在 SQL Server 中,非常好地集成到 VS 中,并且是 Source Safe 的绝佳替代品/替代品。由于他们的单用户许可证是免费的,我什至在家里编码时使用它。另外,它是由Eric Sink创立/经营的公司。
回答by cmaduro
Has any body given Git any thought? There is a very usable solution for windows called GitExtensions here. It integrates with Visual Studio Professional trough an extra menu and optional toolbar. Unlike Subversion, Git is distributed, which means you can commit locally to your copy of the repository, and afterwards push the changes to the server. The bottom line? Git is FAST! It's storage is also more efficient than subversion, which means your repository takes up less space.
有没有人考虑过 Git?有一个用于Windows称为GitExtensions一个非常有用的解决方案在这里。它通过额外的菜单和可选的工具栏与 Visual Studio Professional 集成。与 Subversion 不同,Git 是分布式的,这意味着您可以在本地提交到您的存储库副本,然后将更改推送到服务器。底线?Git 很快!它的存储也比 subversion 更高效,这意味着您的存储库占用的空间更少。
回答by Gustavo Rubio
Definitely, as most people says, Subversion+ VisualSVN.
当然,正如大多数人所说,Subversion+ VisualSVN。
VisualSVN is a fairly cheap addon at $49, subversion is free and very stable. We use that for teams of 10-15 people and it works really well for us. The only con is that it is file-system based.
VisualSVN 是一个相当便宜的插件,售价 49 美元,Subversion 是免费的并且非常稳定。我们将它用于 10-15 人的团队,它对我们来说非常有效。唯一的缺点是它是基于文件系统的。
On the other hand, if you have a very specific need for it not to be on the file system i would NOT recommend Visual Source Safe, on my last job we had a lot of trouble with it and lost precious days of work. If you want to go that way get something like sourcegear vaultwhich is database based. There is also Team Foundation Server from Microsoft but I believe it is really expensive (and heavy) for small teams.
另一方面,如果您有一个非常特殊的需求,不希望它出现在文件系统上,我不会推荐 Visual Source Safe,在我的上一份工作中,我们遇到了很多麻烦并且失去了宝贵的工作时间。如果您想采用这种方式,请使用基于数据库的sourcegear Vault 之类的东西。还有来自 Microsoft 的 Team Foundation Server,但我相信它对于小型团队来说真的很贵(而且很重)。
回答by Ken Ray
Subversion. Free. Visual SVN is a great add on, and is fairly inexpensive.
颠覆。自由。Visual SVN 是一个很好的附加组件,而且相当便宜。
回答by Nick Haddad
Team Foundation Serverdoes satisfy your requirements of working with SQL Server, but is probably overkill for such a small development team.
Team Foundation Server确实满足了您使用 SQL Server 的要求,但对于如此小的开发团队来说可能有点过头了。
I would recommend using Subversion(free) for source control along with VisualSVN($49) for the visual studio integration. There is also an excellent Subversion client for windows explorer called TortoiseSVN, which is awesome.
我建议使用Subversion(免费)进行源代码控制,并使用VisualSVN(49 美元)进行 Visual Studio 集成。还有一个出色的 Windows 资源管理器 Subversion 客户端,称为TortoiseSVN,非常棒。
The nice thing about giving something like Subversion a try is that it is free and very easy to set up. It will also scale up to a pretty large team. It is worth a shot before investing effort in MSFTs Team Foundation Server.
尝试像 Subversion 这样的东西的好处是它是免费的并且很容易设置。它还将扩大到一个相当大的团队。在为 MSFT 的 Team Foundation Server 投入精力之前,值得一试。
回答by MidnightGun
Visual SVNmight work for you, it is supposed to integrate well and is relatively cheap at ~$50 per license. I've been considering buying it myself, so far I just use Tortoise SVN as I do relatively little non-Eclipse work right now.
Visual SVN可能适合您,它应该可以很好地集成并且相对便宜,每个许可证约 50 美元。我一直在考虑自己购买它,到目前为止我只使用 Tortoise SVN,因为我现在做的非 Eclipse 工作相对较少。
回答by Lafe
I recommend subversion, coupled with AnkhSVN, a plugin (Free!) that integrates Subversion with the Visual Studio IDE.
我推荐subversion,再加上AnkhSVN,这是一个将 Subversion 与 Visual Studio IDE 集成的插件(免费!)。
If you use the svnserve distribution that's free from CollabNet (Windows binaries: here), setup is very simple. Administration is very easy. And the product works very well.
如果您使用 CollabNet 中免费的 svnserve 发行版(Windows 二进制文件:此处),则设置非常简单。管理非常容易。而且该产品效果很好。
It is still file-system based, but that isn't really a problem. Make sure that you back-up regularly, both full dumps and hot-copies (both of which are explained in detail in the documentation).
它仍然是基于文件系统的,但这并不是真正的问题。确保定期备份完整转储和热拷贝(文档中详细解释了这两者)。
回答by 17 of 26
Microsoft's Team Foundation Server integrates fully into VS2008 and uses SQL Server for its back end. The downside is that it's a very expensive solution.
Microsoft 的 Team Foundation Server 完全集成到 VS2008 中,并使用 SQL Server 作为其后端。缺点是这是一个非常昂贵的解决方案。
回答by OregonGhost
Why not use a SVN server? That way, all your developers can use it, and there is a very good free Windows Client for it (TortoiseSVN). You can integrate SVN support with TortoiseSVN into Visual Studio with VisualSVN, which is commercial, but not actually expensive.
为什么不使用 SVN 服务器?这样,您的所有开发人员都可以使用它,并且有一个非常好的免费 Windows 客户端 (TortoiseSVN)。您可以将带有 TortoiseSVN 的 SVN 支持集成到带有 VisualSVN 的 Visual Studio 中,这是商业的,但实际上并不昂贵。