You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/03/15 05:46:58 UTC
[39/40] incubator-mynewt-newt git commit: Print status message for
load command (verbose)
Print status message for load command (verbose)
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/f3a9ec48
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/f3a9ec48
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/f3a9ec48
Branch: refs/heads/develop
Commit: f3a9ec48453cdb341285bc6cdfe57f7bbb9fb105
Parents: 2b3a9a4
Author: Christopher Collins <cc...@apache.org>
Authored: Mon Mar 14 21:45:43 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Mon Mar 14 21:46:05 2016 -0700
----------------------------------------------------------------------
newt/builder/buildpackage.go | 4 ++--
newt/builder/load.go | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/f3a9ec48/newt/builder/buildpackage.go
----------------------------------------------------------------------
diff --git a/newt/builder/buildpackage.go b/newt/builder/buildpackage.go
index 3e2c3e7..9d0ecaa 100644
--- a/newt/builder/buildpackage.go
+++ b/newt/builder/buildpackage.go
@@ -190,8 +190,8 @@ func (bpkg *BuildPackage) satisfyReqApi(b *Builder, reqApi string) bool {
// This package now has a new unresolved dependency.
bpkg.depsResolved = false
- util.StatusMessage(util.VERBOSITY_VERBOSE, "API requirement satisfied; "+
- "pkg=%s API=(%s, %s)\n", bpkg.Name(), reqApi, dep.String())
+ log.Printf("[DEBUG] API requirement satisfied; pkg=%s API=(%s, %s)",
+ bpkg.Name(), reqApi, dep.String())
return true
}
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/f3a9ec48/newt/builder/load.go
----------------------------------------------------------------------
diff --git a/newt/builder/load.go b/newt/builder/load.go
index a517b58..a30372e 100644
--- a/newt/builder/load.go
+++ b/newt/builder/load.go
@@ -58,11 +58,14 @@ func (b *Builder) Load() error {
downloadCmd := fmt.Sprintf("%s %s %s %s",
downloadScript, bspPath, binBaseName, featureString)
+ util.StatusMessage(util.VERBOSITY_VERBOSE, "Loading image with: %s\n",
+ downloadCmd)
rsp, err := util.ShellCommand(downloadCmd)
if err != nil {
util.StatusMessage(util.VERBOSITY_DEFAULT, "%s", rsp)
return err
}
+ util.StatusMessage(util.VERBOSITY_VERBOSE, "Successfully loaded image.\n")
return nil
}