aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2019-06-29 11:58:56 +0000
committerGitHub <noreply@github.com>2019-06-29 11:58:56 +0000
commit5f1ec2e187143ddde08fab2ef793f2025d02bb16 (patch)
tree157f48001f55ab1b3ec4380fefcacef8404e8b65
parentMerge pull request #1720 from exic/patch-1 (diff)
parentmakefile: add a target to run awesome-bot, add it to the monthly target (diff)
downloadawesome-selfhosted-5f1ec2e187143ddde08fab2ef793f2025d02bb16.tar.gz
awesome-selfhosted-5f1ec2e187143ddde08fab2ef793f2025d02bb16.zip
Merge pull request #1723 from nodiscc/tools-makefile-1705
Makefile: improve automated maintenance tasks
-rwxr-xr-xMakefile18
-rw-r--r--README.md2
2 files changed, 15 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3e4ac949..21373e3a 100755
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@ all: checks
checks: nolicenselanguage nofullstop longdescriptions syntaxerrors
+monthly: checks awesome_bot check_github_commit_dates contrib
+
noexternallink:
@echo -e "\nLines with no source/demo/other link:"
@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '^ *\* ' | egrep --color=always '[a-z\.] `'
@@ -21,17 +23,25 @@ longdescriptions:
@echo -e "\nDescriptions exceeding 250 chars:"
@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}'
-listlicenses:
- @echo -e "\nList of licenses:"
- @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '([Aa0-Zz9]|\s|\.|-)*` `' README.md | sort --unique
-
syntaxerrors:
@echo -e "\nSyntax errors:"
@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '\)\(|``|\)`'
+#################################
+
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
+awesome_bot:
+ # https://github.com/dkhamsing/awesome_bot
+ awesome_bot --allow-redirect -f README.md
+
+check_github_commit_dates:
+ python3 tests/check-github-commit-dates.py
+
+#################################
+
+
add:
@#add a new entry
@printf 'Software name: ' ;\
diff --git a/README.md b/README.md
index 3a7c4376..d2341fe8 100644
--- a/README.md
+++ b/README.md
@@ -1131,7 +1131,7 @@ See also _[Monitoring](#monitoring)_
- [miniProxy](https://joshdick.github.io/miniProxy/) - Simple web proxy written in PHP that can allow you to bypass Internet content filters, or to browse the internet anonymously. Only one php file. ([Source Code](https://github.com/joshdick/miniProxy)) `GPL-3.0` `PHP`
- [Oranjeproxy](http://lehollandaisvolant.net/tout/oranjeproxy/) - Anonymizing web proxy. ([Source Code](https://github.com/AmauryCarrade/OranjeProxy)) `GPL-2.0` `PHP`
- [PHP-Proxy](https://www.php-proxy.com/) - Web proxy script built specifically to be fast, easy to modify and to support video sites such as YouTube. ([Demo](https://unblockvideos.com/), [Source Code](https://github.com/Athlon1600/php-proxy-app)) `MIT` `PHP`
-- [Pomerium](https://pomerium.io) - An identity-aware reverse proxy, successor to now obsolete `oauth_proxy`. It inserts an OAuth step before proxying your requst to the backend, so that you can safely expose your self-hosted websites to public Internet. ([Source Code](https://github.com/pomerium/pomerium)) `Apache-2.0` `Go`
+- [Pomerium](https://pomerium.io) - An identity-aware reverse proxy, successor to now obsolete oauth_proxy. It inserts an OAuth step before proxying your requst to the backend, so that you can safely expose your self-hosted websites to public Internet. ([Source Code](https://github.com/pomerium/pomerium)) `Apache-2.0` `Go`
- [Pound](http://www.apsis.ch/pound/) - Light-weight reverse proxy and load balancer for HTTP/HTTPS. `GPL-2.0` `C`
- [Privoxy](http://www.privoxy.org) - Non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk. `GPL-2.0` `C`
- [Redbird](https://github.com/OptimalBits/redbird) - A modern reverse proxy for node that includes cluster, HTTP2, LetsEncrypt, and Docker support. `BSD-2-Clause` `Javascript`