closer to working
This commit is contained in:
parent
8cc86a91cb
commit
c6fcf5e5a5
3
main.go
3
main.go
|
@ -89,7 +89,8 @@ func main() {
|
||||||
me.release.openrepo.Disable()
|
me.release.openrepo.Disable()
|
||||||
|
|
||||||
me.Disable()
|
me.Disable()
|
||||||
log.Sleep(5)
|
log.Info("sleep(1)")
|
||||||
|
log.Sleep(1)
|
||||||
|
|
||||||
// parse config file and scan for .git repos
|
// parse config file and scan for .git repos
|
||||||
me.repos.initRepoList()
|
me.repos.initRepoList()
|
||||||
|
|
|
@ -334,11 +334,11 @@ func findNextDirty(onlyKind string) bool {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if repo.ReadOnly() {
|
if repo.ReadOnly() {
|
||||||
log.Info("findNextDirty() skipping readonly")
|
// log.Info("findNextDirty() skipping readonly")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if repo.CheckDirty() {
|
if repo.CheckDirty() {
|
||||||
log.Info("findNextDirty() skipping readonly")
|
log.Info("findNextDirty() skipping dirty")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.Info("findNextDirty()", repo.GoPath(), goSumS)
|
log.Info("findNextDirty()", repo.GoPath(), goSumS)
|
||||||
|
|
Loading…
Reference in New Issue