-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix conservative dependencies to have proper "x.y" values #30
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this is a high-profile and delicate dependency control file, could you take a moment and explain in greater detail for a broader audience the nature of the changes being introduced in the version pinning, and what motivates the changes?
Thank you!
Absolutely... The diff centers around my having done this the first time around incorrectly. All of the dependencies (almost all comments at this point) were written with |
@@ -29,6 +29,21 @@ namespace :test do | |||
end | |||
end | |||
|
|||
task :deps do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to add a desc
string to explain what this task does and also to have it appear in the rake -T
task list
@@ -29,6 +29,21 @@ namespace :test do | |||
end | |||
end | |||
|
|||
task :deps do | |||
src = `curl -sL https://github.com/inspec/inspec-aws/archive/master.tar.gz | tar xO inspec-aws-master/Gemfile` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This task isn't going to be usable by Windows users. Since the task is informational and not critical to using the plugin, that's probably OK.
# spec.add_dependency "aws-sdk-appstream", "~> 1" | ||
# spec.add_dependency "aws-sdk-appsync", "~> 1" | ||
spec.add_dependency "aws-sdk-athena", "~> 1" | ||
# spec.add_dependency "aws-sdk-acm", "~> 1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 to these dep changes
Dep changes look good to me but I'm not familiar with the AWS gems so adding @inspec/inspec-cloud-devs as a reviewer. While this change is a valid correction, I don't know what other projects might be depending on a version being >= 2.0 |
6c1fea5
to
629b650
Compare
I don't think it works the way they think it works... Signed-off-by: Ryan Davis <[email protected]>
Prints out missing and (possibly) extra dependencies. Signed-off-by: Ryan Davis <[email protected]>
629b650
to
9d15496
Compare
Signed-off-by: Ryan Davis <[email protected]>
Signed-off-by: Ryan Davis <[email protected]>
More followup to previous dependency problems.