-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
youtube-dl versioning #30
Comments
Oh, seems like they have an optional |
We could assume that no sane person would put parentheses in their version numbers and introduce something like This is also common with python versions which use release tags that are omitted when it is |
I'm not super picky on notation but one option might be something like |
Off the top of my head, I can't think of a case where it would be an issue, but it should be noted that the |
@mahmoud can you clarify if you even want to specify something WRT. optional segments? Do you consider this within the scope of the calver.org project? I also saw for example that |
I've been thinking about it and I think it would be nice to specify optional components. CalVer is meant to be practical, I think youtube_dl is doing something very practical indeed. Full date version by default, resolving collisions (multiple releases on the same date) by adding an optional counter. I'm liking the parentheses for exactly the reason you outlined, @mbarkhau. That said, I think this is a Python bias, as I've become aware that some versions use Weeks is a separate topic, I'd open another issue for a discussion there. :) |
I found at least one example where |
I'm not sure it is aesthetically optimal, but I'm wondering if ie. |
Since all characters appear to be used in some version specifier syntax, perhaps that shouldn't be the deciding factor. I've instead had a look at existing notation for optional parts/segments. After a brief survey, I'm leaning toward
I did not find examples for another notation. |
I think there is some ambiguity regarding |
I don't think so. AFAICT these are synonyms: |
So I'm trying to validate release versions for youtube-dl, but I'm a little lost how both
2020.06.16.1
and2020.06.16
are valid versions. DoesYYYY.0M.0D_MICRO
match both or does it need some other notation?The text was updated successfully, but these errors were encountered: