Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH 0/2] bitbake: fetch2: Add sanity check for SHA validity of tag and adjust SHA define order
@ 2013-12-24  8:06 Zhenhua Luo
  2013-12-24  8:06 ` [PATCH 1/2] bitbake: fetch2/git: Add sanity check for SHA validity of tag Zhenhua Luo
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Zhenhua Luo @ 2013-12-24  8:06 UTC (permalink / raw)
  To: bitbake-devel; +Cc: b40290, b40527

* 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




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-01-20 21:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-24  8:06 [PATCH 0/2] bitbake: fetch2: Add sanity check for SHA validity of tag and adjust SHA define order Zhenhua Luo
2013-12-24  8:06 ` [PATCH 1/2] bitbake: fetch2/git: Add sanity check for SHA validity of tag Zhenhua Luo
2014-01-03 13:43   ` Martin Jansa
2014-01-06  4:25     ` zhenhua.luo
2014-01-06  9:12       ` Martin Jansa
2014-01-07  3:29         ` zhenhua.luo
2014-01-07 14:46           ` Martin Jansa
2014-01-08 10:21             ` zhenhua.luo
2014-01-08 11:32               ` Martin Jansa
2014-01-08 12:43                 ` Richard Purdie
2014-01-20 21:14                   ` Richard Purdie
2013-12-24  8:06 ` [PATCH 2/2] bitbake: fetch2: adjust the priority of revision definition Zhenhua Luo
2014-01-03  2:12 ` [PATCH 0/2] bitbake: fetch2: Add sanity check for SHA validity of tag and adjust SHA define order zhenhua.luo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox