mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-20 14:32:12 +01:00
remove all items from lfs blob store, if the corresponding repository was removed
This commit is contained in:
@@ -40,6 +40,8 @@ import com.google.inject.servlet.ServletModule;
|
||||
import org.eclipse.jgit.transport.ScmTransportProtocol;
|
||||
|
||||
import sonia.scm.plugin.ext.Extension;
|
||||
import sonia.scm.web.lfs.LfsBlobStoreFactory;
|
||||
import sonia.scm.web.lfs.LfsStoreRemoveListener;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -68,6 +70,9 @@ public class GitServletModule extends ServletModule
|
||||
bind(GitRepositoryResolver.class);
|
||||
bind(GitReceivePackFactory.class);
|
||||
bind(ScmTransportProtocol.class);
|
||||
|
||||
bind(LfsBlobStoreFactory.class);
|
||||
bind(LfsStoreRemoveListener.class);
|
||||
|
||||
// serlvelts and filters
|
||||
filter(PATTERN_GIT).through(GitBasicAuthenticationFilter.class);
|
||||
|
||||
Reference in New Issue
Block a user