On Mon, 2011-10-10 at 08:51 +0100, JasonW wrote:
> On 10 October 2011 01:25, Nigel Taylor <[email protected]> wrote:
> > On 10/09/11 17:13, bat guano wrote:
> 
> >> I think that would be a good feature.
> >> Some programs (such as FFmpeg-git) show the 'commit'.
> 
> 
> > Releases should be made regardless of the windows installer, then should
> > windows fall behind and window users have to resort to getting the
> > get_iplayer script. The version would have been updated for release to
> > other platforms allowing identification by version number.
> 
> But this isn't about releases (at least in my mind) - hence the
> suggestion to add the commit date to the version number in git - so a
> release would have no commit date, interim patched versions would.
> 
> Example the next release would be 2.81, the patch beyond that would be
> 2.81.111225 (if it's committed on Christmas Day)

There's already a standard form for such things:

[dwmw2@shinybook get_iplayer]$ git describe --tags
v2.80-6-g2e3e239

For the case where you've actually got the git repository checked out,
it's probably not hard to print the version in that form.

-- 
dwmw2

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
get_iplayer mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to