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

Bump Chefstyle and ready for dependabot #586

Merged
merged 1 commit into from
May 13, 2020
Merged

Bump Chefstyle and ready for dependabot #586

merged 1 commit into from
May 13, 2020

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented May 8, 2020

Remove the gemfile.local sourcing which dependabot can't work with. This
way we'll get nice PRs to bump deps including CVEs complete with
changelogs showing us what's changed.

Signed-off-by: Tim Smith tsmith@chef.io

Remove the gemfile.local sourcing which dependabot can't work with. This
way we'll get nice PRs to bump deps including CVEs complete with
changelogs showing us what's changed.

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 requested a review from a team as a code owner May 8, 2020 04:02
@tas50 tas50 requested review from Schwad and james-stocks May 8, 2020 04:02
@chef-expeditor
Copy link
Contributor

chef-expeditor bot commented May 8, 2020

Hello tas50! Thanks for the pull request!

Here is what will happen next:

  1. Your PR will be reviewed by the maintainers.
  2. Possible Outcomes
    a. If everything looks good, one of them will approve it, and your PR will be merged.
    b. The maintainer may request follow-on work (e.g. code fix, linting, etc). We would encourage you to address this work in 2-3 business days to keep the conversation going and to get your contribution in sooner.
    c. Cases exist where a PR is neither aligned to Chef InSpec's product roadmap, or something the team can own or maintain long-term. In these cases, the maintainer will provide justification and close out the PR.

Thank you for contributing!

@@ -54,7 +54,7 @@ def initialize(options)
@bastion_user = @options.delete(:bastion_user)
@bastion_port = @options.delete(:bastion_port)

@cmd_wrapper = CommandWrapper.load(self, @transport_options)
@cmd_wrapper = CommandWrapper.load(self, @transport_options)
Copy link

Choose a reason for hiding this comment

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

It looks relatively straightforward to me but I'll leave officially approval to someone on the core team who has had more time in train code than me. Quick question, was this a stylistic change?

Choose a reason for hiding this comment

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

It satisfies a cop in the current ChefStyle:

lib/train/transports/ssh_connection.rb:57:31: C: Layout/SpaceAroundOperators: Operator = should be surrounded by a single space.

Alternatively the indenting can be kept and the blank line at line 56 deleted - that also satisfies the cop.

This current form looks correct to me as this @cmd_wrapper isn't quite the same as the indented option passing lines above it.

Copy link

@james-stocks james-stocks left a comment

Choose a reason for hiding this comment

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

Thanks @tas50 !

@tas50 tas50 merged commit 9c997ea into master May 13, 2020
@chef-expeditor chef-expeditor bot deleted the dependabot_prep branch May 13, 2020 19:25
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