-
Notifications
You must be signed in to change notification settings - Fork 428
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
Request for a release/latest
branch or tag
#26016
Comments
Dan, on slack, I got the sense you were pretty in favor of this (having the tag point to the impending release tarball after code freeze). And from a developer/testing standpoint that makes sense, but it makes me wonder about:
Would this help with spack users and developers, or muddy the waters in some way I'm not seeing. Seems like the main downside is that now there are two new tags to maintain rather than one. And naming ( |
@bradcray said:
Note this enhancement request is solely for a git ref, so there's no "release tarball" artifact here: it's basically just a pointer to a commit in git representing "stable" code (where "stable" has presumably received more vetting than the usual day-to-day tip of Now to your questions: the creation of such a git ref (with any reasonable update discipline) gets me the majority of the functionality I'm requesting. Users who want a specific release number can always ask for it by name; this ref instead serves the interests of users who just want "the latest and greatest stable code" but don't care enough to carefully track Chapel releases and update their build scripts. IOW the difference between a ref updated at code freeze (and possibly moved again on release day) versus a ref that is only moved on release days is vanishingly small for the majority of the use cases I envision. That being said, one (minor) benefit I see to providing a ref updated at code freeze is that it makes it easier for "early adopters" to help (perhaps unwittingly) with the testing effort during the freeze period, and possibly report problems that could improve the documentation of the impending release. Now assuming the code in Regarding naming the git ref:
all of which are always considered newer than any numbered version. So for technical reasons the Spack-side version label we deploy in the chapel spackage should be one of FWIW the git discipline we follow in GASNet has one git ref ( |
Noting for others' benefit that this idea came up last week when we were discussing how to handle future large changes in general (I think Shreyas suggested it). I'll try to loop the concepts together more solidly and keep this issue up to date where reasonable |
This issue requests creation and maintenance of a git ref (branch or tag, don't really care which) that always points to the latest stable public release of Chapel. The existence of such a ref helps git users to checkout the latest stable release of Chapel, without needing to know the exact version number.
The main reason I want this is to enable adding a git branch alias to the Chapel Spack formula that explicitly requests fetching the current public release from git (e.g.,
spack install chapel@stable
). We could implement such an alias by updating the alias in the Spack formula after each public release, but that's not ideal because the update might not reach some Spack users for months after the Chapel release. Also, maintaining the ref in git would be more helpful to more people (i.e., those not using Spack).I have no strong opinion on the naming, but
release/latest
seems to match the current naming convention in the Chapel repo. Other common alternatives could includestable
or simplylatest
.This ref would need to be updated during the Chapel release process, either by merging the release to a long-lived branch, or by moving the tag. This need not happen on release day, in fact there might be some benefit in performing this update after code freeze but before the release is officially announced.
CC: @bradcray @arezaii
The text was updated successfully, but these errors were encountered: