Transitioning from other version control system to github #62322
Replies: 1 comment 2 replies
-
If starting fresh with git, I wouldn't really recommend submodules. They have their place, but can overly complicate things quite quickly. What's the build / deployment flow look like? Does everything need to be compiled and deployed "as one"? Or better said, if you take one of the components out of the equation, does everything break/fall apart? Monorepos aren't necessarily recommended either, but they can make sense in some situations if the entire app is developed, built, and deployed as one unit (a monolith essentially). Make sure you are familiar with some of the downsides of a monorepo though: https://monorepo-book.github.io/. Assuming you don't have thousands of developers making thousands of changes a day with GB's of git repo size, I would prefer a monorepo over a submodule. |
Beta Was this translation helpful? Give feedback.
-
I work on a large ASIC that has a mix of VHDL and verilog HDL.
Previously we used an older version control system that had a notion of components. We now need to transition to enterprise github and we are trying to decide how best to set everything up.
We have a TOP component, and then we have other components. For example, we had components like WriteFormatter, ReadFormatter, BufferManager, and SOC, and many more
The SOC files are in a directory of their own, but the other files from the components I mentioned above are all in the same main directory.
In going forward to github, I am thinking of the following setup.
Main repository in the main directory named TOP
And then create a submodule for each component. (In that case does each submodule need to have its own directory? Cannot be shared with the main repository directory?)
Would this work, or is there a better way? I am not familiar with all the github terms, so I may be missing other alternatives.
Thanks for any input.
Scott
Beta Was this translation helpful? Give feedback.
All reactions