meshtastic-firmware/CONTRIBUTING.md

48 wiersze
2.7 KiB
Markdown
Czysty Zwykły widok Historia

2024-08-19 17:03:40 +00:00
# Contributing to Meshtastic Firmware
We're excited that you're interested in contributing to the Meshtastic firmware! This document provides a high-level overview of how you can get involved.
## Important First Steps
Before you begin, please:
2024-08-19 17:10:32 +00:00
1. **Read our documentation**: Our [official documentation](https://meshtastic.org/docs/) is a crucial resource. It contains essential information about the project.
2024-08-19 17:03:40 +00:00
2. **Check out the firmware build guide**: For specific instructions on setting up your development environment and building the firmware, refer to our [Firmware Build Guide](https://meshtastic.org/docs/development/firmware/build/).
2024-08-19 17:06:33 +00:00
3. Read our [Code of Conduct](https://meshtastic.org/docs/legal/conduct/)
2024-08-19 17:03:40 +00:00
2024-08-19 17:08:43 +00:00
4. Join our [Discord community](https://discord.com/invite/ktMAKGBnBs) to connect with developers and other contributors to get help.
2024-08-19 17:03:40 +00:00
## Getting Help and Discussing Ideas
We encourage open communication and discussion before diving into code changes:
1. **Use GitHub Discussions**: For new ideas, questions, or to discuss potential changes, start a conversation in our [GitHub Discussions](https://github.com/meshtastic/firmware/discussions) first. This helps us collaborate and avoid duplicate work.
2024-08-19 17:08:43 +00:00
2. **Join our Discord**: For real-time chat and quick questions, join our [Discord server](https://discord.com/invite/ktMAKGBnBs). It's a great place to get help and connect with other developers and the community.
2024-08-19 17:03:40 +00:00
3. **Reporting Issues**: If you've identified a bug, please use our bug report template when creating a new issue in the [issue tracker](https://github.com/meshtastic/firmware/issues). Ensure you've searched existing issues to avoid duplicates.
## Making Contributions
2024-08-20 20:11:03 +00:00
> [!IMPORTANT]
2024-08-20 20:09:39 +00:00
> Before making any contributions, you must sign our Contributor License Agreement (CLA). You can do this by visiting https://cla-assistant.io/meshtastic/firmware. Be sure to use the GitHub account you will use to submit your contributions when signing.
2024-08-19 17:03:40 +00:00
1. Fork the repository
2. Create a new branch for your feature or bug fix
3. Make your changes
4. Test your changes thoroughly
2024-09-04 22:27:00 +00:00
5. Create a pull request with a clear description, using the provided template, of your changes. Be sure to enable "Allow edits from maintainers".
2024-08-19 17:03:40 +00:00
## Coding Standards
2024-09-04 22:27:00 +00:00
To ensure consistent code formatting across the project:
2024-08-19 17:03:40 +00:00
2024-09-04 22:27:00 +00:00
1. Install the [Trunk](https://marketplace.visualstudio.com/items?itemName=Trunk.io) extension for Visual Studio Code.
2024-09-04 22:28:17 +00:00
2. Before submitting your changes, run `trunk fmt` to automatically format your code according to our standards.
2024-09-04 22:27:00 +00:00
Adhering to these formatting guidelines helps maintain code consistency and makes the review process smoother.
Thank you for contributing to Meshtastic!