-
Notifications
You must be signed in to change notification settings - Fork 0
Developer Guide
Chloe edited this page Apr 29, 2024
·
4 revisions
- Main line should work and be documented.
- Protect main (pull-request only! We only accept our own pull-request in case of emergency).
- Automated end-to-end on any push to any feature branch and on merge to main.
- Prioritise reviewing our team-mates' pull-requests.
- Wait for review and then merge ourselves with squash.
- People assign themselves to tickets. When in doubt, do not assign a ticket to someone.
- Feel free to select the issues you want to work on
- Leave a comment that you are working on it, and update as need be
- Preferably work on one issue and close it, before taking on extra ones
- Keep track of how long it took to fix it, so similar issues in the future can have estimates for implementation
Review the code more in depth AT LEAST when
- Before you merge
feature
tomain
- When a
bug
is fixed onmain
before itshotfix/bugfix branch
is merged - When a
release
is made by merging the current state of thedevelopment branch
tomain
- If there are multiple reviewers for a single issue, one of them will be the
main
one - If you would like to request a specific thing to be changed, use the suggest a change feature

- When they are created like this:
- Don't have to neccessarily approve or disapprove the pull request
- Straight forward
approved
PR's -LGTM
- Straight forward
rejected
PR's -Something has to be still fixed or discussed
- If there are no rejections, the
main reviewer
will merge the PR and delete thefeature branch
- Deleting is the job of the
reviewer not the author
- Deleting is the job of the
- Reviewing more often in smaller chunks is better
- A
main
reviewer shold be allocated at some point - Don't write novels when reviewing code
- The reviewer is
not
the one who should be doing the testing, this is on theauthor
to do
I quite like this code review guideline, and I highly recommend reading through it.