Merge branch 'jcarr' into devel
This commit is contained in:
commit
f3e7f02e16
|
@ -25,11 +25,10 @@ func rillFixGodeps(repo *gitpb.Repo) error {
|
||||||
if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
|
if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if fixGodeps(repo) {
|
if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
|
||||||
log.Info("Rill fixGoDeps() returned true")
|
return nil
|
||||||
} else {
|
|
||||||
log.Info("Rill fixGoDeps() returned false")
|
|
||||||
}
|
}
|
||||||
|
runGoClean(repo, "--strict")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +37,7 @@ func rillFixGodeps(repo *gitpb.Repo) error {
|
||||||
// rename this findNext()
|
// rename this findNext()
|
||||||
func findNext() bool {
|
func findNext() bool {
|
||||||
now := time.Now()
|
now := time.Now()
|
||||||
me.forge.RillFuncError(20, 10, rillFixGodeps)
|
me.forge.RillFuncError(rillFixGodeps)
|
||||||
log.Printf("rillFixGodeps() (%d total repos) took:%s\n", me.forge.Repos.Len(), shell.FormatDuration(time.Since(now)))
|
log.Printf("rillFixGodeps() (%d total repos) took:%s\n", me.forge.Repos.Len(), shell.FormatDuration(time.Since(now)))
|
||||||
|
|
||||||
findCounter = 0
|
findCounter = 0
|
||||||
|
|
Loading…
Reference in New Issue