summaryrefslogtreecommitdiff
path: root/doBuild.go
diff options
context:
space:
mode:
Diffstat (limited to 'doBuild.go')
-rw-r--r--doBuild.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/doBuild.go b/doBuild.go
index 5d7800b..8dbe9dd 100644
--- a/doBuild.go
+++ b/doBuild.go
@@ -41,11 +41,11 @@ func doInstallRepo(check *gitpb.Repo) error {
if repotype == "binary" || repotype == "plugin" {
// we only want to process things that can be compiled with 'go build'
} else {
- // log.Info("skipping repo", check.GetGoPath(), repotype)
+ // log.Info("skipping repo", check.Namespace, repotype)
return nil
}
- if me.forge.Config.IsReadOnly(check.GetGoPath()) {
+ if me.forge.Config.IsReadOnly(check.Namespace) {
// ignore read only stuff
return nil
}
@@ -53,12 +53,12 @@ func doInstallRepo(check *gitpb.Repo) error {
if argv.Verbose || argv.Force {
verbose := []string{"-v", "-x"}
if err := me.forge.Install(check, verbose); err != nil {
- log.Warn("INSTALL FAILED", check.GetGoPath(), err)
+ log.Warn("INSTALL FAILED", check.Namespace, err)
return err
}
} else {
if err := me.forge.Install(check, nil); err != nil {
- log.Warn("INSTALL FAILED", check.GetGoPath(), err)
+ log.Warn("INSTALL FAILED", check.Namespace, err)
return err
}
}
@@ -74,11 +74,11 @@ func doInstallScan() {
if repotype == "binary" || repotype == "plugin" {
// we only want to process things that can be compiled with 'go build'
} else {
- // log.Info("skipping repo", check.GetGoPath(), repotype)
+ // log.Info("skipping repo", check.Namespace, repotype)
continue
}
- if me.forge.Config.IsReadOnly(check.GetGoPath()) {
+ if me.forge.Config.IsReadOnly(check.Namespace) {
// ignore read only stuff
continue
}
@@ -93,7 +93,7 @@ func doInstallScan() {
manufactured := check.GetCurrentVersion()
ver := trimNonNumericFromStart(manufactured)
- name := me.forge.Config.DebName(check.GetGoPath())
+ name := me.forge.Config.DebName(check.GetNamespace())
var realver string
if installedPackage := me.machine.FindInstalledByName(name); installedPackage != nil {
realver = installedPackage.Version
@@ -148,7 +148,7 @@ func doInstallScan() {
log.Info(start, check.GetRepoType(), end)
if name == "" {
// err := fmt.Sprintf("name is blank error %+v", repo)
- log.Warn("name is blank error", check.GetGoPath())
+ log.Warn("name is blank error", check.GetNamespace())
}
}
}
@@ -159,7 +159,7 @@ func doInstall() error {
found := gitpb.NewRepos()
for check := range me.forge.Repos.IterAll() {
- if me.forge.Config.IsReadOnly(check.GetGoPath()) {
+ if me.forge.Config.IsReadOnly(check.Namespace) {
continue
}