[bitbake-devel] [PATCH v1] bitbake: fetch2/git: add SRC_URI option versiontag

Rich Persaud persaur at gmail.com
Sun Dec 29 02:04:09 UTC 2019


> On Dec 4, 2019, at 04:16, pascal.huerst at gmail.com wrote:
> From: Pascal Huerst <pascal.huerst at gmail.com>
> 
> Use latest_versionstring() to find the latest tagged release for use with
> AUTOREV. This can be useful, if you want to build the latest tagged release
> instead of a branch. UPSTREAM_CHECK_GITTAGREGEX can be used to specify a
> version format.

Have you seen this approach?
https://code.ossystems.com.br/gitweb?p=meta-ossystems-base.git;a=blob;f=classes/ossystems-srcrev-handler.bbclass

For development workflows, it would be useful to override a recipe-specific branch/tag via bitbake CLI.  For production/stable release workflows, it would be useful to override a layer-specific branch/tag via bitbake CLI, which could be propagated to all recipes within the layer.   This would help when maintaining multiple versions of a layer, corresponding to multiple OE versions.

Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20191228/75e966c1/attachment.html>


More information about the bitbake-devel mailing list