2021-02-15 03:41:15 +03:00
|
|
|
# Pull Requests
|
2021-06-03 22:25:06 +03:00
|
|
|
All development is done in the `develop` branch. Only minor bug-fixes and release
|
|
|
|
PRs should target `master`.
|
|
|
|
|
|
|
|
If making a change to the template, or adding a feature, please be sure to update the
|
2021-02-15 03:41:15 +03:00
|
|
|
relevant docs. Each directory contains its own README.md, which will
|
2021-02-18 07:03:07 +03:00
|
|
|
automatically be pulled into the [mdbook](https://devos.divnix.com). The book is
|
2021-02-15 03:41:15 +03:00
|
|
|
rendered on every change, so the docs should always be up to date.
|
|
|
|
|
2021-03-14 10:10:51 +03:00
|
|
|
We also use [BORS](https://bors.tech) to ensure that all pull requests pass the
|
|
|
|
test suite once at least one review is completed.
|
2021-02-15 03:41:15 +03:00
|
|
|
|
|
|
|
# Style
|
|
|
|
If you wish to contribute please follow these guidelines:
|
|
|
|
|
|
|
|
* format your code with [`nixpkgs-fmt`][nixpkgs-fmt]. The default devshell
|
|
|
|
includes a pre-commit hook that does this for you.
|
|
|
|
|
|
|
|
* The commit message follows the same semantics as [nixpkgs][nixpkgs].
|
|
|
|
* You can use a `#` symbol to specify ambiguities. For example,
|
2021-04-23 02:10:02 +03:00
|
|
|
`develop#zsh: <rest of commit message>` would tell me that you're updating the
|
2021-02-15 03:41:15 +03:00
|
|
|
`zsh` subprofile living under the `develop` profile.
|
|
|
|
|
|
|
|
[nixpkgs-fmt]: https://github.com/nix-community/nixpkgs-fmt
|
|
|
|
[nixpkgs]: https://github.com/NixOS/nixpkgs
|