up-for-grabs.net icon indicating copy to clipboard operation
up-for-grabs.net copied to clipboard

Show repo activity

Open rms81 opened this issue 9 years ago • 16 comments

Sometimes when you go to a project´s repo you see that the repo as a very low level of activity. The issues were opened to far back in time or are already closed, lot´s of PR´s to be approved, etc It would be useful to be able to see some information about the repo´s activity. Something like:

  • Newest issue opened;
  • Number of issues;
  • Number of issues with the tag;
  • Number of pending PR´s;
  • Etc...

rms81 avatar Mar 09 '15 13:03 rms81

In #163 I'm working on showing the number of tagged issues. Getting repo-level stats would require an extra API call (so we'd hit the rate limit twice as fast), but we could probably glean a lot from just the tagged request: https://api.github.com/repos/dahlbyk/up-for-grabs.net/issues?labels=up-for-grabs.

Better yet, by querying with state=all we could show count for closed tagged issues as well: https://api.github.com/repos/dahlbyk/up-for-grabs.net/issues?labels=up-for-grabs&state=all.

dahlbyk avatar Mar 09 '15 19:03 dahlbyk

+1

304NotModified avatar Jul 24 '15 19:07 304NotModified

Now that #163 is merged this up for grabs!

dahlbyk avatar Aug 07 '15 20:08 dahlbyk

Does anyone know the related API calls for this request?

304NotModified avatar Aug 07 '15 21:08 304NotModified

@304NotModified I'd start with what you can find by appending &state=all to the current GitHub call. It won't give repo-wide stats, but we can probably show activity for the new contributor label.

dahlbyk avatar Aug 30 '15 12:08 dahlbyk

Im working on adding some repo overview data here. @304NotModified are you still working on this as well?

JrPribs avatar Sep 22 '15 17:09 JrPribs

I don't work at this. I was only trying to get more info in this thread, so others can easily start with it.

304NotModified avatar Sep 22 '15 18:09 304NotModified

Anyone know if I should just be caching the new data along with the issue count? seems like the right place to utilize the existing github API call

JrPribs avatar Sep 23 '15 14:09 JrPribs

Sounds good to me :)

304NotModified avatar Sep 23 '15 14:09 304NotModified

I am working on this and I am saving the info to local storage but am not sure how to access it form the template. Do I need to compile and insert the html from the main.js file? or is there a way I can access the local storage data directly in the index template?

JrPribs avatar Sep 25 '15 17:09 JrPribs

The most relevant would be the average time before a pull request is merged/closed.

nicolas-raoul avatar Jul 31 '17 09:07 nicolas-raoul

Is there interest in this still? What would be a good metric to display?

ryanmahan avatar Feb 06 '19 03:02 ryanmahan

Still interested! Good metrics to show:

  • Number of pull requests merged in the last 6 months (preferably excluding self-merged ones),
  • Number of different contributors who have had anything added to the version control system in the last 6 moths,
  • Number of people who have posted anything (issue, comment, wiki, etc) to the project in the last 6 months,
  • Medium time before a pull request is merged/closed, for pull requests merged/closed in the last 6 months.

All of these metrics could be combined into a global score (stars) by comparing them to the medium value for all registered projects.

nicolas-raoul avatar Feb 06 '19 04:02 nicolas-raoul

Is this still up for grabs?

pherwanikar avatar Jul 28 '19 13:07 pherwanikar

YEah @pherwanikar

ritwik12 avatar Jul 29 '19 10:07 ritwik12

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 16 '19 12:10 stale[bot]