[oe] [RFH] Support for automatic package versining using git describe
Otavio Salvador
otavio at ossystems.com.br
Thu Mar 5 13:43:04 UTC 2009
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.
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
More information about the Openembedded-devel
mailing list