Use YAML 1.2 throughout
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 18 Sep 2020 16:56:41 +0000 (12:56 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 18 Sep 2020 16:57:33 +0000 (12:57 -0400)
The `yes` and `no` boolean values do not exist in YAML 1.2 [1].

Change all of them for `true` and `false`.

Also, in `tests/tracing/configs` and in
`examples/linux-fs-simple/config.yaml`, add the explicit `%YAML 1.2`
directive to indicate that it's a YAML 1.2 document.

[1]: https://yaml.org/spec/1.2/spec.html#id2805071

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
23 files changed:
examples/linux-fs-simple/config.yaml
platforms/linux-fs/README.adoc
tests/config/yaml/2/configs/fail/type-struct/ma-invalid-type.yaml
tests/tracing/configs/succeed/dynamic-array/nested-5-uint8.yaml
tests/tracing/configs/succeed/dynamic-array/of-double.yaml
tests/tracing/configs/succeed/dynamic-array/of-static-array-of-double.yaml
tests/tracing/configs/succeed/dynamic-array/of-static-array-of-str.yaml
tests/tracing/configs/succeed/dynamic-array/of-static-array-of-uint8.yaml
tests/tracing/configs/succeed/dynamic-array/of-str.yaml
tests/tracing/configs/succeed/dynamic-array/of-uint3-middle.yaml
tests/tracing/configs/succeed/dynamic-array/of-uint3.yaml
tests/tracing/configs/succeed/dynamic-array/of-uint8.yaml
tests/tracing/configs/succeed/dynamic-array/zero-len.yaml
tests/tracing/configs/succeed/static-array/nested-5-uint8.yaml
tests/tracing/configs/succeed/static-array/of-double.yaml
tests/tracing/configs/succeed/static-array/of-static-array-of-double.yaml
tests/tracing/configs/succeed/static-array/of-static-array-of-str.yaml
tests/tracing/configs/succeed/static-array/of-static-array-of-uint8.yaml
tests/tracing/configs/succeed/static-array/of-str.yaml
tests/tracing/configs/succeed/static-array/of-uint3-middle.yaml
tests/tracing/configs/succeed/static-array/of-uint3.yaml
tests/tracing/configs/succeed/static-array/of-uint8.yaml
tests/tracing/configs/succeed/static-array/zero-len.yaml

index 7866e0893bd01e869c45df84da498261b4c9418f..6494f9a18f5314530cdd21b3e92778c9a1fe604e 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: little-endian
 trace:
index 11ee5b1dd4b127159a9b8c213e5410e85a570e0d..f464496fe4c205aad523ff6306f5c16f30cc50bd 100644 (file)
@@ -44,7 +44,7 @@ trace:
         $c-type: uint64_t
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         $default-clock-type-name: default
         event-record-types:
           my_event:
@@ -172,7 +172,7 @@ trace:
         $c-type: uint64_t
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         $default-clock-type-name: default
         event-record-types:
           my_event:
index edfd5e98d57c1e4992849cec10752731559038d4..06726be3ec6382f6055c6bfbc620f0d912c3892d 100644 (file)
@@ -30,4 +30,4 @@ metadata:
         my_event:
           payload-type:
             class: struct
-            min-align: yes
+            min-align: true
index 3f9bdf245512c1f5b6aafabf192d130d059d7a2b..8e0540d3aa4ce004ca522e14f1e59115eff8eb55 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index aad6a07669d990804d2dd5c3cee8f9d1bcd8eee4..ced3f8846cd0c7aa186c5067107537d42069dd99 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdreal.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 08a6c4d3793625a4af969c4312a6b24b3e7dacaf..01885165017fd9b59ac293e6b53b9db35a171d89 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdreal.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index fa190e77b5fcdeda30f72b045a2df2007db7b692..bdb2b8687a761206681001ae21d4884d9fa7f00d 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdmisc.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 16dd6e7942b17d3dd3ababd1e8e1cfbac6daa709..aa7e87f6736c215b4cfb238e6290d49fa705cc7e 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index de633b6b7cfd90a4a8653ab27a2360bfad5e842f..366b25e613c04acfe3acb1abfee669f0e99b2bb5 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdmisc.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 30891b2d7789214361b7dec65813d0a03969c733..660c4ff3a17bd22bf20f10caff36418048db0a92 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -29,7 +31,7 @@ trace:
       - stdmisc.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 9dc27141597925ae2c8c5283853677dc8f78a4f1..c985cd51712b74a2c812546e09bd3b04a32bd666 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 85e7fff4d7bd81bfa1445bc87e8d359b9d97893f..75178f468c50a41c1e61dfad9abab611e25e9472 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 22b53d4d46b9ef75496a13a732526daefda78134..5aa56d66bed2e582150ea1d355d992e174990c51 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index c252dfc6346377d8983e6d5cc43739da2c8cd075..c6d33ed5da799cb941987d1e3278ee3cf632bc97 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 0904475c613537bd485994f1ac43ce0225ed5aed..f7ef676bcc8aa96d36d2f50b4993dc0730f21660 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdreal.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 728b7f79a5afec8d7dc705641d61f3059af02c57..6891442e514ad9e5db347824592ac947a31ac6c5 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdreal.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index e01faef9b700b686cb3c5512151ec7fcea2cc147..a0bac3993137ea30a458844e3ad168bcd6e5af4c 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdmisc.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index c0e4c8a5dda7f863f09d4a7237e5ebb208c8bef1..efc2e9b4846aaae5bf86939bc6a37c1b1ae04db4 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 9928d97823d577a7f8d22133ab7f8a184d0ebef8..566a32f8ac3634c534f1119d4404ac4620b1f7ff 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdmisc.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 99c9c1a537903dfc9b47c681abfca9442e9d924f..20a113377a39ea3daf4471beaedd903d793d3702 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -29,7 +31,7 @@ trace:
       - stdmisc.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index 46d7aa805fc3c1e1a76f84edfa0f634563e1804a..8e704dfed5d7da4ca45a397735f41e1dd9b365f7 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index b62ca4d36c77e59cafc3c2c4711571d30be3a54b..5bb0aa66e8c03b3e8b39b583141a854e1ec4179e 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
index b09e43981c32c547b7e5bc5196992814ad8ec13a..9644939f12a925aaa5dcf08fde74851211ad55d0 100644 (file)
@@ -20,6 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+%YAML 1.2
+
 --- !<tag:barectf.org,2020/3/config>
 target-byte-order: le
 trace:
@@ -28,7 +30,7 @@ trace:
       - stdint.yaml
     data-stream-types:
       default:
-        $is-default: yes
+        $is-default: true
         event-record-types:
           ev:
             payload-field-type:
This page took 0.033778 seconds and 4 git commands to generate.