[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Update bootstrap to use the correct CVS path to fetch the la
From: |
Jim Meyering |
Subject: |
Re: [PATCH] Update bootstrap to use the correct CVS path to fetch the latest gnulib sources. |
Date: |
Wed, 24 Oct 2007 22:16:25 +0200 |
Jim Meyering <address@hidden> wrote:
> Micah Cowan <address@hidden> wrote:
>> Micah Cowan wrote:
>>> cvs.savannah.gnu.org is no longer kept up-to-date, and should not be
>>> used to obtain the latest gnulib sources; the CVS interface to the git
>>> repo, at pserver.git.sv.gnu.org, should be used instead (or else just
>>> use git).
>>
>> I ran into this when I ran "cd po; make coreutils.pot" on bleeding-edge
>> coreutils, just after having done a bootstrap and configure.
>>
>> bootstrap was fetching the latest gnulib sources from the now-defunct
>> CVS repository, and thus was not getting xprintf (which is in
>> POTFILES.in). Specifying --gnulib-srcdir to point at my local copy did
>> the trick.
>>
>> It might well be preferable to grab it using git now, instead of the CVS
>
> Thanks for the suggestion.
> I'm definitely going to use git.
> Here's what I'm about to commit:
>
> git clone --depth 2 git://git.sv.gnu.org/gnulib ||
> cleanup_gnulib
>
> That "--depth 2" is to create what's called a shallow clone.
> No need to download all that history.
Here's the patch:
(it also sync's a comment change from gnulib)
2007-10-24 Jim Meyering <address@hidden>
+ Get gnulib from the git repository, not from an obsolete cvs one.
+ * bootstrap: Suggestion from Micah Cowan.
+
Doc improvements.
* README-hacking: Prefer the no-hyphen variant of git commands,
e.g., use "git pull" not "git-pull".
diff --git a/bootstrap b/bootstrap
index aa86d3d..22e3a41 100755
--- a/bootstrap
+++ b/bootstrap
@@ -23,7 +23,6 @@ nl='
'
# Ensure file names are sorted consistently across platforms.
-# Also, ensure diagnostics are in English, e.g., "wget --help" below.
LC_ALL=C
export LC_ALL
@@ -243,7 +242,7 @@ case ${GNULIB_SRCDIR--} in
trap cleanup_gnulib 1 2 13 15
- cvs -z3 -q -d ${CVS_PREFIX}cvs.savannah.gnu.org:/cvsroot/gnulib co gnulib
||
+ git clone --depth 2 git://git.sv.gnu.org/gnulib ||
cleanup_gnulib
trap - 1 2 13 15