mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-04-25 11:02:12 +00:00
Related: https://github.com/libp2p/blog/pull/84. Pull-Request: #4095. Co-Authored-By: Thomas Eizinger <thomas@eizinger.io>
12 lines
495 B
Bash
Executable File
12 lines
495 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Usage: ./scripts/list-external-contributors.sh <TAG>
|
|
|
|
set -e
|
|
|
|
date_of_tag=$(git log -1 --format=%aI --date=iso-strict $1)
|
|
unique_authors=$(gh api "repos/libp2p/rust-libp2p/commits?since=$date_of_tag" --paginate -q '.[].author.login' | sort -u)
|
|
rust_libp2p_maintainers_team_members=$(gh api teams/6797340/members --paginate | jq -r '.[].login' | sort -u)
|
|
|
|
echo "$unique_authors" | grep -vxF -f <(echo "$rust_libp2p_maintainers_team_members") | grep -vF "bot" | grep -vF "web-flow"
|