From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2482.1796367279488366205 for ; Thu, 03 Dec 2026 22:54:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=hVi0FZ+W; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: mathieu.dubois-briand@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 521961A192D for ; Fri, 4 Dec 2026 06:54:37 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 20E65607FC; Fri, 4 Dec 2026 06:54:37 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6671E11EA18C1; Fri, 04 Dec 2026 07:54:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796367276; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=wAw0GGOFAeUCkZOyxNm55eUwrQc0D4YrU4y7MAZH9+U=; b=hVi0FZ+WjO5T3xPC/Xd1kJHv1+DM8AgsZM4e42BGaq5XpLYzeyV9f48UAExHG+VoQ30qIT WipFvF3d5N66mOXuRBexiUtqINHmhbcq/+NDH2md1nW85CUMc159SrV5sksEgmueD1KKaG 5bt7ARCsqz/SmxEFJ2VeGOQmdeyNJFcZcY7VsfPW2M/mDkNR4hKDfH5KQpEONQmtwrRvEb NV/6x18TCZRnQ4FeQYi779SUdkxQY9kKFT6lFBuws6ecweM8Jxe/tdqCZ+3nlmCRkg6iCr 76mZKX2+l0SMj4ssGs0I9uHCwsoyBVRLFveyxpd2I+uq/WRPRvRK9w4lEnmBNw== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 04 Dec 2026 07:54:33 +0100 Message-Id: From: "Mathieu Dubois-Briand" To: , Subject: Re: [OE-core] [PATCH v4 2/2] archiver.bbclass: remove .git from original git source archives X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20261202205446.2442999-1-ecordonnier@snap.com> <20261202205446.2442999-3-ecordonnier@snap.com> In-Reply-To: <20261202205446.2442999-3-ecordonnier@snap.com> X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 06:54:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251939 On Wed Dec 2, 2026 at 9:54 PM CET, Etienne Cordonnier via openembedded-core= wrote: > From: Etienne Cordonnier > > 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 v= ia > 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 > --- 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_archi= ver_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._S= tringException: Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openemb= edded-core/meta/lib/oeqa/selftest/cases/archiver.py", line 213, in test_arc= hiver_mode_original_git_shallow names =3D self._get_original_git_archive_names(target) File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openemb= edded-core/meta/lib/oeqa/selftest/cases/archiver.py", line 286, in _get_ori= ginal_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=3Dmsg) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/unittest/case.py", line 918, in _baseAssertEqua= l raise self.failureException(msg) AssertionError: 0 !=3D 1 : Expected one source archive for gitrepotest, fou= nd [] 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 --=20 Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com