From: Ross Burton Date: Wed, 23 Oct 2019 15:33:46 +0000 (+0100) Subject: buildhistory-analysis: filter out -src changes by default X-Git-Tag: uninative-2.8~1265 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=30acbf6f89ba76d6fab8987ed20f72d1fa3d70fa;p=openembedded-core.git buildhistory-analysis: filter out -src changes by default Like the -dbg package, this package is automatically generated and contains source filenames. We expect this to change on every upgrade, so don't show the differences unless the user wants to see all changes. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py index 708e1b388e..5b28774c98 100644 --- a/meta/lib/oe/buildhistory_analysis.py +++ b/meta/lib/oe/buildhistory_analysis.py @@ -413,7 +413,7 @@ def compare_dict_blobs(path, ablob, bblob, report_all, report_ver): if abs(percentchg) < monitor_numeric_threshold: continue elif (not report_all) and key in list_fields: - if key == "FILELIST" and path.endswith("-dbg") and bstr.strip() != '': + if key == "FILELIST" and (path.endswith("-dbg") or path.endswith("-src")) and bstr.strip() != '': continue if key in ['RPROVIDES', 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RREPLACES', 'RCONFLICTS']: (depvera, depverb) = compare_pkg_lists(astr, bstr)