Paul Eggert wrote:
> See, for example:
> 
> https://thecontentauthority.com/blog/clonable-vs-cloneable

Wow, that's a long writeup!

> which says both "Cloneable is a misspelling of the word clonable, which 
> refers to an object that can be cloned or copied in its entirety." and 
> "'Cloneable,' on the other hand, is the correct spelling and is widely 
> accepted in both British and American English." (!)

I directly jumped to the summary table which specifically talks about
software development, as opposed to e.g. biotechnology.

> In this particular context the word doesn't add enough useful info to be 
> worth the spelling discordance, so I removed it by installing the attached.

Hmm, this is not good either.

The gnulib repository has 4 URLs, namely
  https://git.savannah.gnu.org/gitweb/?p=gnulib.git  -- 'git clone' fails
  https://git.savannah.gnu.org/cgit/gnulib.git/      -- 'git clone' fails
  https://git.savannah.gnu.org/git/gnulib.git        -- 'git clone' ok
  ssh://u...@git.savannah.gnu.org/srv/git/gnulib     -- 'git clone' ok

For the purposes of 'bootstrap', which uses git commands, only the last two
work. How do we discourage / prevent the user from setting GNULIB_URL to
one among the first two? If you don't want to see the word "cloneable",
we need another way.

The fourth one works only for a small set of people. Therefore we can
give the third one as example; incidentally, it's also the default.
Done through the patch below.

Bruno


>From 32ac0e0018cc5a3a4ae53c6c79f551a4463b35a9 Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Tue, 29 Aug 2023 23:34:34 +0200
Subject: [PATCH] bootstrap: Try to prevent the user from setting GNULIB_URL to
 a wrong value.

* top/bootstrap-funclib.sh: Explain GNULIB_URL better.
* top/bootstrap: Likewise.
* build-aux/bootstrap: Likewise.
---
 build-aux/bootstrap      | 10 +++++++---
 top/bootstrap            |  6 ++++--
 top/bootstrap-funclib.sh |  6 ++++--
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index e44b502249..979b3af62e 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -3,7 +3,7 @@
 
 # Bootstrap this package from checked-out sources.
 
-scriptversion=2023-08-29.20; # UTC
+scriptversion=2023-08-29.21; # UTC
 
 # Copyright (C) 2003-2023 Free Software Foundation, Inc.
 #
@@ -659,7 +659,9 @@ Optional environment variables:
                            Use this if you already have gnulib sources
                            and history on your machine, and do not want
                            to waste your bandwidth downloading them again.
-  GNULIB_URL               URL of the gnulib repository.
+  GNULIB_URL               URL of the gnulib repository.  The default is
+                           $default_gnulib_url,
+                           which is Gnulib's upstream repository.
 
 Options:
   --bootstrap-sync         if this bootstrap script is not identical to
@@ -1347,7 +1349,9 @@ Optional environment variables:
                            have gnulib sources on your machine, and
                            do not want to waste your bandwidth downloading
                            them again.
-  GNULIB_URL               URL of the gnulib repository.
+  GNULIB_URL               URL of the gnulib repository.  The default is
+                           $default_gnulib_url,
+                           which is Gnulib's upstream repository.
 
 Options:
 
diff --git a/top/bootstrap b/top/bootstrap
index f61299a513..6c170d35de 100755
--- a/top/bootstrap
+++ b/top/bootstrap
@@ -1,7 +1,7 @@
 #! /bin/sh
 # Bootstrap this package from checked-out sources.
 
-scriptversion=2023-08-29.20; # UTC
+scriptversion=2023-08-29.21; # UTC
 
 # Copyright (C) 2003-2023 Free Software Foundation, Inc.
 #
@@ -45,7 +45,9 @@ Optional environment variables:
                            have gnulib sources on your machine, and
                            do not want to waste your bandwidth downloading
                            them again.
-  GNULIB_URL               URL of the gnulib repository.
+  GNULIB_URL               URL of the gnulib repository.  The default is
+                           $default_gnulib_url,
+                           which is Gnulib's upstream repository.
 
 Options:
 
diff --git a/top/bootstrap-funclib.sh b/top/bootstrap-funclib.sh
index 496beea45c..54deea66a2 100644
--- a/top/bootstrap-funclib.sh
+++ b/top/bootstrap-funclib.sh
@@ -1,6 +1,6 @@
 # A library of shell functions for autopull.sh, autogen.sh, and bootstrap.
 
-scriptlibversion=2023-08-29.20; # UTC
+scriptlibversion=2023-08-29.21; # UTC
 
 # Copyright (C) 2003-2023 Free Software Foundation, Inc.
 #
@@ -622,7 +622,9 @@ Optional environment variables:
                            Use this if you already have gnulib sources
                            and history on your machine, and do not want
                            to waste your bandwidth downloading them again.
-  GNULIB_URL               URL of the gnulib repository.
+  GNULIB_URL               URL of the gnulib repository.  The default is
+                           $default_gnulib_url,
+                           which is Gnulib's upstream repository.
 
 Options:
   --bootstrap-sync         if this bootstrap script is not identical to
-- 
2.34.1

Reply via email to