Skip to content

Commit

Permalink
add reminder to get other repo info
Browse files Browse the repository at this point in the history
  • Loading branch information
richm committed Oct 15, 2024
1 parent 52cdd4d commit 320bb25
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions get-github-stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ else
echo Issues closed from non-maintainers: "${ISSUES_CLOSED_NON_MAINT[$repo]:-0}"
fi

#curl -H 'accept: application/json' -H "Authorization: Token $galaxy_token" -L \
# -s https://galaxy.ansible.com/api/v1/roles\?namespace=linux-system-roles\&page_size=50 | \
# jq -r '.results[] | "\(.name),\(.download_count)"' | sort -r -k2 -n -t, > galaxy.csv
cat <<EOF
curl -H 'accept: application/json' -H "Authorization: Token \$galaxy_token" -L \
-s https://galaxy.ansible.com/api/v1/roles\?namespace=linux-system-roles\&page_size=50 | \
jq -r '.results[] | "\(.name),\(.download_count)"' | sort -r -k2 -n -t, > galaxy.csv
get https://galaxy.ansible.com/ui/standalone/roles/willshersystems/sshd
EOF

0 comments on commit 320bb25

Please sign in to comment.