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

Script that parses `maintainers.txt` files within repositories and prints a simple report.

License

Notifications You must be signed in to change notification settings

lsh-0/maintainers-txt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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": "john.doe@example.org"}

Licence

Copyright © 2024 eLife Sciences

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

About

Script that parses `maintainers.txt` files within repositories and prints a simple report.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 82.9%
  • Shell 17.1%