-
Notifications
You must be signed in to change notification settings - Fork 909
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
Remove deprecated Chocolatey shims (chocolatey, cinst, clist, cpush, cuninst, cup) #2642
Comments
@vexx32 I have a branch in the making that has these changes on it. |
The shims for chocolatey, cinst, clist, cpush, cuninst, and cup, where deprecated in a previous release of Chocolatey, and this commit removes them, so that they will not appear in the upcoming 2.0.0 release. Also the documentation around the deprecations have been removed, and tests updated to reflect that these shims are no longer included.
The shims for chocolatey, cinst, clist, cpush, cuninst, and cup, where deprecated in a previous release of Chocolatey, and this commit removes them, so that they will not appear in the upcoming 2.0.0 release. Also the documentation around the deprecations have been removed, and tests updated to reflect that these shims are no longer included.
The shims for chocolatey, cinst, clist, cpush, cuninst, and cup, where deprecated in a previous release of Chocolatey, and this commit removes them, so that they will not appear in the upcoming 2.0.0 release. Also the documentation around the deprecations have been removed, and tests updated to reflect that these shims are no longer included.
@gep13 Hi, these shims really came handy. Do you know any replacement for those ? |
@sebma if using PowerShell, you can always define functions to replace them in your profile. For example: function cinst {
choco install @args
} There's probably a way to do similar by adding a few custom batch files to a folder on your PATH, but I don't recall offhand what that looks like. |
@vexx32 Thanks for the function. I guess I will have to do on every new chocolatay install. |
Nothing to stop you creating a package with these commands, and installing that package on initial installation. |
@gep13 You're right. I will have to learn how to do that. You wrote :
One last question : Why ? |
This was done for consistency in terms of usage of Chocolatey. In the 1.0.0 release of Chocolatey, we removed the Given that we are not able to have the cpack alias, the decision was taken to defer to default to using the |
Ensure we ignore unsigned shims on upgrade.
Ensure we ignore unsigned shims on upgrade.
Ensure we ignore unsigned shims on upgrade.
(#2642) Ensure unsigned shims aren't removed.
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
For anyone like myself who wants these shims back: https://community.chocolatey.org/packages/choco-shim-redirects |
the cinst shim has been removed, cfr chocolatey/choco#2642
In v1.0.0 we marked the Chocolatey shims as deprecated
These now need to be removed completely.
Usage of these shims should be removed from the help documentation, and the genaratedocs.ps1 file should be updated to remove the explicit warnings about their removal in 2.0.0.
This is a follow up issue from this one in the 1.0.0 milestone: #2641
The text was updated successfully, but these errors were encountered: