stable

Clone or download

Read-only

Delete unused object files

LFS objects only used by deleted projects will now be removed as well as the unused upload temporary files. This is part of story #12322: have git-lfs batch and basic transfer API Change-Id: I63af2388c45038aaa1710f052549d7c505890030

Modified Files

Name
M plugins/gitlfs/db/install.sql +2 −1 Go to diff View file
A plugins/gitlfs/db/mysql/updates/2018/201812041200_add_object_id_index.php +41 −0 Go to diff View file
M plugins/gitlfs/include/Authorization/Action/ActionAuthorizationDAO.php +12 −0 Go to diff View file
M plugins/gitlfs/include/Authorization/Action/ActionAuthorizationRemover.php +57 −3 Go to diff View file
M plugins/gitlfs/include/LFSObject/LFSObjectDAO.php +29 −0 Go to diff View file
M plugins/gitlfs/include/LFSObject/LFSObjectPathAllocator.php +20 −2 Go to diff View file
A plugins/gitlfs/include/LFSObject/LFSObjectRemover.php +73 −0 Go to diff View file
M plugins/gitlfs/include/gitlfsPlugin.class.php +25 −2 Go to diff View file
A plugins/gitlfs/phpunit/Authorization/Action/ActionAuthorizationRemoverTest.php +62 −0 Go to diff View file
A plugins/gitlfs/phpunit/LFSObject/LFSObjectRemoverTest.php +104 −0 Go to diff View file