-
Notifications
You must be signed in to change notification settings - Fork 890
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
(#886, 2693) Update packages.config install logging and add back resolve or load method for Assembly Resolution #2836
Conversation
661f65b
to
ec8a17c
Compare
ec8a17c
to
0bae717
Compare
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.
LGTM, but need to leave it up to @gep13 to decide whether we should mark the overload as obsolete or not (as already mentioned, I don't mind either way).
If everyone is happy, then I would say let's not add the |
0bae717
to
3d005e6
Compare
Update the debug logging when a packages.config file is being used to output the start and end of the configuration on independent lines. This allows us to update the test to get these start and end points and not play guessing games with how long we think the output should be. Updating this test allows Chocolatey Licensed Extension to be included and the tests still pass.
Changing the interface or public methods are breaking changes which we need to wait with implementing before the next major release. As such, this commit adds back the old way of running the powershell host by adding an overload with the original contract for the interface that could possibly be used in other projects that makes use of the Chocolatey.Lib library.
3d005e6
to
1758e5f
Compare
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.
LGTM!
@corbob thanks for getting this fixed up! |
Description Of Changes
Update the debugging output for the install from packages.config file to clearly delineate the start and end of the configuration output.
Add back the original definition of resolve_or_load_assembly to AssemblyResolution.
Motivation and Context
The output of the Configuration when Licensed Extension is installed is different from when just Open Source is in play. As such, the tests for the new functionality was failing. This updates the output to enable us to better test the command.
Chocolatey GUI fails to load with the update to
resolve_or_load_assembly
, so added back the original definition.Testing
Change Types Made
Related Issue
Fixes #886
Fixes #2693
Change Checklist