Update git repo URLs to GitLab
cover Update git repo URLs to GitLab
Several places in qemu.git reference qemu.org git repo URLs. Let's switch to GitLab repo URLs in order to enable GitLab as a gating CI and in order to reduce qemu.org bandwidth consumption.
Paolo has already set up GitLab mirror repos. sgabios was missing and I added that today. It is now possible to replace git.qemu.org/git with gitlab.com/qemu-project in URLs.
Stefan Hajnoczi (6):
.github: point Repo Lockdown bot to GitLab repo
gitmodules: use GitLab repos instead of qemu.org
gitlab-ci: remove redundant GitLab repo URL command
docs: update README to use GitLab repo URLs
pc-bios: update mirror URLs to GitLab
get_maintainer: update repo URL to GitLab
README.rst | 4 ++-- .github/lockdown.yml | 8 +++---- .gitlab-ci.yml | 1 - .gitmodules | 44 +++++++++++++++++++-------------------- pc-bios/README | 4 ++-- scripts/get_maintainer.pl | 2 +- 6 files changed, 31 insertions(+), 32 deletions(-)
Signature · 1 line
2.29.2
PATCH 1/6 .github: point Repo Lockdown bot to GitLab repo
Use the GitLab repo URL as the main repo location in order to reduce load on qemu.org.
--- .github/lockdown.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
.github/lockdown.yml +4 -4
@@ -10,8 +10,8 @@ issues: comment: | Thank you for your interest in the QEMU project. - This repository is a read-only mirror of the project's master - repostories hosted on https://git.qemu.org/git/qemu.git. + This repository is a read-only mirror of the project's repostories hosted + at https://gitlab.com/qemu-project/qemu.git. The project does not process issues filed on GitHub. The project issues are tracked on Launchpad:
@@ -24,8 +24,8 @@ pulls: comment: | Thank you for your interest in the QEMU project. - This repository is a read-only mirror of the project's master - repostories hosted on https://git.qemu.org/git/qemu.git. + This repository is a read-only mirror of the project's repostories hosted + on https://gitlab.com/qemu-project/qemu.git. The project does not process merge requests filed on GitHub. QEMU welcomes contributions of code (either fixing bugs or adding new
Signature · 1 line
2.29.2
Re: [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo
Quoted 13 lines · Stefan Hajnoczi
Use the GitLab repo URL as the main repo location in order to reduce load on qemu.org.
Signed-off-by Stefan Hajnoczi <[email protected]>--- .github/lockdown.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-).github/lockdown.yml +0
-0
.github/lockdown.yml issues: · line 14
Quoted 7 lines
.github/lockdown.yml +2
-2@@ -10,8 +10,8 @@ issues: comment: | Thank you for your interest in the QEMU project. - This repository is a read-only mirror of the project's master - repostories hosted on https://git.qemu.org/git/qemu.git. + This repository is a read-only mirror of the project's repostories hosted + at https://gitlab.com/qemu-project/qemu.git.
NB this URL triggers a redirect to strip the .git suffix
.github/lockdown.yml pulls: · line 28
Quoted 11 lines
.github/lockdown.yml +2
-2The project does not process issues filed on GitHub. The project issues are tracked on Launchpad:@@ -24,8 +24,8 @@ pulls: comment: | Thank you for your interest in the QEMU project. - This repository is a read-only mirror of the project's master - repostories hosted on https://git.qemu.org/git/qemu.git. + This repository is a read-only mirror of the project's repostories hosted + on https://gitlab.com/qemu-project/qemu.git.
Likewise
.github/lockdown.yml pulls: · line 31
Quoted 3 lines
.github/lockdown.yml +0
-0The project does not process merge requests filed on GitHub. QEMU welcomes contributions of code (either fixing bugs or adding new
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Thomas Huth
Reviewed-byRe: [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo
Quoted 17 lines · Daniel P. Berrangé
Quoted 16 lines · Stefan Hajnoczi
Use the GitLab repo URL as the main repo location in order to reduce load on qemu.org.
Signed-off-by Stefan Hajnoczi <[email protected]>--- .github/lockdown.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-).github/lockdown.yml +0
-0@@ -10,8 +10,8 @@ issues: comment: | Thank you for your interest in the QEMU project.
Quoted 8 lines
.github/lockdown.yml issues: · line 14
Quoted 4 lines
.github/lockdown.yml +2
-2- This repository is a read-only mirror of the project's master - repostories hosted on https://git.qemu.org/git/qemu.git. + This repository is a read-only mirror of the project's repostories hosted + at https://gitlab.com/qemu-project/qemu.git.NB this URL triggers a redirect to strip the .git suffix
If you try to do:
git clone https://gitlab.com/qemu-project/qemu
You get this warning message instead:
warning: redirecting to https://gitlab.com/qemu-project/qemu.git/
So I think the patch is fine.
Re: [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo
Quoted 30 lines · Thomas Huth
Quoted 23 lines · Daniel P. Berrangé
Quoted 13 lines · Stefan Hajnoczi
Use the GitLab repo URL as the main repo location in order to reduce load on qemu.org.
Signed-off-by Stefan Hajnoczi <[email protected]>--- .github/lockdown.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-).github/lockdown.yml +0
-0.github/lockdown.yml issues: · line 13
Quoted 6 lines
.github/lockdown.yml +2
-2@@ -10,8 +10,8 @@ issues: comment: | Thank you for your interest in the QEMU project. - This repository is a read-only mirror of the project's master - repostories hosted on https://git.qemu.org/git/qemu.git. + This repository is a read-only mirror of the project's repostories hosted + at https://gitlab.com/qemu-project/qemu.git.NB this URL triggers a redirect to strip the .git suffix
Quoted 1 line
If you try to do:
git clone https://gitlab.com/qemu-project/qemu
Quoted 7 lines
You get this warning message instead:
warning: redirecting to https://gitlab.com/qemu-project/qemu.git/
So I think the patch is fine.
Reviewed-by Thomas Huth <[email protected]>
Same here. https://gitlab.com/qemu-project/qemu.git clones without warnings here. https://gitlab.com/qemu-project/qemu clones with a warning, so I think we should leave the patch unchanged.
Stefan
PATCH 2/6 gitmodules: use GitLab repos instead of qemu.org
In reply to Stefan Hajnocziqemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
--- .gitmodules | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-)
.gitmodules +22 -22
@@ -1,66 +1,66 @@ [submodule "roms/seabios"] path = roms/seabios - url = https://git.qemu.org/git/seabios.git/ + url = https://gitlab.com/qemu-project/seabios.git/ [submodule "roms/SLOF"] path = roms/SLOF - url = https://git.qemu.org/git/SLOF.git + url = https://gitlab.com/qemu-project/SLOF.git [submodule "roms/ipxe"] path = roms/ipxe - url = https://git.qemu.org/git/ipxe.git + url = https://gitlab.com/qemu-project/ipxe.git [submodule "roms/openbios"] path = roms/openbios - url = https://git.qemu.org/git/openbios.git + url = https://gitlab.com/qemu-project/openbios.git [submodule "roms/qemu-palcode"] path = roms/qemu-palcode - url = https://git.qemu.org/git/qemu-palcode.git + url = https://gitlab.com/qemu-project/qemu-palcode.git [submodule "roms/sgabios"] path = roms/sgabios - url = https://git.qemu.org/git/sgabios.git + url = https://gitlab.com/qemu-project/sgabios.git [submodule "dtc"] path = dtc - url = https://git.qemu.org/git/dtc.git + url = https://gitlab.com/qemu-project/dtc.git [submodule "roms/u-boot"] path = roms/u-boot - url = https://git.qemu.org/git/u-boot.git + url = https://gitlab.com/qemu-project/u-boot.git [submodule "roms/skiboot"] path = roms/skiboot - url = https://git.qemu.org/git/skiboot.git + url = https://gitlab.com/qemu-project/skiboot.git [submodule "roms/QemuMacDrivers"] path = roms/QemuMacDrivers - url = https://git.qemu.org/git/QemuMacDrivers.git + url = https://gitlab.com/qemu-project/QemuMacDrivers.git [submodule "ui/keycodemapdb"] path = ui/keycodemapdb - url = https://git.qemu.org/git/keycodemapdb.git + url = https://gitlab.com/qemu-project/keycodemapdb.git [submodule "capstone"] path = capstone - url = https://git.qemu.org/git/capstone.git + url = https://gitlab.com/qemu-project/capstone.git [submodule "roms/seabios-hppa"] path = roms/seabios-hppa - url = https://git.qemu.org/git/seabios-hppa.git + url = https://gitlab.com/qemu-project/seabios-hppa.git [submodule "roms/u-boot-sam460ex"] path = roms/u-boot-sam460ex - url = https://git.qemu.org/git/u-boot-sam460ex.git + url = https://gitlab.com/qemu-project/u-boot-sam460ex.git [submodule "tests/fp/berkeley-testfloat-3"] path = tests/fp/berkeley-testfloat-3 - url = https://git.qemu.org/git/berkeley-testfloat-3.git + url = https://gitlab.com/qemu-project/berkeley-testfloat-3.git [submodule "tests/fp/berkeley-softfloat-3"] path = tests/fp/berkeley-softfloat-3 - url = https://git.qemu.org/git/berkeley-softfloat-3.git + url = https://gitlab.com/qemu-project/berkeley-softfloat-3.git [submodule "roms/edk2"] path = roms/edk2 - url = https://git.qemu.org/git/edk2.git + url = https://gitlab.com/qemu-project/edk2.git [submodule "slirp"] path = slirp - url = https://git.qemu.org/git/libslirp.git + url = https://gitlab.com/qemu-project/libslirp.git [submodule "roms/opensbi"] path = roms/opensbi - url = https://git.qemu.org/git/opensbi.git + url = https://gitlab.com/qemu-project/opensbi.git [submodule "roms/qboot"] path = roms/qboot - url = https://git.qemu.org/git/qboot.git + url = https://gitlab.com/qemu-project/qboot.git [submodule "meson"] path = meson - url = https://git.qemu.org/git/meson.git + url = https://gitlab.com/qemu-project/meson.git [submodule "roms/vbootrom"] path = roms/vbootrom - url = https://git.qemu.org/git/vbootrom.git + url = https://gitlab.com/qemu-project/vbootrom.git
Signature · 1 line
2.29.2
Re: [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org
Quoted 8 lines · Stefan Hajnoczi
qemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
Signed-off-by Stefan Hajnoczi <[email protected]>--- .gitmodules | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-)
Re: [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org
In reply to Stefan HajnocziQuoted 8 lines · Stefan Hajnoczi
qemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
Signed-off-by Stefan Hajnoczi <[email protected]>--- .gitmodules | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-)
PATCH 3/6 gitlab-ci: remove redundant GitLab repo URL command
In reply to Stefan HajnocziIt is no longer necessary to point .gitmodules at GitLab repos when running in GitLab CI since they are now used all the time.
--- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-)
.gitlab-ci.yml +0 -1
@@ -18,7 +18,6 @@ include: image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest before_script: - JOBS=$(expr $(nproc) + 1) - - sed -i s,git.qemu.org/git,gitlab.com/qemu-project, .gitmodules script: - mkdir build - cd build
Signature · 1 line
2.29.2
Re: [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command
Quoted 7 lines · Stefan Hajnoczi
It is no longer necessary to point .gitmodules at GitLab repos when running in GitLab CI since they are now used all the time.
Signed-off-by Stefan Hajnoczi <[email protected]>--- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-)
Re: [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command
In reply to Stefan HajnocziQuoted 14 lines · Stefan Hajnoczi
It is no longer necessary to point .gitmodules at GitLab repos when running in GitLab CI since they are now used all the time.
Signed-off-by Stefan Hajnoczi <[email protected]>--- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-).gitlab-ci.yml +0
-0
.gitlab-ci.yml include: · line 23
Quoted 7 lines
.gitlab-ci.yml +0
-1@@ -18,7 +18,6 @@ include: image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest before_script: - JOBS=$(expr $(nproc) + 1) - - sed -i s,git.qemu.org/git,gitlab.com/qemu-project, .gitmodules script: - mkdir build - cd build
PATCH 4/6 docs: update README to use GitLab repo URLs
In reply to Stefan Hajnocziqemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
--- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
README.rst +2 -2
@@ -60,7 +60,7 @@ The QEMU source code is maintained under the GIT version control system. .. code-block:: shell - git clone https://git.qemu.org/git/qemu.git + git clone https://gitlab.com/qemu-project/qemu.git When submitting patches, one common approach is to use 'git format-patch' and/or 'git send-email' to format & send the mail to the
@@ -78,7 +78,7 @@ The QEMU website is also maintained under source control. .. code-block:: shell - git clone https://git.qemu.org/git/qemu-web.git + git clone https://gitlab.com/qemu-project/qemu-web.git * `<https://www.qemu.org/2017/02/04/the-new-qemu-website-is-up/>`_
Signature · 1 line
2.29.2
Re: [PATCH 4/6] docs: update README to use GitLab repo URLs
Quoted 23 lines · Stefan Hajnoczi
qemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
Signed-off-by Stefan Hajnoczi <[email protected]>--- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)README.rst +1
-1@@ -60,7 +60,7 @@ The QEMU source code is maintained under the GIT version control system. .. code-block:: shell - git clone https://git.qemu.org/git/qemu.git + git clone https://gitlab.com/qemu-project/qemu.git When submitting patches, one common approach is to use 'git format-patch' and/or 'git send-email' to format & send the mail to the
README.rst The QEMU website is also maintained under source control. · line 83
Quoted 7 lines
README.rst +1
-1@@ -78,7 +78,7 @@ The QEMU website is also maintained under source control. .. code-block:: shell - git clone https://git.qemu.org/git/qemu-web.git + git clone https://gitlab.com/qemu-project/qemu-web.git * `<https://www.qemu.org/2017/02/04/the-new-qemu-website-is-up/>`_
PATCH 5/6 pc-bios: update mirror URLs to GitLab
In reply to Stefan Hajnocziqemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
--- pc-bios/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
pc-bios/README +2 -2
@@ -20,7 +20,7 @@ legacy x86 software to communicate with an attached serial console as if a video card were attached. The master sources reside in a subversion repository at http://sgabios.googlecode.com/svn/trunk. A git mirror is - available at https://git.qemu.org/git/sgabios.git. + available at https://gitlab.com/qemu-project/sgabios.git. - The PXE roms come from the iPXE project. Built with BANNER_TIME 0. Sources available at http://ipxe.org. Vendor:Device ID -> ROM mapping:
@@ -37,7 +37,7 @@ - The u-boot binary for e500 comes from the upstream denx u-boot project where it was compiled using the qemu-ppce500 target. - A git mirror is available at: https://git.qemu.org/git/u-boot.git + A git mirror is available at: https://gitlab.com/qemu-project/u-boot.git The hash used to compile the current version is: 2072e72 - Skiboot (https://github.com/open-power/skiboot/) is an OPAL
Signature · 1 line
2.29.2
Re: [PATCH 5/6] pc-bios: update mirror URLs to GitLab
Quoted 24 lines · Stefan Hajnoczi
qemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
Signed-off-by Stefan Hajnoczi <[email protected]>--- pc-bios/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)pc-bios/README +1
-1@@ -20,7 +20,7 @@ legacy x86 software to communicate with an attached serial console as if a video card were attached. The master sources reside in a subversion repository at http://sgabios.googlecode.com/svn/trunk. A git mirror is - available at https://git.qemu.org/git/sgabios.git. + available at https://gitlab.com/qemu-project/sgabios.git. - The PXE roms come from the iPXE project. Built with BANNER_TIME 0. Sources available at http://ipxe.org. Vendor:Device ID -> ROM mapping:
pc-bios/README line 43
Quoted 8 lines
pc-bios/README +1
-1@@ -37,7 +37,7 @@ - The u-boot binary for e500 comes from the upstream denx u-boot project where it was compiled using the qemu-ppce500 target. - A git mirror is available at: https://git.qemu.org/git/u-boot.git + A git mirror is available at: https://gitlab.com/qemu-project/u-boot.git The hash used to compile the current version is: 2072e72 - Skiboot (https://github.com/open-power/skiboot/) is an OPAL
PATCH 6/6 get_maintainer: update repo URL to GitLab
In reply to Stefan Hajnocziqemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
--- scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/get_maintainer.pl +1 -1
@@ -1377,7 +1377,7 @@ sub vcs_exists { warn("$P: No supported VCS found. Add --nogit to options?\n"); warn("Using a git repository produces better results.\n"); warn("Try latest git repository using:\n"); - warn("git clone https://git.qemu.org/git/qemu.git\n"); + warn("git clone https://gitlab.com/qemu-project/qemu.git\n"); $printed_novcs = 1; } return 0;
Signature · 1 line
2.29.2
Re: [PATCH 6/6] get_maintainer: update repo URL to GitLab
Quoted 8 lines · Stefan Hajnoczi
qemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
Signed-off-by Stefan Hajnoczi <[email protected]>--- scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Re: [PATCH 6/6] get_maintainer: update repo URL to GitLab
In reply to Stefan HajnocziQuoted 14 lines · Stefan Hajnoczi
qemu.org is running out of bandwidth and the QEMU project is moving towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org (they will become mirrors).
Signed-off-by Stefan Hajnoczi <[email protected]>--- scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/get_maintainer.pl +0
-0
scripts/get_maintainer.pl sub vcs_exists { · line 1380
Quoted 5 lines
scripts/get_maintainer.pl +1
-1@@ -1377,7 +1377,7 @@ sub vcs_exists { warn("$P: No supported VCS found. Add --nogit to options?\n"); warn("Using a git repository produces better results.\n"); warn("Try latest git repository using:\n"); - warn("git clone https://git.qemu.org/git/qemu.git\n"); + warn("git clone https://gitlab.com/qemu-project/qemu.git\n");
Hi,
Quoted 16 lines · Stefan Hajnoczi
Several places in qemu.git reference qemu.org git repo URLs. Let's switch to GitLab repo URLs in order to enable GitLab as a gating CI and in order to reduce qemu.org bandwidth consumption.
Paolo has already set up GitLab mirror repos. sgabios was missing and I added that today. It is now possible to replace git.qemu.org/git with gitlab.com/qemu-project in URLs.
Stefan Hajnoczi (6):
.github: point Repo Lockdown bot to GitLab repo
gitmodules: use GitLab repos instead of qemu.org
gitlab-ci: remove redundant GitLab repo URL command
docs: update README to use GitLab repo URLs
pc-bios: update mirror URLs to GitLab
get_maintainer: update repo URL to GitLab
Quoted 8 lines
README.rst | 4 ++-- .github/lockdown.yml | 8 +++---- .gitlab-ci.yml | 1 - .gitmodules | 44 +++++++++++++++++++-------------------- pc-bios/README | 4 ++-- scripts/get_maintainer.pl | 2 +- 6 files changed, 31 insertions(+), 32 deletions(-)
There will be needed to change the description of all repos on GitLab, they are said mirrors still.
For this entire series:
Thanks!
Stefan Hajnoczi
AppliedQuoted 16 lines · Stefan Hajnoczi
Several places in qemu.git reference qemu.org git repo URLs. Let's switch to GitLab repo URLs in order to enable GitLab as a gating CI and in order to reduce qemu.org bandwidth consumption.
Paolo has already set up GitLab mirror repos. sgabios was missing and I added that today. It is now possible to replace git.qemu.org/git with gitlab.com/qemu-project in URLs.
Stefan Hajnoczi (6):
.github: point Repo Lockdown bot to GitLab repo
gitmodules: use GitLab repos instead of qemu.org
gitlab-ci: remove redundant GitLab repo URL command
docs: update README to use GitLab repo URLs
pc-bios: update mirror URLs to GitLab
get_maintainer: update repo URL to GitLab
Quoted 11 lines
README.rst | 4 ++-- .github/lockdown.yml | 8 +++---- .gitlab-ci.yml | 1 - .gitmodules | 44 +++++++++++++++++++-------------------- pc-bios/README | 4 ++-- scripts/get_maintainer.pl | 2 +- 6 files changed, 31 insertions(+), 32 deletions(-)Signature · 1 line
2.29.2
Thanks, applied to my block tree:
https://gitlab.com/stefanha/qemu/commits/block
Stefan