If one specifies that something should be a string, please encode it in the most natural and deterministic way.
Example for something desired to be formatted as a list of strings please ensure that all form of canonical integer and floating point numbers are encoded as strings.
https://yaml.org/spec/1.2.2/#24-tags
Lists
canonical: 12345
decimal: +12345
octal: 0o14
hexadecimal: 0xC
canonical: 1.23015e+3
exponential: 12.3015e+02
fixed: 1230.15
negative infinity: -.inf
not a number: .nan
As valid representations of numbers, which upon parsing will not be strings. And thus need to be quoted to be strings.
For the purpose of melange, we can encounter something like "1.23015e+3" as a string value represetting package version or text git tag. But most commonly it is software with single major or single minor version only that can get miss-parsed.
If one specifies that something should be a string, please encode it in the most natural and deterministic way.
Example for something desired to be formatted as a list of strings please ensure that all form of canonical integer and floating point numbers are encoded as strings.
https://yaml.org/spec/1.2.2/#24-tags
Lists
As valid representations of numbers, which upon parsing will not be strings. And thus need to be quoted to be strings.
For the purpose of melange, we can encounter something like "1.23015e+3" as a string value represetting package version or text git tag. But most commonly it is software with single major or single minor version only that can get miss-parsed.