[Rails] ANN: svn_conf generator -- making "svn import" easy and fun
Roustem Karimov
devlists-rubyonrails at devlists.com
Wed Apr 26 03:32:17 GMT 2006
Rails make it easy to start a new application. At the same time, import
a new project into Subversion is not that simple -- there are quite few
files that should be ignored.
I used to manually remove added log files and tmp/cache, tmp/sessions,
tmp/sockets files after the import and then go through the painful
process of setting svn:ignore properties.
There is an easier way -- simply create .cvsignore files before the
import and svn will honor them.
I created svn_conf generator which will add a new rake task to your
project to automate this. I hope you will find it useful.
Instructions:
1. Install svn_conf generator
gem install --source http://dist.agilewebsolutions.com/
svn_conf_generator-0.0.2.gem svn_conf_generator
2. Generate svn_conf in a new rails project (not imported into svn)
./script/generate svn_conf
3. Run svn:configure task to create .cvsignore files
rake svn:configure
Best regards, Roustem
roustem.karimov at agilewebsolutions.com
--
Posted with http://DevLists.com. Sign up and save your mailbox.
More information about the Rails
mailing list