All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Fabien Lehoussel via buildroot <buildroot@buildroot.org>
Cc: Fabien Lehoussel <fabien.lehoussel@smile.fr>,
	 Thomas Perale <thomas.perale@mind.be>
Subject: Re: [Buildroot] [PATCH 2/5] utils/generate-cyclonedx: sort dependencies
Date: Thu, 07 Aug 2025 16:00:45 +0200	[thread overview]
Message-ID: <87ms8bgrjm.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20250807062327.1637333-2-fabien.lehoussel@smile.fr> (Fabien Lehoussel via buildroot's message of "Thu, 7 Aug 2025 08:23:24 +0200")

>>>>> "Fabien" == Fabien Lehoussel via buildroot <buildroot@buildroot.org> writes:

 > Signed-off-by: Fabien Lehoussel <fabien.lehoussel@smile.fr>
 > ---
 >  utils/generate-cyclonedx | 2 +-
 >  1 file changed, 1 insertion(+), 1 deletion(-)

 > diff --git a/utils/generate-cyclonedx b/utils/generate-cyclonedx
 > index 3ff318f11a..7fa369d7c7 100755
 > --- a/utils/generate-cyclonedx
 > +++ b/utils/generate-cyclonedx
 > @@ -203,7 +203,7 @@ def cyclonedx_dependency(ref, depends):
 >      """
 >      return {
 >          "ref": ref,
 > -        "dependsOn": depends,
 > +        "dependsOn": sorted(depends),

Committed after extending the commit description with a description of
why we do this:

The SBOM is easier to read if the dependencies are sorted
alphabetically.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-08-07 14:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-07  6:23 [Buildroot] [PATCH v3 1/5] utils/generate-cyclonedx: update package filtering Fabien Lehoussel via buildroot
2025-08-07  6:23 ` [Buildroot] [PATCH 2/5] utils/generate-cyclonedx: sort dependencies Fabien Lehoussel via buildroot
2025-08-07 14:00   ` Peter Korsgaard [this message]
2025-08-14 20:32   ` Thomas Perale via buildroot
2025-08-07  6:23 ` [Buildroot] [PATCH 3/5] utils/generate-cyclonedx: update dependencies generation Fabien Lehoussel via buildroot
2025-08-07  6:23 ` [Buildroot] [PATCH 4/5] utils/generate-cyclonedx: remove buildroot dependencies Fabien Lehoussel via buildroot
2025-08-07  6:23 ` [Buildroot] [PATCH v3 5/5] utils/generate-cyclonedx: add option to filter host packages in components and dependencies Fabien Lehoussel via buildroot
2025-08-07 13:56 ` [Buildroot] [PATCH v3 1/5] utils/generate-cyclonedx: update package filtering Peter Korsgaard

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=87ms8bgrjm.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=fabien.lehoussel@smile.fr \
    --cc=thomas.perale@mind.be \
    /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.