1
0
forked from ALHP/ALHP.GO

improved debug logging

This commit is contained in:
2022-08-13 10:56:58 +02:00
parent 1db73987fb
commit 7b28db40ce
2 changed files with 2 additions and 1 deletions

View File

@@ -393,6 +393,7 @@ func (b *BuildManager) syncWorker(ctx context.Context) error {
} }
b.alpmMutex.Unlock() b.alpmMutex.Unlock()
log.Debugf("generating build-queue for PKGBUILDs found in %s", filepath.Join(conf.Basedir.Work, upstreamDir, "/**/PKGBUILD"))
queue, err := b.queue(filepath.Join(conf.Basedir.Work, upstreamDir, "/**/PKGBUILD")) queue, err := b.queue(filepath.Join(conf.Basedir.Work, upstreamDir, "/**/PKGBUILD"))
if err != nil { if err != nil {
log.Warningf("Error building buildQueue: %v", err) log.Warningf("Error building buildQueue: %v", err)

View File

@@ -600,7 +600,6 @@ func housekeeping(repo string, march string, wg *sync.WaitGroup) error {
} }
} }
// TODO: remove queued status from packages that are not eligible
qPackages, err := db.DbPackage.Query().Where( qPackages, err := db.DbPackage.Query().Where(
dbpackage.And( dbpackage.And(
dbpackage.RepositoryEQ(dbpackage.Repository(repo)), dbpackage.RepositoryEQ(dbpackage.Repository(repo)),
@@ -635,6 +634,7 @@ func housekeeping(repo string, march string, wg *sync.WaitGroup) error {
} }
} }
log.Debugf("[HK] all tasks finished")
return nil return nil
} }