added logging, removed paccache for now

This commit is contained in:
2021-12-21 03:21:20 +01:00
parent 97aaad1785
commit fbf1dec948

View File

@@ -421,12 +421,6 @@ func movePackagesLive(fullRepo string) error {
return err return err
} }
// make sure no old builds get moved
cmd := exec.Command("paccache", "-rc", filepath.Join(conf.Basedir.Work, waitingDir, fullRepo), "-k", "1")
res, err := cmd.CombinedOutput()
log.Debug(string(res))
check(err)
march := strings.Join(strings.Split(fullRepo, "-")[1:], "-") march := strings.Join(strings.Split(fullRepo, "-")[1:], "-")
repo := strings.Split(fullRepo, "-")[0] repo := strings.Split(fullRepo, "-")[0]
@@ -461,6 +455,8 @@ func movePackagesLive(fullRepo string) error {
}) })
} }
log.Infof("[%s] Adding %d packages", fullRepo, len(toAdd))
buildManager.repoAdd[fullRepo] <- toAdd buildManager.repoAdd[fullRepo] <- toAdd
return nil return nil
} }