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 2017/04/07 19:36:10 UTC
[09/23] incubator-mynewt-newt git commit: This closes #48.
This closes #48.
Merge branch 'sync-refactor' of https://github.com/utzig/incubator-mynewt-newt into develop
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/737da68d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/737da68d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/737da68d
Branch: refs/heads/master
Commit: 737da68ddcda814d009902abef8bdfcf1f1c8802
Parents: cd6aa05 0418cea
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Mar 7 15:49:17 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Tue Mar 7 15:49:17 2017 -0800
----------------------------------------------------------------------
newt/cli/project_cmds.go | 23 ++-
newt/downloader/downloader.go | 194 ++++++++++++++++--
newt/repo/repo.go | 199 +++++++++++++++----
newt/vendor/mynewt.apache.org/newt/util/util.go | 1 -
4 files changed, 351 insertions(+), 66 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/737da68d/newt/repo/repo.go
----------------------------------------------------------------------
diff --cc newt/repo/repo.go
index a2b98c9,139c499..e058466
--- a/newt/repo/repo.go
+++ b/newt/repo/repo.go
@@@ -473,9 -590,9 +588,9 @@@ func (r *Repo) DownloadDesc() error
}
dl.SetBranch("master")
- if err := dl.FetchFile("repository.yml",
- cpath+"/"+"repository.yml"); err != nil {
+ if err := dl.FetchFile(REPO_FILE_NAME,
+ cpath+"/"+REPO_FILE_NAME); err != nil {
- util.StatusMessage(util.VERBOSITY_VERBOSE, " failed\n")
+ util.StatusMessage(util.VERBOSITY_VERBOSE, "Download failed\n")
return err
}