Use relative paths in .gitmodules for projects hosted on

The main advantage is that, when someone does a recursive clone through SSH,
all the submodules will be cloned through SSH.

Relative paths are also useful when submodules are in private repositories: in
that case, the CI runner will have access to the private submodule.

It is important to enforce the group name in the relative URL, so that clones
in personal namespaces still work as expected.

parent 2dbfd3c7
Pipeline #1908 failed with stages
in 73 minutes and 13 seconds
[submodule "contrib/ms-sbvar/utilities_dw"]
path = contrib/ms-sbvar/utilities_dw
url =
url = ../../contrib/utilities_dw.git
[submodule "contrib/ms-sbvar/switch_dw"]
path = contrib/ms-sbvar/switch_dw
url =
url = ../../contrib/switch_dw.git
[submodule "contrib/ms-sbvar/TZcode"]
path = contrib/ms-sbvar/TZcode
url =
url = ../../contrib/TZcode.git
[submodule "contrib/dmm"]
path = contrib/dmm
url =
url = ../../contrib/dmm.git
[submodule "matlab/utilities/tests"]
path = matlab/utilities/tests
url =
url = ../../Dynare/m-unit-tests.git
[submodule "matlab/particles"]
path = matlab/particles
url =
url = ../../Dynare/particles.git
[submodule "matlab/modules/dseries"]
path = matlab/modules/dseries
url =
url = ../../Dynare/dseries.git
branch = master
[submodule "matlab/modules/reporting"]
path = matlab/modules/reporting
url =
url = ../../Dynare/reporting.git
[submodule "contrib/jsonlab"]
path = contrib/jsonlab
url =
[submodule "preprocessor"]
path = preprocessor
url =
url = ../../Dynare/preprocessor.git
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment