-
Notifications
You must be signed in to change notification settings - Fork 87
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
[Doc] opensource obtains star-count and fork-count #1623
Comments
Got it, thanks a lot! |
The contradiction in your viewpoints may come from the different definitions :
vs. GitHub API:
|
Thank you both for the detailed explanation! |
The relationship between issue 'id' and 'issue_number' in Gitee API may differ from their relationship in GitHub API.
|
We need to invite more people who understand the records from Gitee platform well to join this discussion :-) |
I just use the For |
I find similar parsing functions here: https://blog.csdn.net/qq_52669357/article/details/122883439 and https://blog.csdn.net/z956281507/article/details/72796699 . |
BTW, all the repo related fields are removed in the original log data after 2024.09.24. |
Description
At the invitation of Dr. Zhao, here is a method to obtain the fork-count and star-count of the repository in opensource.
Regarding repo_forks_count and repo_startgazers_count, these repo-related fields are not included in all types of events. Only PullRequest-related events have repository statistics.
In addition, there is no PR counter in opensource, and I have not found any other way to get the PR count. Here is an additional explanation of the conditions for merging PR:
action='closed' AND pull_merged=1
The text was updated successfully, but these errors were encountered: