What are the 4 functionalities a modern version control system supports? Define each…
Change Management: Quickly and reliably get any version of the file.
Branch Management: Diverge and combine work streams as needed in a conflict free way.
Build Management: Script activities to be carried out automatically during the build.
Collaboration: Teams across time zones and location can collaborate simultaneously.
What are the 2 repo organisation types?
Mono-repo
Multi-repo
Define Mono-repo
One giant repository for all microservices. Any commit triggers the production of multiple microservices.
What are the pros and cons of Mono-repo?
Define Multi-repo
A one repo per service policy. Any commit triggers the production of the associated service.
What are the pros and cons of Multi-repo?
What are the 2 branching models that can be adopted when using Version Control?
Feature based development
Trunk based development
Explain feature based development
Create new branches for each feature that needs to be developed. Branch is merged back to main upon feature completion.
What are the pros and cons of feature based development?
Explain trunk based development
Developers work on a single, main branch. If any feature branch is created, it’s merged into the main within minutes.
What are the pros and cons of trunk based development?