[oe] [RFH] Support for automatic package versining using git describe
Otavio Salvador
otavio at debian.org
Fri Feb 13 10:46:15 UTC 2009
Koen Kooi <k.kooi at student.utwente.nl> writes:
> On 13-02-09 03:32, Otavio Salvador wrote:
>> Hello,
>>
>> One of nice features we've been using is the git-describe to get
>> versions based on tags; many projects are using it to name the
>> development releases and it does give a better view of how diverged it
>> from last released version.
>>
>> So we're looking for a way to use it to generate the PV based on
>> that. The current git fetcher already has the required support to get
>> tags, so we can use it as SRCREV, but not yet to use git-describe.
>
> Do you have any examples of the output?
Sure:
otavio at neumann:~/hacking/ossystems/toscoterm$ git describe
0.1-1-gd834119
Basically this can be read as:
- last version was 0.1
- since that we've done 1 commit
- the sha1sum of it is d834119 (g is always included before it)
Cheers,
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio at debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
More information about the Openembedded-devel
mailing list