https://github.com/pgreze/kowners
Utilities for Github CODEOWNERS
https://github.com/pgreze/kowners
codeowners kotlin
Last synced: 3 months ago
JSON representation
Utilities for Github CODEOWNERS
- Host: GitHub
- URL: https://github.com/pgreze/kowners
- Owner: pgreze
- License: apache-2.0
- Created: 2020-04-05T09:38:34.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-15T06:28:22.000Z (about 4 years ago)
- Last Synced: 2025-01-12T05:28:43.019Z (4 months ago)
- Topics: codeowners, kotlin
- Language: Kotlin
- Homepage: https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
- Size: 115 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: docs/CODEOWNERS.sample
Awesome Lists containing this project
README
# kowners

Kotlin support for [Github code owners](https://help.github.com/en/articles/about-code-owners) files.
Features:
- **blame**: display how many files are covered by each ownership rules.
- **coverage**: display the percentage of files covered by each ownership rules.
- **query**: display the potential owner and sub-hierarchy owners for each versioned file.# Use from command line
## Official releases
See artifacts from https://github.com/pgreze/kowners/releases
Example for Linux:
```
unzip kowners-linux.zip
./kowners
```## From latest commits
See artifacts from https://github.com/pgreze/kowners/actions/workflows/main.yml
For the jar distribution:
```
unzip kowners-jar.zip
java -jar kowners.jar
```For the graalvm distribution:
```
unzip kowners-macos.zip
chmod +x kowners
[ "$(uname)" = "Darwin" ] && sudo xattr -r -d com.apple.quarantine kowners
./kowners
```## TODO
- Support directory/file distinction
- Support [negative expressions](https://git-scm.com/docs/gitignore#_examples)