diff --git a/README.adoc b/README.adoc index bd4ef2ab..23d723b3 100644 --- a/README.adoc +++ b/README.adoc @@ -24,7 +24,7 @@ and automatically fetched and reset to "origin/master" (override with $OSMO_BRANCH_DOCKER_PLAYGROUND). The fetch and reset gets skipped if _docker_playground is a symlink. For development, set it up as follows: - $ git clone https://git.osmocom.org/docker-playground - $ git clone https://git.osmocom.org/osmo-ci + $ git clone https://gitea.osmocom.org/osmocom/docker-playground + $ git clone https://gitea.osmocom.org/osmocom/osmo-ci $ cd osmo-ci $ ln -s ../docker-playground _docker_playground diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml index cf531cce..a1fb6cd8 100644 --- a/ansible/roles/gsm-tester/tasks/main.yml +++ b/ansible/roles/gsm-tester/tasks/main.yml @@ -132,7 +132,7 @@ - name: setup ofono repository git: - repo: 'https://git.sysmocom.de/sysmocom/ofono' + repo: 'https://gitea.sysmocom.de/sysmocom/ofono' dest: /root/ofono version: osmo-gsm-tester clone: yes @@ -354,7 +354,7 @@ - name: setup osmo-gsm-tester repository git: - repo: 'git://git.osmocom.org/osmo-gsm-tester' + repo: 'https://gitea.osmocom.org/cellular-infrastructure/osmo-gsm-tester' dest: /root/osmo-gsm-tester version: master clone: yes diff --git a/ansible/roles/osmocom-workstation/tasks/git-repos.yml b/ansible/roles/osmocom-workstation/tasks/git-repos.yml index c5cfd55a..719b6eb2 100644 --- a/ansible/roles/osmocom-workstation/tasks/git-repos.yml +++ b/ansible/roles/osmocom-workstation/tasks/git-repos.yml @@ -4,7 +4,7 @@ become: yes become_user: "{{ osmocom_user }}" git: - repo: git://git.osmocom.org/{{ item }}.git + repo: https://git.osmocom.org/{{ item }} dest: "{{ git_destination }}/{{ item }}" accept_hostkey: yes force: no @@ -106,7 +106,7 @@ chdir: "{{ git_destination }}/osmo-ttcn3-hacks" - name: install sysmocom git repos - git: repo=https://git.sysmocom.de/{{ item }}.git + git: repo=https://gitea.sysmocom.de/{{ item }}.git dest={{ git_destination }}/{{ item }} accept_hostkey=yes force=yes @@ -119,7 +119,7 @@ - name: install github git repos - git: repo=git://github.com/{{ item }}.git + git: repo=https://github.com/{{ item }}.git dest={{ git_destination }}/{{ item }} accept_hostkey=yes force=yes diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index e1564a7a..a15ea055 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -4,7 +4,7 @@ set -e -x # Clone repository to ~/, or update existing # $1: name of osmocom project clone_repo() { - cd ~/"$1" || (cd ~/ && git clone git://git.osmocom.org/"$1" && cd ~/"$1") + cd ~/"$1" || (cd ~/ && git clone https://git.osmocom.org/"$1" && cd ~/"$1") git rev-parse HEAD git status diff --git a/coverity/prepare_source_Osmocom.sh b/coverity/prepare_source_Osmocom.sh index e97c8854..122fc1c8 100755 --- a/coverity/prepare_source_Osmocom.sh +++ b/coverity/prepare_source_Osmocom.sh @@ -57,7 +57,7 @@ for proj in $PROJECTS $PROJECTS_DONT_BUILD_TEST; do git -C "$proj" clean -ffxd fi else - git clone git://git.osmocom.org/$proj + git clone https://git.osmocom.org/$proj fi done @@ -71,5 +71,5 @@ for proj in $PROJECTS; do done if ! [ -d layer1-api ]; then - git clone https://git.sysmocom.de/sysmo-bts/layer1-api + git clone https://gitea.sysmocom.de/sysmo-bts/layer1-api fi diff --git a/jobs/coverity.yml b/jobs/coverity.yml index cb39ea61..74803c7f 100644 --- a/jobs/coverity.yml +++ b/jobs/coverity.yml @@ -31,7 +31,7 @@ default: 'origin/master' scm: - git: - url: git://git.osmocom.org/osmo-ci + url: https://gerrit.osmocom.org/osmo-ci git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' branches: diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml index fd31581f..abeb4d63 100644 --- a/jobs/master-builds.yml +++ b/jobs/master-builds.yml @@ -46,7 +46,7 @@ wrappers: [] trigger: email: jenkins-notifications@lists.osmocom.org laforge@gnumonks.org - git_base_url: git://git.osmocom.org + git_base_url: https://git.osmocom.org # in alphabetical order repos: @@ -404,7 +404,7 @@ concurrent: false cmd: cd ./tests; ./run-tests slave_axis: !!python/tuple [simtester] - git_base_url: https://git.sysmocom.de/sysmocom + git_base_url: https://gitea.sysmocom.de/sysmocom - dahdi-tools diff --git a/jobs/octsim_osmo-ccid-firmware.yml b/jobs/octsim_osmo-ccid-firmware.yml index 311be331..17e3cef8 100644 --- a/jobs/octsim_osmo-ccid-firmware.yml +++ b/jobs/octsim_osmo-ccid-firmware.yml @@ -22,7 +22,7 @@ project-type: matrix scm: - git: - url: git://git.osmocom.org/osmo-ccid-firmware + url: https://gerrit.osmocom.org/osmo-ccid-firmware git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' skip-tag: true diff --git a/jobs/osmo-gsm-manuals-trigger.yml b/jobs/osmo-gsm-manuals-trigger.yml index d83b9fa0..bbb883f3 100644 --- a/jobs/osmo-gsm-manuals-trigger.yml +++ b/jobs/osmo-gsm-manuals-trigger.yml @@ -18,7 +18,7 @@ node: osmocom-master-debian9 scm: - git: - url: git://git.osmocom.org/osmo-gsm-manuals + url: https://gerrit.osmocom.org/osmo-gsm-manuals git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' skip-tag: true diff --git a/jobs/osmo-gsm-tester-builder.yml b/jobs/osmo-gsm-tester-builder.yml index 1855d02b..cd50cb87 100644 --- a/jobs/osmo-gsm-tester-builder.yml +++ b/jobs/osmo-gsm-tester-builder.yml @@ -116,7 +116,7 @@ name: osmo-gsm-tester-repo scm: - git: - url: git://git.osmocom.org/osmo-gsm-tester + url: https://gerrit.osmocom.org/osmo-gsm-tester branches: - ${OSMO_GSM_TESTER_BRANCH} wipe-workspace: false diff --git a/jobs/osmo-gsm-tester-runner.yml b/jobs/osmo-gsm-tester-runner.yml index 473f046d..73a49db6 100644 --- a/jobs/osmo-gsm-tester-runner.yml +++ b/jobs/osmo-gsm-tester-runner.yml @@ -32,7 +32,7 @@ name: osmo-gsm-tester-repo scm: - git: - url: git://git.osmocom.org/osmo-gsm-tester + url: https://gitea.osmocom.org/cellular-infrastructure/osmo-gsm-tester branches: - ${OSMO_GSM_TESTER_BRANCH} wipe-workspace: false diff --git a/jobs/osmocom-build-tags-against-master.yml b/jobs/osmocom-build-tags-against-master.yml index 1520ec2d..22ac9ae3 100644 --- a/jobs/osmocom-build-tags-against-master.yml +++ b/jobs/osmocom-build-tags-against-master.yml @@ -25,7 +25,7 @@ - git: branches: - '$BRANCH' - url: git://git.osmocom.org/osmo-ci + url: https://git.osmocom.org/osmo-ci git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' triggers: diff --git a/jobs/osmocom-depcheck.yml b/jobs/osmocom-depcheck.yml index 1e5533dc..1eadd0e6 100644 --- a/jobs/osmocom-depcheck.yml +++ b/jobs/osmocom-depcheck.yml @@ -26,7 +26,7 @@ name: GIT_URL_PREFIX description: | Where to clone the sources from - default: 'git://git.osmocom.org/' + default: 'https://git.osmocom.org/' - bool: name: BUILD description: | @@ -65,7 +65,7 @@ - git: branches: - '$BRANCH' - url: git://git.osmocom.org/osmo-ci + url: https://git.osmocom.org/osmo-ci git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' diff --git a/jobs/osmocom-list-commits.yml b/jobs/osmocom-list-commits.yml index f2651f49..c9995c6c 100644 --- a/jobs/osmocom-list-commits.yml +++ b/jobs/osmocom-list-commits.yml @@ -26,7 +26,7 @@ - git: branches: - '$BRANCH' - url: git://git.osmocom.org/osmo-ci + url: https://git.osmocom.org/osmo-ci git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' triggers: diff --git a/jobs/osmocom-obs.yml b/jobs/osmocom-obs.yml index ddb71f13..cb8cef1b 100644 --- a/jobs/osmocom-obs.yml +++ b/jobs/osmocom-obs.yml @@ -45,7 +45,7 @@ - git: branches: - '$BRANCH' - url: git://git.osmocom.org/osmo-ci + url: https://git.osmocom.org/osmo-ci git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' triggers: diff --git a/jobs/osmocom-release-tarballs.yml b/jobs/osmocom-release-tarballs.yml index 0bc1fff8..3d11bd38 100644 --- a/jobs/osmocom-release-tarballs.yml +++ b/jobs/osmocom-release-tarballs.yml @@ -26,7 +26,7 @@ - git: branches: - '$BRANCH_DOCKER_PLAYGROUND' - url: git://git.osmocom.org/docker-playground + url: https://gitea.osmocom.org/osmocom/docker-playground git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' # Don't wipe workspace to keep generated release tarballs diff --git a/jobs/registry-rebuild-upload-fpga-build.yml b/jobs/registry-rebuild-upload-fpga-build.yml index 9338bceb..dceb2c5b 100644 --- a/jobs/registry-rebuild-upload-fpga-build.yml +++ b/jobs/registry-rebuild-upload-fpga-build.yml @@ -11,7 +11,7 @@ node: osmocom-master-debian9 scm: - git: - url: git://git.osmocom.org/docker-playground + url: https://gerrit.osmocom.org/docker-playground skip-tag: true branches: - 'origin/master' diff --git a/jobs/registry-rebuild-upload-titan.yml b/jobs/registry-rebuild-upload-titan.yml index 2042cdf1..a21a0885 100644 --- a/jobs/registry-rebuild-upload-titan.yml +++ b/jobs/registry-rebuild-upload-titan.yml @@ -8,7 +8,7 @@ name: osmocom-docker-playground scm: - git: - url: git://git.osmocom.org/docker-playground + url: https://gerrit.osmocom.org/docker-playground skip-tag: true branches: - 'origin/master' diff --git a/jobs/registry-triggers.yml b/jobs/registry-triggers.yml index 07634969..dcdde85d 100644 --- a/jobs/registry-triggers.yml +++ b/jobs/registry-triggers.yml @@ -15,7 +15,7 @@ node: osmocom-master-debian9 scm: - git: - url: git://git.osmocom.org/{repos} + url: https://gerrit.osmocom.org/{repos} branches: - 'origin/master' trigger: diff --git a/jobs/repo-install-test.yml b/jobs/repo-install-test.yml index 5648160f..5343f33e 100644 --- a/jobs/repo-install-test.yml +++ b/jobs/repo-install-test.yml @@ -56,7 +56,7 @@ - git: branches: - '$BRANCH_CI' - url: git://git.osmocom.org/osmo-ci + url: https://gerrit.osmocom.org/osmo-ci git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' triggers: diff --git a/jobs/ttcn3-testsuites-kernel-git.yml b/jobs/ttcn3-testsuites-kernel-git.yml index 37f91708..9d644ec1 100644 --- a/jobs/ttcn3-testsuites-kernel-git.yml +++ b/jobs/ttcn3-testsuites-kernel-git.yml @@ -96,7 +96,7 @@ - git: branches: - '$BRANCH' - url: git://git.osmocom.org/docker-playground + url: https://gerrit.osmocom.org/docker-playground git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' wipe-workspace: "{obj:wipe_workspace}" diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml index 2016dd2a..ba5b298d 100644 --- a/jobs/ttcn3-testsuites.yml +++ b/jobs/ttcn3-testsuites.yml @@ -470,7 +470,7 @@ - git: branches: - '$BRANCH' - url: git://git.osmocom.org/docker-playground + url: https://gerrit.osmocom.org/docker-playground git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' wipe-workspace: "{obj:wipe_workspace}" diff --git a/jobs/update-osmo-ci-on-slaves.yml b/jobs/update-osmo-ci-on-slaves.yml index df6bd99d..36ed922d 100644 --- a/jobs/update-osmo-ci-on-slaves.yml +++ b/jobs/update-osmo-ci-on-slaves.yml @@ -24,7 +24,7 @@ num-to-keep: 120 scm: - git: - url: git://git.osmocom.org/osmo-ci + url: https://gerrit.osmocom.org/osmo-ci git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' skip-tag: true @@ -54,7 +54,7 @@ node: osmocom-master-debian9 scm: - git: - url: git://git.osmocom.org/docker-playground + url: https://gerrit.osmocom.org/docker-playground git-config-name: 'Jenkins Builder' git-config-email: 'jenkins@osmocom.org' skip-tag: true diff --git a/qemu-kvm/ggsn-kernel-gtp/postinst.sh b/qemu-kvm/ggsn-kernel-gtp/postinst.sh index 4cbe64ca..cbee5626 100755 --- a/qemu-kvm/ggsn-kernel-gtp/postinst.sh +++ b/qemu-kvm/ggsn-kernel-gtp/postinst.sh @@ -65,10 +65,10 @@ DEBIAN_FRONTEND=noninteractive apt-get purge -y nano laptop-detect tasksel dicti # check out sources we need from their respective repositories cd /usr/local/src -git clone git://git.netfilter.org/libmnl +git clone https://git.netfilter.org/libmnl (cd libmnl && autoreconf -fi && ./configure && make && make install) -git clone git://git.osmocom.org/libgtpnl +git clone https://gerrit.osmocom.org/libgtpnl (cd libgtpnl && autoreconf -fi && ./configure && make && make install) -git clone git://git.osmocom.org/osmo-ggsn +git clone https://gerrit.osmocom.org/osmo-ggsn (cd osmo-ggsn && autoreconf -fi && ./configure --enable-gtp-linux && make && make install) ldconfig diff --git a/scripts/osmo-build.sh b/scripts/osmo-build.sh index 39cbae6c..8ca8e47d 100644 --- a/scripts/osmo-build.sh +++ b/scripts/osmo-build.sh @@ -172,7 +172,7 @@ branch_and_rev_of_local_repo() { branch_and_rev_of_remote_repo() { if [ -z "${2+x}" ]; then branch="master"; else branch="$2"; fi branch="$( echo "$branch" | tr '/' '_')" - rev="$(git ls-remote "git://git.osmocom.org/$1" "refs/heads/$branch")" + rev="$(git ls-remote "https://git.osmocom.org/$1" "refs/heads/$branch")" # check whether branch is a tag if [ "$rev" = "" ]; then diff --git a/scripts/osmo-depcheck/config.py b/scripts/osmo-depcheck/config.py index 13c1a95c..28f06998 100644 --- a/scripts/osmo-depcheck/config.py +++ b/scripts/osmo-depcheck/config.py @@ -2,7 +2,7 @@ # Copyright 2018 sysmocom - s.f.m.c. GmbH # Where to clone sources from (with trailing slash) -git_url_prefix = "git://git.osmocom.org/" +git_url_prefix = "https://git.osmocom.org/" # Default projects to build when none are specified on the command line projects = ("osmo-bts", diff --git a/scripts/osmo-depcheck/dependencies.py b/scripts/osmo-depcheck/dependencies.py index 9b5187d7..4e611ad1 100644 --- a/scripts/osmo-depcheck/dependencies.py +++ b/scripts/osmo-depcheck/dependencies.py @@ -14,7 +14,7 @@ def git_clone(workdir, prefix, cache_git_fetch, repository, version): """ Clone a missing git repository and checkout a specific version tag. :param workdir: path to where all data (git, build, install) is stored - :param prefix: git url prefix (e.g. "git://git.osmocom.org/") + :param prefix: git url prefix (e.g. "https://git.osmocom.org/") :param cache_git_fetch: list of repositories that have already been fetched in this run of osmo-depcheck :param repository: Osmocom git repository name (e.g. "libosmo-abis") @@ -56,7 +56,7 @@ def generate(workdir, prefix, cache_git_fetch, initial, rev): repository, parsing the "configure.ac" file, and recursing. :param workdir: path to where all data (git, build, install) is stored - :param prefix: git url prefix (e.g. "git://git.osmocom.org/") + :param prefix: git url prefix (e.g. "https://git.osmocom.org/") :param cache_git_fetch: list of repositories that have already been fetched in this run of osmo-depcheck :param initial: the first program to look at (e.g. "osmo-bts") diff --git a/scripts/osmo-deps.sh b/scripts/osmo-deps.sh index 5a7dcc27..af3d555b 100755 --- a/scripts/osmo-deps.sh +++ b/scripts/osmo-deps.sh @@ -10,7 +10,7 @@ fi if ! test -d "$project"; then - git clone "git://git.osmocom.org/$project" "$project" + git clone "https://git.osmocom.org/$project" "$project" fi cd "$project" diff --git a/scripts/osmo-layer1-headers.sh b/scripts/osmo-layer1-headers.sh index f23a8881..19db1d73 100755 --- a/scripts/osmo-layer1-headers.sh +++ b/scripts/osmo-layer1-headers.sh @@ -11,12 +11,12 @@ set -e -x case "$1" in sysmo) - uri="https://git.sysmocom.de/sysmo-bts/layer1-api" + uri="https://gitea.sysmocom.de/sysmo-bts/layer1-api" version_prefix="" version="origin/master" ;; oct) - uri="git://git.osmocom.org/octphy-2g-headers" + uri="https://git.osmocom.org/octphy-2g-headers" version_prefix="" version="origin/master" ;;