[OpenAFS-devel] git+versioning proposal

Derrick Brashear shadow@gmail.com
Tue, 16 Mar 2010 00:37:55 -0400


Right now, if you grab source from a nightly or from git directly, it
claims to be the last committed version. I'd like it to claim to be
the sha1 of the last commit. this doesn't work perfectly but gives a
better idea than now.

Problem: tagged versions should be able to be regenerated and have the
version embedded in a small set of files.
Proposal: each release will be done on a branch containing just the
version number changes
Implementation: the release script takes a tagpoint. Instead it will
either know which files to update and given a sha1 to tag, branch,
make its changes, commit and tag, or do something otherwise
equivalent.

-- 
Derrick