[02/50] [abbrv] incubator-mynewt-core git commit: newtmgr/os is not a good name, newtmgr/nmgr_os is slightly better.

2016-10-10 Thread vipulrahane
newtmgr/os is not a good name, newtmgr/nmgr_os is slightly better.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5e925850
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5e925850
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5e925850

Branch: refs/heads/sterly_refactor
Commit: 5e925850fb477d3a6f2f11475b9b5f41cbdca7ea
Parents: 895d567
Author: Marko Kiiskila 
Authored: Mon Sep 19 14:46:50 2016 -0700
Committer: Marko Kiiskila 
Committed: Mon Sep 19 14:46:50 2016 -0700

--
 libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h |  35 +++
 libs/newtmgr/nmgr_os/pkg.yml   |  36 +++
 libs/newtmgr/nmgr_os/src/newtmgr_os.c  | 329 
 libs/newtmgr/os/include/nmgr_os/nmgr_os.h  |  35 ---
 libs/newtmgr/os/pkg.yml|  36 ---
 libs/newtmgr/os/src/newtmgr_os.c   | 329 
 libs/newtmgr/pkg.yml   |   2 +-
 7 files changed, 401 insertions(+), 401 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5e925850/libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h
--
diff --git a/libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h 
b/libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h
new file mode 100644
index 000..49b6725
--- /dev/null
+++ b/libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h
@@ -0,0 +1,35 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef _NMGR_OS_H_
+#define _NMGR_OS_H_
+
+/*
+ * Id's for OS group commands
+ */
+#define NMGR_ID_ECHO0
+#define NMGR_ID_CONS_ECHO_CTRL  1
+#define NMGR_ID_TASKSTATS   2
+#define NMGR_ID_MPSTATS 3
+#define NMGR_ID_DATETIME_STR4
+#define NMGR_ID_RESET   5
+
+int nmgr_os_groups_register(void);
+
+#endif /* _NMGR_OS_H_ */

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5e925850/libs/newtmgr/nmgr_os/pkg.yml
--
diff --git a/libs/newtmgr/nmgr_os/pkg.yml b/libs/newtmgr/nmgr_os/pkg.yml
new file mode 100644
index 000..d6610b2
--- /dev/null
+++ b/libs/newtmgr/nmgr_os/pkg.yml
@@ -0,0 +1,36 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+pkg.name: libs/newtmgr/nmgr_os
+pkg.description: Default newtmgr command.
+pkg.author: "Apache Mynewt "
+pkg.homepage: "http://mynewt.apache.org/";
+pkg.keywords:
+
+pkg.deps:
+- hw/hal
+- libs/os
+- libs/json
+- libs/util
+- libs/testutil
+- libs/newtmgr
+- sys/reboot
+
+pkg.reqs:
+- console

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5e925850/libs/newtmgr/nmgr_os/src/newtmgr_os.c
--
diff --git a/libs/newtmgr/nmgr_os/src/newtmgr_os.c 
b/libs/newtmgr/nmgr_os/src/newtmgr_os.c
new file mode 100644
index 000..cab692b
--- /dev/null
+++ b/libs/newtmgr/nmgr_os/src/newtmgr_os.c
@@ -0,0 +1,329 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownershi

incubator-mynewt-core git commit: newtmgr/os is not a good name, newtmgr/nmgr_os is slightly better.

2016-09-19 Thread marko
Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 895d567e2 -> 5e925850f


newtmgr/os is not a good name, newtmgr/nmgr_os is slightly better.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5e925850
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5e925850
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5e925850

Branch: refs/heads/develop
Commit: 5e925850fb477d3a6f2f11475b9b5f41cbdca7ea
Parents: 895d567
Author: Marko Kiiskila 
Authored: Mon Sep 19 14:46:50 2016 -0700
Committer: Marko Kiiskila 
Committed: Mon Sep 19 14:46:50 2016 -0700

--
 libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h |  35 +++
 libs/newtmgr/nmgr_os/pkg.yml   |  36 +++
 libs/newtmgr/nmgr_os/src/newtmgr_os.c  | 329 
 libs/newtmgr/os/include/nmgr_os/nmgr_os.h  |  35 ---
 libs/newtmgr/os/pkg.yml|  36 ---
 libs/newtmgr/os/src/newtmgr_os.c   | 329 
 libs/newtmgr/pkg.yml   |   2 +-
 7 files changed, 401 insertions(+), 401 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5e925850/libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h
--
diff --git a/libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h 
b/libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h
new file mode 100644
index 000..49b6725
--- /dev/null
+++ b/libs/newtmgr/nmgr_os/include/nmgr_os/nmgr_os.h
@@ -0,0 +1,35 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef _NMGR_OS_H_
+#define _NMGR_OS_H_
+
+/*
+ * Id's for OS group commands
+ */
+#define NMGR_ID_ECHO0
+#define NMGR_ID_CONS_ECHO_CTRL  1
+#define NMGR_ID_TASKSTATS   2
+#define NMGR_ID_MPSTATS 3
+#define NMGR_ID_DATETIME_STR4
+#define NMGR_ID_RESET   5
+
+int nmgr_os_groups_register(void);
+
+#endif /* _NMGR_OS_H_ */

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5e925850/libs/newtmgr/nmgr_os/pkg.yml
--
diff --git a/libs/newtmgr/nmgr_os/pkg.yml b/libs/newtmgr/nmgr_os/pkg.yml
new file mode 100644
index 000..d6610b2
--- /dev/null
+++ b/libs/newtmgr/nmgr_os/pkg.yml
@@ -0,0 +1,36 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+pkg.name: libs/newtmgr/nmgr_os
+pkg.description: Default newtmgr command.
+pkg.author: "Apache Mynewt "
+pkg.homepage: "http://mynewt.apache.org/";
+pkg.keywords:
+
+pkg.deps:
+- hw/hal
+- libs/os
+- libs/json
+- libs/util
+- libs/testutil
+- libs/newtmgr
+- sys/reboot
+
+pkg.reqs:
+- console

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5e925850/libs/newtmgr/nmgr_os/src/newtmgr_os.c
--
diff --git a/libs/newtmgr/nmgr_os/src/newtmgr_os.c 
b/libs/newtmgr/nmgr_os/src/newtmgr_os.c
new file mode 100644
index 000..cab692b
--- /dev/null
+++ b/libs/newtmgr/nmgr_os/src/newtmgr_os.c
@@ -0,0 +1,329 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file