forge/doVerifyUser.go

38 lines
802 B
Go
Raw Normal View History

2025-02-01 11:57:52 -06:00
// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
// Use of this source code is governed by the GPL 3.0
package main
2025-02-21 09:33:45 -06:00
/*
func doVerifyUser() error {
me.found = new(gitpb.Repos)
all := me.forge.Repos.SortByFullPath()
for all.Scan() {
repo := all.Next()
if repo.IsDirty() {
log.Info(repo.GetGoPath(), "is dirty")
me.found.AppendByGoPath(repo)
continue
}
if repo.ExistsUserBranchRemote() {
}
if repo.ExistsUserBranch() {
}
if repo.GetMasterBranchName() == repo.GetCurrentBranchName() {
log.Info(repo.GetGoPath(), "is not on master branch")
continue
}
devel := repo.GetDevelBranchName()
if argv.Verbose {
log.Printf("Start clean devel branch: %s %s\n", repo.GetGoPath(), devel)
}
}
return nil
}
func verifyRemoteUserBranch(repo *gitpb.Repo) {
}
2025-02-21 09:33:45 -06:00
*/