2.3 KiB
How to Contribute to resrm
Thanks for your interest in contributing to resrm! This guide walks you through the process step by step so you can send contributions with confidence.
For external contributors
-
Fork the repository via GitHub: click Fork at the top right.
-
Clone your fork:
git clone https://github.com/<your-username>/resrm.git cd resrm -
Add the upstream repo so you can sync later:
git remote add upstream https://github.com/mdaleo404/resrm.git -
Create a feature branch:
git checkout -b feature/my-new-thing -
Make your changes and test them locally.
-
Push to your fork:
git push -u origin feature/my-new-thing -
Open a Pull Request targeting the
mainbranch of the upstream repo.
For maintainers
You may create branches directly in the main repository without forking.
Commit Message Style Commit Message Style
To keep the automated changelog clean, follow this commit style:
Format:
type: short description
Accepted types:
feat:new featuresfix:bug fixesrefactor:internal improvementsperf:performance changesdocs:documentation updateschore:maintenancetest:test-only changes
Examples:
feat: add --dry-run flag
fix: handle unicode paths
refactor: simplify cleanup logic
Don’t overthink it — the maintainer can adjust commit types during merge if needed.
What Happens After You Submit a PR?
After reviewing your changes, your PR (hopefully) gets merged. Then:
- Release Please automatically creates a release PR summarizing changes
- The maintainer merges that release PR
- A GitHub Release is created
- The package is published to PyPI
- Wheels, source tarballs, and checksums are attached to the GitHub Release
No need to bump versions manually (unless needed).
Code Style
- Follow standard Python formatting
- Add type hints when possible
- Keep functions small and readable
- Stick to clear naming
Need Help, Found a Bug, Have a Request?
If you're unsure about anything:
- Open an issue
- Start a discussion
- Ask questions before writing lots of code
Thank You
Your contributions — large or small — help make resrm better for everyone. Thanks for being part of the project!