-
Run
yarnto install all deps -
Get list of files of interest
./bin generate-files [-c CWD] \ '**/*.(js|ts)' \ '!**/node_modules' \ > files.txtCheck
files.txtif that is ok Later you will need to put it in stdin forcompressanddiffcommand -
cat files.txt | ./bin compress <ORIGINAL_CODEOWNERS_PATH> <RESULT_PATH>
-
To compare result with original CODEOWNERS, run
cat files.txt | ./bin diff <ORIGINAL_CODEOWNERS_PATH> <RESULT_PATH>
You can also get detailed report for specific team:
cat files.txt | ./bin diff <ORIGINAL_CODEOWNERS_PATH> <RESULT_PATH> -t <team>
And specific path: (note,
files.txtis not needed in this case)./bin diff <ORIGINAL_CODEOWNERS_PATH> <RESULT_PATH> <path>
-
Notifications
You must be signed in to change notification settings - Fork 0
escaton/compress-codeowners
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Compress CODEOWNERS file to given size limit, minimizing mixed ownership
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published