Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #2, reducing the oauth scope permissions required from user #3

Merged
merged 1 commit into from
May 29, 2015

Conversation

rtyley
Copy link
Owner

@rtyley rtyley commented May 28, 2015

The public_repo requirement is dropped, with users now only required to give the user:email scope so we can get their email address.

Note that existing users will get a slightly alarming-looking notification from GitHub to tell them that the required permissions have been reduced:

'Removed permissions' is highlighted in red

The PR comment generated when a user sends mail to the list is now made by the @submitgit account.

Conditional response caching with OkHttp is now also enabled so that there's less risk of running out of GitHub API quota - given that now we don't take advantage of the user's quota.

cc @gitster for #2

http://thread.gmane.org/gmane.comp.version-control.git/269699/focus=269733

The `public_repo` requirement is dropped, with users now only required
to give the `user:email` scope so we can get their email address.

https://developer.github.com/v3/oauth/#scopes

Note that existing users will get a slightly alarming-looking notification
from GitHub to tell them that the required permissions have been reduced:

!['Removed permissions' is highlighted in red](https://cloud.githubusercontent.com/assets/52038/7860692/2ae50980-0543-11e5-9f6d-01d001ef0fab.png)

The PR comment generated when a user sends mail to the list is now made
by the @submitgit account.

Conditional response caching with OkHttp is now also enabled so that
there's less risk of running out of GitHub API quota - given that now we
don't take advantage of the user's quota.

http://thread.gmane.org/gmane.comp.version-control.git/269699/focus=269733
rtyley added a commit that referenced this pull request May 29, 2015
Fix issue #2, reducing the oauth scope permissions required from user
@rtyley rtyley merged commit c7dcee9 into master May 29, 2015
@prout-bot
Copy link
Collaborator

Seen on PROD (merged by @rtyley 7 minutes and 21 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants