mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
rrs/tools/rrs_upgrade_history.py: Don't take into account git recipes
without versioning. Don't detect upgrade in git recipes that don't have versioning only PV=git. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
87bef7fed5
commit
c21f32b0ea
|
@ -104,7 +104,10 @@ def _create_upgrade(recipe_data, layerbranch, ct, title, info, logger, initial=F
|
|||
(npv, _, _) = get_recipe_pv_without_srcpv(pv,
|
||||
get_pv_type(pv))
|
||||
|
||||
if vercmp_string(ppv, npv) == -1:
|
||||
if npv == 'git':
|
||||
logger.debug("%s: Avoiding upgrade to unversioned git." % \
|
||||
(recipe.pn))
|
||||
elif ppv == 'git' or vercmp_string(ppv, npv) == -1:
|
||||
if initial is True:
|
||||
logger.debug("%s: Update initial upgrade ( -> %s)." % \
|
||||
(recipe.pn, pv))
|
||||
|
|
Loading…
Reference in New Issue
Block a user