Address han's review feedback: - Changed feat/feature-name to feat/issue-N-feature-name - Consistent with fix/issue-N-name format
1.8 KiB
1.8 KiB
Contributing
Workflow
- Create a branch for your work:
git checkout -b fix/issue-N-nameorgit checkout -b feat/issue-N-feature-name - Make changes and commit with clear messages
- Open a Pull Request for review
- Do not merge directly to
mainordevelopfor reviewable changes - After approval, squash and merge
Guidelines
- Use clear, descriptive commit messages
- Keep PRs focused and reasonably sized
- Document any non-obvious decisions
- Test changes before submitting
- See VERSIONING.md for backport compatibility rules
Branches
Primary Branches
main— stable 0.1.x releases, production-ready codedevelop— experimental 0.2.x work, next major version
Feature Branches
fix/*— bug fixesfeat/*— new featuresdocs/*— documentation updatesrefactor/*— code refactoring (no behavior change)
Branch Model
main (0.1.x stable)
└── v0.1.0, v0.1.1, v0.1.2, ...
develop (0.2.x experimental)
└── (next major version work)
Which Branch to Target?
| Change Type | Target Branch | Backport? |
|---|---|---|
| Bug fix | main |
N/A |
| Documentation | main |
N/A |
| New feature (backport-compatible) | main |
Can cherry-pick to develop |
| Experimental feature | develop |
No |
| Breaking change | develop |
No |
Backport Compatibility
Before merging, consider if your change is backport-compatible:
- YES: Bug fixes, docs, adding new optional inputs
- NO: Changing behavior, changing defaults, removing features
See VERSIONING.md for full policy.
Release Process
- Bug fixes and docs → directly to
main - New features →
developor feature branches →develop - When
developis stable enough → merge tomainfor release