All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Reyna, David" <david.reyna@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	"toaster@lists.yoctoproject.org" <toaster@lists.yoctoproject.org>
Subject: RE: [Toaster] [PATCH] toaster: handle changes to "ImagePkgList" event
Date: Fri, 18 Mar 2022 19:26:32 +0000	[thread overview]
Message-ID: <BY5PR11MB416775A0BD6F53F6D3084377EA139@BY5PR11MB4167.namprd11.prod.outlook.com> (raw)
In-Reply-To: <5add1e9d2e60b63604014c0db6b7ecf64d9b1d69.camel@linuxfoundation.org>

> I think the fact that some values are "disappearing" is a sign the overrides
change has some impact here which needs to be fixed and this patch is just
partially working around it.

Yes, this patch is specifically to work around the problems in the event data encountered. Fortunately these were the only events thus affected.

If the original data and formatting does get restored, you will observe that the patch is written to use that original formatting.

After the core problems are fixed, then this patch (or parts) can be dropped.

As a result of these discoveries, I filed Bug 14764 directly against Bitbake since there was obvious missing formatting with 'PKGSIZE'. As for the other problems, I could not tell if they were intentional changes or not.  I will update Bug 14764 so that it is one stop shopping.

David

-----Original Message-----
From: toaster@lists.yoctoproject.org <toaster@lists.yoctoproject.org> On Behalf Of Richard Purdie
Sent: Friday, March 18, 2022 3:50 AM
To: Reyna, David <david.reyna@windriver.com>; toaster@lists.yoctoproject.org
Subject: Re: [Toaster] [PATCH] toaster: handle changes to "ImagePkgList" event

On Fri, 2022-03-18 at 03:43 -0700, Reyna, David wrote:
> From: David Reyna <David.Reyna@windriver.com>
> 
> There are several changes to the "ImagePkgList" content to work around:
> 1) The key field for the package size ('PKGSIZE') is currently an empty string
> 2) The list of files changed from 'FILES_INFO' to 'FILES'
> 3) The 'FILES' is now a dictionary in string form
> 4) Not all fields are always present for all packages, for example 'LICENSE' and 'SUMMARY'
> 
> [YOCTO #14763]
> 
> Signed-off-by: David Reyna <David.Reyna@windriver.com>

I'm not sure this looks entirely correct to me. FILES is the pre expanded
version of the files list so it could contain wildcards and FILES_INFO was meant
to be the version where the list of files was expanded out (and may have also
been tweaked by other package processing, e.g. creation of debug files).

I think the fact that some values are "disappearing" is a sign the overrides
change has some impact here which needs to be fixed and this patch is just
partially working around it.

Cheers,

Richard



  reply	other threads:[~2022-03-18 19:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18 10:43 [PATCH] toaster: handle changes to "ImagePkgList" event David Reyna
2022-03-18 10:49 ` [Toaster] " Richard Purdie
2022-03-18 19:26   ` Reyna, David [this message]
2022-03-19 20:02     ` Richard Purdie
2022-03-20  7:14       ` Reyna, David
     [not found]       ` <16DE057272F55985.7848@lists.yoctoproject.org>
2022-03-20 22:37         ` Reyna, David
     [not found]           ` <89bc951abe2d02689688b1c43d7465d5751b489d.camel@linuxfoundation.org>
2022-03-21  0:18             ` Reyna, David
2022-03-21 15:20               ` Richard Purdie

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=BY5PR11MB416775A0BD6F53F6D3084377EA139@BY5PR11MB4167.namprd11.prod.outlook.com \
    --to=david.reyna@windriver.com \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=toaster@lists.yoctoproject.org \
    /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.