-
Notifications
You must be signed in to change notification settings - Fork 10
Team Workflow Guidelines
To keep our project organized and make sure everyone's on the same page, here are the guidelines we should all follow. This will make things smoother for everyone, especially as new members join.
Before you dive into coding, start with a GitHub Issue. This is where you'll outline what you're planning to work on.
- Title and Description: Make sure the title clearly states what the issue is about. Use the description for extra details.
-
Labels: Tag your issue with labels like
enhancement
orbug
to categorize it properly. - Issue Number: You'll get an issue number when you create it. Remember this number because you'll need it for your branches and commits.
Example:
- Title: "Adding new safeguards and routing norms"
- Example: Issue #43
Branches help us keep track of different features and fixes without stepping on each other's toes.
- Branch Naming Convention: Stick to this format:
[type]/[issue number]-[topic]-[your username abbreviation]
It helps everyone quickly see what’s what.
Example: feature/#43-adding-new-safeguards-JaBo
- Where to Branch From: Always branch off the main branch unless you're adding to something that’s already being worked on in another branch. This keeps our branch tree neat.
Keep your commits clean and relevant to the issue you're working on.
-
Commit Messages: Start your commit message with the issue number. It makes it easier to track changes back to their source.
Example Commit:
git commit -m "#43 - Test changes that will be reverted"
Pull Requests (PRs) are how we review and merge changes.
- Draft and Ready for Review: If your PR isn't ready for a final look, mark it as a draft. Change it to ready for review when it’s all set.
- Link Back to Your Issue: After creating your PR, don't forget to link it back to the original issue to keep everything connected.
We all need to do our part to keep our codebase clean and up-to-date.
- Stay Updated: Regularly sync your branch with the main branch to avoid conflicts.
- Code Reviews: Participate in code reviews to ensure quality and share insights.
- Keep It Focused: Each branch should only tackle one main issue to avoid confusion.
- Keep It Clean: Combine small related commits into a single commit where possible for a clearer history.
Following these steps helps:
- Keep our development process transparent and traceable.
- Make it easier to manage our project as it grows.
- Help everyone, from current team members to future contributors, navigate and contribute effectively.