Skip to content

v0.2.0

Compare
Choose a tag to compare
@mszostok mszostok released this 13 Nov 12:42
886bf72

🚨GitHub Codeowners Validator 0.2.0 is now available!

In this release, we've focused on improving documentation, adding new CODEOWNERS validator and improving the installation process.

Installation

To install the codeowners-validator, run:

 # Install codeowners-validator in /usr/local/bin in version 0.2.0
 curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/master/install.sh| sh -s -- -b /usr/local/bin v0.2.0

See the Installation section for more install options.

Checks

These new checks were implemented in this release:

  • Duplicated Pattern Checker - Reports if the CODEOWNERS file contains duplicated lines with the same file pattern.

  • [Experimental] Not Owned File Checker - Reports if a given repository contain files that do not have specified owners in the CODEOWNERS file.

    To enable the experimental check, set the EXPERIMENTAL_CHECKS=notowned environment variable before the codeowners-validator execution.

See the Checks section for more information about the available checks and their configuration.

⚠️ Breaking changes

  • The VALID_OWNER_CHECKER_ORGANIZATION_NAME environment variable was changed to OWNER_CHECKER_ORGANIZATION_NAME

We'd really appreciate any feedback and any issues you may run into.

Changelog 🚀

886bf72 Refactor README.md file, add new install option, add version flag #9 (mszostok)
610e91c Add not owned file checker #8 (mszostok)
4c7a8b1 Add option to select check for execution and add checks for team permissions #4 (njegosrailic)
f186bd8 Add check for finding duplicated patterns, refactor issue printing #5 (mszostok)
c0b1bfc Update badges to redirect directly to underlying sites (mszostok)
a03c6f6 Fix issue when Travis builds the same commit twice (once in a branch and once in PR) (mszostok)
ceeab27 Move the screenshot with usage (mszostok)
98b2d99 Add Go report badge (mszostok)
c2ba39c Fix the golangci-lint path checks (mszostok)
0560dac Redefine stages in travis.yml (mszostok)
b0699bd Redefine the env in .travis.yml file (mszostok)
170b7c8 Add Code Quality Analysis via golangci-lint tool, fix detected issues (mszostok)
71c2c61 Move the before-commit.sh -> hack/ci/run-tests.sh, add Travis CI support (mszostok)
b2b0d86 ⚠️ Change VALID_OWNER_CHECKER_ORGANIZATION_NAME to OWNER_CHECKER_ORGANIZATION_NAME (mszostok)
3d45ad2 Add proper exit codes. Recognize: cfg error, closing due to SIGINT or SIGTERM, check error (mszostok)

Contributors

Thanks again to everyone who contributed to this release! ✨

Users whose commits are in this release: