1.3 KiB
1.3 KiB
Contributing to HoopScout
Branching Model (GitFlow Required)
main: production-ready releases onlydevelop: integration branch for completed featuresfeature/*: feature development branches fromdeveloprelease/*: release hardening branches fromdevelophotfix/*: urgent production fixes frommain
Workflow
- Create branch from the correct base:
feature/*fromdeveloprelease/*fromdevelophotfix/*frommain
- Keep branch scope small and focused.
- Open PR into the proper target branch.
- Require passing CI checks and at least one review.
- Squash or rebase merge according to repository policy.
Local Development
cp .env.example .envdocker compose up --builddocker compose exec web python manage.py migratedocker compose exec web python manage.py createsuperuser
Testing
docker compose exec web pytest
Commit Guidance
- Use clear commit messages with intent and scope.
- Avoid mixing refactors with feature behavior changes.
- Include migration files when model changes are introduced.
Definition of Done (MVP)
- Feature works in Dockerized environment.
- Tests added/updated for behavior change.
- Documentation updated when commands, config, or workflows change.
- No secrets committed.