-
Notifications
You must be signed in to change notification settings - Fork 905
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
Option to apply package parameters / install arguments to dependent packages #839
Comments
This was caused by #733 |
I think we will implement this as
|
…ckages In version 0.9.9.8 and earlier, package-parameters would also be applied to dependent packages, but in choco 0.9.10 this was changed so that package-parameters would only be applied to the specified package. Sometimes it will be useful to pass the package parameters further to dependent packages. This can be controlled by using a cmdline switch.
…ckages In version 0.9.9.12 and earlier, install arguments and package-parameters would also be applied to dependent packages, but in choco 0.9.10 this was changed so that it would only be applied to the specified package. Sometimes it will be useful to pass the install arguments and package parameters further to dependent packages. This can be controlled by using cmdline switches.
…ckages In version 0.9.9.12 and earlier, install arguments and package-parameters would also be applied to dependent packages, but in choco 0.9.10 this was changed so that it would only be applied to the specified package. Sometimes it will be useful to pass install arguments and package parameters further to dependent packages. This can be controlled by using cmdline switches.
…ckages In version 0.9.9.12 and earlier, install arguments and package-parameters would also be applied to dependent packages, but in choco 0.9.10 this was changed so that it would only be applied to the specified package. Sometimes it will be useful to pass the install arguments and package parameters further to dependent packages. This can be controlled by using cmdline switches.
…ckages In version 0.9.9.12 and earlier, install arguments and package-parameters would also be applied to dependent packages, but in choco 0.9.10 this was changed so that it would only be applied to the specified package. Sometimes it will be useful to pass the install arguments and package parameters further to dependent packages. This can be controlled by using cmdline switches.
…ckages In version 0.9.9.12 and earlier, install arguments and package-parameters would also be applied to dependent packages, but in choco 0.9.10 this was changed so that it would only be applied to the specified package. Sometimes it will be useful to pass the install arguments and package parameters further to dependent packages. This can be controlled by using cmdline switches.
In version 0.9.9.12 and earlier, install arguments and package-parameters would also be applied to dependent packages, but in choco 0.9.10 this was changed so that it would only be applied to the specified package. Sometimes it will be useful to pass the install arguments and package parameters further to dependent packages. This can be controlled by using cmdline switches.
* pr915: (GH-839) Switch to apply package parameters to dependent packages
* stable: (24 commits) (GH-839) Switch to apply package parameters to dependent packages (maint) formatting methods / parameters in calls (GH-958) If SSLv3 in Posh v2 Fails, Use Original (GH-746) Use HTTPS if available when HTTP url (GH-957) Skip Get-WebFileName When FTP (GH-948) Ensure passwords / keys are not logged (GH-952) Get-ChocolateyWebFile enhancements (doc) update generated docs (maint) formatting (docs) move GenerateDocs.ps1 / update (GH-932) Do not set unknown checksum to 'md5' (GH-719) Reset ServerCertificateValidationCallback (GH-305) add MSP/MSU installer types (GH-305) update exitcodes to long (GH-954) Pending fails when lib does not exist (GH-950) Install-ChocolateyPackage - UseOriginalLocation (maint) formatting (GH-922) Automatically determine checksum type (maint) fixes for shimgen (GH-948) Do not log sensitive arguments ...
Merged into stable at 315a882 and will be included in 0.10.1. |
When specifying an apply of install arguments and package parameters, it would be best to have multiple ways to specify those options. Add shorter option names
i'm not sure if i'm embarrassing my self right now (i'm just a casual windows user), so please bear with me. is there a way to specify |
I do not think that option has been added to |
From chocolatey version 9.10, package parameters will not be applied to dependent packages. That makes sense, as it could cause unexpected behavior. However, there are situations where it would be very useful to be able to do that. We have divided our application into multiple packages, which all makes use of the same input parameters. So it would be very useful if we could apply the parameters also to dependent packages. It should be a switch, named something like --applytoallpackages, --applytoall, etc
It should be easy to implement, I think, looking at the code change done for this issue:
0e0ddfa
The text was updated successfully, but these errors were encountered: