From f051709c4fb82d9d6343214b872785512732330c Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Fri, 20 May 2022 12:22:42 +0200 Subject: [PATCH] fixed purge does not trigger a rechecking of purged package --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index adb9324..73a6414 100644 --- a/main.go +++ b/main.go @@ -293,7 +293,7 @@ func (b *BuildManager) repoWorker(repo string) { } if pkg.DbPackage != nil { - _ = pkg.DbPackage.Update().ClearRepoVersion().Exec(context.Background()) + _ = pkg.DbPackage.Update().ClearHash().ClearRepoVersion().SetStatus(dbpackage.StatusUnknown).Exec(context.Background()) } for _, file := range pkg.PkgFiles {