mirror of https://github.com/grafana/grafana.git
contributing: improve guide for bug fixes
This commit is contained in:
parent
adf87dc49f
commit
058debee67
|
@ -1,4 +1,5 @@
|
||||||
* Link the PR to an issue for new features
|
* Link the PR to an issue for new features
|
||||||
* Rebase your PR if it gets out of sync with master
|
* Rebase your PR if it gets out of sync with master
|
||||||
|
* Follow the contribution guidelines in `CONTRIBUTING.md`
|
||||||
|
|
||||||
**REMOVE THE TEXT ABOVE BEFORE CREATING THE PULL REQUEST**
|
**REMOVE THE TEXT ABOVE BEFORE CREATING THE PULL REQUEST**
|
||||||
|
|
|
@ -49,8 +49,26 @@ go test -v ./pkg/...
|
||||||
|
|
||||||
* Branch from the master branch and, if needed, rebase to the current master branch before submitting your pull request. If it doesn't merge cleanly with master you may be asked to rebase your changes.
|
* Branch from the master branch and, if needed, rebase to the current master branch before submitting your pull request. If it doesn't merge cleanly with master you may be asked to rebase your changes.
|
||||||
|
|
||||||
* Commits should be as small as possible, while ensuring that each commit is correct independently (i.e., each commit should compile and pass tests).
|
|
||||||
|
|
||||||
* If your patch is not getting reviewed or you need a specific person to review it, you can @-reply a reviewer asking for a review in the pull request or a comment.
|
* If your patch is not getting reviewed or you need a specific person to review it, you can @-reply a reviewer asking for a review in the pull request or a comment.
|
||||||
|
|
||||||
* Add tests relevant to the fixed bug or new feature.
|
* Add tests relevant to the fixed bug or new feature.
|
||||||
|
|
||||||
|
### New features
|
||||||
|
Commits should be as small as possible, while ensuring that each commit is correct independently (i.e., each commit should compile and pass tests).
|
||||||
|
|
||||||
|
### Bug fixes
|
||||||
|
Please make all changes in one commit if possible. Include `closes #12345` in bottom of the commit message.
|
||||||
|
A commit message for a bugfix should look something like this.
|
||||||
|
|
||||||
|
```git
|
||||||
|
avoid infinite loop in the dashboard provisioner
|
||||||
|
|
||||||
|
if one dashboard with an uid is refered to by two
|
||||||
|
provsioners each provisioner overwrite each other.
|
||||||
|
filling up dashboard_versions quite fast if using
|
||||||
|
default settings.
|
||||||
|
|
||||||
|
closes #12864
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue