Download a comma-separated values report about issues tagged with sprint
in multiple repositories.
-
Install
hub
(https://github.com/github/hub)brew install hub
-
Create a GitHub personal access token to allow
hub
to access your repos (https://github.com/settings/tokens) -
Create a config file for hub at
~/.config/hub
:github.com: - user: <username> oauth_token: "<token>" protocol: https
-
Clone this repository
-
Ensure the report script is executable
chmod 755 report.sh
-
(Recommended) Set up a shell profile to add the
report.sh
script to yourPATH
export PATH=$HOME/src/github-sprint-report:$PATH
-
(Recommended) Add an alias to generate a sprint report
alias sprint-report="report.sh Retriever Rover Spiders machine-learning"
In this example, all the repositories with sprint issues are checked out in the same directory. The script will iterate through each subdirectory and output a report for all of the issues tagged withsprint