24 lines
2.0 KiB
Markdown
24 lines
2.0 KiB
Markdown
# Contributing to Rusty Path Of Building
|
|
|
|
## Reporting bugs
|
|
|
|
- Ensure the bug was not already reported by searching through existing [issues](https://github.com/meehl/rusty-path-of-building/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](https://github.com/PathOfBuildingCommunity/PathOfBuilding) or [PoB2](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2) 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](https://github.com/meehl/rusty-path-of-building/discussions) if you have any questions.
|
|
- Make sure the [API](https://github.com/meehl/rusty-path-of-building/blob/main/src/pob/api.rs) functions stay compatible with [SimpleGraphic](https://github.com/PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic) (SG). A great place to ask questions about SG is the PoB dev discord server. [Here](https://github.com/PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic) 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.
|