[yocto] [PATCH 10/10][auh] upgradehelper: Add support for generate buildhistory recipe diff's

Paul Eggleton paul.eggleton at linux.intel.com
Fri Jul 31 08:29:41 PDT 2015


Hi Aníbal,

On Wednesday 29 July 2015 15:50:53 Aníbal Limón wrote:
> Now AUH generates buildhistory diff when recipe was upgraded
> successfully.
> 
> For enable this feature set into local.conf.
> 
> 	INHERIT += "buildhistory"
> 	BUILDHISTORY_COMMIT = "1"
> 
> Summary of the changes,
> 
> 	- bitbake.py: Enable environment generation without recipe,
>           removes Buildhistory class.
> 	- buildhistory.py: Add buildhistory class that generates initial
>           buildhistory revision and keeps track of build revisions for
>           generate diff when build is successful.
>         - upgradehelper.py: Add buildhistory steps for upgrade, add
>           support for detect when buildhistory is enabled loading the
>           environment without recipe.

So this looks OK, but I can't tell if it ensures you get the difference between 
successful builds rather than the difference to the last build - we need to 
ensure that a failed build of a recipe in between isn't considered as part of 
the comparison. In practice I guess this would mean storing the buildhistory 
revision of the last successful build for each recipe.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list