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

Do not list forks #36

Open
xeronimus opened this issue Dec 20, 2020 · 0 comments
Open

Do not list forks #36

xeronimus opened this issue Dec 20, 2020 · 0 comments
Assignees

Comments

@xeronimus
Copy link
Contributor

xeronimus commented Dec 20, 2020

"Contributions" should not list forks of other open source repositories where Zühlke is only a contributor.

Details

  • contributions.json should only contain "our own repos"
  • when collecting organization repos (github_api.py -> collect_org_repos) filter out forks
  • github API response contains flag fork

e.g.

{
    "id": 152042863,
    "node_id": "MDEwOlJlcG9zaXRvcnkxNTIwNDI4NjM=",
    "name": "i18n",
    "full_name": "Zuehlke/i18n",
    "private": false,
    "owner": {
      "login": "Zuehlke",
      "id": 10219568,
    },
    "html_url": "https://github.com/Zuehlke/i18n",
    "description": "A plugin that provides i18n support.",
    "fork": true
    ...
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

No branches or pull requests

2 participants