forked from ALHP/ALHP.GO
added logging, removed paccache for now
This commit is contained in:
8
utils.go
8
utils.go
@@ -421,12 +421,6 @@ func movePackagesLive(fullRepo string) error {
|
||||
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:], "-")
|
||||
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
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user