loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix gitea doctor will remove repo-avatar files when execute command `storage-archives` (#30094)

Fix #30037

(cherry picked from commit 9cf0f0bb040162509702ec9aaf7df6662ecc13b1)

authored by

yp05327 and committed by
Earl Warren
1360e310 82e83d30

+1 -1
+1 -1
services/doctor/storage.go
··· 162 162 if opts.RepoArchives || opts.All { 163 163 if err := commonCheckStorage(ctx, logger, autofix, 164 164 &commonStorageCheckOptions{ 165 - storer: storage.RepoAvatars, 165 + storer: storage.RepoArchives, 166 166 isOrphaned: func(path string, obj storage.Object, stat fs.FileInfo) (bool, error) { 167 167 exists, err := repo.ExistsRepoArchiverWithStoragePath(ctx, path) 168 168 if err == nil || errors.Is(err, util.ErrInvalidArgument) {