Capistrano + CVS = Fail
Posted on March 16, 2008 at 09:43 PM
We use CVS at work. We have an app that a handful of people are working on. Deployment by hand kind of sucks.
No problem, I say. Capistrano works with CVS now. Hooray!
It does "work" inasmuch as it does not barf when you run cap. It doesn't so much actually work, though. For me. The CVS command that it generates is crazy honked. Maybe my CVS is bad -- it's not you Capistrano, it's me.
I never found any documentation on what variables were available for the setting either. I did look at the source code of Capistrano, though.
CBQ (my instructor at the Big Nerd Ranch) suggested that I make the mods I need to the CVS piece of Capistrano and include it in my lib folder. I tried this, but the key to everything is in some scm method. The parameters are different form the subversion scm parameters. Great. Nothing that I try works.
I can do an update_code task to run the CVS command that does work after the honked command fails. I can also hack my lib version to not issue the scm checkout comment. That works, but I haven't figured out how to get the specific datetime directory. And it is kind of a desperate hack.
We've pump-faked converting to subversion twice for this project, and I think it is time. Luckily I have a post on my victory over this exact situation from a few weeks ago, so what am I waiting for?
I was being stubborn and wanted to make it work.
Comments
There is 1 comment on this post. Post yours →
This fail was downgraded from epic to regular. It paled in comparison to the failure that is DreamHost: http://blog.websitesbybarrett.com/past/2008/4/2/dreamhost_issues/
Post a comment
Required fields in bold.