summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 3 insertions, 9 deletions
diff --git a/main.go b/main.go
index df3b3ef..5466d99 100644
--- a/main.go
+++ b/main.go
@@ -38,19 +38,13 @@ func main() {
if argv.Hostname != "" {
HOSTNAME = argv.Hostname
}
- forge = forgepb.Init()
gitMap = make(map[string]*gitpb.Repo)
repoMap = make(map[string]string)
- /*
- all := forge.Repos.SortByGoPath()
- for all.Scan() {
- repo := all.Next()
-
- log.Info("forge protobuf has:", repo.GoPath)
- }
- */
+ // read in forge info
+ cfg := configInit()
+ forge = forgepb.InitFromConfig(cfg)
// parse the repomap file
readRepomap()