Re: gnulib bootstrap and git submodules

2010-03-20 Thread Dmitry V. Levin
Hi, On Mon, Feb 22, 2010 at 03:58:19PM -0700, Eric Blake wrote: [...] > Here's the next three patches I had to add on top of the previously posted > one. With this series, I was able to copy the new bootstrap to libvirt > and still get everything there to work correctly (patch to libvirt list to

Re: gnulib bootstrap and git submodules

2010-02-24 Thread Eric Blake
- "Jim Meyering" wrote: > > +# time-stamp-end: "; # UTC" > > Those look fine. > Though you might want to drop the semicolon in each. Oh well, I already pushed with the semicolon. At least this way, all of the timestamped scripts in build-aux have the same formatting, regardless of sh vs. pe

Re: gnulib bootstrap and git submodules

2010-02-24 Thread Jim Meyering
Eric Blake wrote: > And adding timestamps aids in tracking whether projects are using the > latest bootstrap. That seems useful. ... > Subject: [PATCH] bootstrap, git-version-gen: use timestamp > > Timestamps are useful, particularly for files copied into other > packages, to see how long since a

Re: gnulib bootstrap and git submodules

2010-02-24 Thread Eric Blake
According to Eric Blake on 2/24/2010 9:54 AM: > Libvirt came up with the compelling reason - Fedora Core 11 only has > 1.6.2.5, and RPEL 5 is back at git 1.5.5. This should fix it, by > borrowing ideas from m4's bootstrap script. And adding timestamps aids in tracking whether projects are using t

Re: gnulib bootstrap and git submodules

2010-02-24 Thread Jim Meyering
Eric Blake wrote: > According to Jim Meyering on 2/17/2010 10:21 AM: >>> or should we just assume that git 1.6.4 or newer is widespread enough to >>> not be worth the hassle? >> >> I'd prefer to assume git 1.6.4 to keep things simpler, at least until >> someone comes up with a compelling reason to

Re: gnulib bootstrap and git submodules

2010-02-24 Thread Eric Blake
According to Jim Meyering on 2/17/2010 10:21 AM: >> or should we just assume that git 1.6.4 or newer is widespread enough to >> not be worth the hassle? > > I'd prefer to assume git 1.6.4 to keep things simpler, at least until > someone comes up with a compelling reason to add code to support olde

Re: gnulib bootstrap and git submodules

2010-02-22 Thread Eric Blake
According to Eric Blake on 2/22/2010 9:28 AM: > According to Eric Blake on 2/17/2010 1:20 PM: >> Here's my first cut at it. >> >> From: Eric Blake >> Date: Wed, 17 Feb 2010 11:42:16 -0700 >> Subject: [PATCH] bootstrap: use GNULIB_SRCDIR to reduce disk usage > > I was about to push this as-is, but

Re: gnulib bootstrap and git submodules

2010-02-22 Thread Eric Blake
According to Eric Blake on 2/17/2010 1:20 PM: > Here's my first cut at it. > > From: Eric Blake > Date: Wed, 17 Feb 2010 11:42:16 -0700 > Subject: [PATCH] bootstrap: use GNULIB_SRCDIR to reduce disk usage I was about to push this as-is, but noticed that libvirt stores the submodule as ".gnulib",

Re: gnulib bootstrap and git submodules

2010-02-17 Thread Paolo Bonzini
On 02/17/2010 09:20 PM, Eric Blake wrote: -git_modules_config --replace-all submodule.gnulib.url $GNULIB_SRCDIR I think this was definitely wrong. .git/config overrides .gitmodules exactly so that you can place submodule.*.url entries there that point to local repositories. --reference

Re: gnulib bootstrap and git submodules

2010-02-17 Thread Eric Blake
According to Paolo Bonzini on 2/17/2010 10:10 AM: > On 02/17/2010 02:57 PM, Eric Blake wrote: > > Any objections? > > Where is the patch? > Here's my first cut at it. Beware that it is a slight semantic change from Jim's commit 9efa515ce last November; but I actually prefer my semantics. With Ji

Re: gnulib bootstrap and git submodules

2010-02-17 Thread Jim Meyering
Eric Blake wrote: > git 1.6.4 learned 'git submodule add --reference dir' as a means to make > initializing git submodules use (MUCH) less bandwidth and disk space by > borrowing references from an existing on-disk repository, rather than > cloning from scratch. I would like to modify the bootstra

Re: gnulib bootstrap and git submodules

2010-02-17 Thread Paolo Bonzini
On 02/17/2010 02:57 PM, Eric Blake wrote: Any objections? Where is the patch? ;-) Paolo

gnulib bootstrap and git submodules

2010-02-17 Thread Eric Blake
git 1.6.4 learned 'git submodule add --reference dir' as a means to make initializing git submodules use (MUCH) less bandwidth and disk space by borrowing references from an existing on-disk repository, rather than cloning from scratch. I would like to modify the bootstrap script to honor $GNULIB_