No-Fork Workflow
caution
This document may not apply to every shop. Please talk to your shop manager to determine if this document applies to your shop.
The workflow described in the Developers' Guide and the Shop Managers' Guide use a fork. This document describes a different workflow that does not use a fork. Check with you shop manager to find out which workflow your shop is using.
#
Setup shop- Shop manager, create a shop group for your group.
- Shop manager, add shop members to your shop group.
- Shop manager, add the shop group as
developers
to the projects and/or groups that your shop will work on. - Shop manager, create a shop board, team boards, epics, and/or milestones as needed for your shop.
#
Setup development environment- Each shop member, clone locally each project you will be working on.
#
Prepare to work on an issue- One shop member, claim the issue.
- The same member, create and publish an issue branch.
- The same member, create a WIP merge request back to master.
#
Work on issue- All, checkout issue branch.
- Make, test, stage, commit, pull (and possibly resolve conflicts), and push changes until ready for a review.
#
Review and merge work- Remove WIP and ping reviewer(s) to request a review.
- Reviewer(s) review merge request.
- If changes are requested return to work on issue.
- Reviewer(s) ping maintainer to merge.
- Maintainer merges.
#
Cleanup- One shop member, delete remote branch
- All
- Checkout master and pull
- Delete issue branch locally
- pull with --prune
- For each other issue branch, have one shop member update the feature branch as follows
- Checkout and pull issue branch.
- Merge master into issue branch, testing and resolving any conflicts.
- Pull and then push issue branch.
- Others checkout and pull feature branches.