-
Notifications
You must be signed in to change notification settings - Fork 107
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 Events to GitHub plugin #98
Comments
I have looked into this a bit, and unfortunately it's more complicated than I expected so had to give up for now. However, what I've found out about events in GitHub API:
|
There is a way to find a user's events even beyond these limits. However, we must know (1) what kind of events we are looking for, and (2) where exactly to look for them. For instance, this request will fetch all comments on issues (including pull requests) in the Pagination is fully supported (unlike with events), so one can e.g. find issue comments no. 101 by 200 (sorted by creation time): Similarly, commit comments can be fetched by: This should be pull request review comments (although it is empty for this particular repository): I have not found a way to limit the search to a specific user. That entails transferring possibly much larger data volumes, especially in the case of big repositories with many active contributors. Whether this might lead to significant performance regressions, I dare not say. In order to make the above work,
Such a solution would happen to resolve issue #86 too. Any thoughts on this? |
Nice work! Adding the Regarding the performance, this is hard to say. Certainly some repos could have loads and loads of comments so the hit could be significant. On the other hand issue/review comments are relevant (no less than eg. Bugzilla comments), and since to make this work user would have to set the Seems worth trying. |
GitHub plugin currently does not show events such as comments or Pull Request review comments. Please add this so that selected event types can be shown along with issues.
Relevant doc: https://developer.github.com/v3/activity/events/
The text was updated successfully, but these errors were encountered: