ci: Update git paths to reflect new GitLab URI

The GitLab instance has been moved around, so the SSH clone URI for
repositories has changed. Change that in `CONTRIBUTING.md`, and also
change to using a relative path in `.gitmodules` to insulate from
similar URI changes in future.

Changing to a relative path in `.gitmodules` also enables the CI to use
submodules more easily: https://docs.gitlab.com/ee/ci/git_submodules.html

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2022-11-02 16:48:13 +00:00
parent ea0e9bf1f1
commit fca52b7914
2 changed files with 2 additions and 2 deletions

2
.gitmodules vendored
View File

@ -1,5 +1,5 @@
[submodule "subprojects/gvdb"]
path = subprojects/gvdb
url = https://gitlab.gnome.org/GNOME/gvdb.git
url = ../../GNOME/gvdb.git
branch = 0854af0fdb6d527a8d1999835ac2c5059976c210
shallow = true

View File

@ -137,7 +137,7 @@ $ cd glib
have a GNOME account, you can skip the fork, and use the following instead:
```sh
$ git clone git@gitlab.gnome.org:GNOME/glib.git
$ git clone git@ssh.gitlab.gnome.org:GNOME/glib.git
$ cd glib
```