stable

Clone or download

Read-only

request #10106 Parse of gitlolite logs takes too much time and space

Introduce a table to aggregate data per day (model of svn_full_history) ATM this doesn't manage the import from previous storage model. However you can test the import of logs with import_all_giotlite3_logs.php tool but you will loose the access done via gitphp Change-Id: Id58c247dc9458bf75427862003021b2aa11107b8

Modified Files

Name
A plugins/git/bin/convert_gitolite_full_logs.php +43 −0 Go to diff View file
M plugins/git/bin/import_all_giotlite3_logs.php +0 −0 Go to diff View file
M plugins/git/db/install.sql +13 −0 Go to diff View file
A plugins/git/db/mysql/updates/2017/201703301111_create_table_plugin_git_log_read.php +57 −0 Go to diff View file
A plugins/git/db/mysql/updates/2017/201704031442_create_table_plugin_git_full_history_checkpoint.php +55 −0 Go to diff View file
M plugins/git/db/uninstall.sql +2 −0 Go to diff View file
M plugins/git/include/Git/Gitolite/Gitolite3LogParser.php +62 −1 Go to diff View file
A plugins/git/include/Git/Gitolite/GitoliteFullLogsToAggregatedLogs.php +104 −0 Go to diff View file
M plugins/git/include/Git/Statistics/FrequenciesSample.php +41 −2 Go to diff View file
M plugins/git/include/GitLog.class.php +46 −5 Go to diff View file
M plugins/git/include/Git_LogDao.class.php +4 −4 Go to diff View file
M plugins/git/include/History/Dao.php +49 −10 Go to diff View file
M plugins/git/include/History/GitPhpAccessLogger.php +8 −5 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
M plugins/git/tests/Git/Gitolite/Gitolite3LogParserTest.php +22 −9 Go to diff View file
M plugins/git/tests/Git/Gitolite/_fixtures/gitolite-2016-11.log +2 −2 Go to diff View file
M plugins/statistics/include/Statistics_ServicesUsageDao.class.php +10 −4 Go to diff View file
M plugins/statistics/www/frequence_stat_graph.php +32 −23 Go to diff View file