Skip to content

Instantly share code, notes, and snippets.

@ehfeng
Created April 28, 2017 01:21
Show Gist options
  • Save ehfeng/878d7e11f4ea5e3967fdcf8700c9a9b1 to your computer and use it in GitHub Desktop.
Save ehfeng/878d7e11f4ea5e3967fdcf8700c9a9b1 to your computer and use it in GitHub Desktop.
Sentry OSS Contributors
import requests
usernames = set()
repos = set(['sentry', 'sentry-plugins' , 'sentry-docs', 'sentry-php', 'raven-python', 'raven-java', 'symbolserver', 'sentry-swift', 'raven-js', 'sentry-symfony', 'react-native-sentry', 'raven-node', 'sentry-elixir', 'raven-ruby', 'sentry-cli', 'fastlane-plugin-sentry', 'homebrew-tools', 'raven-csharp', 'sentry-laravel', 'sentry-auth-github', 'sentry-relay', 'sentry-rust', 'raven-aiohttp', 'sentry-gitlab', 'raven-swift', 'sentry-objc', 'sentry-irc', 'perl-raven', 'sentry-auth-google', 'sentry-orbital', 'sentry-trello', 'sentry-youtrack', 'sentry-zendesk-app', 'sentry-bitbucket', 'sentry-jira', 'sentry-pushover', 'sentry-github', 'sentry-pivotal', 'sentry-hipchat-ac', 'sentry-pagerduty', 'sentry-teamwork', 'raven-objc', 'sentry-redmine', 'raven-php', 'sentry-phabricator', 'sentry-flowdock', 'raven-django', 'sentry-webhooks'])
for repo in repos:
for contrib in requests.get('https://api.github.com/repos/getsentry/%s/contributors' % repo).json():
usernames.add(contrib['login'])
print(len(usernames))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment