Closed grzanka closed 3 years ago
Subdirectory: Pros:
Cons:
Another repo as submodule: Pros:
Cons:
git checkout --recurse-submodule
instead git checkout
. That command could be also set as alias. Problem description in section "Issues with submodules" : https://git-scm.com/book/en/v2/Git-Tools-SubmodulesAnother thing is that to use package generator in Github Action when it is in seperate repo, it would have to be cloned, because submodule does not know it is used as submodule and cannot reference master repo. So, in that case package generator does not need to be a submodule, it could be just a seperate repo.
I think, that seperate repo would be better despite more complicated setup. It should be easier to maintain later.
I'd opt for new repository
Consider couple of options:
Write down pros and cons, taking special care about project release cycle and versioning