summaryrefslogtreecommitdiff
path: root/cleanGoSum.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-19 05:08:00 -0500
committerJeff Carr <[email protected]>2025-10-19 05:08:00 -0500
commit2bbc498b02cbbe3ba68de391bffbe79ab0f226fc (patch)
tree3a09151aeb7a1294e83d61e847e74f9a982b837b /cleanGoSum.go
parentc78eff62bb86594f71f9ff43ff151820ae8e94d9 (diff)
new argvv0.0.125
Diffstat (limited to 'cleanGoSum.go')
-rw-r--r--cleanGoSum.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go
index b032d83..dbef94a 100644
--- a/cleanGoSum.go
+++ b/cleanGoSum.go
@@ -28,9 +28,9 @@ func cleanGoDepsCheckOk(check *gitpb.Repo) error {
return errors.New("check.GoDeps == nil")
}
for depRepo := range check.GoDeps.IterAll() {
- found := forge.FindByNamespace(depRepo.GetGoPath())
+ found := me.forge.FindByNamespace(depRepo.GetGoPath())
if found == nil {
- if forge.CheckOverride(depRepo.GetGoPath()) {
+ if me.forge.CheckOverride(depRepo.GetGoPath()) {
// skip this gopath because it's probably broken forever
continue
}
@@ -39,20 +39,20 @@ func cleanGoDepsCheckOk(check *gitpb.Repo) error {
}
// log.Info("found dep", depRepo.GetGoPath())
if depRepo.GetVersion() != found.GetMasterVersion() {
- check := forge.FindByNamespace(depRepo.GetGoPath())
+ check := me.forge.FindByNamespace(depRepo.GetGoPath())
var ends string
if check.CheckDirty() {
ends = "(dirty) "
}
- if forge.Config.IsReadOnly(check.GetGoPath()) {
+ if me.forge.Config.IsReadOnly(check.GetGoPath()) {
ends += "(ignoring read-only) "
if argv.Verbose {
log.Printf("%-48s ok error .%s. vs .%s. %s\n", depRepo.GetGoPath(),
depRepo.GetVersion(), found.GetMasterVersion(), ends)
}
} else {
- if forge.CheckOverride(depRepo.GetGoPath()) {
+ if me.forge.CheckOverride(depRepo.GetGoPath()) {
ends += "(override) "
if argv.Verbose {
log.Printf("%-48s ok error .%s. vs .%s. %s\n", depRepo.GetGoPath(),
@@ -159,7 +159,7 @@ func trimGoSum(check *gitpb.Repo) error {
if good[gopath] {
fmt.Fprintf(newf, "%s %s\n", gopath, stuff[gopath])
fmt.Fprintf(newf, "%s %s\n", gopath, modver[gopath])
- check := forge.FindByNamespace(gopath)
+ check := me.forge.FindByNamespace(gopath)
if check == nil {
log.Info("gopath does not really exist:", gopath)
}