We welcome contributions, but request you follow these guidelines.
This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to the project's core team at team@nodered.org.
Please raise any bug reports on the relevant project's issue tracker. Be sure to search the list to see if your issue has already been raised.
If your issue is more of a question on how to do something with Node-RED, please consider using the community forum.
A good bug report is one that make it easy for us to understand what you were trying to do and what went wrong.
Provide as much context as possible so we can try to recreate the issue. If possible, include the relevant part of your flow. To do this, select the relevant nodes, press Ctrl-E and copy the flow data from the Export dialog.
At a minimum, please include:
git log
if you are cloning the repository directly.node -v
say?For feature requests, please raise them on the forum.
If you want to raise a pull-request with a new feature, or a refactoring of existing code, please come and discuss it with us first. We prefer to do it that way to make sure your time and effort is well spent on something that fits with our goals.
If you've got a bug-fix or similar for us, then you are most welcome to get it raised - just make sure you link back to the issue it's fixing and try to include some tests!
All contributors need to sign the OpenJS Foundation's Contributor License Agreement. It is an online process and quick to do. If you raise a pull-request without having signed the CLA, you will be prompted to do so automatically.
When raising a PR for a fix or a new feature, it is important to target the right branch.
master
- this is the main branch for the latest stable release of Node-RED. All bug fixes for that release should target this branch.v1.x
- this is the maintenance branch for the 1.x stream. If a fix only applies to 1.x, then it should target this branch. If it applies to the current stable release as well, target master
first. We will then decide if it needs to be back ported to the 1.x stream.dev
- this is the branch for new feature development targeting the next milestone release.Please ensure you follow the coding standards used through-out the existing code base. Some basic rules include:
if
/for
/function
and so on, closing brace
on its own line.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。