<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 8, 2016 at 12:06 AM, Paul Eggleton <span dir="ltr"><<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sasha,<br>
<br>
Functionality wise this looks good.<br>
<span class=""><br>
On Mon, 06 Jun 2016 00:44:29 Alexander D. Kanevskiy wrote:<br>
> New option can be used for displaying full information about binary<br>
> package(s), including name, full version, recipe name, recipe full version<br>
> and package size.<br>
><br>
> This information can be useful to produce detailed image manifest<br>
> for further analysis.<br>
<br>
</span>Possibly worth noting that since this looks up current information rather than<br>
what's in the image, this is only going to be accurate for that purpose if no<br>
packages have been rebuilt (strictly speaking no do_packagedata tasks have<br>
executed) since the manifest was generated.<br></blockquote><div><br></div><div>Assumption that it would be used in extra buildhistory class, so pkgdata still should be valid.</div><div>But good point that it can be executed manually. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">> + for pkg in packages:<br>
> + items.append(("%s %s%s%s %s %s%s%s %s" % (<br>
> + pkg,<br>
> + mappings[pkg]['PKGE'] + ":" if mappings[pkg]['PKGE'] else "",<br>
> + mappings[pkg]['PKGV'],<br>
> + "-" + mappings[pkg]['PKGR'] if mappings[pkg]['PKGR'] else "",<br>
> + mappings[pkg]['PN'],<br>
> + mappings[pkg]['PE'] + ":" if mappings[pkg]['PE'] else "",<br>
> + mappings[pkg]['PV'],<br>
> + "-" + mappings[pkg]['PR'] if mappings[pkg]['PR'] else "",<br>
> + mappings[pkg]['PKGSIZE']<br>
> + )).strip()<br>
> + )<br>
<br>
</div></div>This seems like a bit of an ugly construction. If it were me writing it I<br>
would probably break it down using variables rather than trying to do it all<br>
on one line. That said it's not bad enough to block it, if nobody else feels<br>
strongly about it then you're in the clear.<br></blockquote><div><br></div><div>ok. I'll send new version of patch a bit later today.</div><div> </div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">br, Alexander Kanevskiy</div>
</div></div>