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

Add site.github.public_repositories[].contributors - contributors to each public repo #26

Closed
Haroenv opened this issue Jan 28, 2016 · 5 comments

Comments

@Haroenv
Copy link

Haroenv commented Jan 28, 2016

Right now the key contributors_url of the key public_repositories contains for example https://api.github.com/repos/bullgit/fuck-jquery/contributors. In that url we get something like this

[
  {
    "login": "Haroenv",
    "id": 6270048,
    "avatar_url": "https://avatars.githubusercontent.com/u/6270048?v=3",
    "gravatar_id": "",
    "url": "https://api.github.com/users/Haroenv",
    "html_url": "https://github.com/Haroenv",
    "followers_url": "https://api.github.com/users/Haroenv/followers",
    "following_url": "https://api.github.com/users/Haroenv/following{/other_user}",
    "gists_url": "https://api.github.com/users/Haroenv/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/Haroenv/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/Haroenv/subscriptions",
    "organizations_url": "https://api.github.com/users/Haroenv/orgs",
    "repos_url": "https://api.github.com/users/Haroenv/repos",
    "events_url": "https://api.github.com/users/Haroenv/events{/privacy}",
    "received_events_url": "https://api.github.com/users/Haroenv/received_events",
    "type": "User",
    "site_admin": false,
    "contributions": 68
  },
  {
    "login": "dervondenbergen",
    "id": 2054024,
    "avatar_url": "https://avatars.githubusercontent.com/u/2054024?v=3",
    "gravatar_id": "",
    "url": "https://api.github.com/users/dervondenbergen",
    "html_url": "https://github.com/dervondenbergen",
    "followers_url": "https://api.github.com/users/dervondenbergen/followers",
    "following_url": "https://api.github.com/users/dervondenbergen/following{/other_user}",
    "gists_url": "https://api.github.com/users/dervondenbergen/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/dervondenbergen/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/dervondenbergen/subscriptions",
    "organizations_url": "https://api.github.com/users/dervondenbergen/orgs",
    "repos_url": "https://api.github.com/users/dervondenbergen/repos",
    "events_url": "https://api.github.com/users/dervondenbergen/events{/privacy}",
    "received_events_url": "https://api.github.com/users/dervondenbergen/received_events",
    "type": "User",
    "site_admin": false,
    "contributions": 58
  },
...
]

It could be beneficial if this data is also returned by github-metadata

@parkr
Copy link
Member

parkr commented Jan 28, 2016

@benbalter – is contributors something we would be interested in sending?

@parkr
Copy link
Member

parkr commented Jan 28, 2016

@Haroenv – according to the Help docs, this is already returned. It's also in our code as well. Are you using the latest version?

@parkr parkr removed the new-field label Jan 28, 2016
@Haroenv
Copy link
Author

Haroenv commented Jan 28, 2016

Contributors of each of the projects in the public_repositories, not the current repository.

@benbalter
Copy link
Contributor

It's on-demand, right? if so, makes sense. Exactly the core of the use case.

@parkr parkr changed the title Returning contributors Add site.github.contributors - contributors to current repository Jan 30, 2016
@parkr parkr changed the title Add site.github.contributors - contributors to current repository Add site.github.public_repositories[].contributors - contributors to each public repo Feb 5, 2016
@parkr parkr reopened this Jun 29, 2016
@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@jekyll jekyll locked and limited conversation to collaborators Apr 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants