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

Using commit search to identify new contributors #3

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

davidalber
Copy link
Owner

The current approach to checking for new contributors does not work in repositories with more than 500 contributors because the contributors list API endpoint only associates the first 500 committer emails with GitHub usernames. See rust-lang#41 for more explanation.

This commit modifies the new contributor check to use the commit search API endpoint. A drawback of this approach is that (at least currently) that endpoint does not provide useful information for fork repositories, which is why the new contributor check has a condition on whether the repository is a fork.

The current approach to checking for new contributors does not work
in repositories with more than 500 contributors because the
contributors list API endpoint only associates the first 500
committer emails with GitHub usernames. See rust-lang#41 for more
explanation.

This commit modifies the new contributor check to use the commit
search API endpoint. A drawback of this approach is that (at least
currently) that endpoint does not provide useful information for
fork repositories, which is why the new contributor check has a
condition on whether the repository is a fork.
@davidalber davidalber force-pushed the test-new-contrib-with-commit-search branch from 82727fb to 9636e3c Compare March 25, 2018 08:30
@davidalber davidalber merged commit 9636e3c into master Mar 26, 2018
@davidalber davidalber deleted the test-new-contrib-with-commit-search branch March 27, 2018 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant