do not clear hash and status to avoid loops on skipped packages

This commit is contained in:
2022-05-20 12:31:19 +02:00
parent f051709c4f
commit bcea0e99cb

View File

@@ -293,7 +293,7 @@ func (b *BuildManager) repoWorker(repo string) {
}
if pkg.DbPackage != nil {
_ = pkg.DbPackage.Update().ClearHash().ClearRepoVersion().SetStatus(dbpackage.StatusUnknown).Exec(context.Background())
_ = pkg.DbPackage.Update().ClearRepoVersion().Exec(context.Background())
}
for _, file := range pkg.PkgFiles {