Revision control for Ruby

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.

thiagobrandam wrote:

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.

I use a subversion server (running on a linux server) and connect to it
through the Subclipse plugin to Eclipse. If you don't want a separate
server, you can create a local svn repo on your workstation and connect
directly to it through the Subclipse or any other svn client.

James

···

--
Posted via http://www.ruby-forum.com/\.

I use redmine (http://www.redmine.org/\) with a subversion back end.
Works great.

-- Mark.

···

On Sep 29, 9:24 pm, thiagobrandam <thiagobran...@gmail.com> wrote:

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.

I use rcs locally on cygwin.

robert

···

2008/9/30 thiagobrandam <thiagobrandam@gmail.com>:

Does anyone know any good revision control tool/software for Ruby?

--
remember.guy do |as, often| as.you_can - without end

thiagobrandam wrote:

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.

I love Mercurial (http://www.selenic.com/mercurial/wiki/\). It's distributed,
really fast and available for Linux MAC OS X AND Windows (contrary to Git).
Via TortoiseHg it gets integrated into Windows File-Explorer (like
TortoiseSVN).
For deployment-Reasons (Rails) i also use SVN, but i think deployment is
also possible via Mercurial.

Andi

P.S. Please excuse my very poor English-speaking (writing) :wink:

thiagobrandam wrote:

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.

I guess the point is that any old revision control system will do. None of them are specific to the language you use to write your software. Pick one use it if you don't like it pick a different one for the next project. Repeat until you like one.

···

--
Ron Fox
NSCL
Michigan State University
East Lansing, MI 48824-1321

thiagobrandam wrote:

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.
  

since nobody else mentioned it, i think git is great. it is a distributed vcs (like mercurial), with a much better branch/merge support than svn and a lot of power commands to allow you to make your commits organized. there's also github which offers hosting for git repositories and seems to be very popular with git developers (rails is hosted there)

ittay

···

--
--
Ittay Dror <ittay.dror@gmail.com>

I'm going to go against pretty much everyone else in this thread and say "No."

Ruby, like most programming languages, keeps source code as plain text.
Most revision control tools work with plain text.

So I know of all kinds of good "revision control tools" (or "Source Control
Management", if you like), but none specifically "for Ruby", in any sense.
None of them are written in Ruby, and all of them will work equally well for
any language which stores its source code as plain text.

That said, Rails recently moved from Subversion to Git. Since then, there
seems to be a stampede of Ruby projects moving to Git, and all kinds of tiny
projects hosted on Github.

···

On Monday 29 September 2008 20:24:13 thiagobrandam wrote:

Does anyone know any good revision control tool/software for Ruby?

thiagobrandam wrote:

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.

I work in NetBeans 6.1: it has a perfect support for Subversion, which I use. It also have built-in support for CVS and Mercurial.

thiagobrandam wrote:

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.

Use what you want! Here are some options:

- RCS
- CVS
- Subversion
- TLA (Tom Lord's Arch)
- Git
- Darcs
- Mercurial (hg)
- Perforce
- Bazaar
- rsync (yes, rsync)
- cp (you'd be surprised how many multinational shops do it this way)

Fancier tools like aegis build on top of some of the above mentioned
tools and provide more robust (read: anal) features that are meant to be
leveraged by a team working together.

Sorry if I missed someone's flavor of the month.

Just remember that *switching* is the hard part, not choosing. I suggest
using something that looks interesting on a low-impact/low-consequence
project and seeing if you like it. If you encounter any gripes or things
you don't like, really, if anything bugs you, switch to a different one
on the next project. Eventually, you will find something you like and
accept its warts (trust me, they all have them, even current golden
children git and mercurial).

Buy-in is pretty much guaranteed with all of these, although
distributing your code in development will be considerably harder with
the RCS, cp, and rsync "options".

HTH,

-Erik

···

--
Posted via http://www.ruby-forum.com/\.

Robert Klemme wrote:

···

2008/9/30 thiagobrandam <thiagobrandam@gmail.com>:

Does anyone know any good revision control tool/software for Ruby?

I use rcs locally on cygwin.

robert

Ah, so that's what they were talking about. You see, I got a call from
1991 today--they were looking for their version control system. I'm
glad you found it!
--
Posted via http://www.ruby-forum.com/\.

In article <48e1e2a3$0$6620$9b4e6d93@newsspool3.arcor-online.net>,

···

<twinandi@web.de> wrote:

I love Mercurial (http://www.selenic.com/mercurial/wiki/\). It's distributed,
really fast and available for Linux MAC OS X AND Windows (contrary to Git).
Via TortoiseHg it gets integrated into Windows File-Explorer (like
TortoiseSVN).

And it is nicely integrated in things like Redmine and Trac as development
platforms.

--
Ollivier ROBERT -=- EUROCONTROL/CND/VIF/SEU -=-
Systems Engineering Unit

I think I mentioned git. In fact, I received a git patch for Rake over this list serve a only few days ago. It's really good compared to the way things used to be in the pre-distributed days. I just had git suck the patch right out of my email and it applied it to my local Rake repository. Very nice.

···

On 30 sept. 08, at 13:20, Ittay Dror wrote:

thiagobrandam wrote:

Does anyone know any good revision control tool/software for Ruby?
Thanks in advance.

since nobody else mentioned it, i think git is great. it is a distributed vcs (like mercurial), with a much better branch/merge support than svn and a lot of power commands to allow you to make your commits organized. there's also github which offers hosting for git repositories and seems to be very popular with git developers (rails is hosted there)

ittay

--
--
Ittay Dror <ittay.dror@gmail.com>

thiagobrandam wrote:

> Does anyone know any good revision control tool/software for Ruby?
> Thanks in advance.

I love Mercurial (http://www.selenic.com/mercurial/wiki/\). It's distributed,
really fast and available for Linux MAC OS X AND Windows (contrary to Git).

Which part? The "distributed", the "really fast", or the cross-platform?

Git works natively on Linux and OS X, and has a mingw32 port for Windows.
Whether mingw32 is "native" is up for debate, but it's certainly more native
(and faster!) than Cygwin.

Git is also just about the fastest SCM I've EVER used -- not that I've
benchmarked, but I very much doubt Mercurial (being written in Python) has it
beat.

And yes, Git is distributed.

For deployment-Reasons (Rails) i also use SVN, but i think deployment is
also possible via Mercurial.

Deployment is possible via just about anything you want. The only real
limitation is what you're deploying to, or how much you're allowed to muck
with the deployment process.

Keep in mind that Rails itself is developed on Git, and the Rails source is on
Github. So yes, Capistrano does support several flavors of Git deployments,
and I wouldn't be surprised if there was also a Mercurial plugin.

···

On Tuesday 30 September 2008 03:30:02 twinandi@web.de wrote:

Funny that you mention "stampede". The longer I watch communities of people the more I am convinced that "herd" is an adequate description of how they behave most of the time. Just think about the current financial crisis... More often than not hype or publicity seem to steer behavior of larger groups of people instead of reasoning.

Note: I am not saying that Git is bad or anything. I just talk about an impression I have about a general pattern of behavior. The same reasoning could be applied to web frameworks etc.

Kind regards

  robert

···

On 01.10.2008 06:54, David Masover wrote:

That said, Rails recently moved from Subversion to Git. Since then, there seems to be a stampede of Ruby projects moving to Git, and all kinds of tiny projects hosted on Github.

<snip>
Personally I share the same love for Mercurial, although I did not
really like the Tortoise interface.
hg line commands are so great already.
HTH
Robert

···

On Tue, Sep 30, 2008 at 10:30 AM, <twinandi@web.de> wrote:

--
C'est véritablement utile puisque c'est joli.

Antoine de Saint Exupéry

Depending how you work I think safety and productivity improvements can be large with many of the newer systems. There are several that are worth a look. I've used Mercurial a little in the past and liked it. I also use Bazaar a lot and find it easy to use and very powerful. Probably the biggest issue I have with Bazaar is that a plugin is required to use external diff tools. It's no big deal, but that probably ought to be standard. I'm wondering if git is gaining the most momentum in the Ruby community. Maybe that matters. On Windows git might still depend on Cygwin, although I've heard this might not be true anymore. All of these tools offer large improvements over Subversion and CVS. I would avoid older designs like those used in Subversion and CVS.

···

On 30 sept. 08, at 04:59, Ollivier Robert wrote:

In article <48e1e2a3$0$6620$9b4e6d93@newsspool3.arcor-online.net>,
<twinandi@web.de> wrote:

I love Mercurial (http://www.selenic.com/mercurial/wiki/\). It's distributed,
really fast and available for Linux MAC OS X AND Windows (contrary to Git).
Via TortoiseHg it gets integrated into Windows File-Explorer (like
TortoiseSVN).

And it is nicely integrated in things like Redmine and Trac as development
platforms.

--
Ollivier ROBERT -=- EUROCONTROL/CND/VIF/SEU -=-
Systems Engineering Unit

David Masover wrote:

Which part? The "distributed", the "really fast", or the cross-platform?

:smiley: The combination of all of them ... mostly the cross-platform-thing ...
the distribution makes life easier ... and the Speed ... hmm... for me
thats not THAT critical.

Git works natively on Linux and OS X, and has a mingw32 port for Windows.
Whether mingw32 is "native" is up for debate, but it's certainly more
native (and faster!) than Cygwin.
Git is also just about the fastest SCM I've EVER used -- not that I've
benchmarked, but I very much doubt Mercurial (being written in Python) has
it beat.

And yes, Git is distributed.

I've tried Git a few Weeks ago, and yes it's speed on really large
repositories iss probably unbeatable (for now?) Because of the "Git-hype"
(everyone speaks about it, its initially made by Linus ... woooah ;), Rails
switched to Git, Github was launched, etc. ) i first tried to use Git and
later switched over to Mercurial, because sometimes i have to use Windows,
just because a Linux is not available. And then i think Mercurial is easier
(for me!) to install. Just windoze-double-click.
So the easy cross-platform-use is the really cause, why i decided to use
mercurial internal instead of Git.

Keep in mind that Rails itself is developed on Git, and the Rails source
is on Github. So yes, Capistrano does support several flavors of Git
deployments, and I wouldn't be surprised if there was also a Mercurial
plugin.

I think i have to dig deeper in capistrano, off the beaten track. And/or i
should try Git again ...

As everytime it gets to a decission wether to use Software A or Software B,
in the end its just subjective

Andi

http://video.google.com/videosearch?client=safari&rls=en&q=mercurial&ie=UTF-8&oe=UTF-8&um=1&sa=X&oi=video_result_group&resnum=4&ct=title#

···

On 1 oct. 08, at 15:56, Robert Dober wrote:

On Tue, Sep 30, 2008 at 10:30 AM, <twinandi@web.de> wrote:
<snip>
Personally I share the same love for Mercurial, although I did not
really like the Tortoise interface.
hg line commands are so great already.
HTH
Robert

--
C'est véritablement utile puisque c'est joli.

Antoine de Saint Exupéry

Thank you guys. I didn't know my doubt would generate such rich
discussion. This semester I'm having OOP classes
and as a final exam, we will have to build a software using OO
concepts. As this is pretty much the first time my group
will have to deal with revision management. We decided to program in
Ruby (solely, no Rails at all) and we were wondering if there was
such thing
as a good revision control tool that best fits our needs (turns out it
doesn't according to the discussion...). We talked to our teacher
and he decided that the Subversion repository of Google Code would be
the standard for all groups. Thanks once again for all the help. I
found
Robert Klemme's and David Masover's opinions particularly interesting.
Help us think about hypeXreasoning issues and focus on what really
matters.

Thiago