summaryrefslogtreecommitdiff
path: root/scanGoSum.go
diff options
context:
space:
mode:
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")
-}
-*/