Re: RFC: Moving grabber versioning away from CVS $Id$

Robert Eden <[email protected]> Tue, 7 Mar 2017 12:37:55 -0600
Newsgroups gmane.comp.tv.xmltv.devel
Message-ID <[email protected]>
On 3/7/2017 10:09 AM, Nick Morrott wrote:
> With a future move away from CVS, grabbers will lose the ability to
> use the CVS "$Id$" file version tag, which is heavily used at the
> moment to provide data for $grabber --version.
>
> I want to start the discussion to see if there is a consensus to move
> grabbers away from using the hardcoded CVS $Id$ tag to a more regular
> internal version number that is manually incremented after a grabber
> is updated.
I think an automatic file version or commit# is very useful in our 
situation.

I'm not a git wizard, but it seems like it could be done with a 
pre-commit script, but that may not work in practice as everyone would 
have their own git install.

How is it normally done in the git world?  A date would be fine as well.

Robert


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford