OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-337-g5158766

Gerrit Code Review gerrit@openafs.org
Mon, 28 Jun 2010 15:20:09 -0700 (PDT)


The following commit has been merged in the master branch:
commit 5158766dce97570e51fc3abb2c8b3405fe7c299e
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Sat Jun 26 19:35:18 2010 +0100

    Use git describe to determine build version
    
    This patch makes the configure and build system use the output
    from 'git describe' to determine the version of the software being
    built. This means that all that is necessary to create a new release
    is to tag the repository - removing the double sources of version
    information.
    
    There are a couple of fallbacks for systems which do not have git
    available for builds. Firstly, if a file called '.version' exists
    in the top level of the repository, then the version information is
    pulled from this file. The intention is that those packaging up
    git checkouts for onwards distribution will use
    'git describe > .version' before producing their tarballs.
    
    Secondly, if we cannot find any version information then the version
    will default to 'UNKNOWN'
    
    This all mirrors the way that many others have integrated git with
    automake and friends - although the implementation is independent.
    
    Change-Id: I7fa4605e52181d60657ad794ca8efdb5a9fb1449
    Reviewed-on: http://gerrit.openafs.org/1824
    Tested-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Russ Allbery <rra@stanford.edu>

 .gitignore                           |    1 +
 build-tools/git-version              |   21 +++++++++++++++++++++
 build-tools/libafsdep                |    1 +
 configure-libafs.in                  |    2 +-
 configure.in                         |    2 +-
 src/config/Makefile.version-NOCML.in |   13 +++++++------
 src/config/make_libafs_tree.pl       |    2 ++
 7 files changed, 34 insertions(+), 8 deletions(-)

-- 
OpenAFS Master Repository