Update git URLs

git.osmocom.org has been deprecated, use gerrit or gitea urls instead.

Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Git_infrastructure
Related: OS#6251
Change-Id: I03a06d23e87a75257eb731a97facd7a67c40a2c6
diff --git a/README.md b/README.md
index 3394969..9bc1dcf 100644
--- a/README.md
+++ b/README.md
@@ -16,11 +16,12 @@
 
 Ansible scripts to set up hosts to be used as Osmo-GSM-Tester Main Units or/and
 Slave Units on the above mentioned setup can be found at
-https://git.osmocom.org/osmo-ci/tree/ansible, which actually install sample
-system configuration files from _utils/_ directory in this same repository.
+https://gitea.osmocom.org/osmocom/osmo-ci/src/branch/master/ansible, which
+actually install sample system configuration files from _utils/_ directory in
+this same repository.
 
 A sample Docker setup is also maintained publicly at
-https://git.osmocom.org/docker-playground/tree/osmo-gsm-tester.
+https://gitea.osmocom.org/osmocom/docker-playground/src/branch/master/osmo-gsm-tester.
 
 For the complete documentation, please refer to Osmo-GSM-Tester User manual,
 available in sources under _doc/manuals/_ under this same repository, and
diff --git a/contrib/jenkins-build-common.sh b/contrib/jenkins-build-common.sh
index b41fc05..59d0d11 100644
--- a/contrib/jenkins-build-common.sh
+++ b/contrib/jenkins-build-common.sh
@@ -42,7 +42,7 @@
   exit 1
 fi
 
-git_url="${git_url:-https://git.osmocom.org}"
+git_url="${git_url:-https://gerrit.osmocom.org}"
 prefix="${prefix:-$base/inst-$name}"
 # prefix_real is usually identical with prefix, except when installing to a
 # different $DESTDIR than /, which is the case for example when building
diff --git a/contrib/jenkins-build-manuals.sh b/contrib/jenkins-build-manuals.sh
index 48f7780..cf2a4d8 100755
--- a/contrib/jenkins-build-manuals.sh
+++ b/contrib/jenkins-build-manuals.sh
@@ -15,7 +15,7 @@
 if [ -d "$OSMO_GSM_MANUALS_DIR" ]; then
 	git -C "$OSMO_GSM_MANUALS_DIR" pull
 else
-	git clone "https://git.osmocom.org/osmo-gsm-manuals" "$OSMO_GSM_MANUALS_DIR"
+	git clone "https://gerrit.osmocom.org/osmo-gsm-manuals" "$OSMO_GSM_MANUALS_DIR"
 fi
 git -C "$OSMO_GSM_MANUALS_DIR" checkout -f HEAD
 
diff --git a/contrib/jenkins-build-osmo-bts.sh b/contrib/jenkins-build-osmo-bts.sh
index 6e9416a..d0b9e02 100755
--- a/contrib/jenkins-build-osmo-bts.sh
+++ b/contrib/jenkins-build-osmo-bts.sh
@@ -4,7 +4,8 @@
 name="osmo-bts"
 . "$(dirname "$0")/jenkins-build-common.sh"
 
-have_repo octphy-2g-headers
+(git_url=https://gitea.osmocom.org/cellular-infrastructure
+ have_repo octphy-2g-headers)
 
 build_repo libosmocore ${SANITIZE_FLAGS} --disable-doxygen --disable-uring
 build_repo libosmo-abis ${SANITIZE_FLAGS} --disable-dahdi
diff --git a/doc/manuals/chapters/ansible.adoc b/doc/manuals/chapters/ansible.adoc
index 4c80723..d8970aa 100644
--- a/doc/manuals/chapters/ansible.adoc
+++ b/doc/manuals/chapters/ansible.adoc
@@ -5,8 +5,8 @@
 and tedious, nowadays the Osmocom RnD and Production {app-name} setups are
 installed and maintained using Ansible scripts. The set of ansible scripts is
 available  in Osmocom's git repository
-link:https://git.osmocom.org/osmo-ci/[osmo-ci.git] under 'ansible' subdirectory,
-with the rest of ansible scripts to set jenkins slaves, etc.
+link:https://gitea.osmocom.org/osmocom/osmo-ci/[osmo-ci.git] under 'ansible'
+subdirectory, with the rest of ansible scripts to set jenkins slaves, etc.
 
 Since these set of scripts is mainly aimed at Osmocom's own setup, and debian is
 used there, so far only debian hosts are supported officially, though patches to
diff --git a/doc/manuals/chapters/docker.adoc b/doc/manuals/chapters/docker.adoc
index bc8ad00..985edc3 100644
--- a/doc/manuals/chapters/docker.adoc
+++ b/doc/manuals/chapters/docker.adoc
@@ -3,8 +3,8 @@
 
 A sample {app-name} setup based on docker containers and maintained by the
 Osmocom community is available in Osmocom's git repository
-link:https://git.osmocom.org/docker-playground/[docker-playground.git], under
-'osmo-gsm-tester' subdirectory. In there, one can find:
+link:https://gitea.osmocom.org/osmocom/docker-playground/[docker-playground.git],
+under 'osmo-gsm-tester' subdirectory. In there, one can find:
 
 - A 'Dockerfile' file can be found which builds a docker image which can
 be used both to run as an osmo-gsm-tester <<install_main_unit,Main Unit>> or as
diff --git a/doc/manuals/osmo-gsm-tester-manual-docinfo.xml b/doc/manuals/osmo-gsm-tester-manual-docinfo.xml
index d7b112f..d59fc73 100644
--- a/doc/manuals/osmo-gsm-tester-manual-docinfo.xml
+++ b/doc/manuals/osmo-gsm-tester-manual-docinfo.xml
@@ -51,8 +51,8 @@
   </para>
   <para>
 	The Asciidoc source code of this manual can be found at
-	<ulink url="http://git.osmocom.org/osmo-gsm-manuals/">
-		http://git.osmocom.org/osmo-gsm-manuals/
+	<ulink url="https://gitea.osmocom.org/cellular-infrastructure/osmo-gsm-manuals">
+		https://gitea.osmocom.org/cellular-infrastructure/osmo-gsm-manuals
 	</ulink>
   </para>
 </legalnotice>
diff --git a/src/osmo_gsm_tester/obj/osmo_vty.py b/src/osmo_gsm_tester/obj/osmo_vty.py
index 1b414c9..80697c9 100644
--- a/src/osmo_gsm_tester/obj/osmo_vty.py
+++ b/src/osmo_gsm_tester/obj/osmo_vty.py
@@ -80,7 +80,7 @@
 
     def _command(self, command_str, timeout=10, strict=True):
         '''Send a command and return the response.'''
-        # (copied from https://git.osmocom.org/python/osmo-python-tests/tree/osmopy/osmo_interact/vty.py)
+        # (copied from osmo-python-tests.git/osmopy/osmo_interact/vty.py)
         self.dbg('Sending', command_str=command_str)
         self.sck.send(command_str.encode())
 
@@ -159,7 +159,7 @@
         self.sck.setblocking(1)
 
         # read first prompt
-        # (copied from https://git.osmocom.org/python/osmo-python-tests/tree/osmopy/osmo_interact/vty.py)
+        # (copied from osmo-python-tests.git/osmopy/osmo_interact/vty.py)
         self.this_node = None
         self.this_prompt_char = '>' # slight cheat for initial prompt char
         self.last_node = None
@@ -209,7 +209,7 @@
             with self:
                 return self.cmd(command_str, timeout, strict)
 
-        # (copied from https://git.osmocom.org/python/osmo-python-tests/tree/osmopy/osmo_interact/vty.py)
+        # (copied from osmo-python-tests.git/osmopy/osmo_interact/vty.py)
         command_str = command_str or '\r'
         if command_str[-1] not in '?\r\t':
             command_str = command_str + '\r'
diff --git a/sysmocom/ttcn3/README.txt b/sysmocom/ttcn3/README.txt
index 3886c80..2e10105 100644
--- a/sysmocom/ttcn3/README.txt
+++ b/sysmocom/ttcn3/README.txt
@@ -1,5 +1,6 @@
 This directory contains a set of scripts and osmo-gsm-tester testsuites to run
-osmo-ttcn3-hacks.git BTS_tests.ttcn (https://git.osmocom.org/osmo-ttcn3-hacks/tree/bts).
+osmo-ttcn3-hacks.git BTS_tests.ttcn
+(https://gitea.osmocom.org/ttcn3/osmo-ttcn3-hacks/src/branch/master/bts).
 
 The idea is to set up automatically the following components:
 TTCN3 <-> osmocon (osmocom-bb) <-> motorola C123 <-> RF network <-> BTS_TO_TEST <-> TTCN3 + osmo-bsc