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

Create Endpoint to receive an user to get some user information - For Gitlab #55

Open
rafamarts opened this issue Sep 3, 2020 · 2 comments
Assignees
Labels

Comments

@rafamarts
Copy link
Collaborator

The informations:

  • Total stars the user has in their repos
  • Total commits the user did
  • Total PRs the user did
  • Total issues the user opened
  • Quantity of repos the user contributed to
@ramonfsk ramonfsk self-assigned this Sep 18, 2020
@ramonfsk ramonfsk added the question Further information is requested label Oct 8, 2020
@ramonfsk
Copy link
Collaborator

ramonfsk commented Oct 8, 2020

Implementing this query in Gitlab with all this information is not yet possible because the structure is different from Github. There are also limitations in the Gitlab API itself, which returns only minimal information from a user.

Documentation link: https://docs.gitlab.com/ee/api/users.html#list-users

Do you have any suggestions to work around this problem?

@ramonfsk
Copy link
Collaborator

ramonfsk commented Feb 2, 2021

After extensive research in the Gitlab API documentation, I found a way to obtain information such as the number of stars a user received in his repository or the number of forks using a cross between user x projects.

However, there is a good discussion about this approach, as I believe it is a very big job to get this information from a platform that does not have the same Open Source purpose as Github.

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

No branches or pull requests

2 participants