[oe] [RFH] Support for automatic package versining using git describe

Koen Kooi k.kooi at student.utwente.nl
Thu Mar 5 21:37:27 UTC 2009


Sorry for top-posting, but I can't find a good point to hook into.

I have a few general questions:

1) what happens when DLDIR and TMPDIR are empty (e.g. first build)
2) does it need a netconnections at any point?
3) do you have any examples how output looks before and after your patch?

I'd also like to hear RPs and zeckes opinion in this

regards,

Koen

On 05-03-09 22:31, Mario Domenech Goulart wrote:
> 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
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel






More information about the Openembedded-devel mailing list