moving things to gitpb

This commit is contained in:
Jeff Carr 2024-11-30 02:02:59 -06:00
parent eb72a685c4
commit b00584213d
2 changed files with 6 additions and 1 deletions

View File

@ -177,6 +177,11 @@ func (rl *RepoList) TotalGo() int {
return count
}
func (rr *RepoRow) MakeRedoMod() error {
_, err := rr.pb.RedoGoMod()
return err
}
// very much a hack job
func (rl *RepoList) MakeGoWork() error {
goSrcDir := os.Getenv("REPO_WORK_PATH")

View File

@ -13,7 +13,7 @@ import (
// sure the versions are correct when attempting to do a GUI release
func (rl *RepoList) CheckValidGoSum(r *RepoRow) (bool, error) {
log.Log(REPOWARN, "CheckValidGoSum() started")
ok, err := r.Status.MakeRedomod()
ok, err := r.pb.RedoGoMod()
if !ok {
log.Log(REPOWARN, "CheckValidGoSum() MakeRedomod() failed", err)
return ok, err