[OpenAFS-devel] git+versioning proposal

Russ Allbery rra@stanford.edu
Mon, 15 Mar 2010 22:05:26 -0700


Derrick Brashear <shadow@gmail.com> writes:

> Fine, alternate proposal:
> Make regen.sh generate a file in the src/cf dir for any build which
> dtrt, and check in no version whatsoever?

> Plus: Works with any autoconf. can munge git describe. Can work
> backward in time.
> Minus: requires you to run regen and not guess which commands you need.
> Minus-plus: many people guess badly. If they guess badly, they're
> immediately lose.

I think this is probably the right way to go until such time as we want to
use the Autoconf-generated stuff for some reason (PACKAGE_VERSION, for
instance), which probably isn't very soon.

I don't mind requiring people run ./regen.sh instead of guessing.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>