CONTRIBUTING.md: Reword changes acceptable for backport

It wasn't entirely clear if the list was acceptable or not from the
wording.
This commit is contained in:
Silvan Mosberger 2023-09-06 13:58:45 +02:00
parent 6d95b1aebb
commit 433f935d10

View file

@ -483,17 +483,17 @@ The oldest supported release (`YYMM`) can be found using
nix-instantiate --eval -A lib.trivial.oldestSupportedRelease nix-instantiate --eval -A lib.trivial.oldestSupportedRelease
``` ```
The release branches should generally not receive any breaking changes, both for the Nix expressions and derivations. The release branches should generally only receive backwards-compatible changes, both for the Nix expressions and derivations.
So these changes are acceptable to backport: Here are some examples of backwards-compatible changes that are okay to backport:
- New packages, modules and functions - ✔️ New packages, modules and functions
- Security fixes - ✔️ Security fixes
- Package version updates - ✔️ Package version updates
- Patch versions with fixes - ✔️ Patch versions with fixes
- Minor versions with new functionality, but no breaking changes - ✔️ Minor versions with new functionality, but no breaking changes
In addition, major package version updates with breaking changes are also acceptable for: In addition, major package version updates with breaking changes are also acceptable for:
- Services that would fail without up-to-date client software, such as `spotify`, `steam`, and `discord` - ✔️ Services that would fail without up-to-date client software, such as `spotify`, `steam`, and `discord`
- Security critical applications, such as `firefox` and `chromium` - ✔️ Security critical applications, such as `firefox` and `chromium`
### Changes causing mass rebuilds ### Changes causing mass rebuilds
[mass-rebuild]: #changes-causing-mass-rebuilds [mass-rebuild]: #changes-causing-mass-rebuilds