diff options
| author | Jeff Carr <[email protected]> | 2024-12-03 18:00:42 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-03 18:00:42 -0600 |
| commit | 9b9df05f33e20277ff0e5e811c55d95ab56f562c (patch) | |
| tree | bf151e340c7b6408303a3012c9bb41573767cc30 /http.go | |
| parent | 9b2e99ac6b4ce29f3a248f380f50123a406d1650 (diff) | |
more removal of old stuff
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -259,22 +259,28 @@ func showNext() { return } + check := me.forge.Repos.FindByGoPath(me.current.GoPath()) + if check == nil { + log.Info("forge: how was this not found?", me.current.GoPath()) + return + } + if me.current.Status.IsReleased() { - log.Info("IsReleased() == true SHOULD NOT RELEASE THIS") + log.Info("IsReleased() == true. do not release this a second time") } else { log.Info("IsReleased() == false") } - if me.current.Status.CheckDirty() { - log.Info("CheckDirty() == true. SHOULD NOT RELEASE THIS") + if check.CheckDirty() { + log.Info("CheckDirty() == true. do not release dirty repos") } else { log.Info("CheckDirty() == false") } - if me.current.Status.IsPrimitive() { + if ok, _ := check.IsPrimitive(); ok { log.Info("IsPrimitive() == true") } else { log.Info("IsPrimitive() == false") } - if me.current.Status.IsPrivate() { + if me.forge.IsPrivate(check.GoPath) { log.Info("IsPrivate() == true") } else { log.Info("IsPrivate() == false") |
