Skip to content

find_repo_owner is a CLI tool to gather all repo owners based on CODEOWNERS files in github.com

License

Notifications You must be signed in to change notification settings

eRaMvn/find_repo_owners

Repository files navigation

find_repo_owner

find_repo_owner is a CLI tool to gather all repo owners based on CODEOWNERS files in github.com.

The tool is written in Golang and can make 20 requests concurrently.

Pre-requisites

You will need:

  1. Linux Environment (Windows Environment is under development)
  2. Github Access key (which can be found under setting)

Installing

git clone https://github.com/eRaMvn/find_repo_owners.git

Build executable

#!/bin/bash
go build

Or you can grab one of the executables under Releases

Example Commands

Set up environment variable

#!/bin/bash
export GITHUB_TOKEN="qwdsfdsfsdf"
  1. Gather all owners in the CODEOWNERS file

find_repo_owner -o eRaMvn

The command will generates a csv file with the name results_from_repos.csv

To change the name of the output file:

find_repo_owner -o eRaMvn --of some_other_name

  1. If you know exactly what you want to look for and just want to know what repo has that owners

find_repo_owner -o eRaMvn -f owners_to_watch.txt

The format of owners_to_watch.txt will be like this

@user1
@group1
@group2

About

find_repo_owner is a CLI tool to gather all repo owners based on CODEOWNERS files in github.com

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages