summaryrefslogtreecommitdiff
path: root/doVerifyUser.go
diff options
context:
space:
mode:
Diffstat (limited to 'doVerifyUser.go')
-rw-r--r--doVerifyUser.go27
1 files changed, 2 insertions, 25 deletions
diff --git a/doVerifyUser.go b/doVerifyUser.go
index 2f5cf5c..ae1a0ff 100644
--- a/doVerifyUser.go
+++ b/doVerifyUser.go
@@ -3,11 +3,7 @@
package main
-import (
- "go.wit.com/lib/protobuf/gitpb"
- "go.wit.com/log"
-)
-
+/*
func doVerifyUser() error {
me.found = new(gitpb.Repos)
all := me.forge.Repos.SortByFullPath()
@@ -32,29 +28,10 @@ func doVerifyUser() error {
if argv.Verbose {
log.Printf("Start clean devel branch: %s %s\n", repo.GetGoPath(), devel)
}
-
- /*
- // check if devel branch exists in remote repo
- if repo.IsBranchRemote(devel) {
- if err := doCleanDevelRepo(repo); err != nil {
- log.Info(repo.GetGoPath(), "verify clean failed")
- }
- // can not continue
- continue
- }
- */
- // devel branch is only local
- /*
- todo: something?
- devname := repo.GetDevelBranchName()
- if err := requiresGitPush(repo, devname); err != nil {
- log.Info(repo.GetGoPath(), "is out of sync with upstream")
- return err
- }
- */
}
return nil
}
func verifyRemoteUserBranch(repo *gitpb.Repo) {
}
+*/