Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v4 0/2] archiver.bbclass: archive shallow git sources without a clone, drop .git
@ 2026-12-02 20:54 ecordonnier
  2026-12-02 20:54 ` [PATCH v4 1/2] archiver.bbclass: unpack original sources without a localpath ecordonnier
  2026-12-02 20:54 ` [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives ecordonnier
  0 siblings, 2 replies; 6+ messages in thread
From: ecordonnier @ 2026-12-02 20:54 UTC (permalink / raw)
  To: openembedded-core; +Cc: Etienne Cordonnier

From: Etienne Cordonnier <ecordonnier@snap.com>

In "original" mode, a git source fetched through a shallow tarball (fast
initial shallow fetch, or a tarball from a mirror) has no clone in DL_DIR, so
do_ar_original silently skipped it. This series archives it, and removes the
useless .git from the archives of git sources.

Etienne Cordonnier (2):
  archiver.bbclass: unpack original sources without a localpath
  archiver.bbclass: remove .git from original git source archives

v4:
  - Follow Paul's review of v3: no fetcher-specific code in do_ar_original.
    A source is copied if localpath() is a file, otherwise it is unpacked
    with fetch.unpack() and it is an error if nothing was unpacked.
  - Drop the bitbake patch from v3 (return the shallow tarball as
    localpath): with the above, the archiver no longer depends on
    localpath() existing for git.
  - Fold the "fail on sources which cannot be archived" patch into 1/2.
  - Add selftests for plain git, gitsm and nocheckout.

v3:
  - Add a bitbake patch so localpath() exists after do_fetch when the shallow
    tarball is used without a clone, as suggested in the v2 review, and drop
    the shallow special case from the archiver.

v2:
  - Combined the two v1 patches into one series, as requested.
  - Split "archive shallow git sources which have no clone" into 1/3 (archive
    the shallow source) and 2/3 (remove .git), and 2/3 now removes .git for
    all git sources, including the .git files of submodules (kept for
    nocheckout/bareclone).
  - 3/3 ("warn about sources which are not archived" in v1) now raises a
    fatal error.


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


base-commit: 4b4fc6d149e030f8d2d60f6a4e44a44d56cb8082
-- 
2.43.0


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

* [PATCH v4 1/2] archiver.bbclass: unpack original sources without a localpath
  2026-12-02 20:54 [PATCH v4 0/2] archiver.bbclass: archive shallow git sources without a clone, drop .git ecordonnier
@ 2026-12-02 20:54 ` ecordonnier
  2026-12-02 20:54 ` [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives ecordonnier
  1 sibling, 0 replies; 6+ messages in thread
From: ecordonnier @ 2026-12-02 20:54 UTC (permalink / raw)
  To: openembedded-core; +Cc: Etienne Cordonnier

From: Etienne Cordonnier <ecordonnier@snap.com>

In "original" mode, do_ar_original only archived a source whose localpath()
was a file or a directory, and silently skipped any other. A shallow git
fetch which uses only the gitshallow tarball has no clone, so localpath() is
missing and the source was not archived at all.

Unpack every source which is not a file with fetch.unpack(), which works from
the shallow tarball. Fail if nothing was unpacked, so an incomplete archive is
no longer silent.

AI-Generated: Claude Code with Claude Haiku 5.5
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 meta/classes/archiver.bbclass            | 10 +++--
 meta/lib/oeqa/selftest/cases/archiver.py | 48 ++++++++++++++++++++++++
 2 files changed, 55 insertions(+), 3 deletions(-)

diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 792e85445f..9ce12b0e9b 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -166,8 +166,8 @@ do_ar_prepare() {
 }
 
 # Take all the sources for a recipe and put them in WORKDIR/archiver-work/.
-# Files in SRC_URI are copied directly, anything that's a directory
-# (e.g. git repositories) is "unpacked" and then put into a tarball.
+# Files in SRC_URI are copied directly, anything else (e.g. git repositories,
+# which may have no clone in DL_DIR) is "unpacked" and then put into a tarball.
 python do_ar_original() {
 
     import shutil, tempfile
@@ -207,9 +207,13 @@ python do_ar_original() {
         local = fetch.localpath(url).rstrip("/");
         if os.path.isfile(local):
             shutil.copy(local, ar_outdir)
-        elif os.path.isdir(local):
+        else:
+            # Unpack whatever the fetcher has, even when localpath() does not
+            # exist: a shallow git fetch may have no clone, only the tarball.
             tmpdir = tempfile.mkdtemp(dir=d.getVar('ARCHIVER_WORKDIR'))
             fetch.unpack(tmpdir, (url,))
+            if not os.listdir(tmpdir):
+                bb.fatal("Cannot archive original source %s: nothing was unpacked" % url)
             # To handle recipes with more than one source, we add the "name"
             # URL parameter as suffix. We treat it as an error when
             # there's more than one URL without a name, or a name gets reused.
diff --git a/meta/lib/oeqa/selftest/cases/archiver.py b/meta/lib/oeqa/selftest/cases/archiver.py
index 8c5aa75e9b..629b5eb63a 100644
--- a/meta/lib/oeqa/selftest/cases/archiver.py
+++ b/meta/lib/oeqa/selftest/cases/archiver.py
@@ -7,6 +7,8 @@
 import os
 import glob
 import re
+import shutil
+import tarfile
 from oeqa.utils.commands import bitbake, get_bb_vars
 from oeqa.selftest.case import OESelftestTestCase
 
@@ -176,6 +178,52 @@ class Archiver(OESelftestTestCase):
 
         self._test_archiver_mode('original', 'ed-1.21.1.tar.lz')
 
+    def test_archiver_mode_original_git_shallow(self):
+        """
+        Test that the archiver archives a shallow git source with
+        `ARCHIVER_MODE[src] = "original"` when only the shallow tarball is
+        available, but not the clone. This is what happens with the fast
+        initial shallow fetch, or when the shallow tarball is fetched from a
+        mirror.
+        """
+        target = 'gitrepotest'
+
+        features = 'INHERIT += "archiver"\n'
+        features += 'ARCHIVER_MODE[src] = "original"\n'
+        features += 'BB_GIT_SHALLOW = "1"\n'
+        features += 'BB_GENERATE_SHALLOW_TARBALLS = "1"\n'
+        features += 'DL_DIR = "${TOPDIR}/downloads-shallow"\n'
+        self.write_config(features)
+
+        # Fetch to create the shallow tarball, then remove the clone if the
+        # fetcher fell back to a full clone, so that the second fetch has to
+        # use the shallow tarball. cleansstate makes sure that the archive is
+        # created again and not restored from sstate.
+        bitbake('-c cleansstate %s' % target)
+        bitbake('-c fetch %s' % target)
+        bb_vars = get_bb_vars(['DL_DIR'])
+        self.track_for_cleanup(bb_vars['DL_DIR'])
+        self.assertTrue(glob.glob(os.path.join(bb_vars['DL_DIR'], 'gitshallow_*.tar.gz')),
+                        'Missing shallow tarball in DL_DIR')
+        shutil.rmtree(os.path.join(bb_vars['DL_DIR'], 'git2'), ignore_errors=True)
+        bitbake('-c cleansstate %s' % target)
+
+        bitbake('-c deploy_archives %s' % target)
+
+        names = self._get_original_git_archive_names(target)
+        self.assertTrue([n for n in names if n.endswith('/COPYING')], 'Archive has no source files: %s' % names[:20])
+
+    def _get_original_git_archive_names(self, target):
+        """
+        Return the names of the files in the original source archive of the
+        git source of target.
+        """
+        bb_vars = get_bb_vars(['DEPLOY_DIR_SRC'], target)
+        archives = glob.glob(os.path.join(bb_vars['DEPLOY_DIR_SRC'], '*', '%s-*' % target, '%s-*.tar.*' % target))
+        self.assertEqual(len(archives), 1, 'Expected one source archive for %s, found %s' % (target, archives))
+        with tarfile.open(archives[0]) as tar:
+            return tar.getnames()
+
     def test_archiver_mode_patched(self):
         """
         Test that the archiver works with `ARCHIVER_MODE[src] = "patched"`.
-- 
2.43.0


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

* [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives
  2026-12-02 20:54 [PATCH v4 0/2] archiver.bbclass: archive shallow git sources without a clone, drop .git ecordonnier
  2026-12-02 20:54 ` [PATCH v4 1/2] archiver.bbclass: unpack original sources without a localpath ecordonnier
@ 2026-12-02 20:54 ` ecordonnier
  2026-12-04  6:54   ` [OE-core] " Mathieu Dubois-Briand
  1 sibling, 1 reply; 6+ messages in thread
From: ecordonnier @ 2026-12-02 20:54 UTC (permalink / raw)
  To: openembedded-core; +Cc: Etienne Cordonnier

From: Etienne Cordonnier <ecordonnier@snap.com>

The unpacked tree of a git source includes its .git, which has no use in the
archive. The .git of a clone has no objects, only a reference to DL_DIR via
objects/info/alternates, and the .git of a shallow tarball duplicates the
sources, which roughly doubles the archive. Remove it, and the .git files of
submodules. Keep it with nocheckout (and bareclone), where the repository is
the source.

AI-Generated: Claude Code with Claude Haiku 5.5
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 meta/classes/archiver.bbclass            | 13 +++++
 meta/lib/oeqa/selftest/cases/archiver.py | 63 ++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 9ce12b0e9b..3c201a9009 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -204,6 +204,7 @@ python do_ar_original() {
     fetch = bb.fetch.Fetch(urls, ld)
     tarball_suffix = {}
     for url in fetch.urls:
+        ud = fetch.ud[url]
         local = fetch.localpath(url).rstrip("/");
         if os.path.isfile(local):
             shutil.copy(local, ar_outdir)
@@ -214,6 +215,18 @@ python do_ar_original() {
             fetch.unpack(tmpdir, (url,))
             if not os.listdir(tmpdir):
                 bb.fatal("Cannot archive original source %s: nothing was unpacked" % url)
+            if isinstance(ud.method, bb.fetch.git.Git) and not ud.nocheckout:
+                # The .git of a clone has no objects (clone -s only references
+                # them via objects/info/alternates), and the one of a shallow
+                # tarball duplicates the sources, so it is of no use in the
+                # archive. This includes the .git files of submodules. Keep it
+                # with nocheckout (and bareclone), where it is the source.
+                for root, dirs, files in os.walk(ud.destdir):
+                    if '.git' in dirs:
+                        dirs.remove('.git')
+                        bb.utils.remove(os.path.join(root, '.git'), recurse=True)
+                    if '.git' in files:
+                        os.remove(os.path.join(root, '.git'))
             # To handle recipes with more than one source, we add the "name"
             # URL parameter as suffix. We treat it as an error when
             # there's more than one URL without a name, or a name gets reused.
diff --git a/meta/lib/oeqa/selftest/cases/archiver.py b/meta/lib/oeqa/selftest/cases/archiver.py
index 629b5eb63a..0a85046cda 100644
--- a/meta/lib/oeqa/selftest/cases/archiver.py
+++ b/meta/lib/oeqa/selftest/cases/archiver.py
@@ -212,6 +212,69 @@ class Archiver(OESelftestTestCase):
 
         names = self._get_original_git_archive_names(target)
         self.assertTrue([n for n in names if n.endswith('/COPYING')], 'Archive has no source files: %s' % names[:20])
+        self._assert_no_git(names)
+
+    def test_archiver_mode_original_git(self):
+        """
+        Test that the archive of a git source with
+        `ARCHIVER_MODE[src] = "original"` has no .git directory.
+        """
+        target = 'gitrepotest'
+
+        features = 'INHERIT += "archiver"\n'
+        features += 'ARCHIVER_MODE[src] = "original"\n'
+        self.write_config(features)
+
+        bitbake('-c cleansstate %s' % target)
+        bitbake('-c deploy_archives %s' % target)
+
+        names = self._get_original_git_archive_names(target)
+        self.assertTrue([n for n in names if n.endswith('/COPYING')], 'Archive has no source files: %s' % names[:20])
+        self._assert_no_git(names)
+
+    def test_archiver_mode_original_gitsm(self):
+        """
+        Test that the archive of a git source with submodules with
+        `ARCHIVER_MODE[src] = "original"` contains the submodules, but neither
+        the .git directory nor the .git files of the submodules.
+        """
+        target = 'git-submodule-test'
+
+        features = 'INHERIT += "archiver"\n'
+        features += 'ARCHIVER_MODE[src] = "original"\n'
+        features += 'COPYLEFT_LICENSE_INCLUDE = "*"\n'
+        self.write_config(features)
+
+        bitbake('-c cleansstate %s' % target)
+        bitbake('-c deploy_archives %s' % target)
+
+        names = self._get_original_git_archive_names(target)
+        self.assertTrue([n for n in names if n.endswith('/.gitmodules')], 'Archive has no .gitmodules: %s' % names[:20])
+        # .gitmodules is part of the superproject, check a file of a submodule
+        self.assertTrue([n for n in names if n.endswith('/bitbake/lib/bb/__init__.py')], 'Archive has no submodule content: %s' % names[:20])
+        self._assert_no_git(names)
+
+    def test_archiver_mode_original_git_nocheckout(self):
+        """
+        Test that the archive of a git source with nocheckout=1 keeps the .git
+        directory, since the repository is the source in this case.
+        """
+        target = 'gitrepotest'
+
+        features = 'INHERIT += "archiver"\n'
+        features += 'ARCHIVER_MODE[src] = "original"\n'
+        features += 'SRC_URI:pn-%s = "git://git.yoctoproject.org/matchbox-panel-2;branch=master;protocol=https;nocheckout=1 file://0001-testpatch.patch"\n' % target
+        self.write_config(features)
+
+        bitbake('-c cleansstate %s' % target)
+        bitbake('-c deploy_archives %s' % target)
+
+        names = self._get_original_git_archive_names(target)
+        self.assertTrue([n for n in names if '.git' in n.split('/')], 'Archive has no .git: %s' % names[:20])
+
+    def _assert_no_git(self, names):
+        git = [n for n in names if '.git' in n.split('/')]
+        self.assertFalse(git, 'Archive contains .git: %s' % git[:20])
 
     def _get_original_git_archive_names(self, target):
         """
-- 
2.43.0


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

* Re: [OE-core] [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives
  2026-12-02 20:54 ` [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives ecordonnier
@ 2026-12-04  6:54   ` Mathieu Dubois-Briand
  2026-12-04 17:02     ` Etienne Cordonnier
  0 siblings, 1 reply; 6+ messages in thread
From: Mathieu Dubois-Briand @ 2026-12-04  6:54 UTC (permalink / raw)
  To: ecordonnier, openembedded-core

On Wed Dec 2, 2026 at 9:54 PM CET, Etienne Cordonnier via openembedded-core wrote:
> From: Etienne Cordonnier <ecordonnier@snap.com>
>
> The unpacked tree of a git source includes its .git, which has no use in the
> archive. The .git of a clone has no objects, only a reference to DL_DIR via
> objects/info/alternates, and the .git of a shallow tarball duplicates the
> sources, which roughly doubles the archive. Remove it, and the .git files of
> submodules. Keep it with nocheckout (and bareclone), where the repository is
> the source.
>
> AI-Generated: Claude Code with Claude Haiku 5.5
> Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
> ---

Hi Etienne,

Thanks for the new version.

It looks like one of the tests is now failing:

2026-12-03 19:33:27,668 - oe-selftest - INFO - archiver.Archiver.test_archiver_mode_original_git_shallow (subunit.RemotedTestCase)
2026-12-03 19:33:27,668 - oe-selftest - INFO -  ... FAIL

Stderr:
NOTE: Reconnecting to bitbake server...
2026-12-03 19:33:27,668 - oe-selftest - INFO - 1: 16/57 655/844 (546.88s) (1 failed) (archiver.Archiver.test_archiver_mode_original_git_shallow)
2026-12-03 19:33:27,668 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/archiver.py", line 213, in test_archiver_mode_original_git_shallow
    names = self._get_original_git_archive_names(target)
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/archiver.py", line 286, in _get_original_git_archive_names
    self.assertEqual(len(archives), 1, 'Expected one source archive for %s, found %s' % (target, archives))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/unittest/case.py", line 925, in assertEqual
    assertion_func(first, second, msg=msg)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/unittest/case.py", line 918, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: 0 != 1 : Expected one source archive for gitrepotest, found []

https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/5404
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/5208
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/5427

Can you have a look at the issue?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

* Re: [OE-core] [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives
  2026-12-04  6:54   ` [OE-core] " Mathieu Dubois-Briand
@ 2026-12-04 17:02     ` Etienne Cordonnier
  2026-12-04 17:22       ` Mathieu Dubois-Briand
  0 siblings, 1 reply; 6+ messages in thread
From: Etienne Cordonnier @ 2026-12-04 17:02 UTC (permalink / raw)
  To: Mathieu Dubois-Briand; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 4373 bytes --]

Hi Mathieu,

in https://lists.openembedded.org/g/openembedded-core/message/251855 , I
indicated that the v4 of the oe-core patches drops the bitbake patch from
v3. The tests were run with the v4 oe-core patches and the bitbake patch
from v3, and thus fail.
Please drop the patch "fetch/git: return the shallow tarball as localpath
when there is no clone" from bitbake master-next.

Étienne

On Fri, Dec 4, 2026 at 7:54 AM Mathieu Dubois-Briand <
mathieu.dubois-briand@bootlin.com> wrote:

> On Wed Dec 2, 2026 at 9:54 PM CET, Etienne Cordonnier via
> openembedded-core wrote:
> > From: Etienne Cordonnier <ecordonnier@snap.com>
> >
> > The unpacked tree of a git source includes its .git, which has no use in
> the
> > archive. The .git of a clone has no objects, only a reference to DL_DIR
> via
> > objects/info/alternates, and the .git of a shallow tarball duplicates the
> > sources, which roughly doubles the archive. Remove it, and the .git
> files of
> > submodules. Keep it with nocheckout (and bareclone), where the
> repository is
> > the source.
> >
> > AI-Generated: Claude Code with Claude Haiku 5.5
> > Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
> > ---
>
> Hi Etienne,
>
> Thanks for the new version.
>
> It looks like one of the tests is now failing:
>
> 2026-12-03 19:33:27,668 - oe-selftest - INFO -
> archiver.Archiver.test_archiver_mode_original_git_shallow
> (subunit.RemotedTestCase)
> 2026-12-03 19:33:27,668 - oe-selftest - INFO -  ... FAIL
>
> Stderr:
> NOTE: Reconnecting to bitbake server...
> 2026-12-03 19:33:27,668 - oe-selftest - INFO - 1: 16/57 655/844 (546.88s)
> (1 failed) (archiver.Archiver.test_archiver_mode_original_git_shallow)
> 2026-12-03 19:33:27,668 - oe-selftest - INFO -
> testtools.testresult.real._StringException: Traceback (most recent call
> last):
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/archiver.py",
> line 213, in test_archiver_mode_original_git_shallow
>     names = self._get_original_git_archive_names(target)
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/archiver.py",
> line 286, in _get_original_git_archive_names
>     self.assertEqual(len(archives), 1, 'Expected one source archive for
> %s, found %s' % (target, archives))
>
> ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.14/unittest/case.py", line 925, in assertEqual
>     assertion_func(first, second, msg=msg)
>     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.14/unittest/case.py", line 918, in
> _baseAssertEqual
>     raise self.failureException(msg)
> AssertionError: 0 != 1 : Expected one source archive for gitrepotest,
> found []
>
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__autobuilder.yoctoproject.org_valkyrie_-23_builders_35_builds_5404&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=vG8PZCHtPW8gtOfxH3NUBa5IGk5BCiJ8zKy6JZRitPY3ibuFM_v_FJEhxJZMnbZg&s=wnNCbThtVCw2hltWdi04RdExCzk3zbsCgYDG4hrUIVM&e=
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__autobuilder.yoctoproject.org_valkyrie_-23_builders_48_builds_5208&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=vG8PZCHtPW8gtOfxH3NUBa5IGk5BCiJ8zKy6JZRitPY3ibuFM_v_FJEhxJZMnbZg&s=tRZ_iTLAf2_p63R9s-JPopLCuobl2swt8QS8fJuJQF8&e=
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__autobuilder.yoctoproject.org_valkyrie_-23_builders_23_builds_5427&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=vG8PZCHtPW8gtOfxH3NUBa5IGk5BCiJ8zKy6JZRitPY3ibuFM_v_FJEhxJZMnbZg&s=E5AIIKY_H2Qc973ddQDhMpGrUt6pflSrQb60dcxpUI8&e=
>
> Can you have a look at the issue?
>
> Thanks,
> Mathieu
>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__bootlin.com&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=vG8PZCHtPW8gtOfxH3NUBa5IGk5BCiJ8zKy6JZRitPY3ibuFM_v_FJEhxJZMnbZg&s=fQXpPDMGOR8JHiKM_VZ5w3gXuTpTu_hHu33VCLSJ5W0&e=
>
>

[-- Attachment #2: Type: text/html, Size: 6744 bytes --]

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

* Re: [OE-core] [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives
  2026-12-04 17:02     ` Etienne Cordonnier
@ 2026-12-04 17:22       ` Mathieu Dubois-Briand
  0 siblings, 0 replies; 6+ messages in thread
From: Mathieu Dubois-Briand @ 2026-12-04 17:22 UTC (permalink / raw)
  To: Etienne Cordonnier; +Cc: openembedded-core

On Fri Dec 4, 2026 at 6:02 PM CET, Etienne Cordonnier wrote:
> Hi Mathieu,
>
> in https://lists.openembedded.org/g/openembedded-core/message/251855 , I
> indicated that the v4 of the oe-core patches drops the bitbake patch from
> v3. The tests were run with the v4 oe-core patches and the bitbake patch
> from v3, and thus fail.
> Please drop the patch "fetch/git: return the shallow tarball as localpath
> when there is no clone" from bitbake master-next.
>
> Étienne

My bad, I missed that point. This series in back in my branch, it will
be part of the next run.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 20:54 [PATCH v4 0/2] archiver.bbclass: archive shallow git sources without a clone, drop .git ecordonnier
2026-12-02 20:54 ` [PATCH v4 1/2] archiver.bbclass: unpack original sources without a localpath ecordonnier
2026-12-02 20:54 ` [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives ecordonnier
2026-12-04  6:54   ` [OE-core] " Mathieu Dubois-Briand
2026-12-04 17:02     ` Etienne Cordonnier
2026-12-04 17:22       ` Mathieu Dubois-Briand

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