GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/7136

    [SPARK-8740] 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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark 
pr-merge-script-oauth-authentication

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/7136.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #7136
    
----
commit 23d92ffb156709ae8e705004f59c278f390bc403
Author: Josh Rosen <[email protected]>
Date:   2015-06-30T21:33:52Z

    Support GitHub OAuth tokens in dev/merge_spark_pr.py

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to