I have a (not fully tested) cvs plugin pretty much implemented for
Capistrano 2.0.  It should hopefully at least serve as a starting
point that can be improved upon.

The plugin I wrote is her: http://thephillips.mn.googlepages.com/cvs.rb
(goes in lib/capistrano/recipes/deploy/scm)

The unit test is here: http://thephillips.mn.googlepages.com/cvs_test.rb
(goes in test/deploy/scm)

The most painful point of having CVS support in Capistrano appears to
be the fact that CVS doesn't have the notion of a repository-wide
revision identifier (tags sort of fit this requirement but they can be
moved around so it's not the same as a subversion revision).  The way
Capistrano got around that in previous versions was to use the
datestamp of the most recent checkin.  This can be very slow depending
on the size of your repository.

Anyway, I haven't had a chance to test this plugin outside of the unit
tests I wrote for it.  So, please take a look and feel free to not use
it and write your own it if it's just looks like a giant hack! :-)  I
hope it works though.

Brian

On May 31, 4:19 pm, Wes Gamble <[EMAIL PROTECTED]> wrote:
> All (but maybe really Jamis),
>
> I am currently on a Rails project that uses CVS as its SCM system, and
> am using Cap 1.4.1 to deploy.  I'd like to upgrade to 2.0, but as I
> heard at RailsConf, the support for CVS is being dropped in 2.0.
>
> I am working on convincing my client to convert to Subversion, but I
> also wanted to investigate how much work it would be for me to add CVS
> support to Capistrano.  I did a _baby_ patch to the CVS support for
> Capistrano and as I remember, the Cap code was so well modularized that
> the specific stuff for CVS was not much at all.  So my gut feeling is
> that making Capistrano work w/CVS wouldn't be that terrible.  Can
> someone verify that gut feeling?  If my gut feeling is right, I may
> attempt to add support for CVS to Cap.
>
> Thanks,
> Wes Gamble


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to