All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] spdx30: Fix two bugs in the source download enrichment
@ 2026-11-04 11:22 Stefano Tondo
  2026-11-04 11:22 ` [PATCH 1/3] spdx30: Make source download enrichment part of the task signature Stefano Tondo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefano Tondo @ 2026-11-04 11:22 UTC (permalink / raw)
  To: openembedded-core
  Cc: jpewhacker, peter.marko, adrian.freihofer, Stefano Tondo

Two fixes for the source download enrichment added in 9f1825e74d
("spdx30: Add Git version and PURL to source downloads"):

- _enrich_source_package() and _generate_git_purl() start with an
  underscore, so bitbake leaves them out of the do_create_spdx
  signature, and SPDX_GIT_PURL_MAPPINGS with them. Changing the
  mappings restored the previous SPDX from sstate.

- gitsm downloads got no version and no PURL, because only fd.type
  "git" was handled.

Patch 1 changes the do_create_spdx signature of every recipe once.

Patch 3 adds one selftest per fix. Each fails on master without its
fix. With the series, all SPDX30Check selftests pass.

Stefano Tondo (3):
  spdx30: Make source download enrichment part of the task signature
  spdx30: Enrich gitsm source downloads like git ones
  oeqa/selftest: Add tests for source download enrichment

 meta/lib/oe/spdx30_tasks.py          | 10 +++---
 meta/lib/oeqa/selftest/cases/spdx.py | 47 ++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 5 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-04 11:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04 11:22 [PATCH 0/3] spdx30: Fix two bugs in the source download enrichment Stefano Tondo
2026-11-04 11:22 ` [PATCH 1/3] spdx30: Make source download enrichment part of the task signature Stefano Tondo
2026-11-04 11:22 ` [PATCH 2/3] spdx30: Enrich gitsm source downloads like git ones Stefano Tondo
2026-11-04 11:22 ` [PATCH 3/3] oeqa/selftest: Add tests for source download enrichment Stefano Tondo

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.