chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.05k stars 890 forks source link

Allow viewing package creation validation rules via new `choco rule` command #3381

Closed AdmiringWorm closed 1 month ago

AdmiringWorm commented 5 months ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

No response

Describe The Solution. Why is it needed?

In Version 2.0.0 we implemented a service that can collect and run rules that are validated when a package is created.

As of right now, there is no visibility of what these rules are doing, and what they currently implement. As such, we should implement a command that can be used to list out any rules that are available, and to view the details of such a rule as well.

Additional Context

While this may be too helpful currently, there are plans in the future to implement something that will make such a rule command more useful (outside Chocolatey CLI).

To have this ability already implemented at that time makes it so that a user does not need to update Chocolatey CLI when these features are available.

Related Issues

No response

choco-bot commented 1 month ago

:tada: This issue has been resolved in version 2.3.0 :tada:

The release is available on:

Your GitReleaseManager bot :package: :rocket: