Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add support for multi Cargo.lock files
@ 2026-11-30 20:40 Marco Felsch
  2026-11-30 20:40 ` [PATCH v4 1/3] classes/cargo-update-recipe-crates: use bb.warn() instead of print() Marco Felsch
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Marco Felsch @ 2026-11-30 20:40 UTC (permalink / raw)
  To: openembedded-core; +Cc: peter.kjellerstedt, paul, yocto, Marco Felsch

Hi,

the main purpose of this series is to add support to reference multiple
Cargo.lock files which is handy once a recipe want to rebuild the
std-crate for minimized special purpose builds.

In addition to this, the series improves the warning printing and adds
support to parse the Cargo.lock v1 file format.

Regards,
Marco

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
Changes in v4:
- Link to v3: https://lore.kernel.org/r/20261126-mfe-multi-cargo-lock-files-v3-1-7ee885214204@pengutronix.de
- Add new patch-1 to convert printf to bb.warn()
- make use of bb.warn() to print warnings
- split patches into patch-2 and patch-3
- add the checksum to seen list only if the checksum exists

Changes in v3:
- Link to v2: https://lore.kernel.org/r/20261124-mfe-multi-cargo-lock-files-v2-1-8fd15cf316aa@pengutronix.de
- Convert to space-separated list to simplify :remove handling and align
  with standard bitbake behavior

Changes in v2:
- Link to v1: https://lore.kernel.org/r/20261021-mfe-multi-cargo-lock-files-v1-0-d3510d4ad963@pengutronix.de
- Drop mainlined fixes patch
- Re-use CARGO_LOCK_SRC_DIR to make it backportable
- Add support for v1 Cargo.lock file format

---
Marco Felsch (3):
      classes/cargo-update-recipe-crates: use bb.warn() instead of print()
      classes/cargo-update-recipe-crates: support v1 Cargo.lock format
      classes/cargo-update-recipe-crates: support multiple Cargo.lock search directories

 .../cargo-update-recipe-crates.bbclass             | 85 ++++++++++++++++------
 1 file changed, 63 insertions(+), 22 deletions(-)
---
base-commit: 7412d08ab2ee94354a93f3765b94479d84c6b034
change-id: 20261021-mfe-multi-cargo-lock-files-41f9aea21595

Best regards,
-- 
Marco Felsch <m.felsch@pengutronix.de>


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

end of thread, other threads:[~2026-12-02 10:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 20:40 [PATCH v4 0/3] Add support for multi Cargo.lock files Marco Felsch
2026-11-30 20:40 ` [PATCH v4 1/3] classes/cargo-update-recipe-crates: use bb.warn() instead of print() Marco Felsch
2026-11-30 20:40 ` [PATCH v4 2/3] classes/cargo-update-recipe-crates: support v1 Cargo.lock format Marco Felsch
2026-11-30 20:40 ` [PATCH v4 3/3] classes/cargo-update-recipe-crates: support multiple Cargo.lock search directories Marco Felsch
2026-11-30 21:24   ` Paul Barker
2026-12-01  9:37     ` [OE-core] " Marco Felsch
     [not found]     ` <18ED17AB19C3015E.2226965@lists.openembedded.org>
2026-12-01 16:25       ` Marco Felsch
2026-12-02 10:15         ` Paul Barker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox