Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.15 KB

maintainers.txt

Parses maintainers.txt files in eLife Github repositories, printing a simple report of what is maintained by whom.

If any repository has no maintainers, the script will exit with a failure.

Accepts an optional input file mapping a maintainer => alias. This will replace the name of the maintainer output with something else (like an email address).

If an alias map was given and any repository has a maintainer not present in the map, the script will exit with a failure.

requisites

Installation

git clone https://github.com/elifesciences/maintainers-txt
cd maintainers-txt
go build .

Usage

GITHUB_TOKEN=your-github-token ./maintainers-txt

or

GITHUB_TOKEN=your-github-token ./maintainers-txt alias-map.json

and alias-map.json might look like:

{"jdoe": "[email protected]"}

Licence

Copyright © 2024 eLife Sciences

Distributed under the GNU Affero General Public Licence, version 3.