stable

Clone or download

Read-only

Store access in DB

This is part of story #9436: see git repositories read access Gitolite3 log files are now stored in DB. We kept in a table the last read line so we should never add two times the same log entry Change-Id: I253e4e027621f5efa9ca6ab6e01a7f8dba1d39b9

Modified Files

Name
A plugins/git/bin/import_all_giotlite3_logs.php +45 −0 Go to diff View file
M plugins/git/db/install.sql +6 −0 Go to diff View file
A plugins/git/db/mysql/updates/2016/201610060900_create_plugin_git_file_logs_parse_table.php +46 −0 Go to diff View file
M plugins/git/db/uninstall.sql +1 −0 Go to diff View file
M plugins/git/include/Git.class.php +2 −2 Go to diff View file
M plugins/git/include/Git/Gitolite/Gitolite3LogParser.php +82 −18 Go to diff View file
A plugins/git/include/Git/Gitolite/GitoliteFileLogsDao.php +49 −0 Go to diff View file
M plugins/git/include/History/Dao.php +2 −2 Go to diff View file
M plugins/git/include/History/GitPhpAccessLogger.php +2 −1 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
M plugins/git/include/gitPlugin.class.php +26 −4 Go to diff View file
M plugins/git/tests/Git/Gitolite/Gitolite3LogParserTest.php +55 −6 Go to diff View file
A plugins/git/tests/Git/Gitolite/_fixtures/gitolite-2016-11.log +16 −0 Go to diff View file