mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
15 lines
463 B
Text
15 lines
463 B
Text
|
#!/bin/sh
|
||
|
set -e
|
||
|
newline='
|
||
|
'
|
||
|
mydir=$(cd "${0%/*}" && pwd -P) || exit 1
|
||
|
cd "${mydir}/../../.."
|
||
|
pdir=$(cd .. && pwd -P) || exit 1
|
||
|
plugins=
|
||
|
for p in "" "&page=2" "&page=3"; do
|
||
|
curlOut=$(curl "https://api.github.com/users/ether/repos?per_page=100${p}") || exit 1
|
||
|
plugins=${plugins}${newline}$(printf %s\\n "${curlOut}" \
|
||
|
| sed -n -e 's;.*git@github.com:ether/\(ep_[^"]*\)\.git.*;\1;p');
|
||
|
done
|
||
|
printf %s\\n "${plugins}" | sort -u | grep -v '^[[:space:]]*$'
|