stable

Clone or download

Read-only

Store the last commit date of a repo in the SVN plugin

Starting this contribution, the table plugin_svn_last_access must be populated with the last commit date of each repository. This is part of story #10211: include SVN plugin disk stats in site stats Change-Id: Id1ff29888d198c880a9d1343b3a430ce62f00271

Modified Files

Name
M plugins/svn/bin/svn_post_commit.php +3 −1 Go to diff View file
M plugins/svn/db/install.sql +5 −0 Go to diff View file
A plugins/svn/db/mysql/updates/2017/201706061300_create_table_svn_last_access.php +49 −0 Go to diff View file
M plugins/svn/db/uninstall.sql +1 −0 Go to diff View file
M plugins/svn/include/Svn/Hooks/PostCommit.class.php +10 −5 Go to diff View file
A plugins/svn/include/Svn/Logs/CannotGetCommitDateException.php +25 −0 Go to diff View file
A plugins/svn/include/Svn/Logs/LastAccessDao.php +42 −0 Go to diff View file
A plugins/svn/include/Svn/Logs/LastAccessUpdater.php +59 −0 Go to diff View file
M plugins/svn/include/autoload.php +5 −2 Go to diff View file
A plugins/svn/tests/Svn/Logs/LastAccessUpdaterTest.php +55 −0 Go to diff View file