infinit/elle

Submodules

Tauril opened this issue · 3 comments

In the .gitmodules file, the path for the drake dependency is ../drake. Shouldn't it be the path towards your drake's fork repository on github?

Same for miniupnp, libutp and dokan.

Hi @Tauril.

We use relative git submodules because we have our own CI (on GitLab). With this trick, we can have both GitLab (ahead) and GitHub that live side-by-side until our full migration to GitHub.

We chose that solution after reading https://stackoverflow.com/questions/32317365/multiple-urls-of-git-submodule-per-remote-submodules.

Ok, I understand your problem... The forks don't work in this configuration, unless your also fork drake, miniupnp, libutp and dokan.

Unless there's a way to tell git to have backup urls for submodules (I couldn't find one), you'll have to fork them or to edit your .gitmodules to mention the full url instead of relative the url.

mefyl commented

Elle now uses subtrees, so this is not an issue anymore.