chocolatey / package-validator

Windows service to validate packages conform to package standards
Apache License 2.0
31 stars 29 forks source link

Chocolatey Package Validator

Validates the contents of a package against the package review process parts that can be validated by a machine. See https://docs.chocolatey.org/en-us/community-repository/moderation/ for more details.

The validator is a service that checks the quality of a package based on requirements, guidelines and suggestions for creating packages for Chocolatey’s community feed. We like to think of the validator as unit testing. It is validating that everything is as it should be and meets the minimum requirements for a package on the community feed.

What does the validator check? See the docs for more information.

Chat Room

Want quick feedback to your questions? Gitter

Requirements

License / Credits

Apache 2.0 - see LICENSE and NOTICE files.

Contributing

If you would like to contribute code or help squash a bug or two, that's awesome. Please familiarize yourself with CONTRIBUTING.

Committers

Committers, you should be very familiar with COMMITTERS.

Compiling / Building Source

There is a build.bat/build.sh file that creates a necessary generated file named SolutionVersion.cs. It must be run at least once before Visual Studio will build.

Windows

Prerequisites:

Build Process:

Running the build on Windows should produce an artifact that is tested and ready to be used. It will also produce a Chocolatey package which requires licensed components to use. To use it ensure you are running a currently licensed version of Chocolatey For Business.

Setup

You need the following installed on a machine that you will use the validator with: