You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why aren't there releases for this repo? I feel like this is something every rules repository should have. Is there anything stopping this repo from having releases?
We are all working in companies that use a work at head model in which release does not really make sense. As this repositories is supposed to be used at source level there is no compelling reason to have release and release induce toil.
I think that it is useful to tag the minimum (and maximum?) bazel version
required, since those are the only breaking changes we have made in the
past. This was a source of toil for me in the past, lining things up w/ the
very frequent bazel updates.
I think the 'live at head' approach has only been the case for
contributors, as most people will want to include their changes by using
the latest version.
A release to me is an indication of what kinds of changes were made to a code base. It's little more than a tag but the value in it is the semantic versioning. If a neat new feature was added, I should be able to infer that from the release number.
I think testing should be done on some modern version and it should be up to the contributors/maintainers to keep up with modern Bazel releases and be aware of potential incompatibilities with older versions. But I don't think this testing is all that valuable without releases to represent these kinds of changes.
@mfarrugi@damienmg In the issue linked above, a user had an issue due to change that broke compatibility with older versions of Bazel. I think rules_rust should have releases and they should indicate breakages or changes in the API but if nothing else I believe the changes in #463 call for a new release to communicate.
Also having thought about this a bit. It'd be kinda nice to have a release at 9a8ef69 so it's easier to communicate in cargo-raze what it's target compatibility version is. Since right now cargo-raze is going to potentially generate files that expect newer platform configurations to be added to the repo.
Pinging this thread again. I think these rules need to adopt a release cadence. It's incredibly taxing for users to have to go digging through commit history to find out what changes they're picking up in any update. A release with a TLDR of the changes would solve for this and is a pattern used by many other rules repositories.
Not much changed on my end, I still don't have the neither the bandwidth nor the need for regular releases.
If the main problem is figuring out what changed, I'd be supportive to start keeping a CHANGELOG.md file. There I imagine we would mention notable changes and provide links for relevant PRs.
If there is enough demand from the community (and it seems even @UebelAndre alone checks that box :) I have no objections. Logistics of Github releases require repo write access, and I'm happy to grant that to @UebelAndre (their ~ 57 PRs are quite a record anyway :)
I'd vote for creating the automation (actual releases, changelog management?) to create releases, create a bunch of 0.X releases, and then when bugs are discovered and fixed we can create 1.0.
+1
What is in scope for the release?
//rust obviously. What about //proto and //bindgen? I presume //test and //examples are out. //tools and //utils are in.
Also //cargo but not //crate_universe.
Anything we want to do before 1.0?
There are some pet peeves of mine to which I didn't get to yet, like #843, #637, #622, #601. I think I should start accepting that I may not fix all of them before 1.0 :)
What do others think?
I can be swayed to block on any of those as long as they're going to be actively worked on. I don't think any of them are important enough to set them as indefinite blockers except maybe #601.
Activity
damienmg commentedon Sep 24, 2020
We are all working in companies that use a work at head model in which release does not really make sense. As this repositories is supposed to be used at source level there is no compelling reason to have release and release induce toil.
mfarrugi commentedon Sep 24, 2020
UebelAndre commentedon Sep 24, 2020
I agree with both of these points.
UebelAndre commentedon Sep 25, 2020
Would it be possible to get a release? Is there something in CI that tests the oldest supported version?
mfarrugi commentedon Sep 25, 2020
UebelAndre commentedon Sep 25, 2020
A release to me is an indication of what kinds of changes were made to a code base. It's little more than a tag but the value in it is the semantic versioning. If a neat new feature was added, I should be able to infer that from the release number.
I think testing should be done on some modern version and it should be up to the contributors/maintainers to keep up with modern Bazel releases and be aware of potential incompatibilities with older versions. But I don't think this testing is all that valuable without releases to represent these kinds of changes.
UebelAndre commentedon Nov 10, 2020
@mfarrugi @damienmg In the issue linked above, a user had an issue due to change that broke compatibility with older versions of Bazel. I think
rules_rustshould have releases and they should indicate breakages or changes in the API but if nothing else I believe the changes in #463 call for a new release to communicate.UebelAndre commentedon Nov 10, 2020
Also having thought about this a bit. It'd be kinda nice to have a release at 9a8ef69 so it's easier to communicate in
cargo-razewhat it's target compatibility version is. Since right nowcargo-razeis going to potentially generate files that expect newer platform configurations to be added to the repo.Add github actions to test against a matrix of bazel versions
Add a CI target on the minimum supported version of bazel
Add a CI target on the minimum supported version of bazel (#493)
UebelAndre commentedon Dec 15, 2020
Pinging this again. Can these rules please start doing releases? 🙏
UebelAndre commentedon Feb 4, 2021
@hlopko @illicitonion Any chance this effort can be revived? 🙏
UebelAndre commentedon Mar 15, 2021
Pinging this thread again. I think these rules need to adopt a release cadence. It's incredibly taxing for users to have to go digging through commit history to find out what changes they're picking up in any update. A release with a TLDR of the changes would solve for this and is a pattern used by many other rules repositories.
hlopko commentedon Mar 22, 2021
Thanks for pinging.
Not much changed on my end, I still don't have the neither the bandwidth nor the need for regular releases.
If the main problem is figuring out what changed, I'd be supportive to start keeping a CHANGELOG.md file. There I imagine we would mention notable changes and provide links for relevant PRs.
If there is enough demand from the community (and it seems even @UebelAndre alone checks that box :) I have no objections. Logistics of Github releases require repo write access, and I'm happy to grant that to @UebelAndre (their ~ 57 PRs are quite a record anyway :)
What do others think? @mfarrugi @damienmg @illicitonion @dfreese to ping a few?
28 remaining items
illicitonion commentedon Nov 9, 2021
+1
Also
//cargobut not//crate_universe.I can be swayed to block on any of those as long as they're going to be actively worked on. I don't think any of them are important enough to set them as indefinite blockers except maybe #601.
UebelAndre commentedon Nov 9, 2021
I do not think we should do a
1.0. There should be a few0.Xbefore then. For what it's worthUebelAndre commentedon Mar 17, 2022
Finally getting back to this. Does anyone have an objection to releasing
rules_rust v0.1.0by the end of the week?hlopko commentedon Mar 18, 2022
I'd say go ahead :)
illicitonion commentedon Mar 18, 2022
Sounds very exciting! Go for it!
UebelAndre commentedon Mar 18, 2022
Started a release: https://github.com/bazelbuild/rules_rust/actions/runs/2004339369
UebelAndre commentedon Mar 18, 2022
oh no! it failed 😞
UebelAndre commentedon Mar 18, 2022
Going to try to recreate it.
UebelAndre commentedon Mar 18, 2022
created softprops/action-gh-release#221 to track the failure.
UebelAndre commentedon Mar 18, 2022
Round 2 was a success! https://github.com/bazelbuild/rules_rust/actions/runs/2004511376
UebelAndre commentedon Mar 18, 2022
https://github.com/bazelbuild/rules_rust/releases/tag/0.1.0 looks pretty epic
UebelAndre commentedon Mar 18, 2022
Trying now to make sure the release is properly uploaded to the Google mirror.
UebelAndre commentedon Mar 18, 2022
bazelbuild/continuous-integration#1347 tracks potentially automating this step
UebelAndre commentedon Mar 18, 2022
With
0.1.0out, and the release actions looking good. This ticket is now complete! Thanks everyone who contributed to this!