NetBeans (Ruby on Rails)、VSS 或 Subversion 哪一个更好的源代码控制?

发布于 2024-08-16 23:45:02 字数 131 浏览 10 评论 0 原文

NetBeans (Ruby on Rails)、VSS 或 subversion 哪个更好?

我想使用源代码管理,所以我想知道哪个更适合 NetBeans (RoR)。 Visual Source 安全还是 Subversion?

Which is better source control with NetBeans (Ruby on Rails), VSS or subversion?

I want to use source control, so I want to know which is better for NetBeans (RoR). Visual Source safe or Subversion?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

紧拥背影 2024-08-23 23:45:02

绝对颠覆。

我会解释原因,但 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.

2024-08-23 23:45:02

如果可能的话,我可以建议您使用 Subversion。即使按照 Microsoft 的说法,SourceSafe 也是一个相当有限的版本控制系统。它缺乏相当重要的功能,例如事务提交/修订、分支和合并支持、容易损坏的数据库等。Alan

de Smet 在这里列出了一个相当长的列表:

Visual SourceSafe:微软的源代码销毁系统

如果您出于任何原因必须使用 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:

Visual SourceSafe: Microsoft's Source Destruction System

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).

清风无影 2024-08-23 23:45:02

除 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.

最近可好 2024-08-23 23:45:02

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.

粉红×色少女 2024-08-23 23:45:02

我认为你不应该让 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.

梦冥 2024-08-23 23:45:02

请小心使用 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.

二手情话 2024-08-23 23:45:02

我之前曾在 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.

无人接听 2024-08-23 23:45:02

2019 年更新:

  • Subversion 支持页面从 2013 年开始,针对 SVN 1.8
  • 以及针对 SVN 1.9 的请求 (< a href="https://netbeans.org/bugzilla/show_bug.cgi?id=256405" rel="nofollow noreferrer">于 2015 年开放)仍在等待中。

因此,使用 Git Netbeans 集成 是一个不错的选择。

顺便说一句,Ruby 本身刚刚从 Subversion 迁移到 Git。
三年前提出了该迁移的初始请求,但当时被拒绝。

但是 bugs.ruby-lang.org 问题 14632 一年前(2018 年 3 月)开放经历了。

正如“Ruby 存储库从 Subversion 移至 Git"(2019 年 4 月 23 日),

今天,Ruby 编程语言的规范存储库已从 Subversion 移至 Git。

新存储库的 Web 界面是 https://git.ruby-lang.org ,由 cgit 提供。
我们可以直接将贡献者的提交哈希保留在 Ruby 存储库上。

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),

Today, the canonical repository of the Ruby programming language was moved to Git from Subversion.

The web interface for the new repository is https://git.ruby-lang.org, and is provided by cgit.
We can keep the commit hash from the contributor on the Ruby repository directly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文