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

Swap cookbook resolution strategy from shell outs to using Ruby APIs. #123

Merged
merged 3 commits into from
May 24, 2013

Conversation

fnichol
Copy link
Contributor

@fnichol fnichol commented May 24, 2013

The driver behind this is to minimize the amount of fork+exec that exists in the codebase which will help with platform portability, namely Windows. It should also make capturing dependency resolution errors much easier since they will be Ruby exceptions not shell exit codes.

Currently for Chef, there are 2 external resolvers that ship in Test Kitchen:

  • Berkshelf Ruby API
  • Librarian-Chef Ruby API

@ghost ghost assigned fnichol May 24, 2013
@adamhjk
Copy link
Contributor

adamhjk commented May 24, 2013

We're not having any problems with this via the shell-out approach on windows - it's working great right now. Not unreasonable to minimize the fork/exec, but it's not a bad plan.

fnichol added a commit that referenced this pull request May 24, 2013
Swap cookbook resolution strategy from shell outs to using Ruby APIs.
@fnichol fnichol merged commit 9b326b1 into master May 24, 2013
@fnichol fnichol deleted the ruby-based-dep-resolving branch May 24, 2013 21:15
@test-kitchen test-kitchen 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants