[bitbake-devel] [PATCH 0/2] bitbake: fetch2: Add sanity check for SHA validity of tag and adjust SHA define order

zhenhua.luo at freescale.com zhenhua.luo at freescale.com
Fri Jan 3 02:12:24 UTC 2014


Any comment on the patch to support SHA validate of tag?


Best Regards,

Zhenhua

> -----Original Message-----
> From: Zhenhua Luo [mailto:zhenhua.luo at freescale.com]
> Sent: Tuesday, December 24, 2013 4:07 PM
> To: bitbake-devel at lists.openembedded.org
> Cc: Liu Ting-B28495; Yu Zongchun-B40527; Guo Chunrong-B40290; Luo
> Zhenhua-B19537
> Subject: [PATCH 0/2] bitbake: fetch2: Add sanity check for SHA validity
> of tag and adjust SHA define order
> 
> * Add the sanity check for SHA valididy when tag is defined in SRC_URI,
> the check is useful for rebased git tree in which the referred commit is
> not valid in branch and is saved in tag.
> 
> * To allign with above change, the priority of revision needs to be
> adjusted as following, otherwise SHA defined by SRCREV will be overriden
> by rev/tag defined by SRC_URI.
>   a) a source revision if SHA is specified by SRCREV
>   b) a source revision if revision is specified in SRC_URI
>   c) latest revision if SRCREV="AUTOINC"
>   d) None if not specified
> 
> Zhenhua Luo (2):
>   bitbake: fetch2/git: Add sanity check for SHA validity of tag
>   bitbake: fetch2: adjust the priority of revision definition
> 
>  lib/bb/fetch2/__init__.py | 19 ++++++++++---------
>  lib/bb/fetch2/git.py      | 29 +++++++++++++++++++++++++++--
>  2 files changed, 37 insertions(+), 11 deletions(-)
> 
> --
> 1.8.4.2
> 




More information about the bitbake-devel mailing list