[oe] [RFH] Support for automatic package versining using git describe
Mario Domenech Goulart
mario at ossystems.com.br
Thu Mar 5 21:31:05 UTC 2009
On Thu, 05 Mar 2009 10:43:04 -0300 Otavio Salvador <otavio at ossystems.com.br> wrote:
> Mario Domenech Goulart <mario at ossystems.com.br> writes:
>
>> Index: lib/bb/fetch/git.py
>> ===================================================================
>> --- lib/bb/fetch/git.py (revision 1152)
>> +++ lib/bb/fetch/git.py (working copy)
>> @@ -42,11 +42,12 @@
>> ud.proto = ud.parm['protocol']
>>
>> ud.branch = ud.parm.get("branch", "master")
>> + ud.tag = None
>>
>> tag = Fetch.srcrev_internal_helper(ud, d)
>> if tag is True:
>> ud.tag = self.latest_revision(url, ud, d)
>> - elif tag:
>> + elif tag and tag != "1":
>> ud.tag = tag
>>
>> if not ud.tag or ud.tag == "master":
>
> [...]
>
> Please drop this hook since it is our internal workaround for the lack
> of the AUTOREV in our recipes.
Sure. Attached is the new patch.
Best wishes.
Mario
-------------- next part --------------
A non-text attachment was scrubbed...
Name: describe-revision2.diff
Type: text/x-diff
Size: 4248 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090305/005778cf/attachment-0002.bin>
More information about the Openembedded-devel
mailing list