chocolatey-community/chocolatey-packages

(vim) Failing validator due to using wrong cmdlet

AdmiringWorm opened this issue · 0 comments

Chocolatey Version

2.2.2

Chocolatey License

None

Package Version

9.0.2185

Current Behaviour

One of the validation rules we have in place is to ensure that checksums have been specified when using certain cmdlets.

While the VIM package is embedded, it uses the wrong cmdlet for embedded packages which requires a checksum also being specified.

Expected Behaviour

The validation should succeed on Chocolatey Community Repository. This means for this package we need to update the chocolatey install script, and change the call to Install-ChocolateyZipPackage to instead use the Get-ChocolateyUnzip cmdlet, or start specifying checksums in the package.

Steps To Reproduce

  1. Go to https://community.chocolatey.org/packages/vim/9.0.2185
  2. Expand the installation script
  3. Notice it uses Install-ChocolateyZipPackage

Environment

N/A

Chocolatey Log

N/A

Anything else?

No response