All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] spdx: add support to include releaseTime
@ 2026-10-02  7:54 daniel.turull
  2026-10-02  7:54 ` [PATCH v4 1/3] classes/base: exclude __CACHED_SOURCE_DATE_EPOCH from task hash daniel.turull
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: daniel.turull @ 2026-10-02  7:54 UTC (permalink / raw)
  To: openembedded-core; +Cc: JPEWhacker, Daniel Turull

From: Daniel Turull <daniel.turull@ericsson.com>

We have a requirements to include release time of open source components
in the SBOM. There is a field specific for that in spdx 3 spec.

https://spdx.github.io/spdx-spec/v3.0.1/model/Core/Properties/releaseTime/

This can also be used to evaluate how old are some of the core
components and decide if they need replacement.

The previous 2 versions did not have cover letter.

In v4 I kept the simpler logic to just check for the epoch date, even if
we have multiple sources with different release dates. It was getting
complicated and adding more code for git and tarfiles. I can do a follow
up patch after this simpler version gets in, so we can fine tune it.

Tested with oe-selftest -r spdx

Daniel Turull (3):
  classes/base: exclude __CACHED_SOURCE_DATE_EPOCH from task hash
  create-spdx-3.0: record component release date in SPDX output
  scripts/contrib: add spdx-release-date-report.py

 meta/classes-global/base.bbclass            |   4 +
 meta/lib/oe/spdx30_tasks.py                 |  22 +++
 meta/lib/oeqa/selftest/cases/spdx.py        |  41 +++++
 scripts/contrib/spdx-release-date-report.py | 191 ++++++++++++++++++++
 4 files changed, 258 insertions(+)
 create mode 100755 scripts/contrib/spdx-release-date-report.py



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

end of thread, other threads:[~2026-10-05  7:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-02  7:54 [PATCH v4 0/3] spdx: add support to include releaseTime daniel.turull
2026-10-02  7:54 ` [PATCH v4 1/3] classes/base: exclude __CACHED_SOURCE_DATE_EPOCH from task hash daniel.turull
2026-10-02  7:54 ` [PATCH v4 2/3] create-spdx-3.0: record component release date in SPDX output daniel.turull
2026-10-02  7:54 ` [PATCH v4 3/3] scripts/contrib: add spdx-release-date-report.py daniel.turull
2026-10-03 16:50 ` [OE-core] [PATCH v4 0/3] spdx: add support to include releaseTime Mathieu Dubois-Briand
2026-10-05  7:11   ` Daniel Turull

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.