-
Notifications
You must be signed in to change notification settings - Fork 161
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
Choco0.10.3 #219
Choco0.10.3 #219
Conversation
using static choco to register psservice exactly once using Console to write to output from PsLogger
@@ -2,7 +2,8 @@ function Invoke-Chocolatey($chocoArgs) { | |||
Write-BoxstarterMessage "Current runtime is $($PSVersionTable.CLRVersion)" -Verbose | |||
$refs = @( | |||
"$($Boxstarter.BaseDir)/boxstarter.chocolatey/chocolatey/log4net.dll", | |||
"$($Boxstarter.BaseDir)/boxstarter.chocolatey/chocolatey/chocolatey.dll" | |||
"$($Boxstarter.BaseDir)/boxstarter.chocolatey/chocolatey/chocolatey.dll", | |||
"$($Boxstarter.BaseDir)/boxstarter.chocolatey/chocolatey/AlphaFS.dll" |
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.
Hopefully this won't be needed for long - chocolatey/choco#1102
The unfortunate consequence of using |
That's the reason I went for the console. It looks like the writes on PSHostUserInterface are intercepted (by chocolatey I presume) and fed back to the custom logger causing an infinite recursive loop resulting in a stack overflow. But I couldn't figure out where that interception was done and how I could work around it. |
right. the exception occurs on the very first call to |
Try with the fixes I implemented and see if it is still an issue. There should be an available build here - https://ci.appveyor.com/project/chocolatey/choco/build/1.0.0.1121/artifacts |
Oh that does indeed address the stackoverflow! Nice @ferventcoder. |
@ferventcoder any eta on when that fix will land in the nuget feed? |
Jan/ early Feb is the best estimate. |
cool. I'll keep an eye out.Closing this. Master should be good to go once that releases. |
So February is what we are working with now. That date is unlikely to shift. |
Hi Folks, is this waiting to be approved by @mwrock to be merged back into Master? |
No master has most of what is necessary. I'm just waiting on the above referenced choco fix to land in the nuget feed and then I can prep a release. |
@mwrock Thanks for the response! Once that choco version gets into NuGet, a new Boxstarter version is planned for release sometime thereafter? |
correct! |
Updated the chocolatey lib to 0.10.3.
Things I had to fix:
Currently there are still some things up for improvement:
But at least this update fixes a handful of open compatibility issues with newer versions of chocolatey: