[Top][All Lists]

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

Re: git checkout

From: Eric Blake
Subject: Re: git checkout
Date: Tue, 26 Jan 2010 05:56:21 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20090812 Thunderbird/ Mnenhy/

[adding bug-gnulib, as owner of the git-version-gen script]

According to Paolo Bonzini on 1/26/2010 3:24 AM:
> On 01/24/2010 10:01 AM, Ralf Wildenhues wrote:
>> Somehow a git (tarball?[1]) checkout of Autoconf sometimes manages to
>> get a version of UNKNOWN into its .version file.  Presumably that is on
>> systems without git installed (or listed as dependency).  See on the
>> hydra build:<http://hydra.nixos.org/build/256086>
>> My point is, the error that follows is quite unintuitive, and the issue
>> itself is worth fixing, too, I guess.
> True.
>> Maybe store in git a file
>> containing at least the latest stable release number, so we can fall
>> back to something like 2.65-dirty rather than UNKNOWN?
> You can get it from
> sed -e '/.*changes in Autoconf \([^( ]*\) ([^?].*/!d;s//\1/;q' NEWS

Or more simply, cat .prev-version

Perhaps this is something that build-aux/git-version-gen should attempt to
use as a fallback before returning UNKNOWN?

Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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