Browse Source

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 10 months ago
parent
commit
1dee4d9d38
No known key found for this signature in database GPG Key ID: 67FC4266A4B6909
  1. 0
      AUTHORS
  2. 4
      Makefile
  3. 2
      README.md

0
AUTHORS.md → AUTHORS

4
Makefile

@ -1,5 +1,5 @@
#!/usr/bin/make -f
SHELL = /bin/bash
# update the AUTHORS.md file
# update the AUTHORS file
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

2
README.md

@ -2189,7 +2189,7 @@ Contributing guidelines can be found in [.github/CONTRIBUTING.md](.github/CONTRI
## 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

Loading…
Cancel
Save