Lee Hambley

Results 227 comments of Lee Hambley

`run_locally` is almost certainly going to go away. To help us weigh the ideal replacement for it, what exactly is your use-case for it? We know that many people use...

> I'm honestly just using it to implement something similar to https://github.com/yannlugrin/capistrano-git-push but as a SCM plugin(see this line for the basic idea). So probably not the kind of usage...

> This seems to be because in https://github.com/capistrano/capistrano/blob/master/lib/capistrano/dsl.rb#L68 the current sshkit backend is ignored and the local one is used directly. To address this point, I think that `SSHKit::Backend::Local.new(&block).run` should...

You can easily do that yourself by `capture()` and the release directory variable to count the number of releases. I don't think this belongs in the core, as most of...

Sure, a lot of these things are idempotent anyway, especially enabling and starting services, in systemd at least enabling an already enabled service is harmless, and starting an already started...

Hi Geoff, Agreed on all points, how do you suggest proceeding? I unfortunately have no time for new development on Cap, I'd be happy to try and rally the core...

It likely has to do with the changes to server resolution. One workaround would be to specify the username and domain name in a global (`~/.ssh/config`) or a project local...

You might also try: ``` ruby server '[email protected]', roles: [:full] ```

The server matching code has undergone quite some changes, you can check the code to see who the "Blame" points to and bring the discussion back here. If you can...

I just looked it up, the server "identity" matching code is all here - https://github.com/capistrano/capistrano/blob/master/spec/lib/capistrano/configuration/server_spec.rb#L35 and here https://github.com/capistrano/capistrano/blob/master/spec/lib/capistrano/configuration/server_spec.rb#L91