-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
[24.05] backport gradle: 8.7 → 8.8 #338608
[24.05] backport gradle: 8.7 → 8.8 #338608
Conversation
(cherry picked from commit 48d567f)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not convinced this should be backported.
This appears to be quite a major version and it's not clear to me whether it's bug-compatible with 8.8 outside of the bugs that were explicitly fixed.
Could you explain why this would need to be backported? Are there any critical bugs or security issues fixed by this release that stable users cannot be expected to bear for another 2 months?
@Atemu : My motivations behind this backport is upgrading We use What are your reasons for blocking this version bump? |
Thanks for explaining your needs. The purpose of the stable channel is to not change significantly (outside of where it is necessary) for its entire support timeframe. If you require new versions of software in <6 months after they become available, you should therefore not use a stable channel. If you are closer to the bleeding edge than a stable software distribution allows, I'd recommend you to pin a revision of nixpkgs-unstable and bump it frequently. It is the branch where all updates happen as soon as possible (on a best-effort basis) and is arguably better supported than the stable channel but may introduce breaking changes (such as this one) at any time. The primary reason for blocking this bump is that, as a general purpose software distribution, we need to care for a lot more than react-native functioning; lots of our packages depend on gradle. Glancing over the original PR, there were mentions of at least one dependant packages breaking due to this change and many updates to dependant packages that make them compatible with gradle 8.8 may not have existed before branch-off in May. The onus is now on you to convince me (or any other person with merge privileges) that this change will not break dependant packages. On unstable, that bar is quite a bit lower as breaking changes are expected and it's often not logistically possible to figure out whether a change breaks anything. In case of doubt (current case), I opt to not let this pass. As I said though, this backport shouldn't be necessary for your purposes. If you really must have gradle 8.8 in the stable channel however, it would be permissible to add it as a separate top-level attribute (e.g. |
@Atemu : Thanks for explaining your reasoning. I like the idea of |
Master currently carries gradle 8.8 and can generally be expected to carry the newest version quite soon after release at all times (again, best effort), so this doesn't really make sense to do on master. What does often make sense on is the other way around: keeping an older version available. As I said though, please first consider using nixpkgs-unstable before dealing with backporting stuff to a channel that should change as little as possible. |
Thanks for your inputs @Atemu , I'll try using |
Description of changes
PR to backport #316849 to 24.05 release
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.