Calling all rails darcs users! We may be in the minority, but I’m
sure we can still share some know how here.
Question: how are you managing your vendor/rails directory?
svn externals seems to be the preferred option for svn folk (at least
this is the approach recommended in the Agile 2 beta). Is there a way
to get the same functionality within darcs? That would seem to be the
ideal solution.
I’ve tried a few things:
Check vendor/rails into darcs
This makes things very easy, but do you really want all those files
in your repository? Especially since with darcs it’s so easy to
branch, and each branch is the entire repository.
Link vendor/rails to a local svn checkout of rails
svn co http://dev.rubyonrails.org/svn/rails/trunk /somewhere/rails
ln -s /somewhere/rails (run in vendor)
This works and means that at least you only need one copy of edge
rails. However symbolic links are not supported by darcs, and you
will have additional issues when deploying with capistrano (or
otherwise).
Please share your solutions or comments on the above.
Thanks!
Martyn