gitea/models/git
zeripath 2cc3a6381c
Add cron method to gc LFS MetaObjects ()
This PR adds a task to the cron service to allow garbage collection of
LFS meta objects. As repositories may have a large number of
LFSMetaObjects, an updated column is added to this table and it is used
to perform a generational GC to attempt to reduce the amount of work.
(There may need to be a bit more work here but this is probably enough
for the moment.)

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
branches.go Supports wildcard protected branch ()
branches_test.go Supports wildcard protected branch ()
commit_status.go Use context parameter in models/git ()
commit_status_test.go Use context parameter in models/git ()
lfs.go Add cron method to gc LFS MetaObjects ()
lfs_lock.go Use context parameter in models/git ()
main_test.go Implement FSFE REUSE for golang files ()
protected_branch.go Supports wildcard protected branch ()
protected_branch_list.go Supports wildcard protected branch ()
protected_branch_test.go Supports wildcard protected branch ()
protected_tag.go Use context parameter in models/git ()
protected_tag_test.go Implement FSFE REUSE for golang files ()