diff options
author | Josh Rosen <joshrosen@databricks.com> | 2015-07-01 23:06:52 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-07-01 23:06:52 -0700 |
commit | 377ff4c9e8942882183d94698684824e9dc9f391 (patch) | |
tree | 8f163b07c53f378cf682f58cb20773098acbb738 /yarn | |
parent | 15d41cc501f5fa7ac82c4a6741e416bb557f610a (diff) | |
download | spark-377ff4c9e8942882183d94698684824e9dc9f391.tar.gz spark-377ff4c9e8942882183d94698684824e9dc9f391.tar.bz2 spark-377ff4c9e8942882183d94698684824e9dc9f391.zip |
[SPARK-8740] [PROJECT INFRA] Support GitHub OAuth tokens in dev/merge_spark_pr.py
This commit allows `dev/merge_spark_pr.py` to use personal GitHub OAuth tokens in order to make authenticated requests. This is necessary to work around per-IP rate limiting issues.
To use a token, just set the `GITHUB_OAUTH_KEY` environment variable. You can create a personal token at https://github.com/settings/tokens; we only require `public_repo` scope.
If the script fails due to a rate-limit issue, it now logs a useful message directing the user to the OAuth token instructions.
Author: Josh Rosen <joshrosen@databricks.com>
Closes #7136 from JoshRosen/pr-merge-script-oauth-authentication and squashes the following commits:
4d011bd [Josh Rosen] Fix error message
23d92ff [Josh Rosen] Support GitHub OAuth tokens in dev/merge_spark_pr.py
Diffstat (limited to 'yarn')
0 files changed, 0 insertions, 0 deletions