Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent verbosity configuration inside #capture and #test methods #435

Merged
merged 3 commits into from
Oct 12, 2018
Merged

Consistent verbosity configuration inside #capture and #test methods #435

merged 3 commits into from
Oct 12, 2018

Conversation

NikolayRys
Copy link
Contributor

@NikolayRys NikolayRys commented Jul 26, 2018

Currently, the default params for those methods are applied differently, and I don't think that's intended. In the case of the #test method, the default params for verbosity and raise_on_non_zero_exit are overriding the provided by the user.
It makes impossible to have important #test calls show any output. At least without an ugly and non-thread safe SSHKit.config.output_verbosity=Logger::DEBUG.

So the proposed PR makes them consistent, using the approach from #capture and provides a test to cover that.
The overall change is pretty small.

@NikolayRys NikolayRys changed the title Consistent verbosity configuration #capture and #test methods Consistent verbosity configuration inside #capture and #test methods Jul 26, 2018
@leehambley
Copy link
Member

LGTM anyone else want to have a look-in?

@leehambley leehambley requested a review from mattbrictson July 29, 2018 12:54
@NikolayRys
Copy link
Contributor Author

No luck with this, guys?

@will-in-wi will-in-wi merged commit 79aeeef into capistrano:master Oct 12, 2018
@will-in-wi
Copy link
Contributor

Sorry for the delay, this got lost in the shuffle.

@will-in-wi
Copy link
Contributor

And thanks for contributing!

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Dec 17, 2018
## [1.18.0][] (2018-10-21)

  * [#435](capistrano/sshkit#435): Consistent verbosity configuration #capture and #test methods - [@NikolayRys](https://github.com/NikolayRys)

## [1.17.0][] (2018-07-07)

  * [#430](capistrano/sshkit#430): [Feature] Command Argument STDOUT/capistrano.log Hiding - [@NorseGaud](https://github.com/NorseGaud)

## [1.16.1][] (2018-05-20)

  * [#425](capistrano/sshkit#425): Command#group incorrectly escapes double quotes, resulting in a a syntax error when specifying the group execution using `as`. This issue manifested when user command quotes changed from double quotes to single quotes. This fix removes the double quote escaping - [@pblesi](https://github.com/pblesi).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants