grimoirelab icon indicating copy to clipboard operation
grimoirelab copied to clipboard

Analysis of user activity on GitHub on issues/PRs: adding/removing labels and commenting

Open GeorgLink opened this issue 6 years ago • 2 comments

  1. I thought GrimoireLab provided information about comments posted on GitHub issues and pull requests. Where would I find this?

  2. 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

GeorgLink avatar Aug 29 '19 22:08 GeorgLink

  1. 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

  2. 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.

valeriocos avatar Aug 30 '19 09:08 valeriocos

Thank you @valeriocos, my understanding is that:

  1. may be resolved by exposing the available data to the dashboard and building a visualization for it.

  2. requires substantive new development on data ingestion, enrichment, and visualization.

GeorgLink avatar Sep 05 '19 22:09 GeorgLink