All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/6] fetch2: add support for implicit urls
@ 2025-09-02  6:55 Stefan Herbrechtsmeier
  2025-09-02  6:55 ` [RFC PATCH 1/6] fetch2: rename u to url in Fetch class Stefan Herbrechtsmeier
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Stefan Herbrechtsmeier @ 2025-09-02  6:55 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Stefan Herbrechtsmeier

From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

The patch series add support for implicit URLs inside the fetcher. The
implicit URLs could be defined inside a source like a version control
system (git submodule) or a lock file (package-lock.json, cargo.lock or
go.sum). The integration of implicit URLs beside explicit URLs
simplifies the fetcher classes and avoid bugs because of iterations
between the Fetch and FetchMethod classes.

The series remove most methods inside the gitsm fetcher and only leaves
the parsing of the git submodules and the unpack functionality. It
allows the gitsm fetcher to use the premirror only feature. The current
implementation leads to problems because the download of the git
submodules is triggered via the download method which is called deeply
inside the fetcher code.


Stefan Herbrechtsmeier (6):
  fetch2: rename u to url in Fetch class
  fetch2: call functions within loops of Fetch class
  fetch2: add helper to get urldata in Fetch class
  fetch2: add support for implicit urls
  fetch2: gitsm: use implicit urls feature
  tests: fetch: add test case for gitsm implicit local paths

 lib/bb/fetch2/__init__.py | 128 +++++++++++++++++++++++++++-----------
 lib/bb/fetch2/gitsm.py    |  46 ++------------
 lib/bb/tests/fetch.py     |  12 ++++
 3 files changed, 109 insertions(+), 77 deletions(-)

-- 
2.39.5



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

end of thread, other threads:[~2025-09-09 12:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02  6:55 [RFC PATCH 0/6] fetch2: add support for implicit urls Stefan Herbrechtsmeier
2025-09-02  6:55 ` [RFC PATCH 1/6] fetch2: rename u to url in Fetch class Stefan Herbrechtsmeier
2025-09-02  6:55 ` [RFC PATCH 2/6] fetch2: call functions within loops of " Stefan Herbrechtsmeier
2025-09-02  6:55 ` [RFC PATCH 3/6] fetch2: add helper to get urldata in " Stefan Herbrechtsmeier
2025-09-02  6:55 ` [RFC PATCH 4/6] fetch2: add support for implicit urls Stefan Herbrechtsmeier
2025-09-02  6:55 ` [RFC PATCH 5/6] fetch2: gitsm: use implicit urls feature Stefan Herbrechtsmeier
2025-09-02  6:55 ` [RFC PATCH 6/6] tests: fetch: add test case for gitsm implicit local paths Stefan Herbrechtsmeier
2025-09-04  6:00 ` [bitbake-devel] [RFC PATCH 0/6] fetch2: add support for implicit urls Mathieu Dubois-Briand
2025-09-04  6:09   ` Stefan Herbrechtsmeier
2025-09-05  7:01   ` Stefan Herbrechtsmeier
2025-09-07 15:52 ` Richard Purdie
2025-09-08  9:20   ` Stefan Herbrechtsmeier
2025-09-08 10:26     ` Richard Purdie
2025-09-09 12:48       ` Stefan Herbrechtsmeier

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.