Issues & Help问题和帮助
Our developer community is vibrant and highly engaged, with extensive experience using Node.js with MongoDB.开发人员社区充满活力,参与度很高,在使用Node.js和MongoDB方面有着丰富的经验。
Often, the quickest way to get support for general questions is through the MongoDB Community Forums.通常,获得一般问题支持的最快方法是通过MongoDB社区论坛。
Refer to our support channels documentation for more information.有关更多信息,请参阅支持渠道文档。
Bugs / Feature RequestsBug/功能请求
To report a bug or to request a new feature in the Node.js driver, please open a case in our issue management tool, JIRA:要报告错误或请求Node.js驱动程序中的新功能,请在问题管理工具JIRA中打开一个案例:
Create an account and login创建帐户并登录.
Navigate to the NODE project导航到NODE项目.
。
Click Create Issue. Please provide as much information as possible about the issue and the steps to reproduce it.单击“创建问题”。请尽可能多地提供有关该问题的信息以及复制该问题的步骤。
Bug reports in JIRA for the Node.js driver and the Core Server (i.e. SERVER) project are public.JIRA中Node.js驱动程序和Core Server(即Server)项目的错误报告是公开的。
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions found in the Create a Vulnerability Report.如果您在驱动程序或任何其他MongoDB项目中发现了安全漏洞,请根据创建漏洞报告中的说明进行报告。
Pull RequestsPull请求
We are happy to accept contributions to help improve the driver. 我们很乐意接受帮助改进驾驶员的贡献。We will review user contributions to ensure they meet the standards of the codebase. 我们将审查用户的贡献,以确保它们符合代码库的标准。Pull requests must pass the 拉取请求必须通过travis.ci
checks as well as include documentation and tests.travis.ci
检查,并包括文档和测试。
To get started check out the source and work on a branch:要开始查看源代码并处理分支,请执行以下操作:
git clone https://github.com/mongodb/node-mongodb-native.git
cd node-mongodb-native
npm install
git checkout -b myNewFeature
To run the test suite, you must have a server topology running and provide the URI to the command. 要运行测试套件,必须运行服务器拓扑并向命令提供URI。For example, if you have a single server running at 例如,如果您有一台服务器在"mongodb://localhost:27017"
, you can run the following:"mongodb://localhost:27017"
,您可以运行以下操作:
MONGODB_URI="mongodb://localhost:27017" npm test
Note that, depending on the type of topology that you are running (standalone, replicaset, etc.), different tests will be run.请注意,根据您正在运行的拓扑类型(独立、复制集等),将运行不同的测试。
There are many tools that can help you with setting up different topologies for local testing. 有许多工具可以帮助您为本地测试设置不同的拓扑。Some examples are mtools一些例子是mtools and mongo-orchestration
.
和mongo-orchestration
。