"for 1.20 you will need to write api-version: '1.20' with quotation marks because YAML treats it as a number, not a string, which can be condensed down to 1.2 which is not a supported API version. "
I can't believe people tolerate this.
"for 1.20 you will need to write api-version: '1.20' with quotation marks because YAML treats it as a number, not a string, which can be condensed down to 1.2 which is not a supported API version. "
I can't believe people tolerate this.
Semver should be a data type.
semver1 == semver2
semver1 > semver2
Semver(1)
Semver(2.1)
Semver("3.2.1")
Semver("8.9.12-beta.3")
semver + 1
semver + 0.1
semver + "0.0.1"
semver.increment()
semver.increment("beta")
@mhoye On the one hand, yeah. On the other hand, I sort of feel for YAML because it's trying to be friendly and not force you to quote strings all the time (or otherwise mark things as being strings instead of whatever).
(Our Grafana dashboards once went wrong with 'guess the type of this', because our SSD serial numbers looked like '<digits>E<more digits>', so that's obviously a float in exponential notation, right? I only noticed because some serial numbers became '∞'.)
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.