Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.
/ collect-owners Public archive

Build a Github CODEOWNERS file by walking a Chromium-style OWNERS repository

Notifications You must be signed in to change notification settings

nickw444/collect-owners

Repository files navigation

Walk a Chromium style OWNERS system and output a Github compatible CODEOWNERS file

Build Status

Usage:

usage: Collect Owners [<flags>] <repo>

Walk A Repo and compile a Github CODEOWNERS file

Flags:
  --help                       Show context-sensitive help (also try --help-long and --help-man).
  --version                    Show application version.
  --contributors=CONTRIBUTORS  Path to contributors file to add to the users DB
  --exclude=EXCLUDE ...        Regular expressions of paths to exclude
  --add-unresolved             Add ownerships that do not have entries in the users DB as their raw entries within the OWNERS files

Args:
  <repo>  Path to repository

Download

Precompiled binaries are available from Github Releases, here

Demo

./collect-owners ./collect-owners-demo --add-unresolved
*                  @nickw444
component1/*       @nickw444-collect-owners-demo-1
component1/A/*     @nickw444-collect-owners-demo-2
component1/A/*.js  @nickw444-collect-owners-demo-1
component1/B/*     @nickw444-collect-owners-demo-1
component1/C/*     @nickw444-collect-owners-demo-2
component1/D/D.es6 @nickw444-collect-owners-demo-2

About

Build a Github CODEOWNERS file by walking a Chromium-style OWNERS repository

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published