grimoirelab
grimoirelab copied to clipboard
Analysis of user activity on GitHub on issues/PRs: adding/removing labels and commenting
-
I thought GrimoireLab provided information about comments posted on GitHub issues and pull requests. Where would I find this?
-
Since I'm looking at user activity on issues, where can I find information about when a user adds or removes a label from an issue/pull request?
I posted these two questions together because they relate to "activity" data and not "status" data. My suspicion is that they will be similar, but I'm actually learn more about what is possible already and what would require new development.
The relevant GitHub API seems to be https://developer.github.com/v3/issues/timeline/ specifically the events:
- labeled
- unlabeled
- commented
-
Issue/pr comments are in the raw indexes but are not propagated to the dashboards. However, as you can see here, comments info is used to derive some metrics such as time_to_first_attention
-
The information about who un/labels an issue is not present in GrimoireLab. As you mention, this info seems to be available via https://developer.github.com/v3/issues/timeline/. Label events can be fetched also via the events API (https://developer.github.com/v3/activity/events/types/#labelevent), however in this case, actor info is not present.
Thank you @valeriocos, my understanding is that:
-
may be resolved by exposing the available data to the dashboard and building a visualization for it.
-
requires substantive new development on data ingestion, enrichment, and visualization.