I''m getting very frustrated trying to keep my rails application in version control. Has anyone published a strategy for this? What do I need to include and what can I ignore? How do I handle upgrades to rails? Anoop
Which one are you using? I have no problems with subversion; quite the opposit, Its a major asset in my daily work. You should keep your entire application in subversion but i''d suggest to set the svn:ignore prop on *.log in the log/ directory On Sun, 30 Jan 2005 20:29:27 -0500, Anoop Ranganath <anoop-n+pgpQUzlgC1Z/+hSey0Gg@public.gmane.org> wrote:> I''m getting very frustrated trying to keep my rails application in > version control. > > Has anyone published a strategy for this? What do I need to include > and what can I ignore? How do I handle upgrades to rails? > > Anoop > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tobi http://www.hieraki.org - Open source book authoring http://blog.leetsoft.com - Technical weblog
Actually using cvs is not a problem. I''m talking about migrating from rails 0.8.5 to 0.9.0 for example. There''s just no easy way to do that in place. So I follow the instructions and create a new rails environment, and start moving controllers and views over. Then because the other directory was the one under version control, I copy everything back. It''s not impossible, but it''s a big pain. I was wondering how you guys were dealing with that kind of thing. Anoop On Jan 30, 2005, at 9:44 PM, Tobias Luetke wrote:> Which one are you using? > > I have no problems with subversion; quite the opposit, Its a major > asset in my daily work. > > You should keep your entire application in subversion but i''d suggest > to set the svn:ignore prop on *.log in the log/ directory > > > On Sun, 30 Jan 2005 20:29:27 -0500, Anoop Ranganath > <anoop-n+pgpQUzlgC1Z/+hSey0Gg@public.gmane.org> wrote: >> I''m getting very frustrated trying to keep my rails application in >> version control. >> >> Has anyone published a strategy for this? What do I need to include >> and what can I ignore? How do I handle upgrades to rails? >> >> Anoop >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > > -- > Tobi > http://www.hieraki.org - Open source book authoring > http://blog.leetsoft.com - Technical weblog > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
* Anoop Ranganath <anoop-n+pgpQUzlgC1Z/+hSey0Gg@public.gmane.org> [0158 02:58]:> Actually using cvs is not a problem.Until you want to move a file :)> I''m talking about migrating from rails 0.8.5 to 0.9.0 for example. > There''s just no easy way to do that in place. So I follow the > instructions and create a new rails environment, and start moving > controllers and views over. Then because the other directory was the > one under version control, I copy everything back.I updated rails gems, then ran rails /tmp/newrails and ran diff -r /tmp/newrails /path/to/rails/app but I could easily have just tagged what I dad, run rails /path/to/rails/app then done a ''svn status / svn revert / svn commit'' as needed.... -- ''...and then we wrote scripts to write the configs for us, and using these scripts, we made mistakes in a faster, more automated manner.'' -- A Gentle Introduction to Cricket, on MRTG configuration Rasputin :: Jack of All Trades - Master of Nuns
According to Anoop Ranganath:> I''m talking about migrating from rails 0.8.5 to 0.9.0 for example. > There''s just no easy way to do that in place. So I follow the > instructions and create a new rails environment, and start moving > controllers and views over. Then because the other directory was the > one under version control, I copy everything back.The way I''ll do it in the future is to branch the current application, generate a new env. with rails then copy everything that changed. I''m very careful not to modify any file generated by rails (except inside app/ and public/). I''m not using CVS though, CVS branches sucks. I''m using GNU arch / bazaar. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto-0kjVc+YyuDZX+h8frlqCcVAUjnlXr6A1@public.gmane.org Darwin snuadh.freenix.org Kernel Version 7.7.0: Sun Nov 7 16:06:51 PST 2004