mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	LFS support to be stored on minio (#12518)
* LFS support to be stored on minio * Fix test * Fix lint * Fix lint * Fix check * Fix test * Update documents and add migration for LFS * Fix some bugs
This commit is contained in:
		@@ -69,6 +69,7 @@ func MainTest(m *testing.M, pathToGiteaRoot string) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	setting.Attachment.Path = filepath.Join(setting.AppDataPath, "attachments")
 | 
			
		||||
	setting.LFS.ContentPath = filepath.Join(setting.AppDataPath, "lfs")
 | 
			
		||||
	if err = storage.Init(); err != nil {
 | 
			
		||||
		fatalTestError("storage.Init: %v\n", err)
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user