mbox series

[v3,0/3] archiver.bbclass: archive shallow git sources which have no clone

Message ID 20261117122457.435864-1-ecordonnier@snap.com
Headers show
Series archiver.bbclass: archive shallow git sources which have no clone | expand

Message

Etienne Cordonnier Nov. 17, 2026, 12:24 p.m. UTC
From: Etienne Cordonnier <ecordonnier@snap.com>

As feedback to the v2 of this patch, it was requested to modify the fetcher to ensure that
localpath() exists when do_fetch completes, in order to avoid the need
for special handling in the archiver bbclass.

This v3 series addresses this feedback, and requires the bitbake
change "fetch/git: return the shallow tarball as localpath when there is no clone"

Etienne Cordonnier (3):
  archiver.bbclass: archive shallow git sources which have no clone
  archiver.bbclass: remove .git from original git source archives
  archiver.bbclass: fail on sources which cannot be archived

 meta/classes/archiver.bbclass            | 23 +++++-
 meta/lib/oeqa/selftest/cases/archiver.py | 91 ++++++++++++++++++++++++
 2 files changed, 112 insertions(+), 2 deletions(-)