Decentralized with human gatekeeper workflow doubt
Hello!
I was reading about the possible workflows with Bazaar, and I didn't understand very well the right way to use the "Decentralized with human gatekeeper workflow". In the 6.2 chapter of Bazaar User Guide is explained about "mirror" and "feature" branches. Ok, but what happens when we have a gatekeeper? In the 6.3.1 chapter of User guide is the following explanation:
"When a developer wants their work merged, they ask the gatekeeper to review their change and MERGE it if acceptable"
My doubt is about the correct manner to do the things working in the "Decentralized with human gatekeeper workflow". What of the two ways below is the correct?
1) First way
- Developer creates the mirror branch (local copy of trunk)
- Developer creates a feature branch from local trunk
- Developer make changes on feature branch
- Developer does a merge of the feature branch into local copy of trunk (mirror branch)
- Developer request a code review to gatekeeper
- Gatekeeper reviews the code (the developer's local trunk with the feature branch "already merged")
- Gatekeeper does a PULL in the developer's local trunk to the main TRUNK
2) Second way
- Developer creates a branch (copy of the trunk)
- (The branch above will not be a "mirror" branch, but a FEATURE branch)
- Developer make changes on feature branch
- Developer request a code review to gatekeeper
- Gatekeeper reviews the feature branch of the developer (the only branch the developer has)
- Gatekeeper does a MERGE of the developer's local "feature branch" into the TRUNK
What of these 2 approaches is the corret?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Pool
- Solved:
- Last query:
- Last reply: