Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 2.87 KB

CONTRIBUTING.md

File metadata and controls

59 lines (41 loc) · 2.87 KB

Contributing to node-red ⚙

By participating in this project, you agree to abide our code of conduct.

Welcome, and thank you for considering contributing to node-red ⚙. We encourage you to help out by raising issues, improving documentation, fixing bugs, or adding new features

If you're interested in contributing please start by reading this document.

Establishing a Development Environment

Establishing a development environment typically requires:

  1. Forking and cloning the repository.
  2. Installing development dependencies.

Contributing Code

To contribute bug fixes or features to node-red ⚙:

  1. Communicate your intent.
  2. Make your changes.
  3. Test your changes.
  4. Update documentation and examples.
  5. Open a Pull Request (PR).

Communicating your intent lets the node-red ⚙ maintainers know that you intend to contribute, and how. This sets you up for success - you can avoid duplicating an effort that may already be underway, adding a feature that may be rejected, or heading down a path that you would be steered away from at review time. The best way to communicate your intent is via a detailed GitHub issue. Take a look first to see if there's already an issue relating to the thing you'd like to contribute. If there isn't, please raise a new one! Let us know what you'd like to work on, and why.

Be sure to practice good git commit hygiene as you make your changes. All but the smallest changes should be broken up into a few commits that tell a story. Use your git commits to provide context for the folks who will review PR, and the folks who will be spelunking the codebase in the months and years to come. Ensure each of your commits is signed-off in compliance with the Developer Certificate of Origin by using git commit -s.

All node-red ⚙ documentation and examples are under revision control; see the readme of this repository. Any change that introduces new behaviour or changes existing behaviour must include updates to any relevant documentation and examples. Please keep documentation and example changes in distinct commits.

In summary, please:

  • Discuss your change in a GitHub issue before you start.
  • Use your Git commit messages to communicate your intent to your reviewers.
  • Sign-off on all Git commits by running git commit -s
  • Commit messages should be well formatted, and to make that "standardized", we are using Conventional Commits. You can follow the documentation on their website.
  • Add or update tests for all changes.
  • Update all relevant documentation and examples.
  • If necessary, tidy up your git commit history once your PR is approved.

Thank you for reading through our contributing guide!