Follow Git workflow
Development on GDI follows a trunk-based development model with feature branches and specific commit message conventions to ensure consistency and clarity in contributions.
Follow these guidelines when contributing code to any of the GDI repositories.
Branching strategy
Create feature branches from main:
git checkout -b feature/add-dataset-validation
Branch naming conventions:
feature/- New featuresfix/- Bug fixesdocs/- Documentation updatesrefactor/- Code refactoring
Commit messages
Write clear, descriptive commit messages:
feat: add dataset validation endpoint
- Validate required metadata fields
- Return 400 for invalid input
- Add unit tests
Closes #123
Format: type: subject where type is:
feat- New featurefix- Bug fixdocs- Documentationtest- Testsrefactor- Refactoringchore- Maintenance
Pull requests
Push your branch and create a pull request on GitHub with description of changes and testing performed.