-
Notifications
You must be signed in to change notification settings - Fork 100
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
Chocolatey 0.10 breaking some installers. #45
Comments
I ran into this issue as well and have added an additional property that allows you to specify a property to bypass the checksum (--allowEmptyChecksums). Added pull request to address the issue. |
I appreciate the way you stated this @javydekoning. Very nice. For other folks looking for more information, take a look at chocolatey/choco#910 |
@FatherDragon Thanks, I also added a pull request with a slightly more dynamic approach to also allow other Choco Install Params as this feature is currently lacking. See PR #50 @ferventcoder cool, thanks for including the reference. Very nice addition to Choco :) |
Could you, perhaps enlighten me? Params = "--allow-empty-checksums" doesn't work. Thanks! |
@4c74356b41 anything with |
I'm talking about cchoco. when specifying Params = "--allow-empty-checksums" package fails, but when doing the same thing manually install succeeds |
The params argument in cChoco maps to the "--package-parameters" argument on choco not as a parameter on the choco command. What your config will do, if I haven't missunderstood, is this.. choco install git --package-parameters '--allow-empty-checksums' Where what you want is this... choco install git --allow-empty-checksums #52 is working on adding this functionality at the moment |
So there's no way to install package with empty checksum using cchoco at the moment? |
Correct, @javydekoning has kindly submitted a PR to fix this and is making some changes before we merge it in and push out an update. |
hm, could you perhaps add ability to configure chocolatey: (and this could be, say, comma separated list?)
|
We're looking at enabling this on a per-package basis, for flexibility, rather than in cChocoInstaller. Happy to discuss allowing something in cChocoInstaller but best to start a seperate issue to talk through this now. If you'd like to look at what is being worked have a read of #52 I'm going to close off this issue for now though so we don't have two conversations running in parallel. |
For posterity sake, I added all of the different options you have when you run into this issue here: chocolatey/choco#112 (comment) The first option is consumer-based. Did you know you could pass the checksums yourself (once #52 is implemented of course)? |
yeah, I figured that out, but atm cchoco doesn't support that. |
0.10.0 includes a major security enhancement (checksum requirement). This breaks several packages right now and will hopefully be fixed by maintainers in the future. However the cChocoPackageInstaller resource requires an ability to set the --allow-empty-checksums param.
The text was updated successfully, but these errors were encountered: