修订控制系统建议 [英] Revision Control System Recommendations

查看:112
本文介绍了修订控制系统建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在独立开发工作中达成一致,我想开始使用Subversion技术。



到目前为止,我只是通过导出我当前的数据库进行备份,并将其与我的PHP项目文件一起加载。



我已经在线阅读了一些文章,并与Linus Torvalds一起观看了视频 - 一般的判断似乎是Git是旧的CVS技术。


$ b $我目前不在Linux下运行,所有的PHP都从Windows - > Eclipse中工作。由于Eclipse在JVM上运行,跳入Linux - > Eclipse将会或多或少地透明化文件系统。



我想要完成的是能够保持一个不断的修订历史 - 但我希望这几乎完全透明。此外,我在一个MVC框架中工作,我希望能够将我的意见发布给设计师,并使其在修订控制系统中工作。



将会完成我所需要的或者是一个单身劳动力的开支太多了?
你推荐我用什么来保存修订历史?



我也要求服务是免费的!

解决方案

尝试这些搜索



https://stackoverflow.com/search?q=free+svn+hosting



https://stackoverflow.com/search?q=free+mercurial+hosting



至于选择哪一个 - 我倾向于同意 google review这里



  • 学习曲线。由于许多因素,Git具有比Mercurial
    更陡峭的学习曲线。 Git有
    更多的命令和选项,其中
    的卷可以吓倒新的
    用户。 Mercurial的文档趋向于
    更完整,更容易为
    新手阅读。 Mercurial的
    术语和命令也是一个更接近Subversion和CVS的
    ,使得
    对于从
    这些系统迁移而言是熟悉的。


  • Windows支持。 Git有一个强大的Linux遗产,在
    下运行
    的官方方式是使用cygwin,从
    的Windows用户的角度来看,这远远不如
    。一个MinGw的港口
    Git越来越受欢迎,但Windows
    仍然是Git世界的二等公民
    。基于有限的
    测试,MinGW端口似乎是
    完全功能,但有点
    缓慢。通常
    在Linux或Mac OS上感觉到的操作
    X在
    Windows上花了几十分之一秒。 Mercurial是基于Python的,
    ,官方发行版在Windows下运行
    (以及
    Linux,Mac OS X等)。



但是他的手脚紧握:


维护。 Git需要定期的
维护库(即
git-gc),Mercurial不需要
这样的维护。但是,请注意,对于管理
的客户端磁盘空间(参见上面的客户端
存储管理),
Mercurial还要更少


我不想在git repos上做维护。这只是不能接受的。


摘要



执行工作条款
由于
它的高效的HTTP传输协议,Mercurial具有明显的优势。



在功能方面,Git更多
功能强大,但是由于使用更复杂,这往往会被
抵消。


我还没有移动我所有的东西都可以使用 - SVN对于大多数项目来说都是适用的 - 特别是单人项目。


I've reached a point in my independent development work where I would like to start using Subversion techniques.

Up to now, I've been simply making backups by exporting my current database, and zipping them together with my PHP project files.

I've read some articles online and watched a video with Linus Torvalds - the general verdict seems to be that Git is in and old CVS techniques are out.

I'm not currently operating under Linux, I do all PHP work out of Windows -> Eclipse. Due to the fact that Eclipse runs on JVM, jumping into Linux -> Eclipse will be more or less transparent - file system aside.

What I would like to accomplish is being able to keep a constant revision history - But I want this to be almost entirely transparent. Also, I work in an MVC framework, and I would like to be able to release my views to Designers, and have them work from within the revision control system too.

Will Egit accomplish what I need? Or is it too much overhead for a one-man workforce? What do you recommend I use so that I can keep a revision history?

I also require the service to be free!

解决方案

Try these searches

https://stackoverflow.com/search?q=free+svn+hosting

https://stackoverflow.com/search?q=free+mercurial+hosting

As for choosing which one - I tend to agree with the google review here:

  • Learning Curve. Git has a steeper learning curve than Mercurial due to a number of factors. Git has more commands and options, the volume of which can be intimidating to new users. Mercurial's documentation tends to be more complete and easier for novices to read. Mercurial's terminology and commands are also a closer to Subversion and CVS, making it familiar to people migrating from those systems.

  • Windows Support. Git has a strong Linux heritage, and the official way to run it under Windows is to use cygwin, which is far from ideal from the perspective of a Windows user. A MinGw based port of Git is gaining popularity, but Windows still remains a "second class citizen" in the world of Git. Based on limited testing, the MinGW port appeared to be completely functional, but a little sluggish. Operations that normally felt instantaneous on Linux or Mac OS X took several tenths of a second on Windows. Mercurial is Python based, and the official distribution runs cleanly under Windows (as well as Linux, Mac OS X, etc).

But his is the hands-down clincher:

Maintenance. Git requires periodic maintenance of repositories (i.e. git-gc), Mercurial does not require such maintenance. Note, however, that Mercurial is also a lot less sophisticated with respect to managing the clients disk space (see Client Storage Management above).

I don't want to have to do "maintenance" on the git repos. That's just unacceptable.

Summary

In terms of implementation effort, Mercurial has a clear advantage due to its efficient HTTP transport protocol.

In terms of features, Git is more powerful, but this tends to be offset by it being more complicated to use.

I have not moved all my stuff to mercurial - SVN is just fine for most projects - especially single-person projects.

这篇关于修订控制系统建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆