wrong output

This commit is contained in:
Jeff Carr 2024-12-03 15:17:35 -06:00
parent 3600dbed8c
commit 5d5f691570
1 changed files with 7 additions and 3 deletions

View File

@ -51,14 +51,14 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo) bool {
if depRepo.GetVersion() != found.GetTargetVersion() {
check := f.Repos.FindByGoPath(depRepo.GoPath)
if f.IsReadOnly(check) {
log.Printf("%-48s ok error %10s vs %10s (ignoring read-only repo)", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetMasterVersion())
log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion())
} else {
if f.checkOverride(depRepo.GetGoPath()) {
log.Printf("%-48s ok error %10s vs %10s (forge.checkOverride())", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetMasterVersion())
log.Printf("%-48s ok error .%s. vs .%s. (forge.checkOverride())", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion())
// skip this gopath because it's probably broken forever
continue
} else {
log.Printf("%-48s error %10s vs %10s", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetMasterVersion())
log.Printf("%-48s error %10s vs %10s", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion())
good = false
}
}
@ -76,5 +76,9 @@ func (f *Forge) checkOverride(gopath string) bool {
log.Info("checkOverride() is ignoring", gopath)
return false
}
if gopath == "github.com/posener/complete/v2" {
log.Info("checkOverride() is ignoring", gopath)
return false
}
return false
}