package-url / purl-spec

A minimal specification for purl aka. a package "mostly universal" URL, join the discussion at https://gitter.im/package-url/Lobby
https://github.com/package-url/purl-spec
Other
690 stars 160 forks source link

add `datetime` as version scheme #263

Open tschmidtb51 opened 12 months ago

tschmidtb51 commented 12 months ago

I suggest to add a version scheme datetime that is defined as follows: To compare 2 versions a and b, do:

Compare the as datetime parsed values (including the timezones).

Use case: Especially in cloud environments, often the version is given by a certain timestamp.

Flagging @pombredanne for attention

prabhu commented 7 months ago

Software should never use datetime as versions since different machines could have different time and timezone set (skews). What is wrong with semver?