Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Windows service to validate packages conform to package standards

License

Notifications You must be signed in to change notification settings

chocolatey/package-validator

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

  • .NET Framework 4.0

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:

  • .NET Framework 4.5+
  • Visual Studio is helpful for working on source.
  • ReSharper is immensely helpful (and there is a .sln.DotSettings file to help with code conventions).

Build Process:

  • Run build.bat.

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:

  • .NET Framework 4.5.
  • Install the service and let it run.

About

Windows service to validate packages conform to package standards

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages