mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
d6a3b3efa6
To accommodate Airbrussh, this commit makes the following changes: 1. Adds the airbrussh gem as a dependency 2. Bumps the sshkit dependency to 1.8.0 (for the new `use_format` method) 3. Introduces a `:format_options` setting Out of the box, Capistrano now defaults to the following: set :format, :airbussh It also requires the airbrussh gem at the appropriate point in the Capistrano boot process, which allows Airbrussh to register its `deploy:failed` hook. We also change the default Airbrussh settings slightly, to acknowledge the fact that Airbrussh will now be the first impression new Capistrano users have of the tool. Specifically: * Enable command output (hiding the command output is tidy but probably will confuse new users who will not know what their deploy script is doing) * Disable the "using airbrussh format" banner at startup Finally, this commit adds an official mechanism for sending a hash of options to the formatter initializer. This lets users easily change Airbrussh's settings. set :format_options, color: false, truncate: false, ... If `:format_options` are set, Capistrano will send them to the formatter object using SSHKit's `use_format` factory method. As of the latest SSHKit, all formatters inheriting from `Formatter::Abstract` now accept an options hash (although currently only Airbrussh does anything with them). |
||
---|---|---|
.. | ||
tasks | ||
.gitignore | ||
matchers.rb | ||
test_app.rb | ||
Vagrantfile |