遵循以下最佳实践的项目将能够自愿的自我认证,并显示他们已经实现了核心基础设施计划(OpenSSF)徽章。 显示详细资料
[](https://www.bestpractices.dev/projects/1895)
<a href="https://www.bestpractices.dev/projects/1895"><img src="https://www.bestpractices.dev/projects/1895/badge"></a>
NATS is an open-source, high-performance, lightweight and secure cloud native messaging system. NATS is a hosted CNCF project.
https://nats.io/contributing/ Code Review Criteria Knowing what’s likely to be accepted or rejected and why is a key consideration in deciding whether and what to contribute. The criteria below are things we think about and look for in any proposed change. We have Performance, Stability, Simplicity, and Security in mind at all times.
Simply put, changes that have many or large positives, and few negative effects or risks, are much more likely to be merged, and merged quickly. Risky and less valuable changes are very unlikely to be merged, and may be rejected outright rather than receive iterations of review.
Pluses
Fixes the root cause of a bug in existing functionality Adds functionality or fixes a problem needed by a large number of users Simple, targeted Maintains or improves consistency across supported API languages Easily tested; has tests Reduces complexity and lines of code Change has already been discussed and is known to the committers
Minuses
Non-optional new functionality that negatively affects performance Band-aids a symptom of a bug only Introduces complex new functionality, especially an API that needs to be supported Adds complexity that only helps a niche use case Adds user-space functionality that does not need to be maintained as part of NATS Changes a public API or semantics (rarely allowed) Adds large dependencies Changes versions of existing dependencies Adds a large amount of code Is not modular/targeted – makes lots of modifications in one “big bang” change Breaks existing tests (implying your change is not backwards compatible) Code coverage decreases (implying you didn’t add sufficient tests for new/changed code)
https://github.com/nats-io/gnatsd/issues
It is part of the PR template system. https://github.com/nats-io/gnatsd/blob/master/.github/PULL_REQUEST_TEMPLATE.md
No releases are made that do not pass all tests which include go vet and megacheck.
go vet
We utilize all the top recommended ciphers for TLS 1.2+ and will move to TLS 1.3 shortly. We also utilize BCrypt from Google.
警告:需要更长的理由。
No memory unsafe code is used in the released binaries of gnatsd.
后退