[PATCH 1/7] Fix version number in a couple of places.

Ian Jackson ijackson at chiark.greenend.org.uk
Mon Aug 8 16:11:03 BST 2011


Richard Kettlewell writes ("Re: [PATCH 1/7] Fix version number in a couple of places."):
> On 04/08/2011 15:26, Ian Jackson wrote:
> > Perhaps we should have it do something involving "git-describe", iff
> > there is a .git directory, and have a tarball release process
> > which leaves a version dropping file ?
> 
> I'll have a play sometime, if nobody beats me to it.

For an example of the kind of approach I took in another project, see
here:

 http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?p=trains;a=blob;f=.git-revid;h=74037ae58d4c246dff8c4643d51c16ae8cd4a55b;hb=HEAD

used in Makefiles etc. directly, or like this:

 http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?p=trains;a=blob;f=layout/layout;h=fac0f7603488d756f4d6ae8419e72b716abc824a;hb=HEAD

(see near line 2008, or search for revid)

This was a quick-and-dirty replacement for an arrangement based on CVS
revids.

Ian.



More information about the sgo-software-discuss mailing list