]> code.ossystems Code Review - openembedded-core.git/commitdiff
buildhistory-analysis: filter out -src changes by default
authorRoss Burton <ross.burton@intel.com>
Wed, 23 Oct 2019 15:33:46 +0000 (16:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Oct 2019 11:03:18 +0000 (12:03 +0100)
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 <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/buildhistory_analysis.py

index 708e1b388e25ec222ef3440b860f49598fa7ef7e..5b28774c980d6ccc11c71dca10b14b7fcf4bc681 100644 (file)
@@ -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)