Custom capistrano task for working with scm repository
        Posted  
        
            by Trevor
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Trevor
        
        
        
        Published on 2010-03-28T17:00:36Z
        Indexed on 
            2010/03/28
            17:03 UTC
        
        
        Read the original article
        Hit count: 340
        
capistrano
|ruby-on-rails
Is there any way to create a custom capistrano task for performing other actions on a scm repository?
For instance, I would like to create a task that will checkout a particular folder from my repository and then symlink it into the shared/ directory of the main project on my server.
I know this can be done by creating a task and explicity defining the "svn co ..." command along with the scm username, password, and repository location. But this would display the password in plain text. Are there any built-in capistrano variables/methods that would help in this process?
© Stack Overflow or respective owner