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

Adds activesupport gem to allow XML>JSON parsing from Azure APIs #534

Merged
merged 1 commit into from
Nov 13, 2019

Conversation

ghost
Copy link

@ghost ghost commented Nov 13, 2019

Signed-off-by: Ruairi Fennell [email protected]

Description

Adds activesupport gem to allow XML>JSON parsing from Azure APIs.
Had originally added this as a direct dependency to inspec-azure but users have been running into problems as resource-pack dependencies don't appear to be installed/bundled.

Related Issue

inspec/inspec-azure#216

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New content (non-breaking change)
  • Breaking change (a content change which would break existing functionality or processes)

@chef-expeditor
Copy link
Contributor

Hello r-fennell! 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!

@codeclimate
Copy link

codeclimate bot commented Nov 13, 2019

Code Climate has analyzed commit 9346053 and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Style 3
Complexity 1

View more on Code Climate.

@miah
Copy link
Contributor

miah commented Nov 13, 2019

Resource pack dependencies in Gemfiles are never installed.

This is the same problem we had with inspec-aws. Dependencies will need to be added to train (or a train-cloud) project before being added to inspec-cloud.

Copy link
Contributor

@zenspider zenspider left a comment

Choose a reason for hiding this comment

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

Please drop a comment in there saying it is for inspec-azure.

Copy link

@kekaichinose kekaichinose left a comment

Choose a reason for hiding this comment

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

@miah thanks for the catch on this. @r-fennell I'll chat more with @skpaterson on this, but seems we need to keep a couple things in mind for changes to inspec-cloud repos going forward:

Short-Term
any time you add a gem to Gemfile for the specific inspec-cloud project, add a PR to appropriate train repository as well

Long-Term

@miah miah merged commit c1ad9c4 into master Nov 13, 2019
@chef-expeditor chef-expeditor bot deleted the add-activesupport branch November 13, 2019 21:44
@ghost
Copy link
Author

ghost commented Nov 14, 2019

@kekaichinose Thanks. I agree the current situation around dependencies isn't ideal and i'm glad #529 has got the ball rolling on addressing some of the shortcoming in the train>inspec>resource-pack development & release cycle.
Of course feel free to loop me in to any further discussions you plan on having with @skpaterson .

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