-
Notifications
You must be signed in to change notification settings - Fork 26
(MODULES-5968) Generated types / vendored code removal #3
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Additionally remove references to both stdlib and powershell modules as dependencies. The LCM config manifest wsa the only thing using these modules, and without it, they can be removed!
- Remove all the generated types from lib/puppet/type/dsc_* and their
corresponding specs from spec/unit/puppet/type/dsc_*.
- Remove all vendored content inside of lib/puppet_x/dsc_resources/,
except for xService in xPSDesiredStateConfiguration. xService is
used in an acceptance test that may need to have a more generic
equivalent built.
- Remove most acceptance tests on basic dsc resources that won't be
part of this module any longer from tests/acceptance/tests/,
tests/integration/tests/ and corresponding test fixture data from
tests/files/test_installer/ and tests/manifests/.
More generic tests that use dsc_file were left (for now).
- Exceptions:
* Leave dsc_file.rb type for now to allow specs to pass.
* Leave dsc_service.rb and dsc_xservice.rb to allow acceptance
tests to pass.
Contributor
Author
|
Ran commits through Results of Beaker tests against puppet-agent 1.10.9 ( f7b15d7
|
This was referenced Nov 15, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supersedes #1
UPDATE: This has been cleaned up / restricted to just MODULES-5968 removals for the sake of separate efforts / merges. Re-namespacing is in #4 and build task removals are in #5
Original differences from that PR (now spanning into the #4 / #5):
NOTICE/.projectwithdsc_lite.fixtures.yml/ acceptance test helpers to not installstdlib/powershellas module deps (were only necessary for LCM manifest)uses_win32consolefact that's not usedinvoke_dsc_resource.ps1.erb/ move file todsc_litedsc_file,dsc_service,dsc_xservice(and vendoredxservicecontent fromxPSDesiredStateConfigurationincludingCommonResourceHelpers.psm1) to keep tests passing (can later swap in ourdsc_puppetfakeresourceor similar for sake of keeping tests valid / passing) - this will need to be removed prior to shipping this moduleprovider/powershell_spec.rbrunning againstdsc_file- stubbing in newdsctype is a separate activity that can be handled in (WIP) (MODULES-5842) Generic DSC invoker #2dsc_puppetfakeresourceso that tests pass