Eclipse 中分布式版本控制的建议

发布于 2024-09-19 06:08:30 字数 269 浏览 7 评论 0原文

我们是一家小型软件公司,使用 CVS 和 SVN 进行版本控制(使用 Eclipse 编写代码)已有大约 10 年的时间。我们现在正在考虑将一些项目切换为使用分布式版本控制系统。

我们希望使用 git、mercurial 等工具。但是——这是关键——我们的新系统必须与 Eclipse 配合得非常。 CVS 和 SVN 与 Eclipse 紧密集成(通过 Subclipse 等插件),因此我们切换到的任何新版本控制系统都需要有自己的符合该标准的插件。

有这样的事情存在吗?

We're a small software company that has been using CVS and SVN for version control (and Eclipse for writing code) for about 10 years. We're now considering switching some of our projects to use a distributed version control system.

We're looking to use something like git, mercurial, etc. But--and here's the key--our new system has to work very well with Eclipse. CVS and SVN are tightly integrated with Eclipse (via plugins like Subclipse), so any new version control system that we switch to will need to have its own plugins that live up to that standard.

Does anything like this exist?

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

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

发布评论

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

评论(3

天赋异禀 2024-09-26 06:08:30

Eclipse 致力于 Git,正如 Alblue 所说的去年

在这一点上,Eclipse 和 DVCS 的未来取决于 eGit,无论它好坏。 Eclipse 3.6系列很可能默认支持eGit;它基于 NetBeans 将用于 NetBeans 实现的同一个 JGit 库,因此至少它可以保持最新。

关于 Eclipse 上不同 DVCS 的优点存在长期争论 bug 257706 最终结果是 Git 成为 Eclipse 未来的 DVCS,而不是其他 DVCS。

您将在此 EclipseCon2010 演示文稿中找到第一个教程。
Eclipse wiki 中有更详细的页面。

您可以在 Eclipse 中的 Ekke 的页面

alt text

 alt text

Ekke 当时(2010 年 3 月)的结论很好地总结了这两个 DVCS 工具与 Eclipse 的关系:

也许您会问:为什么选择 Mercurial?难道您不知道 Eclipse 项目迟早会使用 EGit / JGit 吗?
是的 – 我知道,我当然会使用 EGit 访问 Eclipse 项目。
但我一直在寻找一种现在有效并能满足我们工作流程需求的解决方案。使用 DVCS,您可以自由地组织和使用存储库,您可以在所有存储库之间轻松推/拉。这并不总是那么容易解决 - 但您使用的工具应该很容易解决。

我真的很感谢 EGit / JGit 团队上个月所做的辛勤工作,在 Helios 发布之前还有很多工作要做。
感谢您修复错误,我将在测试和报告问题方面为您提供支持。也许在某些月份里世界看起来会有所不同 – 有一些方法可以将 hg 转换为 git http://hg-git .github.com/ 或快速导出。我将尝试这些转换器 - EclipseCon 之后的项目,以提供 redView 和 red-open 的源代码以及 Git 存储库。

Eclipse is committed to Git, as Alblue put it last year:

At this point, the future of Eclipse and DVCS lies with eGit, whether it's good or not. It is quite likely that the Eclipse 3.6 series will have eGit support by default; and it's based on the same JGit library that NetBeans will use for the NetBeans implementation, so at least it's likely to be kept up to date.

There was a long debate about the merits of different DVCSs on Eclipse bug 257706 and the net result was for Git as the future DVCS for Eclipse, rather than other DVCSs.

You will find a first tutorial in this EclipseCon2010 presentation.
And a more detailed page in the Eclipse wiki.

You can see both Mercurial and Git in action in Eclipse in those Ekke's pages.

alt text

vs.

alt text

Ekke's conclusion at the time (March 2010) was a nice summary of where the two DVCS tools stand with Eclipse:

Perhaps you ask: why Mercurial ? Didn’t you know that sooner or later Eclipse projects will use EGit / JGit ?
Yes – I know and I’ll of course use EGit to access Eclipse Projects.
But I was looking for a solution working now and resolving the needs of our workflows. Working with DVCS you get much freedom how to organize and use your repositiories where you can easy push / pull around between all of them. This won’t be always easy to solve – but the tool you’re using should be.

I really appreciate the hard work from EGit / JGit team be done last months and there’s much to do until release of Helios.
Thanks for fixing bugs and I’ll support you with testing and reporting issues. Maybe in some months the world looks different – there are some ways to convert hg to git http://hg-git.github.com/ or fast-export. I’ll try these converter – projects after EclipseCon to provide redView’s and red-open’s sources also as Git Repositories.

蒗幽 2024-09-26 06:08:30

Git 有一个插件,来自软件更新工具的 Lookup EGit。但它仍处于孵化阶段,所以我对它的稳定性不予置评。不过到目前为止看起来还不错。

A plugin exists for Git, Lookup EGit from the Software Updates tool. Its still in incubation though, so I've no comment on how stable it is. Seems ok so far though.

晒暮凉 2024-09-26 06:08:30

我们的团队从 svn 转换为 git,但目前它的集成度还不够紧密。我们更喜欢 CLI,而不是一般的 GUI。我想未来它会变得更好,但现在这可能是一个争论点。不过我们都对 git 非常满意,并且很高兴使用它。

Our team converted from svn to git, but it is currently not as tightly integrated. We prefer the CLI for it rather than the gui in general. I imagine in the future it gets better, but for now it may be a point of contention. We're all very satisfied with git though, and glad to be using it.

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