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

Chart: repository activity #28

Merged
merged 6 commits into from
Nov 16, 2017
Merged

Conversation

pluehne
Copy link
Contributor

@pluehne pluehne commented Oct 25, 2017

This pull request is work in progress.

This adds a report that records the number of active repositories in total, in organizations, and in user spaces for the last day, week, and four weeks, as well as corresponding charts in the repositories tab.

Again, I added some randomly generated demo data for autodesk.github.io.

This is how the new dashboard page looks like:

repository-activity-chart

@pluehne
Copy link
Contributor Author

pluehne commented Oct 25, 2017

Note that, in contrast to the previous charts, this chart records aggregates the number of active repositories over the last day, week, and four weeks (instead of 30 days). I decided to do so in order to have less fluctuations due to weekends. The past 30 days might include 4 or 5 weekends, whereas the past 4 weeks would always cover exactly 4 weekends.

We might consider doing the same with the other charts, however, this might affect already existing data and require a data reset for these charts 😐.

@pluehne
Copy link
Contributor Author

pluehne commented Oct 25, 2017

@toddocon: Moved discussion to here from #27.

What I wanted to say is that every day the data updater is invoked, the number of active repositories within the last 1/7/28 days is recorded. Previously, we had aggregated that over the last 1/7/30 days.

There will still be a measurement for each day, and the data is cropped only after 2 years. I hope this clarifies a bit what I originally wanted to say 😃.

This adds a report that records the number of active repositories in
total, in organizations, and in user spaces for the last day, week, and
four weeks, as well as corresponding charts in the repositories tab.
@pluehne pluehne force-pushed the patrick/chart-repository-activity branch from e975884 to a463fed Compare October 30, 2017 16:40
@@ -0,0 +1,45 @@
---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: filename
we should agree on a scheme going forward (repositories vs repos)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed - I'm working on the new organizations (vs orgs) one now. ;-)

Copy link
Contributor Author

@pluehne pluehne Oct 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@toddocon: You might want to have a look at our recent discussion on this topic, where we agreed to be consistent with the GitHub API naming scheme.

@larsxschneider larsxschneider merged commit e2ce051 into master Nov 16, 2017
@larsxschneider larsxschneider deleted the patrick/chart-repository-activity branch November 16, 2017 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants