NetBeans (Ruby on Rails)、VSS 或 Subversion 哪一个更好的源代码控制?
NetBeans (Ruby on Rails)、VSS 或 subversion 哪个更好?
我想使用源代码管理,所以我想知道哪个更适合 NetBeans (RoR)。 Visual Source 安全还是 Subversion?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
绝对颠覆。
我会解释原因,但 Jeff Atwood 已经做得很好并且该博客条目链接到其他包含大量信息的网站。
像躲避瘟疫一样避开 VSS。使用 SVN 或 Git 会更好。
Absolutely Subversion.
I'd explain why, but Jeff Atwood has done a great job already and the blog entry links to other sites with great information.
Avoid VSS like the plague. You are far better off with SVN or Git.
如果可能的话,我可以建议您使用 Subversion。即使按照 Microsoft 的说法,SourceSafe 也是一个相当有限的版本控制系统。它缺乏相当重要的功能,例如事务提交/修订、分支和合并支持、容易损坏的数据库等。Alan
de Smet 在这里列出了一个相当长的列表:
如果您出于任何原因必须使用 VSS 确保安装所有服务包和更新,因为 RTM 版本中存在许多高度严重的问题(例如 此更新,更新不会随 Windows 更新自动提供)。
I can give you the recommendation to use Subversion if possible. Even according to Microsoft, SourceSafe is a rather limited version control system. It lacks quite essential features such as transactional commits/revisions, branching and merge support, an easily corrupted database etc.
Alan de Smet has put up a rather long list here:
If you for any reason have to live with VSS make sure that you install all service packs and updates as there are a number of highly critical issues in the RTM version (e.g. this update, updates don't come automatically with Windows update).
除 SourceSafe 之外的任何内容。不过,严肃地说,基于 Java 的 IDE(例如 Netbeans、Eclipse 和 IDEA)通常对 Subversion 具有最好的支持。它是免费的、快速的、稳定的。
Anything but SourceSafe. In all seriousness though, Java-based IDEs such as Netbeans, Eclipse and IDEA usually have the best support for Subversion. It's free, and it's fast, and it's solid.
Subversion Netbeans 模块作为平台的一部分提供,并且比 VSS 更可能受到支持。
The Subversion Netbeans module is provided as part of the platform and is more likely to be supported than the VSS one.
我认为你不应该让 IDE 来决定使用哪个源代码(控制程序)。如果有的话,应该是相反的,但最好是选择每个(IDE 和源代码控制)的决定由如果所选的 IDE 没有与源代码控制紧密集成,这也不是世界末日或阻碍。换句话说,如果它们没有集成,您仍然可以非常高效。
I don't think you should let an IDE to decide for you which Source ( Control program to use. If anything, it should be the other way around, but best if the decision to choose each (IDE and source control) are decided by its own merits. In case the chosen IDE does not have tight integration with the source control, it's not the end of the world or a show stopper. In other words, you can still be very productive if they're not integrated.
请小心使用 Netbeans 中的任何源代码控制。
您需要非常谨慎地确保坚持使用您的 Netbeans 版本支持的 Subversion 版本。假设您使用的是 Windows,您可能还会安装 tortoise,并且它会不断检查 tortoise 和 tortoise。您可能会愚蠢地选择进行 SVN 更新,然后突然间您的 netbeans 颠覆集成就搞砸了。
如果您搜索 netbeans subversion 插件,很多顶部条目都包含“升级”和“损坏”一词。
我的建议是完全避免 IDE 集成。您可以减少可能损坏和干扰您工作的物品数量。如果您学习了命令行选项,您就会变得独立于平台/IDE。
不久前,由于不断摆弄插件、netbean 版本和 svn 版本而感到沮丧,我放弃了 Netbeans 中的 SVN。
Be careful using any source control within Netbeans.
You need to be very cautious about ensuring that you stick to a version of Subversion that your version of Netbeans supports. Assuming you are using windows you will probably also install tortoise and it constantly checks for tortoise & SVN updates which you may foolishly opt to do and then suddenly your netbeans subversion integration is screwed up.
If you search for netbeans subversion plugin a lot of the top entries include the words "upgrade" and "broke".
My advice would be to avoid the IDE integration altogether. You reduce the number of things that can break and interfere with your work. If you learn the command line options you become platform/ide independent.
I gave up on SVN in Netbeans a while ago after getting frustrated with the constant fiddling with the plugin, netbean versions, and svn versions.
我之前曾在 Netbeans 中使用过 subversion,它非常有效 - subversion 允许您将源代码组织在一个漂亮、简单的文件夹结构中,同时几乎得到普遍支持。除了所有反对 VSS 的人之外,SVN 几乎肯定是最好的“传统”版本控制系统。
I have used subversion with Netbeans before and it is very effective - subversion allows you to keep your source organised in a nice, simple folder structure whilst being almost universally supported. Besides all of the VSS haters out there, SVN is almost certainly the best "traditional" versioning system out there.
2019 年更新:
因此,使用 Git Netbeans 集成 是一个不错的选择。
顺便说一句,Ruby 本身刚刚从 Subversion 迁移到 Git。
三年前提出了该迁移的初始请求,但当时被拒绝。
但是 bugs.ruby-lang.org 问题 14632 一年前(2018 年 3 月)开放经历了。
正如“Ruby 存储库从 Subversion 移至 Git"(2019 年 4 月 23 日),
Update 2019:
So using the Git Netbeans integration is a good choice.
As an aside, Ruby itself just got migrated from Subversion to Git.
The initial request for that migration was opened three years ago, and at the time rejected.
But bugs.ruby-lang.org issue 14632 opened one year ago (March 2018) went through.
As announced in "Ruby Repository Moved to Git from Subversion" (April, 23rd 2019),