You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
zeripath 651fe4bb7d
Add doctor command for full GC of LFS (#21978)
The recent PR adding orphaned checks to the LFS storage is not
sufficient to completely GC LFS, as it is possible for LFSMetaObjects to
remain associated with repos but still need to be garbage collected.

Imagine a situation where a branch is uploaded containing LFS files but
that branch is later completely deleted. The LFSMetaObjects will remain
associated with the Repository but the Repository will no longer contain
any pointers to the object.

This PR adds a second doctor command to perform a full GC.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
agit Rename almost all Ctx functions (#22071) 2 years ago
asymkey Implement FSFE REUSE for golang files (#21840) 2 years ago
attachment Add API management for issue/pull and comment attachments (#21783) 2 years ago
auth refactor some functions to support ctx as first parameter (#21878) 2 years ago
automerge refactor some functions to support ctx as first parameter (#21878) 2 years ago
context Implement FSFE REUSE for golang files (#21840) 2 years ago
cron Add doctor command for full GC of LFS (#21978) 2 years ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Allow disable code tab (#20805) 2 years ago
gitdiff Implement FSFE REUSE for golang files (#21840) 2 years ago
issue Rename almost all Ctx functions (#22071) 2 years ago
lfs refactor some functions to support ctx as first parameter (#21878) 2 years ago
mailer refactor some functions to support ctx as first parameter (#21878) 2 years ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations refactor some functions to support ctx as first parameter (#21878) 2 years ago
mirror Implement FSFE REUSE for golang files (#21840) 2 years ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
pull Correctly handle moved files in apply patch (#22118) 2 years ago
release Add API management for issue/pull and comment attachments (#21783) 2 years ago
repository Add doctor command for full GC of LFS (#21978) 2 years ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user Implement FSFE REUSE for golang files (#21840) 2 years ago
webhook Implement FSFE REUSE for golang files (#21840) 2 years ago
wiki Implement FSFE REUSE for golang files (#21840) 2 years ago