automake
[Top][All Lists]
Advanced

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

Re: RFE: allow for computed version number


From: Bob Friesenhahn
Subject: Re: RFE: allow for computed version number
Date: Thu, 4 Jun 2009 10:50:05 -0500 (CDT)

On Thu, 4 Jun 2009, Ralf Wildenhues wrote:

You could then experiment with suitable rules to keep the file up to
date, depending on the VCS.  VCS hooks could ensure to update (or
remove, or otherwise outdate) the file.  All rules that need the version
can just depend upon the file, and read from it afterwards, that nicely
avoids any duplicate work.  The file should conceptually live in the
source tree as it is a source property not a build one (though newline
encoding may make this a bit ugly for cross-platform mounts).
Maintainer mode could even be used to avoid updates to this file.

What do you think of this approach?

Doesn't any approach which depends on an automatically generated file assure that the version control system is one step out of date? Every time you do a 'commit' the version file is one step newer and therefore needs to be committed.

VCS hooks depend on the ability of the version control system, and the package owner's ability to maintain the version control system.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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