2018-03-27 10:35:12 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -eu
|
2018-02-15 19:33:20 +01:00
|
|
|
|
2018-06-22 16:20:44 +02:00
|
|
|
echo -e "# Code\n"
|
|
|
|
|
2018-02-15 19:33:20 +01:00
|
|
|
curl -s https://api.github.com/repos/chocobozzz/peertube/contributors | \
|
2018-04-23 14:50:00 +02:00
|
|
|
jq -r 'map(" * [" + .login + "](" + .url + ")") | .[]' | \
|
|
|
|
sed 's/api.github.com\/users/github.com/g'
|
2018-06-22 16:20:44 +02:00
|
|
|
|
|
|
|
###################################################
|
|
|
|
|
|
|
|
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/)"
|