All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Update git repo URLs to GitLab
@ 2021-01-11 11:50 Stefan Hajnoczi
  2021-01-11 11:50 ` [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo Stefan Hajnoczi
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-11 11:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Stefan Hajnoczi, Paolo Bonzini,
	Alex Bennée

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(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo
  2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
@ 2021-01-11 11:50 ` Stefan Hajnoczi
  2021-01-11 11:51   ` Daniel P. Berrangé
  2021-01-11 11:50 ` [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org Stefan Hajnoczi
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-11 11:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Stefan Hajnoczi, Paolo Bonzini,
	Alex Bennée

Use the GitLab repo URL as the main repo location in order to reduce
load on qemu.org.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 .github/lockdown.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/lockdown.yml b/.github/lockdown.yml
index 9acc393f1c..07fc2f31ee 100644
--- a/.github/lockdown.yml
+++ b/.github/lockdown.yml
@@ -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
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org
  2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
  2021-01-11 11:50 ` [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo Stefan Hajnoczi
@ 2021-01-11 11:50 ` Stefan Hajnoczi
  2021-01-11 12:16   ` Philippe Mathieu-Daudé
  2021-01-12  7:54   ` Thomas Huth
  2021-01-11 11:50 ` [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command Stefan Hajnoczi
                   ` (5 subsequent siblings)
  7 siblings, 2 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-11 11:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Stefan Hajnoczi, Paolo Bonzini,
	Alex Bennée

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 <stefanha@redhat.com>
---
 .gitmodules | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index 2bdeeacef8..08b1b48a09 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -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
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command
  2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
  2021-01-11 11:50 ` [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo Stefan Hajnoczi
  2021-01-11 11:50 ` [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org Stefan Hajnoczi
@ 2021-01-11 11:50 ` Stefan Hajnoczi
  2021-01-11 12:16   ` Philippe Mathieu-Daudé
  2021-01-12  7:55   ` Thomas Huth
  2021-01-11 11:50 ` [PATCH 4/6] docs: update README to use GitLab repo URLs Stefan Hajnoczi
                   ` (4 subsequent siblings)
  7 siblings, 2 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-11 11:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Stefan Hajnoczi, Paolo Bonzini,
	Alex Bennée

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 <stefanha@redhat.com>
---
 .gitlab-ci.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01c9e46410..4c2a71b934 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 4/6] docs: update README to use GitLab repo URLs
  2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
                   ` (2 preceding siblings ...)
  2021-01-11 11:50 ` [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command Stefan Hajnoczi
@ 2021-01-11 11:50 ` Stefan Hajnoczi
  2021-01-12  7:56   ` Thomas Huth
  2021-01-11 11:50 ` [PATCH 5/6] pc-bios: update mirror URLs to GitLab Stefan Hajnoczi
                   ` (3 subsequent siblings)
  7 siblings, 1 reply; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-11 11:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Stefan Hajnoczi, Paolo Bonzini,
	Alex Bennée

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 <stefanha@redhat.com>
---
 README.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index 58b9f2dc15..ce39d89077 100644
--- a/README.rst
+++ b/README.rst
@@ -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/>`_
 
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 5/6] pc-bios: update mirror URLs to GitLab
  2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
                   ` (3 preceding siblings ...)
  2021-01-11 11:50 ` [PATCH 4/6] docs: update README to use GitLab repo URLs Stefan Hajnoczi
@ 2021-01-11 11:50 ` Stefan Hajnoczi
  2021-01-12  7:59   ` Thomas Huth
  2021-01-11 11:50 ` [PATCH 6/6] get_maintainer: update repo URL " Stefan Hajnoczi
                   ` (2 subsequent siblings)
  7 siblings, 1 reply; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-11 11:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Stefan Hajnoczi, Paolo Bonzini,
	Alex Bennée

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 <stefanha@redhat.com>
---
 pc-bios/README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pc-bios/README b/pc-bios/README
index 33f9754ad3..db7129ef64 100644
--- a/pc-bios/README
+++ b/pc-bios/README
@@ -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
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 6/6] get_maintainer: update repo URL to GitLab
  2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
                   ` (4 preceding siblings ...)
  2021-01-11 11:50 ` [PATCH 5/6] pc-bios: update mirror URLs to GitLab Stefan Hajnoczi
@ 2021-01-11 11:50 ` Stefan Hajnoczi
  2021-01-11 12:18   ` Philippe Mathieu-Daudé
  2021-01-12  8:01   ` Thomas Huth
  2021-01-11 14:50 ` [PATCH 0/6] Update git repo URLs " Wainer dos Santos Moschetta
  2021-01-21 14:56 ` Stefan Hajnoczi
  7 siblings, 2 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-11 11:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Stefan Hajnoczi, Paolo Bonzini,
	Alex Bennée

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 <stefanha@redhat.com>
---
 scripts/get_maintainer.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 271f5ff42a..e5499b94b4 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -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;
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo
  2021-01-11 11:50 ` [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo Stefan Hajnoczi
@ 2021-01-11 11:51   ` Daniel P. Berrangé
  2021-01-12  7:49     ` Thomas Huth
  0 siblings, 1 reply; 20+ messages in thread
From: Daniel P. Berrangé @ 2021-01-11 11:51 UTC (permalink / raw)
  To: Stefan Hajnoczi
  Cc: Fam Zheng, Peter Maydell, Thomas Huth,
	Philippe Mathieu-Daudé,
	qemu-devel, Wainer dos Santos Moschetta, Paolo Bonzini,
	Alex Bennée

On Mon, Jan 11, 2021 at 11:50:12AM +0000, Stefan Hajnoczi wrote:
> Use the GitLab repo URL as the main repo location in order to reduce
> load on qemu.org.
> 
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---
>  .github/lockdown.yml | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/.github/lockdown.yml b/.github/lockdown.yml
> index 9acc393f1c..07fc2f31ee 100644
> --- a/.github/lockdown.yml
> +++ b/.github/lockdown.yml
> @@ -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

          https://gitlab.com/qemu-project/qemu

>      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.

Likewise

>      The project does not process merge requests filed on GitHub.
>  
>      QEMU welcomes contributions of code (either fixing bugs or adding new

Regards,
Daniel
-- 
|: 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 :|



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org
  2021-01-11 11:50 ` [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org Stefan Hajnoczi
@ 2021-01-11 12:16   ` Philippe Mathieu-Daudé
  2021-01-12  7:54   ` Thomas Huth
  1 sibling, 0 replies; 20+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-11 12:16 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

On 1/11/21 12:50 PM, Stefan Hajnoczi wrote:
> 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 <stefanha@redhat.com>
> ---
>  .gitmodules | 44 ++++++++++++++++++++++----------------------
>  1 file changed, 22 insertions(+), 22 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command
  2021-01-11 11:50 ` [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command Stefan Hajnoczi
@ 2021-01-11 12:16   ` Philippe Mathieu-Daudé
  2021-01-12  7:55   ` Thomas Huth
  1 sibling, 0 replies; 20+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-11 12:16 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

On 1/11/21 12:50 PM, Stefan Hajnoczi wrote:
> 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 <stefanha@redhat.com>
> ---
>  .gitlab-ci.yml | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 6/6] get_maintainer: update repo URL to GitLab
  2021-01-11 11:50 ` [PATCH 6/6] get_maintainer: update repo URL " Stefan Hajnoczi
@ 2021-01-11 12:18   ` Philippe Mathieu-Daudé
  2021-01-12  8:01   ` Thomas Huth
  1 sibling, 0 replies; 20+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-11 12:18 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

On 1/11/21 12:50 PM, Stefan Hajnoczi wrote:
> 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 <stefanha@redhat.com>
> ---
>  scripts/get_maintainer.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 0/6] Update git repo URLs to GitLab
  2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
                   ` (5 preceding siblings ...)
  2021-01-11 11:50 ` [PATCH 6/6] get_maintainer: update repo URL " Stefan Hajnoczi
@ 2021-01-11 14:50 ` Wainer dos Santos Moschetta
  2021-01-21 14:56 ` Stefan Hajnoczi
  7 siblings, 0 replies; 20+ messages in thread
From: Wainer dos Santos Moschetta @ 2021-01-11 14:50 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Paolo Bonzini, Alex Bennée

Hi,

On 1/11/21 8:50 AM, Stefan Hajnoczi wrote:
> 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(-)
>
There will be needed to change the description of all repos on GitLab, 
they are said mirrors still.

For this entire series:

Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>

Thanks!



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo
  2021-01-11 11:51   ` Daniel P. Berrangé
@ 2021-01-12  7:49     ` Thomas Huth
  2021-01-12 10:33       ` Stefan Hajnoczi
  0 siblings, 1 reply; 20+ messages in thread
From: Thomas Huth @ 2021-01-12  7:49 UTC (permalink / raw)
  To: Daniel P. Berrangé, Stefan Hajnoczi
  Cc: Fam Zheng, Peter Maydell, Philippe Mathieu-Daudé,
	qemu-devel, Wainer dos Santos Moschetta, Paolo Bonzini,
	Alex Bennée

On 11/01/2021 12.51, Daniel P. Berrangé wrote:
> On Mon, Jan 11, 2021 at 11:50:12AM +0000, Stefan Hajnoczi wrote:
>> Use the GitLab repo URL as the main repo location in order to reduce
>> load on qemu.org.
>>
>> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
>> ---
>>   .github/lockdown.yml | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/.github/lockdown.yml b/.github/lockdown.yml
>> index 9acc393f1c..07fc2f31ee 100644
>> --- a/.github/lockdown.yml
>> +++ b/.github/lockdown.yml
>> @@ -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
> 
>            https://gitlab.com/qemu-project/qemu

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.

Reviewed-by: Thomas Huth <thuth@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org
  2021-01-11 11:50 ` [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org Stefan Hajnoczi
  2021-01-11 12:16   ` Philippe Mathieu-Daudé
@ 2021-01-12  7:54   ` Thomas Huth
  1 sibling, 0 replies; 20+ messages in thread
From: Thomas Huth @ 2021-01-12  7:54 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

On 11/01/2021 12.50, Stefan Hajnoczi wrote:
> 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 <stefanha@redhat.com>
> ---
>   .gitmodules | 44 ++++++++++++++++++++++----------------------
>   1 file changed, 22 insertions(+), 22 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command
  2021-01-11 11:50 ` [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command Stefan Hajnoczi
  2021-01-11 12:16   ` Philippe Mathieu-Daudé
@ 2021-01-12  7:55   ` Thomas Huth
  1 sibling, 0 replies; 20+ messages in thread
From: Thomas Huth @ 2021-01-12  7:55 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

On 11/01/2021 12.50, Stefan Hajnoczi wrote:
> 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 <stefanha@redhat.com>
> ---
>   .gitlab-ci.yml | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 01c9e46410..4c2a71b934 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -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
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 4/6] docs: update README to use GitLab repo URLs
  2021-01-11 11:50 ` [PATCH 4/6] docs: update README to use GitLab repo URLs Stefan Hajnoczi
@ 2021-01-12  7:56   ` Thomas Huth
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Huth @ 2021-01-12  7:56 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

On 11/01/2021 12.50, Stefan Hajnoczi wrote:
> 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 <stefanha@redhat.com>
> ---
>   README.rst | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/README.rst b/README.rst
> index 58b9f2dc15..ce39d89077 100644
> --- a/README.rst
> +++ b/README.rst
> @@ -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/>`_

Reviewed-by: Thomas Huth <thuth@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 5/6] pc-bios: update mirror URLs to GitLab
  2021-01-11 11:50 ` [PATCH 5/6] pc-bios: update mirror URLs to GitLab Stefan Hajnoczi
@ 2021-01-12  7:59   ` Thomas Huth
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Huth @ 2021-01-12  7:59 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

On 11/01/2021 12.50, Stefan Hajnoczi wrote:
> 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 <stefanha@redhat.com>
> ---
>   pc-bios/README | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/pc-bios/README b/pc-bios/README
> index 33f9754ad3..db7129ef64 100644
> --- a/pc-bios/README
> +++ b/pc-bios/README
> @@ -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
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 6/6] get_maintainer: update repo URL to GitLab
  2021-01-11 11:50 ` [PATCH 6/6] get_maintainer: update repo URL " Stefan Hajnoczi
  2021-01-11 12:18   ` Philippe Mathieu-Daudé
@ 2021-01-12  8:01   ` Thomas Huth
  1 sibling, 0 replies; 20+ messages in thread
From: Thomas Huth @ 2021-01-12  8:01 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel
  Cc: Fam Zheng, Peter Maydell, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

On 11/01/2021 12.50, Stefan Hajnoczi wrote:
> 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 <stefanha@redhat.com>
> ---
>   scripts/get_maintainer.pl | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
> index 271f5ff42a..e5499b94b4 100755
> --- a/scripts/get_maintainer.pl
> +++ b/scripts/get_maintainer.pl
> @@ -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");

Reviewed-by: Thomas Huth <thuth@redhat.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo
  2021-01-12  7:49     ` Thomas Huth
@ 2021-01-12 10:33       ` Stefan Hajnoczi
  0 siblings, 0 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-12 10:33 UTC (permalink / raw)
  To: Thomas Huth
  Cc: Fam Zheng, Peter Maydell, Daniel P. Berrangé,
	Alex Bennée, qemu-devel, Wainer dos Santos Moschetta,
	Paolo Bonzini, Philippe Mathieu-Daudé

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

On Tue, Jan 12, 2021 at 08:49:55AM +0100, Thomas Huth wrote:
> On 11/01/2021 12.51, Daniel P. Berrangé wrote:
> > On Mon, Jan 11, 2021 at 11:50:12AM +0000, Stefan Hajnoczi wrote:
> > > Use the GitLab repo URL as the main repo location in order to reduce
> > > load on qemu.org.
> > > 
> > > Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> > > ---
> > >   .github/lockdown.yml | 8 ++++----
> > >   1 file changed, 4 insertions(+), 4 deletions(-)
> > > 
> > > diff --git a/.github/lockdown.yml b/.github/lockdown.yml
> > > index 9acc393f1c..07fc2f31ee 100644
> > > --- a/.github/lockdown.yml
> > > +++ b/.github/lockdown.yml
> > > @@ -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
> > 
> >            https://gitlab.com/qemu-project/qemu
> 
> 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.
> 
> Reviewed-by: Thomas Huth <thuth@redhat.com>

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 0/6] Update git repo URLs to GitLab
  2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
                   ` (6 preceding siblings ...)
  2021-01-11 14:50 ` [PATCH 0/6] Update git repo URLs " Wainer dos Santos Moschetta
@ 2021-01-21 14:56 ` Stefan Hajnoczi
  7 siblings, 0 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2021-01-21 14:56 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Thomas Huth, Daniel Berrange,
	Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Paolo Bonzini, Alex Bennée

[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]

On Mon, Jan 11, 2021 at 11:50:11AM +0000, Stefan Hajnoczi wrote:
> 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(-)
> 
> -- 
> 2.29.2
> 

Thanks, applied to my block tree:
https://gitlab.com/stefanha/qemu/commits/block

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-01-21 14:58 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 11:50 [PATCH 0/6] Update git repo URLs to GitLab Stefan Hajnoczi
2021-01-11 11:50 ` [PATCH 1/6] .github: point Repo Lockdown bot to GitLab repo Stefan Hajnoczi
2021-01-11 11:51   ` Daniel P. Berrangé
2021-01-12  7:49     ` Thomas Huth
2021-01-12 10:33       ` Stefan Hajnoczi
2021-01-11 11:50 ` [PATCH 2/6] gitmodules: use GitLab repos instead of qemu.org Stefan Hajnoczi
2021-01-11 12:16   ` Philippe Mathieu-Daudé
2021-01-12  7:54   ` Thomas Huth
2021-01-11 11:50 ` [PATCH 3/6] gitlab-ci: remove redundant GitLab repo URL command Stefan Hajnoczi
2021-01-11 12:16   ` Philippe Mathieu-Daudé
2021-01-12  7:55   ` Thomas Huth
2021-01-11 11:50 ` [PATCH 4/6] docs: update README to use GitLab repo URLs Stefan Hajnoczi
2021-01-12  7:56   ` Thomas Huth
2021-01-11 11:50 ` [PATCH 5/6] pc-bios: update mirror URLs to GitLab Stefan Hajnoczi
2021-01-12  7:59   ` Thomas Huth
2021-01-11 11:50 ` [PATCH 6/6] get_maintainer: update repo URL " Stefan Hajnoczi
2021-01-11 12:18   ` Philippe Mathieu-Daudé
2021-01-12  8:01   ` Thomas Huth
2021-01-11 14:50 ` [PATCH 0/6] Update git repo URLs " Wainer dos Santos Moschetta
2021-01-21 14:56 ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.