<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#943634;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#943634"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-devel-bounces@lists.openembedded.org]
<b>On Behalf Of </b>Matthew McClintock<br>
<b>Sent:</b> den 8 mars 2017 04:19<br>
<b>To:</b> Chris Larson<br>
<b>Cc:</b> bitbake-devel@lists.openembedded.org<br>
<b>Subject:</b> Re: [bitbake-devel] [PATCH v2] runqueue: add option to run all tasks in specific build target<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">On Mar 7, 2017 9:10 PM, &quot;Christopher Larson&quot; &lt;<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a>&gt; wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Tue, Mar 7, 2017 at 7:57 PM, Matthew McClintock &lt;<a href="mailto:msm-oss@mcclintock.net" target="_blank">msm-oss@mcclintock.net</a>&gt; wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">For example:<br>
<br>
$ bitbake core-image-minimal --runall unpack<br>
...<br>
NOTE: Tasks Summary: Attempted 326 tasks of which 88 didn't need to be rerun and all succeeded.<br>
<br>
$ bitbake core-image-minimal --runall patch<br>
NOTE: Tasks Summary: Attempted 453 tasks of which 332 didn't need to be rerun and all succeeded.<br>
<br>
This can replace fetchall as well:<br>
$ bitbake core-image-minimal --runall fetch<br>
NOTE: Tasks Summary: Attempted 135 tasks of which 119 didn't need to be rerun and all succeeded.<br>
<br>
Signed-off-by: Matthew McClintock &lt;<a href="mailto:msm-oss@mcclintock.net" target="_blank">msm-oss@mcclintock.net</a>&gt;<br>
---<br>
&nbsp;lib/bb/cookerdata.py |&nbsp; 1 &#43;<br>
&nbsp;lib/bb/main.py&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; 3 &#43;&#43;&#43;<br>
&nbsp;lib/bb/runqueue.py&nbsp; &nbsp;| 14 &#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;<br>
&nbsp;3 files changed, 18 insertions(&#43;)<br>
<br>
diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py<br>
index 53f4587..722d860 100644<br>
--- a/lib/bb/cookerdata.py<br>
&#43;&#43;&#43; b/lib/bb/cookerdata.py<br>
@@ -148,6 &#43;148,7 @@ class CookerConfiguration(object):<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;self.writeeventlog = False<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;self.server_only = False<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;self.limited_deps = False<br>
&#43;&nbsp; &nbsp; &nbsp; &nbsp; self.runall = None<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;self.env = {}<br>
<br>
diff --git a/lib/bb/main.py b/lib/bb/main.py<br>
index 3ff43cf..bda3e0c 100755<br>
--- a/lib/bb/main.py<br>
&#43;&#43;&#43; b/lib/bb/main.py<br>
@@ -287,6 &#43;287,9 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;help=&quot;Writes the event log of the build to a bitbake event json file. &quot;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Use '' (empty string) to assign the name automatically.&quot;)<br>
<br>
&#43;&nbsp; &nbsp; &nbsp; &nbsp; parser.add_option(&quot;&quot;, &quot;--runall&quot;, action=&quot;store&quot;, dest=&quot;runall&quot;,<br>
&#43;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; help=&quot;Run all tasks in build target that is specified.&quot;)<br>
&#43;<o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal">This looks good (I’m sick of having to keep adding ‘all’ variants for tasks), but I don’t think this argument help description is very clear.<o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Ah I was struggling with the verbiage here. Feel free to make a suggestion otherwise I'll try for something better tomorrow.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">-M<o:p></o:p></p>
</div>
<div>
<div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="color:#888888"><br>
-- <o:p></o:p></span></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#888888">Christopher Larson<br>
kergoth at gmail dot com<br>
Founder - BitBake, OpenEmbedded, OpenZaurus<br>
Senior Software Engineer, Mentor Graphics<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span style="color:#943634"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#943634"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#943634">Maybe something like:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#943634"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#943634">Run the specified task for all build targets and their dependencies.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#943634"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="SV" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#943634">//Peter<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SV" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#943634"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>