stable
Clone or download
Read-only
Almost all the svn stats are based on the values stored in DB in `group_svn_full_history` and `svn_commit` tables. As those tables are no longer updated after the switch, the computed usage stats should be accurate. However, for disk stats the plugin should override the value from Core. It's done during the nightly stat collection in order to keep data as accurate as possible (svnroot size remove from core balance but added to plugin balance in the same transaction). Part of request #17893 Phase-out core "Subversion" service Change-Id: I627ed896dc68dd6d01b5f715a5ded16262cbdd34
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/statistics/include/Statistics_DiskUsageDao.class.php | +12 | −2 | Go to diff View file |
M | plugins/svn/include/SVN/DiskUsage/DiskUsageCollector.php | +10 | −3 | Go to diff View file |
M | plugins/svn/include/SVN/DiskUsage/DiskUsageRetriever.php | +11 | −1 | Go to diff View file |
M | plugins/svn/include/svnPlugin.php | +34 | −107 | Go to diff View file |
M | plugins/svn/tests/unit/SVN/DiskUsage/DiskUsageCollectorTest.php | +32 | −0 | Go to diff View file |