[yocto] [PATCH 10/10][auh] upgradehelper: Add support for generate buildhistory recipe diff's
Aníbal Limón
anibal.limon at linux.intel.com
Fri Jul 31 08:39:37 PDT 2015
Hi Paul,
On 31/07/15 10:29, Paul Eggleton wrote:
> 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.
I only made a diff if the build success in all machines this guarantee
that only
stores good information.
alimon
>
> Cheers,
> Paul
>
More information about the yocto
mailing list