Add unode to the known users

This commit is contained in:
Graham Christensen 2018-01-28 08:21:18 -05:00
parent dab9d5eae3
commit cabe7781a5
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 3 additions and 2 deletions

View file

@ -97,6 +97,7 @@
"thoughtpolice",
"ts468",
"ttuegel",
"unode",
"vbgl",
"vcunat",
"viric",

View file

@ -15,14 +15,14 @@ function fetch_users() {
| jq 'map(.login | ascii_downcase)'
}
echo '[]' > "$accumulator"
cp ./config.extra-known-users.json "$accumulator"
page=0
while true; do
page=$((page + 1))
fetch_users "$page" > "$scratch"
jq -s '.[0] + .[1]' "$accumulator" "$scratch" > "$result"
jq -s '.[0] + .[1] | sort' "$accumulator" "$scratch" > "$result"
mv "$result" "$accumulator"
if [ $(jq -r 'length' "$scratch") -eq 0 ]; then