<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 3:38 PM, Trevor Woerner <span dir="ltr">&lt;<a href="mailto:twoerner@gmail.com" target="_blank">twoerner@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue 2016-11-22 @ 10:20:58 AM, Mark Hatle wrote:<br>
&gt; &gt;&gt; Then search &quot;layerItems.json&quot; for records where &quot;layer_type&quot;:&quot;D&quot;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;    # choose a distro layer<br>
&gt; &gt;&gt;    choices = []<br>
&gt; &gt;&gt;    distroLines = sorted(layerItems, key=lambda k: k[&quot;name&quot;])<br>
&gt; &gt;&gt;    distroLines = filter(lambda x: x[&quot;layer_type&quot;] == &quot;D&quot;, distroLines)<br>
&gt; &gt;&gt;    choices.append((&quot;nodistro&quot;, &quot;The distro-less distro&quot;))<br>
&gt; &gt;&gt;<br>
&gt;<br>
&gt; I just realized the chunk above is specific for finding a -layer- with the type<br>
&gt; distribution, but it doesn&#39;t actually carry any useful information other then<br>
&gt; the layer type is distribution.<br>
<br>
</span>I guess I don&#39;t see how &quot;distro indexing&quot; is different than listing the layers<br>
and identifying which ones are distros. Will the new layerindex api continue<br>
to provide the current information?</blockquote></div><br>I’d assume it needs to know the actual names of the distros. Knowing a given layer provides a distro of some sort isn’t going to tell you what distros it provides.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>