Hi
I’m trying to design a git workflow for a team of about 20 sw designers building component based embedded applications with a common framework. The framework is a collection of in house reusable libraries and ChibiOS (a open source Real Time Kernel and HAL).
The aspect I need some help on is how to best structure repository dependencies.
I’m contemplating the following 3 possibilities:
Structure 1:
repo: ChibiOS
└─Kernal
└─HAL
repo: All Libs
└─Lib1 source files
└─lib2 source files
└─lib3 source files
└─lib4 source files
repo: ApplicationA
└─submodule(chibiOS)
└─submodule(All Libs)
└─appA source files
Structure 2:
repo: ChibiOS
└─Kernal
└─HAL
repo: Lib1
└─Lib1 source files
repo: Lib2
└─Lib2 source files
repo: Lib3
└─Lib3 source files
repo: Lib4
└─Lib4 source files
repo: AppA
└─submodule(chibiOS)
└─submodule(Lib1)
└─submodule(Lib3)
└─appA source files
repo: ApplicationB
└─submodule(chibiOS)
└─submodule(Lib1)
└─submodule(Lib4)
└─appB source files
Structure 3:
repo: ChibiOS
└─Kernal
└─HAL
repo: Framework
└─submodule(ChibiOS)
└─Lib1 source files
└─Lib2 source files
└─Lib3 source files
└─Lib4 source files
repo: ApplicationA
└─submodule(framework)
└─appA source files
Does GitLab have a convention for this? Your input is much appritiated!