[mythtv-users] Format of mythtv --version?

Karl Newman siliconfiend at gmail.com
Fri Aug 31 18:00:59 UTC 2012


On Fri, Aug 31, 2012 at 9:57 AM, Karl Newman <siliconfiend at gmail.com> wrote:
> On Fri, Aug 31, 2012 at 9:16 AM, John Pilkington <J.Pilk at tesco.net> wrote:
>> On 31/08/12 17:07, Karl Newman wrote:
>>>
>>> I'm working on updating my Gentoo ebuilds (which are based on the
>>> MythTV/packaging repository). One line in there is
>>> MYTHTV_VERSION="v0.25.1-58-g1d41f74" I understand the first part (main
>>> version) and the last part (short git commit id), but what is the
>>> integer in the middle supposed to be for? I searched the wiki (and
>>> elsewhere) but couldn't find an answer about the format. It's not
>>> crucial for getting a working system, but I'd like it to be correct if
>>> I have to report any issues.
>>>
>>> Thanks,
>>>
>>> Karl
>>
>>
>> AIUI it's the number of commits since 0.25.1
>>
> Ah, that makes sense. Since the ebuild generator script went away due
> to API obsolescence (still waiting on an update...), is there any way
> for a human to find that number quickly? And aren't we on 0.25.2 now?
> (I'm not sure when that got tagged).
>
> Thanks,
>
> Karl

Ah, I found it. git describe <commit-id> outputs the exact format of
MYTHTV_VERSION.

Karl


More information about the mythtv-users mailing list