forked from ALHP/ALHP.GO
do not clear hash and status to avoid loops on skipped packages
This commit is contained in:
2
main.go
2
main.go
@@ -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 {
|
||||
|
Reference in New Issue
Block a user