2.0 KiB
2.0 KiB
Contributing to Rusty Path Of Building
Reporting bugs
- Ensure the bug was not already reported by searching through existing issues.
- If the bug can also be reproduced with the official runtime (e.g. by running through wine), please open an issue in the PoB1 or PoB2 repo instead. If you're unsure, feel free to just open it here.
- If possible, use the bug report template to create the issue and provide as much information as possible.
Contributing code
- Get familiar with the code base before you start. Feel free to reach out through Discussions if you have any questions.
- Make sure the API functions stay compatible with SimpleGraphic (SG). A great place to ask questions about SG is the PoB dev discord server. Here is more info on how to join.
- Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
Code Ownership and AI-Assisted Contributions
Contributors are responsible for every line of code they submit, regardless of how it was written. Make sure to:
- Understand your code - You must be able to explain how your contribution works and why it is implemented the way it is.
- Review before submitting - Carefully review all AI-generated code for correctness, security, maintainability, and consistency with the project's conventions.
- Maintain quality - AI assistance is not an excuse for untested code, unnecessary complexity, duplicated logic, or careless implementations.
If you cannot confidently explain and verify a piece of code, don't submit it.