[mythtv-users] git & wiki
Jarod Wilson
jarod at wilsonet.com
Thu Dec 9 03:17:45 UTC 2010
On Dec 8, 2010, at 9:03 PM, Ian Kent wrote:
> On Wed, 2010-12-08 at 11:13 -0500, Jarod Wilson wrote:
>> On Dec 8, 2010, at 10:10 AM, Udo van den Heuvel wrote:
>>
...
>>
>>>>> Other git tools get things right when the first
>>>>> 8 digits is provided and there hasn't been any time that I have tried to
>>>>> use just the first 8 digits that has not returned the commit I was
>>>>> after.
>>>
>>> OK, that is helpful info!
>>
>> git describe gives you a minimal hash that is guaranteed to be unique.
>> If more than 8 characters are needed, it'll give 'em to you.
>
> But won't a variable length commit number cause havoc with things like
> rpm version comparisons.
Not if done correctly, per Fedora's packaging guidelines.
> I guess there's a need to ensure that the
> version string components used allow for a previous component that is
> always increasing.
See:
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Release_Tag
--
Jarod Wilson
jarod at wilsonet.com
More information about the mythtv-users
mailing list