mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
doc/reviewing-contributions: Recommend mkRenamedOptionModuleWith
This commit is contained in:
parent
646e888011
commit
3e39e243db
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ Reviewing process:
|
||||||
- Type should be appropriate (string related types differs in their merging capabilities, `optionSet` and `string` types are deprecated).
|
- Type should be appropriate (string related types differs in their merging capabilities, `optionSet` and `string` types are deprecated).
|
||||||
- Description, default and example should be provided.
|
- Description, default and example should be provided.
|
||||||
- Ensure that option changes are backward compatible.
|
- Ensure that option changes are backward compatible.
|
||||||
- `mkRenamedOptionModule` and `mkAliasOptionModule` functions provide way to make option changes backward compatible.
|
- `mkRenamedOptionModuleWith` provides a way to make option changes backward compatible.
|
||||||
- Ensure that removed options are declared with `mkRemovedOptionModule`
|
- Ensure that removed options are declared with `mkRemovedOptionModule`
|
||||||
- Ensure that changes that are not backward compatible are mentioned in release notes.
|
- Ensure that changes that are not backward compatible are mentioned in release notes.
|
||||||
- Ensure that documentations affected by the change is updated.
|
- Ensure that documentations affected by the change is updated.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue