This is an automated email from the ASF dual-hosted git repository. lhotari pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit b120f4a184b0550d4da185da8c4992d5aaff1367 Author: Lari Hotari <lhot...@users.noreply.github.com> AuthorDate: Wed Jul 3 15:05:42 2024 +0300 Show users that don't have their Github username in their ASF profile - it's easier to send them email --- scripts/sync-team-js.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/sync-team-js.sh b/scripts/sync-team-js.sh index 9c045a17a620..dfd55c622cbf 100755 --- a/scripts/sync-team-js.sh +++ b/scripts/sync-team-js.sh @@ -16,4 +16,6 @@ curl -b "$COOKIES_FILE" -L -u "$APACHE_USER:$APACHE_PASSWORD" -X GET https://whi { echo -n "module.exports = " && cat "$PULSAR_JSON" \ | jq '{"pmc": [.roster| to_entries | sort_by(.key) | .[] | select(.value.role|startswith("PMC")) | {"name":.value.name, "apacheId": .key, "githubUsername": (.value.githubUsername|split(", "))}], "committers": [.roster| to_entries | sort_by(.key) | .[] | select(.value.role=="Committer") | {"name":.value.name, "apacheId": .key, "githubUsername": (.value.githubUsername|split(", "))}]}' -} | perl -pe 's/$/;\n/ if eof' > data/team.js \ No newline at end of file +} | perl -pe 's/$/;\n/ if eof' > data/team.js && echo "Updated data/team.js" +echo -n "Accounts without githubUsername: " +cat "$PULSAR_JSON" | jq -r '[.roster | to_entries | .[] | select(.value.githubUsername == "") | (.key + "@apache.org")] | join(", ")' \ No newline at end of file