mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Created a .mailmap file with all of the associations, then used git + perl to create the AUTHORS file. In theory these should all get picked up by npm. I used ABC order so it would remain unbiased and automatable. I wish we could go back and fill out the history or at least fix the commits we have from CommitSyncScript, but oh well. This also includes the script I used to automate this process in the future.
11 lines
284 B
Bash
Executable File
11 lines
284 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# Generate an AUTHORS file based on the output of git shortlog. It uses ABC
|
|
# order, strips out leading spaces and numbers, then filters out specific
|
|
# authors.
|
|
|
|
git shortlog -se \
|
|
| perl -spe 's/^\s+\d+\s+//' \
|
|
| sed -e '/^CommitSyncScript.*$/d' \
|
|
> AUTHORS
|