Use relative paths in .gitmodules for projects hosted on git.dynare.org

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.

See: https://docs.gitlab.com/ee/ci/git_submodules.html
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 = https://git.dynare.org/contrib/utilities_dw.git
url = ../../contrib/utilities_dw.git
[submodule "contrib/ms-sbvar/switch_dw"]
path = contrib/ms-sbvar/switch_dw
url = https://git.dynare.org/contrib/switch_dw.git
url = ../../contrib/switch_dw.git
[submodule "contrib/ms-sbvar/TZcode"]
path = contrib/ms-sbvar/TZcode
url = https://git.dynare.org/contrib/TZcode.git
url = ../../contrib/TZcode.git
[submodule "contrib/dmm"]
path = contrib/dmm
url = https://git.dynare.org/contrib/dmm.git
url = ../../contrib/dmm.git
[submodule "matlab/utilities/tests"]
path = matlab/utilities/tests
url = https://git.dynare.org/Dynare/m-unit-tests.git
url = ../../Dynare/m-unit-tests.git
[submodule "matlab/particles"]
path = matlab/particles
url = https://git.dynare.org/Dynare/particles.git
url = ../../Dynare/particles.git
[submodule "matlab/modules/dseries"]
path = matlab/modules/dseries
url = https://git.dynare.org/Dynare/dseries.git
url = ../../Dynare/dseries.git
branch = master
[submodule "matlab/modules/reporting"]
path = matlab/modules/reporting
url = https://git.dynare.org/Dynare/reporting.git
url = ../../Dynare/reporting.git
[submodule "contrib/jsonlab"]
path = contrib/jsonlab
url = https://github.com/fangq/jsonlab.git
[submodule "preprocessor"]
path = preprocessor
url = https://git.dynare.org/Dynare/preprocessor.git
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