This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 27e429afe apps: Unify sample applications pkg.yml
27e429afe is described below

commit 27e429afe6fc6a240a4feab95a9050a6d9dbc480
Author: Szymon Janc <[email protected]>
AuthorDate: Tue Dec 9 10:23:28 2025 +0100

    apps: Unify sample applications pkg.yml
    
    Use common pattern for pkg.yml. This includes using absolute paths
    for dependencies and thus allowing for easy local copy of samples.
---
 apps/auracast/pkg.yml                 | 19 +++++++++----------
 apps/auracast/syscfg.yml              |  2 +-
 apps/blecent/pkg.yml                  | 15 ++++++++-------
 apps/blecsc/pkg.yml                   | 12 ++++++------
 apps/blehci/pkg.yml                   |  7 ++++---
 apps/blehr/pkg.yml                    | 12 ++++++------
 apps/blemesh/pkg.yml                  | 13 +++++++------
 apps/blemesh_light/pkg.yml            | 13 +++++++------
 apps/blemesh_models_example_1/pkg.yml | 11 ++++++-----
 apps/blemesh_models_example_2/pkg.yml | 11 ++++++-----
 apps/blemesh_shell/pkg.yml            | 13 +++++++------
 apps/bleprph/pkg.yml                  | 19 ++++++++++---------
 apps/blestress/pkg.yml                |  2 +-
 apps/btshell/pkg.yml                  | 19 ++++++++++---------
 apps/bttester/pkg.yml                 |  4 ++--
 apps/dtm/pkg.yml                      |  2 +-
 apps/ext_advertiser/pkg.yml           | 14 +++++++-------
 apps/mesh_badge/pkg.yml               | 13 +++++++------
 apps/peripheral/pkg.yml               |  1 -
 apps/scanner/pkg.yml                  |  1 -
 20 files changed, 105 insertions(+), 98 deletions(-)

diff --git a/apps/auracast/pkg.yml b/apps/auracast/pkg.yml
index 902c38028..3fc83e600 100644
--- a/apps/auracast/pkg.yml
+++ b/apps/auracast/pkg.yml
@@ -16,21 +16,20 @@
 # under the License.
 #
 
-pkg.name: apps/auracast
+pkg.name: "apps/auracast"
 pkg.type: app
-pkg.description: Auracast sample application.
-
+pkg.description: "Auracast sample application."
 pkg.author: "Krzysztof Kopyściński"
 pkg.email: "[email protected]"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
 
 pkg.deps:
-    - nimble/host
-    - nimble/host/util
-    - nimble/host/services/gap
-    - nimble/host/store/config
-    - nimble/host/audio/services/auracast
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/util"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
+    - "@apache-mynewt-nimble/nimble/host/audio/services/auracast"
     - "@apache-mynewt-core/kernel/os"
     - "@apache-mynewt-core/sys/config"
     - "@apache-mynewt-core/sys/console"
@@ -40,8 +39,8 @@ pkg.deps:
     - "@apache-mynewt-core/sys/id"
 
 pkg.deps.AUDIO_USB:
-    - ext/liblc3
-    - ext/libsamplerate
+    - "@apache-mynewt-nimble/ext/liblc3"
+    - "@apache-mynewt-nimble/ext/libsamplerate"
     - "@apache-mynewt-core/hw/usb/tinyusb"
 
 pkg.init:
diff --git a/apps/auracast/syscfg.yml b/apps/auracast/syscfg.yml
index e243f690e..419421712 100644
--- a/apps/auracast/syscfg.yml
+++ b/apps/auracast/syscfg.yml
@@ -146,4 +146,4 @@ syscfg.vals.BSP_NRF52:
     BLE_PHY_NRF52_HEADERMASK_WORKAROUND: 1
 
 $import:
-    - "@apache-mynewt-nimble/apps/auracast/syscfg.usb.yml"
\ No newline at end of file
+    - "@apache-mynewt-nimble/apps/auracast/syscfg.usb.yml"
diff --git a/apps/blecent/pkg.yml b/apps/blecent/pkg.yml
index 7b06e6279..35754e8e8 100644
--- a/apps/blecent/pkg.yml
+++ b/apps/blecent/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/blecent
+
+pkg.name: "apps/blecent"
 pkg.type: app
-pkg.description: Simple BLE central application.
+pkg.description: "Simple BLE central application"
 pkg.author: "Apache Mynewt <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -28,8 +29,8 @@ pkg.deps:
     - "@apache-mynewt-core/sys/log"
     - "@apache-mynewt-core/sys/log/modlog"
     - "@apache-mynewt-core/sys/stats"
-    - nimble/host
-    - nimble/host/util
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/util"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
diff --git a/apps/blecsc/pkg.yml b/apps/blecsc/pkg.yml
index 3f862f380..44325f6ae 100644
--- a/apps/blecsc/pkg.yml
+++ b/apps/blecsc/pkg.yml
@@ -16,9 +16,9 @@
 # under the License.
 #
 
-pkg.name: apps/blecsc
+pkg.name: "apps/blecsc"
 pkg.type: app
-pkg.description: BLE peripheral cycling speed and cadence sensor.
+pkg.description: "BLE peripheral cycling speed and cadence sensor"
 pkg.author: "Maciej Jurczak"
 pkg.email: "[email protected]"
 pkg.homepage: "http://mynewt.apache.org/";
@@ -32,7 +32,7 @@ pkg.deps:
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/sys/sysinit"
     - "@apache-mynewt-core/sys/id"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
diff --git a/apps/blehci/pkg.yml b/apps/blehci/pkg.yml
index 915ae5b60..0e3dbc143 100644
--- a/apps/blehci/pkg.yml
+++ b/apps/blehci/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/blehci
+
+pkg.name: "apps/blehci"
 pkg.type: app
-pkg.description: BLE controller application exposing HCI over external 
interface
+pkg.description: "BLE controller application exposing HCI over external 
interface"
 pkg.author: "Johan Hedberg <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -27,7 +28,7 @@ pkg.deps:
     - "@apache-mynewt-core/sys/log"
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/kernel/os"
-    - nimble/transport
+    - "@apache-mynewt-nimble/nimble/transport"
 
 pkg.req_apis:
     - ble_transport
diff --git a/apps/blehr/pkg.yml b/apps/blehr/pkg.yml
index 43c84ce3e..b8f715ef1 100644
--- a/apps/blehr/pkg.yml
+++ b/apps/blehr/pkg.yml
@@ -16,9 +16,9 @@
 # under the License.
 #
 
-pkg.name: apps/blehr
+pkg.name: "apps/blehr"
 pkg.type: app
-pkg.description: BLE peripheral heartrate sensor.
+pkg.description: "BLE peripheral heartrate sensor"
 pkg.author: "Szymon Czapracki"
 pkg.email: "[email protected]"
 pkg.homepage: "http://mynewt.apache.org/";
@@ -32,7 +32,7 @@ pkg.deps:
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/sys/sysinit"
     - "@apache-mynewt-core/sys/id"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
diff --git a/apps/blemesh/pkg.yml b/apps/blemesh/pkg.yml
index fb4c49414..4ed08fc77 100644
--- a/apps/blemesh/pkg.yml
+++ b/apps/blemesh/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/blemesh
+
+pkg.name: "apps/blemesh"
 pkg.type: app
-pkg.description: Sample application for BLE Mesh node with on/off model
+pkg.description: "Sample application for BLE Mesh node with on/off model"
 pkg.author: "Łukasz Rymanowski <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -29,7 +30,7 @@ pkg.deps:
     - "@apache-mynewt-core/sys/log/modlog"
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/sys/shell"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
diff --git a/apps/blemesh_light/pkg.yml b/apps/blemesh_light/pkg.yml
index f261a6f4e..d139b89a8 100644
--- a/apps/blemesh_light/pkg.yml
+++ b/apps/blemesh_light/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/blemesh_light
+
+pkg.name: "apps/blemesh_light"
 pkg.type: app
-pkg.description: Sample application for BLE Mesh node with Light model
+pkg.description: "Sample application for BLE Mesh node with Light model"
 pkg.author: "Michał Narajowski <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -29,7 +30,7 @@ pkg.deps:
     - "@apache-mynewt-core/sys/log/modlog"
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/sys/shell"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
diff --git a/apps/blemesh_models_example_1/pkg.yml 
b/apps/blemesh_models_example_1/pkg.yml
index 3cf9cd81d..ae2d6542e 100644
--- a/apps/blemesh_models_example_1/pkg.yml
+++ b/apps/blemesh_models_example_1/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/blemesh_models_example_1
+
+pkg.name: "apps/blemesh_models_example_1"
 pkg.type: app
-pkg.description: Sample application for BLE Mesh node with on/off model on 
nRF52840pdk
+pkg.description: "Sample application for BLE Mesh node with on/off model on 
nRF52840dk"
 pkg.author: "Michał Narajowski <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -27,6 +28,6 @@ pkg.deps:
     - "@apache-mynewt-core/sys/console"
     - "@apache-mynewt-core/sys/log"
     - "@apache-mynewt-core/sys/stats"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
diff --git a/apps/blemesh_models_example_2/pkg.yml 
b/apps/blemesh_models_example_2/pkg.yml
index f4ceacbc7..8287d1ef4 100644
--- a/apps/blemesh_models_example_2/pkg.yml
+++ b/apps/blemesh_models_example_2/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/blemesh_models_example_2
+
+pkg.name: "apps/blemesh_models_example_2"
 pkg.type: app
-pkg.description: Sample application for BLE Mesh node with on/off, level, 
light and vendor models on nRF52840pdk
+pkg.description: "Sample application for BLE Mesh node with on/off, level, 
light and vendor models on nRF52840dk"
 pkg.author: "Michał Narajowski <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -29,9 +30,9 @@ pkg.deps:
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/encoding/base64"
     - "@apache-mynewt-core/sys/config"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
 
 pkg.lflags:
     - -DFLOAT_SUPPORT
diff --git a/apps/blemesh_shell/pkg.yml b/apps/blemesh_shell/pkg.yml
index df3a45d44..1967ffb78 100644
--- a/apps/blemesh_shell/pkg.yml
+++ b/apps/blemesh_shell/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/blemesh_shell
+
+pkg.name: "apps/blemesh_shell"
 pkg.type: app
-pkg.description: Sample application for BLE Mesh node with shell support
+pkg.description: "Sample application for BLE Mesh node with shell support"
 pkg.author: "Michał Narajowski <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -29,7 +30,7 @@ pkg.deps:
     - "@apache-mynewt-core/sys/log/modlog"
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/sys/shell"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
diff --git a/apps/bleprph/pkg.yml b/apps/bleprph/pkg.yml
index 6a7a354cf..43c64a98a 100644
--- a/apps/bleprph/pkg.yml
+++ b/apps/bleprph/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/bleprph
+
+pkg.name: "apps/bleprph"
 pkg.type: app
-pkg.description: Simple BLE peripheral application.
+pkg.description: "Simple BLE peripheral application"
 pkg.author: "Apache Mynewt <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -35,10 +36,10 @@ pkg.deps:
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/sys/sysinit"
     - "@apache-mynewt-core/sys/id"
-    - nimble/host
-    - nimble/host/services/ans
-    - nimble/host/services/dis
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
-    - nimble/host/util
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/ans"
+    - "@apache-mynewt-nimble/nimble/host/services/dis"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
+    - "@apache-mynewt-nimble/nimble/host/util"
diff --git a/apps/blestress/pkg.yml b/apps/blestress/pkg.yml
index e56cdd64a..a9766d2c7 100644
--- a/apps/blestress/pkg.yml
+++ b/apps/blestress/pkg.yml
@@ -19,7 +19,7 @@
 
 pkg.name: "apps/blestress"
 pkg.type: app
-pkg.description: "Stress tests sample application."
+pkg.description: "Stress tests sample application"
 pkg.keywords:
 
 pkg.deps:
diff --git a/apps/btshell/pkg.yml b/apps/btshell/pkg.yml
index 79b0dcfa3..303881fb1 100644
--- a/apps/btshell/pkg.yml
+++ b/apps/btshell/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/btshell
+
+pkg.name: "apps/btshell"
 pkg.type: app
-pkg.description: Shell application exposing the nimble GAP and GATT.
+pkg.description: "Shell application exposing the nimble GAP and GATT"
 pkg.author: "Apache Mynewt <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -30,14 +31,14 @@ pkg.deps:
     - "@apache-mynewt-core/sys/console"
     - "@apache-mynewt-core/sys/shell"
     - "@apache-mynewt-core/util/parse_arg"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
-    - nimble/host/util
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
+    - "@apache-mynewt-nimble/nimble/host/util"
 
 pkg.deps.BTSHELL_ANS:
-    - nimble/host/services/ans
+    - "@apache-mynewt-nimble/nimble/host/services/ans"
 
 pkg.deps.BLE_AUDIO:
-    - nimble/host/audio
+    - "@apache-mynewt-nimble/nimble/host/audio"
diff --git a/apps/bttester/pkg.yml b/apps/bttester/pkg.yml
index ae05f1c9d..49ca65e1c 100644
--- a/apps/bttester/pkg.yml
+++ b/apps/bttester/pkg.yml
@@ -17,9 +17,9 @@
 # under the License.
 #
 
-pkg.name: apps/bttester
+pkg.name: "apps/bttester"
 pkg.type: app
-pkg.description: Bluetooth tester application
+pkg.description: "Bluetooth tester application"
 pkg.author: "Apache Mynewt <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
diff --git a/apps/dtm/pkg.yml b/apps/dtm/pkg.yml
index bf1ced364..65ab66244 100644
--- a/apps/dtm/pkg.yml
+++ b/apps/dtm/pkg.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-pkg.name: apps/dtm
+pkg.name: "apps/dtm"
 pkg.type: app
 pkg.description: "Bluetooth DTM shell application"
 pkg.author: "Apache Mynewt <[email protected]>"
diff --git a/apps/ext_advertiser/pkg.yml b/apps/ext_advertiser/pkg.yml
index baf1ea0b0..77449f5e9 100644
--- a/apps/ext_advertiser/pkg.yml
+++ b/apps/ext_advertiser/pkg.yml
@@ -16,20 +16,20 @@
 # under the License.
 #
 
-pkg.name: apps/ext_advertiser
+pkg.name: "apps/ext_advertiser"
 pkg.type: app
-pkg.description: Extended Advertising sample application.
+pkg.description: "Extended Advertising sample application"
 pkg.author: "Szymon Janc"
 pkg.email: "[email protected]"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
 
 pkg.deps:
-    - nimble/host
-    - nimble/host/util
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/util"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
     - "@apache-mynewt-core/kernel/os"
     - "@apache-mynewt-core/sys/console"
     - "@apache-mynewt-core/sys/log"
diff --git a/apps/mesh_badge/pkg.yml b/apps/mesh_badge/pkg.yml
index 238104d71..59997f4f3 100644
--- a/apps/mesh_badge/pkg.yml
+++ b/apps/mesh_badge/pkg.yml
@@ -15,9 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: apps/mesh_badge
+
+pkg.name: "apps/mesh_badge"
 pkg.type: app
-pkg.description: Sample app for the reel board that showcases Bluetooth Mesh
+pkg.description: "Sample app for the reel board that showcases Bluetooth Mesh"
 pkg.author: "Apache Mynewt <[email protected]>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
@@ -31,7 +32,7 @@ pkg.deps:
     - "@apache-mynewt-core/sys/log/modlog"
     - "@apache-mynewt-core/sys/stats"
     - "@apache-mynewt-core/sys/shell"
-    - nimble/host
-    - nimble/host/services/gap
-    - nimble/host/services/gatt
-    - nimble/host/store/config
+    - "@apache-mynewt-nimble/nimble/host"
+    - "@apache-mynewt-nimble/nimble/host/services/gap"
+    - "@apache-mynewt-nimble/nimble/host/services/gatt"
+    - "@apache-mynewt-nimble/nimble/host/store/config"
diff --git a/apps/peripheral/pkg.yml b/apps/peripheral/pkg.yml
index 82ff496a7..5796e4e7d 100644
--- a/apps/peripheral/pkg.yml
+++ b/apps/peripheral/pkg.yml
@@ -22,7 +22,6 @@ pkg.type: app
 pkg.description: "Basic perihperal application"
 pkg.author: "Krzysztof Kopyściński [email protected]"
 
-
 pkg.deps:
     - "@apache-mynewt-core/kernel/os"
     - "@apache-mynewt-core/sys/console"
diff --git a/apps/scanner/pkg.yml b/apps/scanner/pkg.yml
index 5e17add14..54c96aed1 100644
--- a/apps/scanner/pkg.yml
+++ b/apps/scanner/pkg.yml
@@ -22,7 +22,6 @@ pkg.type: app
 pkg.description: "Basic scanning application"
 pkg.author: "Krzysztof Kopyściński <[email protected]>"
 
-
 pkg.deps:
     - "@apache-mynewt-core/kernel/os"
     - "@apache-mynewt-core/sys/console"

Reply via email to