Skip to content
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

Repository Page #21

Open
jrtechs opened this issue Dec 27, 2019 · 2 comments
Open

Repository Page #21

jrtechs opened this issue Dec 27, 2019 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed research

Comments

@jrtechs
Copy link
Owner

jrtechs commented Dec 27, 2019

I want to look into what data we can pull from the GitHub API on repositories and user activity. The goal of this issue is to determine what endpoints we could use to generate metrics such as:

  • contributions over time
  • issues opened/closed
  • query user activity on repositories

This issue can be closed once we have a clear plan of attack for what graphs we can generate with specific endpoints.

@jrtechs jrtechs added research enhancement New feature or request help wanted Extra attention is needed labels Dec 27, 2019
@jrtechs jrtechs changed the title Look into Repository Level Metrics Repository Page Dec 30, 2019
@jrtechs
Copy link
Owner Author

jrtechs commented Dec 30, 2019

I was amazed to see how much detail the GitHub API endpoint for events returns. Check out this example:
https://api.github.com/repos/jrtechs/bash_manager/events?page=1&per_page=100

Based on this information, I think that it would be neat to start with a repository overview page. The information returned in the API would be easy to turn into an activity heatmap and a timeline of events. The tricky part is deciding what is worthy to get placed in the timeline because there are so many events.

Blank Diagram - Page 2

There is so much more we could do with this data(we could make additional charts on things like issues opened/closed), but, I think starting with this for a repository page would be a good start.

@jrtechs
Copy link
Owner Author

jrtechs commented Dec 31, 2019

After poking around it a little more I noticed this in the documentation

Only events created within the past 90 days will be included in timelines. Events older than 90 days will not be included (even if the total number of events in the timeline is less than 300).

I think that limitation will make us reconsider what we want to do with repository metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed research
Projects
None yet
Development

No branches or pull requests

1 participant