[Qemu-devel] [PATCH v2 0/5] Use 'https://' instead of 'git://'

Stefan Hajnoczi posted 5 patches 5 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181102124220.26558-1-stefanha@redhat.com
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
There is a newer version of this series
MAINTAINERS               | 88 +++++++++++++++++++--------------------
.gitmodules               | 34 +++++++--------
README                    |  4 +-
pc-bios/README            |  6 +--
scripts/get_maintainer.pl |  2 +-
5 files changed, 67 insertions(+), 67 deletions(-)
[Qemu-devel] [PATCH v2 0/5] Use 'https://' instead of 'git://'
Posted by Stefan Hajnoczi 5 years, 5 months ago
v2:
 * Use HTTPS for repo.or.cz [Eric]

Jeff Cody has enabled git smart HTTP support on qemu.org.  From now on HTTPS is
the preferred protocol because it adds some protection against
man-in-the-middle when cloning a repo.

This patch series updates git:// URLs and changes them to https://.  The https:// URL format is:

  https://git.qemu.org/git/<project>.git

The old git:// URL format was:

  git://git.qemu.org/<project>.git

I have also updated git://github.com/ and repo.or.cz URLs because they offer HTTPS.

I have tested that submodules continue to work after the change to .gitmodules.

Stefan Hajnoczi (5):
  README: use 'https://' instead of 'git://'
  get_maintainer: use 'https://' instead of 'git://'
  MAINTAINERS: use 'https://' instead of 'git://' for GitHub
  gitmodules: use 'https://' instead of 'git://'
  git: use HTTPS git URLs for repo.or.cz

 MAINTAINERS               | 88 +++++++++++++++++++--------------------
 .gitmodules               | 34 +++++++--------
 README                    |  4 +-
 pc-bios/README            |  6 +--
 scripts/get_maintainer.pl |  2 +-
 5 files changed, 67 insertions(+), 67 deletions(-)

-- 
2.17.2


Re: [Qemu-devel] [PATCH v2 0/5] Use 'https://' instead of 'git://'
Posted by Eric Blake 5 years, 5 months ago
On 11/2/18 7:42 AM, Stefan Hajnoczi wrote:
> v2:
>   * Use HTTPS for repo.or.cz [Eric]
> 
> Jeff Cody has enabled git smart HTTP support on qemu.org.  From now on HTTPS is
> the preferred protocol because it adds some protection against
> man-in-the-middle when cloning a repo.
> 
> This patch series updates git:// URLs and changes them to https://.  The https:// URL format is:
> 
>    https://git.qemu.org/git/<project>.git
> 
> The old git:// URL format was:
> 
>    git://git.qemu.org/<project>.git
> 
> I have also updated git://github.com/ and repo.or.cz URLs because they offer HTTPS.
> 
> I have tested that submodules continue to work after the change to .gitmodules.
> 
> Stefan Hajnoczi (5):
>    README: use 'https://' instead of 'git://'
>    get_maintainer: use 'https://' instead of 'git://'
>    MAINTAINERS: use 'https://' instead of 'git://' for GitHub
>    gitmodules: use 'https://' instead of 'git://'
>    git: use HTTPS git URLs for repo.or.cz
> 
>   MAINTAINERS               | 88 +++++++++++++++++++--------------------
>   .gitmodules               | 34 +++++++--------
>   README                    |  4 +-
>   pc-bios/README            |  6 +--
>   scripts/get_maintainer.pl |  2 +-
>   5 files changed, 67 insertions(+), 67 deletions(-)

Other files still mentioning git://:

hw/misc/pc-testdev.c (git.kernel.org)
tests/docker/dockerfiles/debian-amd64.docker (anongit.freedesktop.org)

As I haven't regularly used either of those hosting sites, and was too 
lazy to check if I could clone with smart https:, I'll leave it to you 
to do a followup patch if we care.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org