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

Language plugins: Improve failure logging, update specs, general cleanup #805

Merged
merged 4 commits into from
Apr 22, 2016

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Apr 19, 2016

it's a big change, but it's basically the same thing over and over again for each plugin

@tas50
Copy link
Contributor Author

tas50 commented Apr 20, 2016

@mcquin & @chef/client-core This is ready for review

languages[:go] = go if go[:version]
end
begin
so = shell_out("go version")
Copy link
Contributor

Choose a reason for hiding this comment

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

(minor) Indenting too deep.

@mcquin
Copy link
Contributor

mcquin commented Apr 20, 2016

Looks good. Some minor feedback for style and consistency. Looks like the appveyor failure is incorrect, all specs passed.

@mcquin
Copy link
Contributor

mcquin commented Apr 20, 2016

🚀

so = shell_out("go version")
# Sample output:
# go version go1.6.1 darwin/amd64
if so.exitstatus == 0
Copy link
Contributor

Choose a reason for hiding this comment

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

these two ifs should be combined.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there's a bunch, but yeah I can fix those

@thommay
Copy link
Contributor

thommay commented Apr 22, 2016

some nits but 👍

@tas50 tas50 merged commit dca7249 into master Apr 22, 2016
@tas50 tas50 deleted the plugin_cleanup branch April 22, 2016 16:22
@thommay thommay added Type: Enhancement Adds new functionality. and removed Enhancement labels Jan 24, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants