Replies: 2 comments 4 replies
-
Can we make it extra dumb and simply have version numbers?
No RC, no LTS, none of that. If we want to do that in the future. First thing we would do is setup outside of the compiler repo versioned specification. That would run the various versions against the compiler and libs and say which it checks out against. That can flag breakages and stops the "because I changed tests along with the change" breakages or didn't really think about migration. It's the correct forcing function without burdening authors and reviewers with "being careful" all the time. Also jeans people who care about all that sort of stability bare a bunch of that burden more directly and/or it's a service to charge for. |
Beta Was this translation helpful? Give feedback.
-
I'd like versioning scheme that other compilers (GCC, Clang) use |
Beta Was this translation helpful? Give feedback.
-
With nightlies bits coming together, we should start thinking about the compiler versioning scheme and format.
Right now I only have a versioning format proposal, which is:
This is mostly inspired by semantic versioning:
major
,minor
,patch
: Up for debate, I personally think we can use a similar scheme to upstream, sans the "odd versions are development" rule.pre
: This specifier is what will be used in untagged builds (nightlies). Stands for "pre-release", chosen because it is lexically smaller thanrc
. A version with this specifier will always be "older" than anrc
version.rc
: This specifier is for release candidates, must be tagged in the repository. A version with this specifier will always be "older" than one without it.+<commit hash>
: Optional specifier for the commit hash, does not participate in version comparison, for informational purposes only.Examples:
0.1.0
>0.1.0-rc.1
>0.1.0-pre.20220101
0.1.0-rc.1+abcdxyz
==0.1.0-rc.1+xyzdcba
Beta Was this translation helpful? Give feedback.
All reactions