diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-02 10:23:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:29:46 +0100 |
commit | 4bf1c0a7dced34e67ceabda96012a996e31a4bb5 (patch) | |
tree | efc1e65bc10f9ea5b3e6fc884eb1504fe0408973 /meta/lib/oe/buildhistory_analysis.py | |
parent | 507dba64e0d997ec187b218a7a8b5f883908d158 (diff) | |
download | poky-4bf1c0a7dced34e67ceabda96012a996e31a4bb5.tar.gz |
buildhistory_analysis: ignore removal of self-dependencies
The recent removal of self-dependencies for dbg/dev packages produced
a fair amount of noise, so filter it out since we know this is a
reasonable change.
(From OE-Core rev: 3ec608462e4cb1eb77b6addbae1bda84fd76e4d2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/buildhistory_analysis.py')
-rw-r--r-- | meta/lib/oe/buildhistory_analysis.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py index a1a04085c2..a5da7d9944 100644 --- a/meta/lib/oe/buildhistory_analysis.py +++ b/meta/lib/oe/buildhistory_analysis.py | |||
@@ -286,8 +286,9 @@ def compare_dict_blobs(path, ablob, bblob, report_all): | |||
286 | adict = blob_to_dict(ablob) | 286 | adict = blob_to_dict(ablob) |
287 | bdict = blob_to_dict(bblob) | 287 | bdict = blob_to_dict(bblob) |
288 | 288 | ||
289 | pkgname = os.path.basename(path) | ||
289 | defaultvals = {} | 290 | defaultvals = {} |
290 | defaultvals['PKG'] = os.path.basename(path) | 291 | defaultvals['PKG'] = pkgname |
291 | defaultvals['PKGE'] = adict.get('PE', '0') | 292 | defaultvals['PKGE'] = adict.get('PE', '0') |
292 | defaultvals['PKGV'] = adict.get('PV', '') | 293 | defaultvals['PKGV'] = adict.get('PV', '') |
293 | defaultvals['PKGR'] = adict.get('PR', '') | 294 | defaultvals['PKGR'] = adict.get('PR', '') |
@@ -320,6 +321,9 @@ def compare_dict_blobs(path, ablob, bblob, report_all): | |||
320 | alist.sort() | 321 | alist.sort() |
321 | blist = bstr.split() | 322 | blist = bstr.split() |
322 | blist.sort() | 323 | blist.sort() |
324 | # We don't care about the removal of self-dependencies | ||
325 | if pkgname in alist and not pkgname in blist: | ||
326 | alist.remove(pkgname) | ||
323 | if ' '.join(alist) == ' '.join(blist): | 327 | if ' '.join(alist) == ' '.join(blist): |
324 | continue | 328 | continue |
325 | 329 | ||