…or, what is the best practise for ensuring that capistrano gets
plugin code to the production server? Do you hook up your plugins to
the originating repository (thereby automatically picking up changes
to the plugin), or check them into your application’s repo and use
“script/plugin update” to keep plugins fresh? Does that method mess
with your .svn directories?
thanks for any input.
jh
–
James H.
Web application developer
Vancouver, BC
“Developing a coherent political analysis is in many respects
contingent upon an ability to connect one context to another, a
process not dissimilar to playing the kid’s game of dot-to-dot.”
…or, what is the best practise for ensuring that capistrano gets
plugin code to the production server? Do you hook up your plugins to
the originating repository (thereby automatically picking up changes
to the plugin), or check them into your application’s repo and use
“script/plugin update” to keep plugins fresh? Does that method mess
with your .svn directories?
You can always bind your externals to specific version (note this -r78
thingie):
my current application in on my local computer that is under svn. when i
choose to do rake deploy on a remote server, do i need to do any extra
configuration for my plugins that work on my local system?
Åukasz Piestrzeniewicz wrote:
James H. wrote:
…or, what is the best practise for ensuring that capistrano gets
plugin code to the production server? Do you hook up your plugins to
the originating repository (thereby automatically picking up changes
to the plugin), or check them into your application’s repo and use
“script/plugin update” to keep plugins fresh? Does that method mess
with your .svn directories?
You can always bind your externals to specific version (note this -r78
thingie):
Just to add to this idea, since locking into a stable version of a
plugin is ALWAYS a good idea for your production app, after you set the
svn:externals as shwon above by Lukasz do this:
svn ci -m ‘updating svn:external svn property for backgroundrb’
vendor/plugins
svn up vendor/plugins
rake backgroundrb:setup
I am using the example of backgroundrb plugin here…this will update
your repository with the new properties and then when you update the
plugin will install based on the revision specified by -r###.
Cheers,
divotdave
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.