From cd080b1a6b17727633cb42bd18d39eb3f7a9e030 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 22 Jun 2018 16:20:44 +0200 Subject: Update credits --- scripts/generate-code-contributors.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'scripts') diff --git a/scripts/generate-code-contributors.sh b/scripts/generate-code-contributors.sh index 2201377ae..46bf86234 100755 --- a/scripts/generate-code-contributors.sh +++ b/scripts/generate-code-contributors.sh @@ -2,6 +2,26 @@ set -eu +echo -e "# Code\n" + curl -s https://api.github.com/repos/chocobozzz/peertube/contributors | \ jq -r 'map(" * [" + .login + "](" + .url + ")") | .[]' | \ sed 's/api.github.com\/users/github.com/g' + +################################################### + +echo -e "\n\n# Translations\n" + +curl -s \ + -H "Accept: application/json" \ + -H "X-Auth-User: $(grep trad.framasoft.org.username ~/.config/zanata.ini | sed 's@.*=@@')" \ + -H "X-Auth-Token: $(grep trad.framasoft.org.key ~/.config/zanata.ini | sed 's@.*=@@')" \ + "https://trad.framasoft.org/zanata/rest/project/peertube/version/develop/contributors/2018-01-01..$(date +%Y-%m-%d)" \ + | jq -r 'map(" * [" + .username + "](https://trad.framasoft.org/zanata/profile/view/" + .username + ")") | .[]' + +################################################### + +echo -e "\n\n# Design\n" + +echo -e "By [Olivier Massain](https://twitter.com/omassain)\n" +echo -e "Icons from [Robbie Pearce](https://robbiepearce.com/softies/)" \ No newline at end of file -- cgit v1.2.3