This commit adds deprecation notices around the unpackself command, in order to make people aware
that this command in going away in v3.0.0.
Motivation and Context
Based on internal conversations, while the unpackself command is currently being used as part of the overall build process, it is not something that is "required". So, rather than leave this command in place, let's deprecate it, and then remove the command completely in the next major version of Chocolatey CLI.
With this command removed, it will be necessary to change the build process to sign the PowerShell files earlier in the build process than they currently are, but it shouldn't impact on the end result at all.
Testing
Run choco -h
Ensure that the deprecation notice can be seen in the section that lists out all the commands
Run choco unpackself -h
Ensure that the deprecation notice can be seen
Run choco unpackself
Ensure that the deprecation notice can be seen
Operating Systems Testing
Windows 10
Change Types Made
[ ] Bug fix (non-breaking change).
[ ] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
Description Of Changes
This commit adds deprecation notices around the
unpackself
command, in order to make people aware that this command in going away in v3.0.0.Motivation and Context
Based on internal conversations, while the unpackself command is currently being used as part of the overall build process, it is not something that is "required". So, rather than leave this command in place, let's deprecate it, and then remove the command completely in the next major version of Chocolatey CLI.
With this command removed, it will be necessary to change the build process to sign the PowerShell files earlier in the build process than they currently are, but it shouldn't impact on the end result at all.
Testing
choco -h
choco unpackself -h
choco unpackself
Operating Systems Testing
Change Types Made
Change Checklist
Related Issue
Fixes #3426