ClickHouse/utils/list_backports.sh

23 lines
473 B
Bash
Raw Normal View History

2019-04-11 16:16:57 +00:00
#!/bin/sh
# 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
SCRIPTPATH=$(readlink -f "$0")
SCRIPTDIR=$(dirname "$SCRIPTPATH")
PYTHONPATH="$SCRIPTDIR" python3 -m github "$@"