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/02/18 17:01:07 UTC

[1/4] incubator-mynewt-newt git commit: MYNEWT-557 Warning override of undefined settings Added support to newt build command to print out warning message for override of undefined settings.

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop 1666e0e7a -> 78d006672


MYNEWT-557 Warning override of undefined settings
Added support to newt build command to print out warning message for override of undefined settings.


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/efe36b3a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/efe36b3a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/efe36b3a

Branch: refs/heads/develop
Commit: efe36b3aaaab7a9c742c1b023d7ac01ae68b8142
Parents: ec61f09
Author: cwanda <wa...@happycity.com>
Authored: Fri Feb 3 16:45:58 2017 -0800
Committer: cwanda <wa...@happycity.com>
Committed: Thu Feb 16 20:44:06 2017 -0800

----------------------------------------------------------------------
 newt/builder/targetbuild.go | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/efe36b3a/newt/builder/targetbuild.go
----------------------------------------------------------------------
diff --git a/newt/builder/targetbuild.go b/newt/builder/targetbuild.go
index 64710db..b8ac724 100644
--- a/newt/builder/targetbuild.go
+++ b/newt/builder/targetbuild.go
@@ -188,6 +188,13 @@ func (t *TargetBuilder) validateAndWriteCfg() error {
 		return util.NewNewtError(errText)
 	}
 
+	warningText := strings.TrimSpace(t.res.WarningText())
+	if warningText != "" {
+		for _, line := range strings.Split(warningText, "\n") {
+			log.Warn(line)
+		}
+	}
+
 	if err := syscfg.EnsureWritten(t.res.Cfg,
 		GeneratedIncludeDir(t.target.Name())); err != nil {
 


[3/4] incubator-mynewt-newt git commit: newt - Remove obsolete pkg.features setting.

Posted by cc...@apache.org.
newt - Remove obsolete pkg.features setting.


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/c0cd08df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/c0cd08df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/c0cd08df

Branch: refs/heads/develop
Commit: c0cd08df7e1b77f3fabaaae843c76f90f355a544
Parents: 1666e0e
Author: Christopher Collins <cc...@apache.org>
Authored: Sun Feb 5 23:19:11 2017 -0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Sat Feb 18 08:56:35 2017 -0800

----------------------------------------------------------------------
 newt/pkg/localpackage.go | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/c0cd08df/newt/pkg/localpackage.go
----------------------------------------------------------------------
diff --git a/newt/pkg/localpackage.go b/newt/pkg/localpackage.go
index da7ac65..3ce55e6 100644
--- a/newt/pkg/localpackage.go
+++ b/newt/pkg/localpackage.go
@@ -289,7 +289,6 @@ func (pkg *LocalPackage) Save() error {
 
 	file.WriteString(pkg.sequenceString("pkg.aflags"))
 	file.WriteString(pkg.sequenceString("pkg.cflags"))
-	file.WriteString(pkg.sequenceString("pkg.features"))
 	file.WriteString(pkg.sequenceString("pkg.lflags"))
 
 	return nil


[2/4] incubator-mynewt-newt git commit: MYNEWT-557 Print DEBUG message when overriding undefined setting

Posted by cc...@apache.org.
MYNEWT-557 Print DEBUG message when overriding undefined setting


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/da53ca97
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/da53ca97
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/da53ca97

Branch: refs/heads/develop
Commit: da53ca97c5d3f00d8a845638f294ea1f7587ff68
Parents: efe36b3
Author: cwanda <wa...@happycity.com>
Authored: Thu Feb 16 21:15:43 2017 -0800
Committer: cwanda <wa...@happycity.com>
Committed: Thu Feb 16 21:15:43 2017 -0800

----------------------------------------------------------------------
 newt/builder/targetbuild.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/da53ca97/newt/builder/targetbuild.go
----------------------------------------------------------------------
diff --git a/newt/builder/targetbuild.go b/newt/builder/targetbuild.go
index b8ac724..f6bc2f6 100644
--- a/newt/builder/targetbuild.go
+++ b/newt/builder/targetbuild.go
@@ -191,7 +191,7 @@ func (t *TargetBuilder) validateAndWriteCfg() error {
 	warningText := strings.TrimSpace(t.res.WarningText())
 	if warningText != "" {
 		for _, line := range strings.Split(warningText, "\n") {
-			log.Warn(line)
+			log.Debugf(line)
 		}
 	}
 


[4/4] incubator-mynewt-newt git commit: This closes #35.

Posted by cc...@apache.org.
This closes #35.

MYNEWT-557 #close

Merge remote-tracking branch 'cwanda/MYNEWT-557' into develop

* cwanda/MYNEWT-557:
  MYNEWT-557 Print DEBUG message when overriding undefined setting
  MYNEWT-557 Warning override of undefined settings Added support to newt build command to print out warning message for override of undefined settings.


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/78d00667
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/78d00667
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/78d00667

Branch: refs/heads/develop
Commit: 78d0066724a4768773c0c5a0f2ddb74db055bffc
Parents: c0cd08d da53ca9
Author: Christopher Collins <cc...@apache.org>
Authored: Sat Feb 18 08:58:20 2017 -0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Sat Feb 18 08:58:20 2017 -0800

----------------------------------------------------------------------
 newt/builder/targetbuild.go | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------