Skip to content

Conversation

@grosser
Copy link
Contributor

@grosser grosser commented Jul 8, 2019

fixes #456 since verbosity: :DEBUG does what I need
also fixed a few headings since ordering was level-2 -> level-4

@will-in-wi

@grosser grosser force-pushed the grosser/silence branch from 2333883 to b266a6c Compare July 8, 2019 01:07
@grosser
Copy link
Contributor Author

grosser commented Jul 8, 2019

hmmm the "Finished in" line still appears I'll try to remove that too ...

@grosser
Copy link
Contributor Author

grosser commented Jul 8, 2019

ah nvm ... but upload needs a tweak

@grosser
Copy link
Contributor Author

grosser commented Jul 8, 2019

ok, upload uses the passed verbosity: now too ... looks good ?

@grosser grosser force-pushed the grosser/silence branch from d42290f to 12b5b56 Compare July 8, 2019 01:34
@grosser grosser force-pushed the grosser/silence branch from 12b5b56 to 7d5d377 Compare July 8, 2019 01:35
Copy link
Member

@mattbrictson mattbrictson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good at first glance. I will review later today.

@@ -0,0 +1,10 @@
# tiny example so you can play with the sshkit or make a failing example for an issue
require 'bundler/setup'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's meant as a starting point to debug sshkit itself, so it needs to use the local checkout and not the installed gem

Copy link
Member

@mattbrictson mattbrictson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks! 🙇‍♂️

## [Unreleased][]

* Your contribution here!
* [#468](https://github.com/capistrano/sshkit/pull/468): Make `upload!` take a `:verbosity` option like `exec` does - [@grosser](https://github.com/grosser)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

### Verbosity / Silence

- raise verbosity of a command: `execute "echo DEAD", verbosity: :ERROR`
- hide a command from output: `execute "echo HIDDEN", verbosity: :DEBUG`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for documenting this!

@mattbrictson mattbrictson merged commit 6e069d7 into capistrano:master Jul 8, 2019
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Nov 18, 2019
Update ruby-sshkit package to 1.20.0.


## [1.20.0][] (2019-08-03)

  * [#468](capistrano/sshkit#468): Make `upload!` take a `:verbosity` option like `exec` does - [@grosser](https://github.com/grosser)

## [1.19.1][] (2019-07-02)

  * [#465](capistrano/sshkit#456): Fix a regression in 1.19.0 that prevented `~` from being used in Capistrano paths, e.g. `:deploy_to`, etc. - [@grosser](https://github.com/grosser)

## [1.19.0][] (2019-06-30)

  * [#455](capistrano/sshkit#455): Ensure UUID of commands are stable in logging - [@lazyatom](https://github.com/lazyatom)
  * [#453](capistrano/sshkit#453): `as` and `within` now properly escape their user/group/path arguments, and the command nested within an `as` block is now properly escaped before passing to `sh -c`. In the unlikely case that you were manually escaping commands passed to SSHKit as a workaround, you will no longer need to do this. See [#458](capistrano/sshkit#458) for examples of what has been fixed. - [@grosser](https://github.com/grosser)
  * [#460](capistrano/sshkit#460): Handle IPv6 addresses without port - [@will-in-wi](https://github.com/will-in-wi)

## [1.18.2][] (2019-02-03)

  * [#448](capistrano/sshkit#448): Fix misbehaving connection eviction loop when disabling connection pooling - [Sebastian Cohnen](https://github.com/tisba)

## [1.18.1][] (2019-01-26)

  * [#447](capistrano/sshkit#447): Fix broken thread safety by widening critical section - [Takumasa Ochi](https://github.com/aeroastro)
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.

allow silencing upload/download

2 participants