2019-04-11 16:16:57 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2019-08-20 22:52:57 +00:00
|
|
|
# sudo apt install python3-pip
|
|
|
|
# sudo pip3 install gitpython termcolor
|
|
|
|
|
|
|
|
# Go to GitHub.
|
|
|
|
# In top-right corner, click to your profile icon.
|
|
|
|
# Choose "Settings".
|
|
|
|
# Choose "Developer settings".
|
|
|
|
# Choose "Personal access tokens".
|
|
|
|
# Choose "Generate new token".
|
|
|
|
|
|
|
|
# Don't check any checkboxes.
|
|
|
|
|
|
|
|
# Run as:
|
|
|
|
# ./list_backports.sh --token your-token
|
|
|
|
|
|
|
|
|
2019-04-11 16:16:57 +00:00
|
|
|
set -e
|
2019-04-12 13:26:02 +00:00
|
|
|
SCRIPTPATH=$(readlink -f "$0")
|
|
|
|
SCRIPTDIR=$(dirname "$SCRIPTPATH")
|
|
|
|
PYTHONPATH="$SCRIPTDIR" python3 -m github "$@"
|