bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Use https:// instead of git://.


From: Jeffrey Walton
Subject: Re: [PATCH] Use https:// instead of git://.
Date: Sat, 9 Jan 2021 20:58:39 -0500

On Sat, Jan 9, 2021 at 7:10 PM Simon Josefsson via Gnulib discussion
list <bug-gnulib@gnu.org> wrote:
>
> I have pushed this, and I also updated the link from
> https://www.gnu.org/software/gnulib/
>
> /Simon
>
> * build-aux/bootstrap (default_gnulib_url): Ditto.
> * config/srclistvars.sh: Ditto.
> * doc/gnulib-readme.texi (Git Checkout): Ditto.
> * doc/gnulib-tool.texi (VCS Issues): Ditto.
> * top/gitsub.sh: Update link.
> ---
>  ChangeLog              | 9 +++++++++
>  build-aux/bootstrap    | 4 ++--
>  config/srclistvars.sh  | 2 +-
>  doc/gnulib-readme.texi | 6 +++---
>  doc/gnulib-tool.texi   | 2 +-
>  top/gitsub.sh          | 6 +++---
>  6 files changed, 19 insertions(+), 10 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 4329b81d9..aad572748 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,12 @@
> +2021-01-10  Simon Josefsson  <simon@josefsson.org>
> +
> +       Use https:// instead of git://.
> +       * build-aux/bootstrap (default_gnulib_url): Ditto.
> +       * config/srclistvars.sh: Ditto.
> +       * doc/gnulib-readme.texi (Git Checkout): Ditto.
> +       * doc/gnulib-tool.texi (VCS Issues): Ditto.
> +       * top/gitsub.sh: Update link.
> +
>  2021-01-09  Paul Eggert  <eggert@cs.ucla.edu>
>
>         snippet/_Noreturn: port to pedantic clang
> diff --git a/build-aux/bootstrap b/build-aux/bootstrap
> index 8a61c1a58..c17a36f1f 100755
> --- a/build-aux/bootstrap
> +++ b/build-aux/bootstrap
> @@ -1,6 +1,6 @@
>  #! /bin/sh
>  # Print a version string.
> -scriptversion=2021-01-08.10; # UTC
> +scriptversion=2021-01-10.00; # UTC
>
>  # Bootstrap this package from checked-out sources.
>
> @@ -47,7 +47,7 @@ PERL="${PERL-perl}"
>
>  me=$0
>
> -default_gnulib_url=git://git.sv.gnu.org/gnulib
> +default_gnulib_url=https://git.savannah.gnu.org/git/gnulib.git
>
>  usage() {
>    cat <<EOF
> diff --git a/config/srclistvars.sh b/config/srclistvars.sh
> index aabcd1489..c1d97e0e5 100755
> --- a/config/srclistvars.sh
> +++ b/config/srclistvars.sh
> @@ -34,6 +34,6 @@ esac
>  : ${GNUSTANDARDS=../gnustandards}
>  : ${GNUWWWLICENSES=../www/www/licenses}
>  : ${LIBCSRC=../libc}
> -: ${LIBGCRYPT=../libgcrypt} # git://git.gnupg.org/libgcrypt.git
> +: ${LIBGCRYPT=../libgcrypt} # https://dev.gnupg.org/source/libgcrypt.git
>  : ${LIBTOOL=../libtool}
>  : ${TEXINFOTEX=../../ftp.gnu.org/gnu/texinfo}
> diff --git a/doc/gnulib-readme.texi b/doc/gnulib-readme.texi
> index 85750148c..0a32f980c 100644
> --- a/doc/gnulib-readme.texi
> +++ b/doc/gnulib-readme.texi
> @@ -53,14 +53,14 @@ Gnulib is available for anonymous checkout.  In any 
> Bourne-shell the
>  following should work:
>
>  @example
> -$ git clone git://git.sv.gnu.org/gnulib.git
> +$ git clone https://git.savannah.gnu.org/git/gnulib.git
>  @end example
>
>  For a read-write checkout you need to have a login on
>  @samp{savannah.gnu.org} and be a member of the Gnulib project at
>  @url{https://savannah.gnu.org/projects/gnulib}.  Then, instead of the
> -URL @url{git://git.sv.gnu.org/gnulib}, use the URL
> -@samp{ssh://@var{user}@@git.sv.gnu.org/srv/git/gnulib} where
> +URL @url{https://git.savannah.gnu.org/git/gnulib.git}, use the URL
> +@samp{ssh://@var{user}@@git.savannah.gnu.org/srv/git/gnulib} where
>  @var{user} is your login name on savannah.gnu.org.
>
>  git resources:
> diff --git a/doc/gnulib-tool.texi b/doc/gnulib-tool.texi
> index f3b034f85..97881f136 100644
> --- a/doc/gnulib-tool.texi
> +++ b/doc/gnulib-tool.texi
> @@ -959,7 +959,7 @@ in the directory @file{.gnulib}:
>
>  @smallexample
>  $ dir=.gnulib
> -$ git submodule add -- git://git.sv.gnu.org/gnulib.git $dir
> +$ git submodule add -- https://git.savannah.gnu.org/git/gnulib.git $dir
>  $ git config alias.syncsub "submodule foreach git pull origin master"
>  @end smallexample
>
> diff --git a/top/gitsub.sh b/top/gitsub.sh
> index 172044ce2..de6cb828e 100755
> --- a/top/gitsub.sh
> +++ b/top/gitsub.sh
> @@ -59,18 +59,18 @@
>  #   <https://git-scm.com/docs/gitmodules>.  For example:
>  #
>  #       [submodule "gnulib"]
> -#               url = git://git.savannah.gnu.org/gnulib.git
> +#               url = https://git.savannah.gnu.org/git/gnulib.git
>  #               path = gnulib
>  #
>  #   You don't add this piece of configuration to .gitmodules manually.  
> Instead,
>  #   you would invoke
> -#     $ git submodule add --name "gnulib" -- 
> git://git.savannah.gnu.org/gnulib.git gnulib
> +#     $ git submodule add --name "gnulib" -- 
> https://git.savannah.gnu.org/git/gnulib.git
>  #
>  # * The subdirectories that are not git submodules, in a similar syntax.  For
>  #   example:
>  #
>  #       [subcheckout "gnulib"]
> -#               url = git://git.savannah.gnu.org/gnulib.git
> +#               url = https://git.savannah.gnu.org/git/gnulib.git gnulib
>  #               path = gnulib

This may cause trouble for some of the machines on the compile farm.

The problem is, Git is old and cacerts are beyond their shelf life.
Trying to checkout with https:// fails. The CFarm admins tell users to
checkout using git:// instead.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]