-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add detailed Git versions report (#144)
This adds an extended edition of the Git versions report. In addition to tracking the used Git versions of the last day, this tracks all used Git versions every day, making an upgrade trend chart possible. Note that this only includes the report (which gathers the data) but not the chart. Also, for compatibility, the former Git versions chart is retained for now. The migration will be done in a future pull request.
- Loading branch information
1 parent
6a98b4e
commit 7a33b87
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from .ReportDaily import * | ||
|
||
# Lists which git version was used by how many users yesterday | ||
class ReportGitVersionsNew(ReportDaily): | ||
def name(self): | ||
return "git-versions-new" | ||
|
||
def updateDailyData(self): | ||
newHeader, newData = self.parseData( | ||
self.executeScript(self.scriptPath("git-versions.sh"))) | ||
|
||
self.header = ["date"] + newHeader | ||
|
||
newData = [[str(self.yesterday())] + row for row in newData] | ||
|
||
self.data.extend(newData) | ||
self.truncateData(self.timeRangeTotal()) | ||
self.sortDataByDate() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters