summaryrefslogtreecommitdiff
path: root/scanGoSum.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-04 08:16:42 -0600
committerJeff Carr <[email protected]>2024-11-04 08:16:42 -0600
commit9f7d0343397b0245fa0ba01cf488fa4bcca3bb5c (patch)
treeda6969039b184b246ceb0da5b19804d097e4d4cb /scanGoSum.go
parentd0e1372a6e70493debbf6b0595ac3b2cec3c0a2e (diff)
compliles and does stuff
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'scanGoSum.go')
-rw-r--r--scanGoSum.go47
1 files changed, 0 insertions, 47 deletions
diff --git a/scanGoSum.go b/scanGoSum.go
deleted file mode 100644
index 51a821f..0000000
--- a/scanGoSum.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// This is a simple example
-package main
-
-/*
-func scanGoSum() {
- for _, repo := range me.repos.View.AllRepos() {
- if repo.GoPath() == "go.wit.com/apps/guireleaser" {
- if me.release.guireleaser == nil {
- me.release.guireleaser = repo
- }
- }
- latestversion := repo.Status.GetLastTagVersion()
- if repo.GoState() == "BAD" {
- continue
- }
- if repo.GoState() == "DIRTY" {
- continue
- }
- if repo.Status.IsPrimitive() {
- log.Info("PRIMITIVE repo:", latestversion, repo.GoPath())
- repo.SetGoState("PRIMITIVE")
- continue
- }
- if repo.CheckDirty() {
- log.Info("dirty repo:", latestversion, repo.GoPath())
- log.Info("dirty repo.getGoSumStatus =", repo.GoState())
- repo.SetGoState("DIRTY")
-
- // me.release.repo.SetValue(repo.status.String())
- // me.release.status.SetValue("dirty")
- // me.release.notes.SetValue("You must commit your changes\nbefore you can continue")
- // me.current = repo
- // me.release.openrepo.Enable()
- continue
- }
- status := repo.State()
- if status == "PERFECT" {
- continue
- } else {
- repo.NewScan()
- }
-
- log.Info("repo:", latestversion, status, repo.GoPath())
- }
- log.Info("scanGoSum() did everything, not sure what to do next")
-}
-*/