Skip to content

Commit 8cc0f98

Browse files
committed
Don't store repo archives on gitea dump
Signed-off-by: h7x4 <[email protected]>
1 parent 9bb08aa commit 8cc0f98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/dump.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ func runDump(ctx context.Context, cmd *cli.Command) error {
265265
excludes = append(excludes, setting.LFS.Storage.Path)
266266
excludes = append(excludes, setting.Attachment.Storage.Path)
267267
excludes = append(excludes, setting.Packages.Storage.Path)
268+
excludes = append(excludes, setting.RepoArchive.Storage.Path)
268269
excludes = append(excludes, setting.Log.RootPath)
269270
if err := dumper.AddRecursiveExclude("data", setting.AppDataPath, excludes); err != nil {
270271
fatal("Failed to include data directory: %v", err)

0 commit comments

Comments
 (0)