mirror of
https://github.com/semver/semver.git
synced 2026-07-11 04:52:47 -05:00
[GH-ISSUE #570] How to specify variants (language, architecture, etc.) #2148
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thomedes on GitHub (Jun 2, 2020).
Original GitHub issue: https://github.com/semver/semver/issues/570
It would be nice if there was a standard way to specify variants of the same thing.
Example, having:
I'd like to be able to incorporate the different variants in the versioning string in a standard way.
@ljharb commented on GitHub (Jun 2, 2020):
Different package names, or as a prerelease?
@thomedes commented on GitHub (Jun 2, 2020):
Different package names. Now I see my mistake, I actually typed faster than I thought.
If you effectively make different variants of the same product, each having a set of keys/values that identifies them (like
{ "arch": "i386", "lang": "en_UK" }Then the version is just one more value to save in the set, like{ "arch": "i386", "lang": "en_UK", "version": "X.Y.Z" }.I would be wrong to store all that info in the version string.
It would be a different project to create a semantic product identifier string allowing a set of key/values to be specified in a formal way. Probably better to close this Issue.