mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs/CONTRIBUTING.md: various typo fixes
This commit is contained in:
parent
d54840f2f2
commit
baee43f7a4
1 changed files with 11 additions and 11 deletions
|
@ -34,22 +34,22 @@ Before sending a pull request to [VictoriaMetrics repository](https://github.com
|
||||||
- Commit messages contain concise yet clear descriptions. Include links to related GitHub issues in commit messages, if such issues exist.
|
- Commit messages contain concise yet clear descriptions. Include links to related GitHub issues in commit messages, if such issues exist.
|
||||||
- All the commits are signed and include `Signed-off-by` line. Use `git commit -s` to include `Signed-off-by` your commits.
|
- All the commits are signed and include `Signed-off-by` line. Use `git commit -s` to include `Signed-off-by` your commits.
|
||||||
See [this doc](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work) about how to sign git commits.
|
See [this doc](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work) about how to sign git commits.
|
||||||
- Tests are passing locally. Use `make test` to run all tests locally.
|
- All the lint checks are passing locally via `make check-all` command run from the VictoriaMetrics repository root.
|
||||||
- Linting is passing locally. Use `make check-all` to run all linters locally.
|
- All the tests are passing locally via `make test-full` command run from the VictoriaMetrics repository root.
|
||||||
- If the change fixes some bug, it would be great to cover it by [tests](https://pkg.go.dev/testing) (if it isn't covered yet by existsing tests).
|
- If the change fixes some bug, it would be great to cover it by [tests](https://pkg.go.dev/testing) if it isn't covered yet by existsing tests.
|
||||||
- If the change improves performance or reduces resource usage, then it would be great to add [benchmarks](https://pkg.go.dev/testing#hdr-Benchmarks)
|
- If the change improves performance or reduces resource usage, then it would be great to add [benchmarks](https://pkg.go.dev/testing#hdr-Benchmarks)
|
||||||
and mention benchmark results before and after the change in the description to the pull request.
|
and mention benchmark results before and after the change in the description to the pull request.
|
||||||
- If the change implements some specifics or uses some APIs, then please provide permanent links to these specs and APIs directly in the relevant source code,
|
- If the change implements some specifications or uses some external APIs, then please provide permanent links to these specs and APIs
|
||||||
in order to simplify further maintenance of the code.
|
directly in the relevant source code, in order to simplify further maintenance of the code.
|
||||||
|
|
||||||
Further checks are optional for External Contributions:
|
Further checks are optional for external contributions:
|
||||||
|
|
||||||
- The change is described in **clear user-readable** form at [docs/CHANGELOG.md](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/docs/CHANGELOG.md),
|
- The change must be described in **clear user-readable** form at [docs/CHANGELOG.md](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/docs/CHANGELOG.md),
|
||||||
since it is read by **VictoriaMetrics users** who may not know implementation details of VictoriaMetrics products. The change description must **clearly** answer the following questions:
|
since it is read by **VictoriaMetrics users** who may not know implementation details of VictoriaMetrics products. The change description must **clearly** answer the following questions:
|
||||||
- What does this change do?
|
- What does this change do?
|
||||||
- Why this change is needed?
|
- Why this change is needed?
|
||||||
|
|
||||||
The change description must link to related GitHub issues and the related docs, if any.
|
The change description must link to the related GitHub issues and the related docs, if any.
|
||||||
|
|
||||||
Tips for writing a good changelog message:
|
Tips for writing a good changelog message:
|
||||||
|
|
||||||
|
@ -58,9 +58,9 @@ Further checks are optional for External Contributions:
|
||||||
- Provide a link to the related GitHub issue or pull request.
|
- Provide a link to the related GitHub issue or pull request.
|
||||||
- Provide a link to the relevant documentation if the change modifies user-visible behaviour of VictoriaMetrics producs.
|
- Provide a link to the relevant documentation if the change modifies user-visible behaviour of VictoriaMetrics producs.
|
||||||
|
|
||||||
- After your pull request is merged, please add a message to the issue with instructions for how to test the fix or try the feature you added before the new release.
|
- After your pull request is merged, please add a message to the issue with instructions for how to test the change you added before the new release.
|
||||||
[Here is an example](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4048#issuecomment-1546453726).
|
[Here is an example](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4048#issuecomment-1546453726).
|
||||||
- Do not close the original issue before the change is released. Please note, in some cases Github can automatically closes the issue once PR is merged. Re-open the issue in such case.
|
- Do not close the original issue before the change is released. In some cases Github can automatically close the issue once PR is merged. Re-open the issue in such case.
|
||||||
- If the change introduces a new feature, this feature must be documented in **user-readable** form at the appropriate parts of [VictoriaMetrics docs](https://docs.victoriametrics.com/).
|
- If the change introduces a new feature, this feature must be documented in **user-readable** form at the appropriate parts of [VictoriaMetrics docs](https://docs.victoriametrics.com/).
|
||||||
The docs' sources are located in the [`docs` folder](https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/docs).
|
The docs' sources are located in the [`docs` folder](https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/docs).
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ Due to `KISS`, [cluster version of VictoriaMetrics](https://docs.victoriametrics
|
||||||
|
|
||||||
- Fragile gossip protocols. See [failed attempt in Thanos](https://github.com/improbable-eng/thanos/blob/030bc345c12c446962225221795f4973848caab5/docs/proposals/completed/201809_gossip-removal.md).
|
- Fragile gossip protocols. See [failed attempt in Thanos](https://github.com/improbable-eng/thanos/blob/030bc345c12c446962225221795f4973848caab5/docs/proposals/completed/201809_gossip-removal.md).
|
||||||
- Hard-to-understand-and-implement-properly [Paxos protocols](https://www.quora.com/In-distributed-systems-what-is-a-simple-explanation-of-the-Paxos-algorithm).
|
- Hard-to-understand-and-implement-properly [Paxos protocols](https://www.quora.com/In-distributed-systems-what-is-a-simple-explanation-of-the-Paxos-algorithm).
|
||||||
- Complex replication schemes, which may go nuts in unforeseen edge cases. See [replication docs](#replication-and-data-safety) for details.
|
- Complex replication schemes, which may go nuts in unforeseen edge cases. See [replication docs](https://docs.victoriametrics.com/cluster-victoriametrics/#replication-and-data-safety) for details.
|
||||||
- Automatic data reshuffling between storage nodes, which may hurt cluster performance and availability.
|
- Automatic data reshuffling between storage nodes, which may hurt cluster performance and availability.
|
||||||
- Automatic cluster resizing, which may cost you a lot of money if improperly configured.
|
- Automatic cluster resizing, which may cost you a lot of money if improperly configured.
|
||||||
- Automatic discovering and addition of new nodes in the cluster, which may mix data between dev and prod clusters :)
|
- Automatic discovering and addition of new nodes in the cluster, which may mix data between dev and prod clusters :)
|
||||||
|
|
Loading…
Reference in a new issue