Originally created by @ghost on GitHub (Sep 21, 2022).
Original GitHub issue: https://github.com/semver/semver/issues/876
Hi everyone.
I would like to know if you all have ever thought about creating a semver file in Yaml. *Would it be possible to have a **semver.yaml** file?*
**semver.yaml**
```yaml
version_string:
- 0.2.1
- 2.10.5
- 1.0.1a
- 1.0.1a2
- 1.0.1b
- 1.0.1rc1
```
The current comment doesn't describe what that YAML file does, could you clarify? What do you want for the semver specification?
<!-- gh-comment-id:1253585589 -->
@JohnTitor commented on GitHub (Sep 21, 2022):
The current comment doesn't describe what that YAML file does, could you clarify? What do you want for the semver specification?
The current comment doesn't describe what that YAML file does, could you clarify?
YAML is a human-friendly data serialization.
What do you want for the semver specification?
I would like to know if you all have ever thought about creating a semver file in Yaml... because... in my opinion it would make sense to create a semver specification in yaml for better semantics. YAML is a human-friendly data serialization and semver is "semantic versioning specification". Therefore, it would make sense to have a formatted file... semver in yaml format.
<!-- gh-comment-id:1253590709 -->
@ghost commented on GitHub (Sep 21, 2022):
Hi JohnTitor. So...
> The current comment doesn't describe what that YAML file does, could you clarify?
YAML is a human-friendly data serialization.
> What do you want for the semver specification?
I would like to know if you all have ever thought about creating a semver file in Yaml... because... in my opinion it would make sense to create a semver specification in yaml for better semantics. YAML is a human-friendly data serialization and *semver is "semantic versioning specification"*. Therefore, it would make sense to have a formatted file... semver in yaml format.
Therefore, it would make sense to have a formatted file... semver in yaml format....
So you want to express the specification with YAML? But your YAML file just lists version numbers and some even don't follow semver (e.g. 1.0.1a).
I would like to know if you all have ever thought about creating a semver file in Yaml.
AFAIK no.
<!-- gh-comment-id:1253613555 -->
@JohnTitor commented on GitHub (Sep 21, 2022):
> A Semver specification is a data type
Hmm, I don't think [specification **is** a data type](https://en.wikipedia.org/wiki/Specification_(technical_standard)).
> Therefore, it would make sense to have a formatted file... semver in yaml format....
So you want to express the specification with YAML? But your YAML file just lists version numbers and some even don't follow semver (e.g. `1.0.1a`).
> I would like to know if you all have ever thought about creating a semver file in Yaml.
AFAIK no.
<!-- gh-comment-id:1254073775 -->
@ghost commented on GitHub (Sep 21, 2022):
Hi JohnTitor.
> Hmm, I don't think [specification is a data type](https://en.wikipedia.org/wiki/Specification_(technical_standard)).
I said something wrong, so please sorry me.
> So you want to express the specification with YAML?
Exactly... yeah... as:
*semver.yaml*
```yaml
version_string:
- 0.2.1: major
- src: 'file.md'
- 2.10.5: major
- src: 'img.png'
- 1.0.1a: type
- src: 'index.py'
- 1.0.1a2: type
- src: 'main.py'
- 1.0.1b: type
- src: 'main.js'
- 1.0.1rc1: type
...
```
A semver file is a semantic expression about software versioning in yaml format(which is also semantic).
<!-- gh-comment-id:1254079998 -->
@ghost commented on GitHub (Sep 21, 2022):
Hi ljharb.
> What is a “semver file”?
A semver file is a semantic expression about software versioning in yaml format(which is also semantic).
@codehangen that doesn't clear it up. Semver means that the version triple - x.y.z (possibly with a prerelease or build identifier) - encapsulates the entirety of the semantics, which means that the format of the file containing it is utterly irrelevant.
<!-- gh-comment-id:1254147060 -->
@ljharb commented on GitHub (Sep 21, 2022):
@codehangen that doesn't clear it up. Semver means that the version triple - x.y.z (possibly with a prerelease or build identifier) - encapsulates the entirety of the semantics, which means that the format of the file containing it is utterly irrelevant.
Hi ljharb, JohnTitor. thank you all for feedback, so please... could you all close this issue?
<!-- gh-comment-id:1254257325 -->
@ghost commented on GitHub (Sep 21, 2022):
Hi ljharb, JohnTitor. thank you all for feedback, so please... could you all close this issue?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @ghost on GitHub (Sep 21, 2022).
Original GitHub issue: https://github.com/semver/semver/issues/876
Hi everyone.
I would like to know if you all have ever thought about creating a semver file in Yaml. Would it be possible to have a semver.yaml file?
semver.yaml
@JohnTitor commented on GitHub (Sep 21, 2022):
The current comment doesn't describe what that YAML file does, could you clarify? What do you want for the semver specification?
@ghost commented on GitHub (Sep 21, 2022):
Hi JohnTitor. So...
YAML is a human-friendly data serialization.
I would like to know if you all have ever thought about creating a semver file in Yaml... because... in my opinion it would make sense to create a semver specification in yaml for better semantics. YAML is a human-friendly data serialization and semver is "semantic versioning specification". Therefore, it would make sense to have a formatted file... semver in yaml format.
@JohnTitor commented on GitHub (Sep 21, 2022):
Hmm, I don't think specification is a data type.
So you want to express the specification with YAML? But your YAML file just lists version numbers and some even don't follow semver (e.g.
1.0.1a).AFAIK no.
@ljharb commented on GitHub (Sep 21, 2022):
What is a “semver file”?
@ghost commented on GitHub (Sep 21, 2022):
Hi JohnTitor.
I said something wrong, so please sorry me.
Exactly... yeah... as:
semver.yaml
@ghost commented on GitHub (Sep 21, 2022):
Hi ljharb.
A semver file is a semantic expression about software versioning in yaml format(which is also semantic).
@ljharb commented on GitHub (Sep 21, 2022):
@codehangen that doesn't clear it up. Semver means that the version triple - x.y.z (possibly with a prerelease or build identifier) - encapsulates the entirety of the semantics, which means that the format of the file containing it is utterly irrelevant.
@ghost commented on GitHub (Sep 21, 2022):
Hi ljharb, JohnTitor. thank you all for feedback, so please... could you all close this issue?