(#2450) Enable configTransform and FilesSnapshot on non-Windows #2451
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.
Description Of Changes
This runs configTransformService and capture_package_files on
non-Windows platforms. Both appear to be fully functional, so there is
no reason not to run them. They were added to non-Windows side of the if/else instead of being
moved from the Windows side so as to not screw up the functionality of
create_ignore_files_for_executables.
Also re-enables the integration tests that validate the config transform
service on non-Windows platforms. These can be enabled now that the
config transform service runs on non-Windows platforms.
Motivation and Context
It would be good to get these two features working on non-Windows, as they both should be working.
It also lets more integration tests work on non-Windows
Testing
mono choco.exe install --allow-unofficial msi.template zip.template --verbose --debug
.chocolatey
directory.The
configTransform
is tested in thewhen_installing_a_package_with_config_transforms
test which is now enabled, along with the upgrade tests which pass.Change Types Made
Related Issue
Fixes #2450
Depends on #2511
Change Checklist