forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Splits PR advice into two sections. - Add "co-authored-by" instructions. - Add description of draft PR and when using it is appropriate. - Reword ZFS Test Suite checklist question. - Link to zfs-tests.sh and zloop.sh. Reviewed-By: Marcel Schilling <[email protected]> Reviewed-By: Brian Behlendorf <[email protected]> Reviewed-By: Richard Laager <[email protected]> Co-Authored-By: Marcel Schilling <[email protected]> Co-Authored-By: Brian Behlendorf <[email protected]> Co-Authored-By: Richard Laager <[email protected]> Signed-off-by: Kjeld Schouten-Lebbing <[email protected]> Closes openzfs#9753
- Loading branch information
1 parent
8b3438e
commit 82e996c
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,6 +120,9 @@ Otherwise, open a new issue and describe your proposed feature. Why is this | |
feature needed? What problem does it solve? | ||
|
||
### Pull Requests | ||
|
||
#### General | ||
|
||
* All pull requests must be based on the current master branch and apply | ||
without conflicts. | ||
* Please attempt to limit pull requests to a single commit which resolves | ||
|
@@ -133,7 +136,20 @@ logically independent patches which build on each other. This makes large | |
changes easier to review and approve which speeds up the merging process. | ||
* Try to keep pull requests simple. Simple code with comments is much easier | ||
to review and approve. | ||
* All proposed changes must be approved by a ZFS on Linux organization member. | ||
* If you have an idea you'd like to discuss or which requires additional testing, consider opening it as a draft pull request. | ||
Once everything is in good shape and the details have been worked out you can remove its draft status. | ||
Any required reviews can then be finalized and the pull request merged. | ||
|
||
#### Tests and Benchmarks | ||
* Every pull request will by tested by the buildbot on multiple platforms by running the [zfs-tests.sh and zloop.sh]( | ||
https://github.com/zfsonlinux/zfs/wiki/Building-ZFS#running-zloopsh-and-zfs-testssh) test suites. | ||
* To verify your changes conform to the [style guidelines]( | ||
https://github.com/zfsonlinux/zfs/blob/master/.github/CONTRIBUTING.md#style-guides | ||
), please run `make checkstyle` and resolve any warnings. | ||
* Static code analysis of each pull request is performed by the buildbot; run `make lint` to check your changes. | ||
* Test cases should be provided when appropriate. | ||
This includes making sure new features have adequate code coverage. | ||
* If your pull request improves performance, please include some benchmarks. | ||
* The pull request must pass all required [ZFS | ||
Buildbot](http://build.zfsonlinux.org/) builders before | ||
|
@@ -142,7 +158,6 @@ builder failures, you may be experiencing a [test suite | |
issue](https://github.com/zfsonlinux/zfs/issues?q=is%3Aissue+is%3Aopen+label%3A%22Test+Suite%22). | ||
There are also various [buildbot options](https://github.com/zfsonlinux/zfs/wiki/Buildbot-Options) | ||
to control how changes are tested. | ||
* All proposed changes must be approved by a ZFS on Linux organization member. | ||
|
||
### Testing | ||
All help is appreciated! If you're in a position to run the latest code | ||
|
@@ -290,3 +305,14 @@ Git can append the `Signed-off-by` line to your commit messages. Simply | |
provide the `-s` or `--signoff` option when performing a `git commit`. | ||
For more information about writing commit messages, visit [How to Write | ||
a Git Commit Message](https://chris.beams.io/posts/git-commit/). | ||
|
||
#### Co-authored By | ||
If someone else had part in your pull request, please add the following to the commit: | ||
`Co-authored-by: Name <[email protected]>` | ||
This is useful if their authorship was lost during squashing, rebasing, etc., | ||
but may be used in any situation where there are co-authors. | ||
|
||
The email address used here should be the same as on the GitHub profile of said user. | ||
If said user does not have their email address public, please use the following instead: | ||
`Co-authored-by: Name <[username]@users.noreply.github.com>` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters