aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2023-07-15 17:01:18 +0000
committernodiscc <nodiscc@gmail.com>2023-07-15 17:01:18 +0000
commit1dee4d9d38977afcacbe4fc6476cefebd335f678 (patch)
tree78bb6f0b4c003d83f2b109573ed5a919de614750
parentPull Request template: require forks to provide a list of differences to the ... (diff)
downloadawesome-selfhosted-1dee4d9d38977afcacbe4fc6476cefebd335f678.tar.gz
awesome-selfhosted-1dee4d9d38977afcacbe4fc6476cefebd335f678.zip
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
-rw-r--r--AUTHORS (renamed from AUTHORS.md)0
-rwxr-xr-xMakefile4
-rw-r--r--README.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/AUTHORS.md b/AUTHORS
index ad4d539f..ad4d539f 100644
--- a/AUTHORS.md
+++ b/AUTHORS
diff --git a/Makefile b/Makefile
index 17ed56cb..9c8a08d0 100755
--- a/Makefile
+++ b/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
diff --git a/README.md b/README.md
index 9b926f2f..74b4a660 100644
--- a/README.md
+++ b/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