logo       

Capistrano Git bugfix + patch. Looking for +1 comments on the bug report : msg#00091

lang.ruby.capistrano.general

Subject: Capistrano Git bugfix + patch. Looking for +1 comments on the bug report so I can Verify


Hi all,

I submitted a bugfix and patch to fix a bug with the Git support in
Capistrano today. You can find the bug here:

http://dev.rubyonrails.org/ticket/10515

If you are using Git support in Capistrano please take a look, try out
the fix, and please add a +1 in the bug comments (following the
instructions here: http://dev.rubyonrails.org/) so I can get it
accepted and applied to the next Capistrano release. All rake tests
continue to pass on Capistrano with this fix applied.

Bug Summary:

The 'sync' method in the Git SCM did not respect the setting
of :scm_command and tried to find the 'git' executable on the remote
machine's path. If git was in a non-standard location or not on the
remote path an exception would occur. This patch makes the 'sync'
method behave consistently with other Git SCM methods in that it will
use the :scm_command value to execute the needed git command from the
specified location.

e.g. will now remotely execute '/opt/local/bin/git ...' instead of
'git ...' when :scm_command is set to '/opt/local/bin/git'.

Thanks!

Glenn


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise