<div dir="auto">Hi, any update?<div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Anibal</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 18 de nov. de 2019 09:22, Anibal Limon &lt;<a href="mailto:anibal.limon@linaro.org">anibal.limon@linaro.org</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 15 Nov 2019 at 11:12, Mark Hatle &lt;<a href="mailto:mark.hatle@kernel.crashing.org" target="_blank" rel="noreferrer">mark.hatle@kernel.crashing.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 11/15/19 10:29 AM, Peter Kjellerstedt wrote:<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: <a href="mailto:bitbake-devel-bounces@lists.openembedded.org" target="_blank" rel="noreferrer">bitbake-devel-bounces@lists.openembedded.org</a> &lt;bitbake-devel-<br>
&gt;&gt; <a href="mailto:bounces@lists.openembedded.org" target="_blank" rel="noreferrer">bounces@lists.openembedded.org</a>&gt; On Behalf Of Aníbal Limón<br>
&gt;&gt; Sent: den 15 november 2019 15:47<br>
&gt;&gt; To: <a href="mailto:bitbake-devel@lists.openembedded.org" target="_blank" rel="noreferrer">bitbake-devel@lists.openembedded.org</a><br>
&gt;&gt; Subject: [bitbake-devel] [PATCHv2] lib/bb: Add<br>
&gt;&gt; BB_SIGNATURE_LOCAL_DIRS_EXCLUDE to speed-up taskhash on directories<br>
&gt;&gt;<br>
&gt;&gt; The new BB_SIGNATURE_LOCAL_DIRS_EXCLUDE allows you to specify a list<br>
&gt;&gt; of directories to exclude when making taskhash, our specific case<br>
&gt;&gt; is using SRC_URI that points local VCS directory.<br>
&gt;&gt;<br>
&gt;&gt; Use bb.fetch.module to set default to: &quot;CVS .bzr .git .hg .osc .p4 .repo<br>
&gt;&gt; .svn&quot;<br>
&gt;&gt;<br>
&gt;&gt; Signed-off-by: Aníbal Limón &lt;<a href="mailto:anibal.limon@linaro.org" target="_blank" rel="noreferrer">anibal.limon@linaro.org</a>&gt;<br>
&gt;&gt; ---<br>
&gt;&gt;  lib/bb/checksum.py        | 5 +++--<br>
&gt;&gt;  lib/bb/fetch2/__init__.py | 4 ++--<br>
&gt;&gt;  lib/bb/siggen.py          | 5 +++--<br>
&gt;&gt;  3 files changed, 8 insertions(+), 6 deletions(-)<br>
&gt; <br>
&gt; [cut]<br>
&gt; <br>
&gt;&gt; --- a/lib/bb/siggen.py<br>
&gt;&gt; +++ b/lib/bb/siggen.py<br>
&gt;&gt; @@ -123,6 +123,7 @@ class SignatureGeneratorBasic(SignatureGenerator):<br>
&gt;&gt;<br>
&gt;&gt;          self.unihash_cache = bb.cache.SimpleCache(&quot;1&quot;)<br>
&gt;&gt;          self.unitaskhashes = self.unihash_cache.init_cache(data, &quot;bb_unihashes.dat&quot;, {})<br>
&gt;&gt; +        self.localdirsexclude = (data.getVar(&quot;BB_SIGNATURE_LOCAL_DIRS_EXCLUDE&quot;) or &quot;CVS .bzr .git .hg .osc .p4 .repo .svn&quot;).split()<br>
&gt; <br>
&gt; I don&#39;t like this construct, because if I do:<br>
&gt; <br>
&gt; BB_SIGNATURE_LOCAL_DIRS_EXCLUDE_append = &quot; some_dir&quot;<br>
&gt; <br>
&gt; it means that all of a sudden the SCM directories listed above will no <br>
&gt; longer be excluded since BB_SIGNATURE_LOCAL_DIRS_EXCLUDE will now be <br>
&gt; defined, but only contain &quot; some_dir&quot;. Isn&#39;t it better to add:<br>
&gt; <br>
&gt; BB_SIGNATURE_LOCAL_DIRS_EXCLUDE ??= &quot;CVS .bzr .git .hg .osc .p4 .repo .svn&quot;<br>
<br>
I agree.. this really should be put into the bitbake.conf file in OE-core.  (I&#39;d<br>
also suggest adding it to the bitbake.conf file in bitbake itself, as an example.)<br>
<br>
--Mark<br>
<br>
&gt; somewhere in OE-Core (and it can then also have a suitable <br>
&gt; BB_SIGNATURE_LOCAL_DIRS_EXCLUDE[doc], though it seems BB_-variables <br>
&gt; are only documented in meta/conf/documentation.conf)?<br>
&gt; <br>
&gt; Alternatively, to keep the list above within bitbake, make it two <br>
&gt; variables, one for the list of directories above that is not really <br>
&gt; intended to be modified, and one for additional directories (which <br>
&gt; should still be documented in meta/conf/documentation.conf).<br></blockquote><div><br></div><div>For me it is fine if we set this variable in OE-Core with a default value to VCS directories this is covered by v1 PATCH, after merge I will send </div><div>a patch to OE-Core adding the default value.</div><div><br></div><div>Regards,</div><div>Anibal</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
&gt; <br>
&gt; //Peter<br>
&gt; <br>
</blockquote></div></div>
</blockquote></div>