1.2.0 • Published 2 years ago

git-generate-authors v1.2.0

Weekly downloads
-
License
WTFPL
Repository
github
Last release
2 years ago

git-generate-authors

Generate AUTHORS file based on Git's history

Usage

You can run this on any machine with node and Git installed, using:

npx git-generate-authors [options]

Options

ShortLongDescriptionDefault
-o--outputOutput fileAUTHORS
-r--repoRepository pathCurrent working directory
-s--sortSorting parameter. Can be first-commit, last-commit, commits, name or emailfirst-commit
--keep-botsIf passed, the bots will not be removed from the history
--skip-mailmapIf passed, Git will not use the .mailmap file for aliasing users

Known issues

The error handling is not poor - it's entirely missing. Thus, if Git is missing or finds a problem half-way, you will just get an empty or half-filled list of authors.

The bot filtering is pretty simple and naïve, so it's possible not all bots get removed.