Patchwork [3/5] buildhistory_analysis: skip FILELIST changes for dbg packages

login
register
mail settings
Submitter Paul Eggleton
Date March 20, 2012, 4:06 p.m.
Message ID <bbebd90900469aa252d1017f199b1271337f3f38.1332259383.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/23901/
State Accepted
Commit ee57a989188519dd40310cb5576cbff4b247ad95
Headers show

Comments

Paul Eggleton - March 20, 2012, 4:06 p.m.
Don't report when files are added or removed from dbg packages unless
it results in the package being empty.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/lib/oe/buildhistory_analysis.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py
index a828f28..2942f72 100644
--- a/meta/lib/oe/buildhistory_analysis.py
+++ b/meta/lib/oe/buildhistory_analysis.py
@@ -298,6 +298,8 @@  def compare_dict_blobs(path, ablob, bblob, report_all):
                 if percentchg < monitor_numeric_threshold:
                     continue
             elif (not report_all) and key in list_fields:
+                if key == "FILELIST" and path.endswith("-dbg") and bstr.strip() != '':
+                    continue
                 if key in ['RDEPENDS', 'RRECOMMENDS']:
                     (depvera, depverb) = compare_pkg_lists(astr, bstr)
                     if depvera == depverb: