Hi there
I'm doing some deployment automation of some .NET applications in a Windows environment (for my sins.). We have a rake-based
build-script using rake-dotnet.
I'm trying out a bunch of things, and I like rake+vlad the best (it's _simplest_!), except that remote_task depending
on open4 prevents it from working on Windows/cygwin/ssh. Quite apart from anything else, it has by far the best name,
and deserves selection on that and the logo alone.
I wonder if you could give me some pointers at how to go about changing remote_task such that it uses something other
than the open4 library? I tried hacking it to make it use popen4 based on some googling around, but that didn't yield
success, so now I'm wondering what it would take to change it to use Net::SSH (which _does_ work for me on Windows -
my experiments with capistrano showed that it would remote-execute commands against my cygwin-sshd server).
I've looked at remote_task.rb, and I start to lose track of what's going on within the run command around line 186 through
214. Comparing that to how capistrano uses Net::SSH to talk to servers (around and about
http://github.com/capistrano/capistrano/blob/master/lib/capistrano/configuration/connections.rb I think, based on reading
capistrano and also capistrano_winrm, which is an adaptation of cap to use WinRM (remote management) as the remote-bridge)
and I'm losing clue, not really gaining it.
I'd be really grateful for some guidance!
Thanks
Pete |