chocolatey-community / chocolatey-community-validation

Chocolatey CLI extension to bring community package validation rules to the console
Apache License 2.0
1 stars 4 forks source link

Validate package during push to Chocolatey Community Repository #3

Closed AdmiringWorm closed 6 months ago

AdmiringWorm commented 6 months ago

Description

There is a possibility to create Validation rules that are run before calling the Run method for the current command, we should leverage this ability to run through any validation rule implemented when a package is being pushed to the Chocolatey Package Repository, and possibly to other places as well (but switching errors to be warnings in this case).

Why Is It Needed

Would be good to have the ability to validate the rules before pushing a package, instead of just when creating the package.

Related Issues and Tickets

N/A

Acceptance Tests

Done Checklist

AdmiringWorm commented 6 months ago

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

The release is available on:

Your GitReleaseManager bot :package: :rocket: