Basic Code Creation
Code Review- Typical Workflow
In order to ensure all code that goes into production is of the highest quality, GitLab has a rigorous review process. Regardless of the size or type of change, every change is reviewed using the flow below.
Here are the tools the team members use inside of GitLab throughout each step of the workflow. I’ll be showing you how each of these work today.
New Merge Request
- Edit files inline on branch
- Commit Changes - Squash locally Or one commit per file in GUI
- Merge Request
- Resolve merge conflicts
Assign & Review
- Assignments
- Changes tab to view differences
- Edit Inline
- Make comments inline
- Discussion tab to view comments
Final Assignment
Assignments feature in GitLab
Final Review
- Assignments
- Changes tab to view differences
- Edit Inline
- Make comments inline
- Discussion tab to view comments
Merge Approved
Approval feature in GitLab.
Additional Tools for Code Review
- Wiki - https://docs.gitlab.com/ee/user/project/wiki/
- Web IDE - https://docs.gitlab.com/ee/user/project/web_ide/#web-ide
- Snippets - https://docs.gitlab.com/ee/user/snippets.html
Exercise
LAB 03