tools/authors: use plaintext instead of markdown for the authors file

- move the authors file to AUTHORS as recommended by https://www.gnu.org/prep/maintain/html_node/Recording-Contributors.html
- simplifies tooling and reduces the risk of invalid markdown injection from a contributor's email address/name
pull/4018/head
nodiscc 1 year ago
parent 3ce8820185
commit 1dee4d9d38
No known key found for this signature in database
GPG Key ID: 067FC4266A4B6909

@ -1,5 +1,5 @@
#!/usr/bin/make -f #!/usr/bin/make -f
SHELL = /bin/bash SHELL = /bin/bash
# update the AUTHORS.md file # update the AUTHORS file
contrib: contrib:
@mv .github/.mailmap . && printf "|Commits | Author |\n| :---: | --- |\n" > AUTHORS.md && git shortlog -sne | sed -r 's/^\s*([[:digit:]]*?)\s*?(.*?)/|\1|\2|/' >> AUTHORS.md && mv .mailmap .github/.mailmap @mv .github/.mailmap . && printf "Commits|Author\n-------|---------------------------------------------------\n" > AUTHORS && git shortlog -sne >> AUTHORS && mv .mailmap .github/.mailmap

@ -2189,7 +2189,7 @@ Contributing guidelines can be found in [.github/CONTRIBUTING.md](.github/CONTRI
## Authors ## Authors
The list of authors can be found in [AUTHORS.md](AUTHORS.md). The list of authors can be found in the [AUTHORS](AUTHORS) file.
## License ## License

Loading…
Cancel
Save