Closed TheCakeIsNaOH closed 6 months ago
It is intentional that the rule is stricter than the implementation in package validator. In this, we are taking what the rule description is specified as, instead of doing a 1-to-1 like of the implementation in package validator. If it had been the other way around, that this extension wouldn't have flagged the empty Copyright element, but the package validator had flagged it, this would have been a bug.
Checklist
What You Are Seeing?
When trying to pack a package with an empty checksum element, the CPMR0001 rule get triggered. This does not happen for packages going through the validator.
What is Expected?
That packages with an empty checksum element do not fail CPMR0001, to be consistent with the validator behavior. https://community.chocolatey.org/packages/libreoffice-fresh
How Did You Get This To Happen?
libreoffice-fresh
at https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/libreoffice-streamschoco pack
in the directorySystem Details
Installed Packages
Output Log
Additional Context
No response