All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
To: Saul Wold <sgw@linux.intel.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH][RFC] insane.bbclass: Enhance file-rdeps QA check
Date: Thu, 29 Jan 2015 15:20:06 -0600	[thread overview]
Message-ID: <54CAA406.7060209@linux.intel.com> (raw)
In-Reply-To: <54CA413C.6000707@linux.intel.com>


On 29/01/15 08:18, Saul Wold wrote:

> Have you done before and after builds to assess the performance 
> differences if any?

I checked, found no actual difference on performance.


> What tool are you using that might cause double spacing in your commit 
> messages.

Won't be happening again.

>
>> diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
>> index 143ec46..542346a 100644
>> --- a/meta/classes/insane.bbclass
>> +++ b/meta/classes/insane.bbclass
>> @@ -34,7 +34,7 @@ WARN_QA ?= "ldflags useless-rpaths rpaths staticdev 
>> libdir xorg-driver-abi \
>>   ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig 
>> la \
>>               perms dep-cmp pkgvarcheck perm-config perm-line 
>> perm-link \
>>               split-strip packages-list pkgv-undefined var-undefined \
>> -            version-going-backwards \
>> +            version-going-backwards  symlink-to-sysroot\
>>               "
>>
> We should also add this to the poky.conf, for the Poky distro since it 
> overrides the ERROR_QA setting in meta-yocto/distro/conf/poky.conf. 
> That patch should go to poky@yoctoproject.org

Yes, a patch to poky is also required, I intended to send it once this 
gets accepted.


>> @@ -841,31 +841,27 @@ def package_qa_check_rdepends(pkg, pkgdest, 
>> skip, taskdeps, packages, d):
>>                   # case there is a RDEPENDS_pkg = "python" in the 
>> recipe.
>>                   for py in [ d.getVar('MLPREFIX', True) + "python", 
>> "python" ]:
>>                       if py in done:
>> -                        filerdepends.discard("/usr/bin/python")
>> + filerdepends.pop("/usr/bin/python",None)
>>                           done.remove(py)
>>                   for rdep in done:
>>                       # For Saving the FILERPROVIDES, RPROVIDES and 
>> FILES_INFO
>> -                    rdep_rprovides = set()
>>                       rdep_data = 
>> oe.packagedata.read_subpkgdata(rdep, d)
>>                       for key in rdep_data:
>>                           if key.startswith("FILERPROVIDES_") or 
>> key.startswith("RPROVIDES_"):
>>                               for subkey in rdep_data[key].split():
>> -                                rdep_rprovides.add(subkey)
>> +                                filerdepends.pop(subkey,None)
> Should this be a pop here since you are removing a add()?

Yes, it should be a pop, because it was adding subkey to rdep_rprovides, 
which were substracted from filerdepends afterwards, this worked on sets 
but not on dictionaries, the same result is achieved this way.



  reply	other threads:[~2015-01-29 21:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 23:49 [PATCH][RFC] insane.bbclass: Enhance file-rdeps QA check Alejandro Hernandez
2015-01-29 14:18 ` Saul Wold
2015-01-29 21:20   ` Alejandro Hernandez [this message]
2015-01-30 17:33     ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54CAA406.7060209@linux.intel.com \
    --to=alejandro.hernandez@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sgw@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.