From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IKq5KxGZfmNGwQAAbAwnHQ (envelope-from ) for ; Wed, 23 Nov 2022 23:05:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SMzUKhGZfmNm2QAAG6o9tA (envelope-from ) for ; Wed, 23 Nov 2022 23:05:05 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6EA8D2A79D for ; Wed, 23 Nov 2022 23:05:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxxr5-0007Sq-3O; Wed, 23 Nov 2022 17:04:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxxr2-0007PX-J6 for guix-devel@gnu.org; Wed, 23 Nov 2022 17:04:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxxr1-00044A-FX; Wed, 23 Nov 2022 17:04:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=VUJdMx0oiiLjaJsitTNb5lsk+FfUORpmTL/0tqEFRNg=; b=CavobEDqR+vpGcwSAwJA Z8OWAHRCfCrPMbGHSCymL6nDECNBlu5eb6zT+CgZLdS7dBu6Qu53Mf8p34/+7QaHfrSoZXaRMshDI 4Giwvx/0Hn9+QBdo5UVNBScZZ4hYZ70xn5+S+3N0a4Dd7AgZeLKatjo7UtCWbacf1Vmqg0OVy8Nu9 VJxIZSzxE63KaOoFAMZsAaKO2+cTe0/CUyD8FKmWJMY2awL+K8soJ7MVlbtFK6EO+qv1zGVEMZras gI3Q87/PBXEE3yJJjIBw9JZ9ZZ8sKAGVBFjLEiSHWDRtO022JBuqHPV9zfX02f8nOrbccGNKPuHZE AREXiogx39AwrA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxxqz-0007S8-Ma; Wed, 23 Nov 2022 17:04:26 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Phil Cc: Wojtek Kosior , Philip McGrath , guix-devel@gnu.org Subject: Re: RFC: libgit2 is slow/inefficient; switch to git command? References: <87cz9fpw4x.fsf@gmail.com> <86leo3c81x.fsf@gmail.com> <49015314-2158-466b-a8ac-41abed84c5f1@app.fastmail.com> <20221122185125.7a1528f9@koszkonutek-tmp.pl.eu.org> <87k03mu1w5.fsf@beadling.co.uk> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 3 Frimaire an 231 de la =?utf-8?Q?R=C3=A9volut?= =?utf-8?Q?ion=2C?= jour de la =?utf-8?Q?Chicor=C3=A9e?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 23 Nov 2022 23:04:23 +0100 In-Reply-To: <87k03mu1w5.fsf@beadling.co.uk> (phil@beadling.co.uk's message of "Tue, 22 Nov 2022 21:15:22 +0000") Message-ID: <87zgche3a0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669241105; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VUJdMx0oiiLjaJsitTNb5lsk+FfUORpmTL/0tqEFRNg=; b=ohpINf1eSbnpVxZckiD/KJ5VQ6BI8w/4RRo+GOMcO1ZhcVI0v5bXJnIlf9tzEvgWGKMIFz Z7JOuHRzczX+6cBs+QxkyauT/MGeCKldZwgonBqBAir9ow6MuiPWCKBEnLf241M9fI0Q2d YnT2iBcBmMwN2zDXOS3HHNGqdGa5JoqkZgSEv65qsgMfLriu0GcKgdr0m18ysznxilEZcE D8rcIl1hsfIyp5wbXkIP9FVoiqQH9USvsUrWzkRTb+f9e6il8jLi1TeLVT3ofsieugsCC9 LEC1XFpTK6vxzZ1vjU1cHRebM5XO1VTMPkRYbUW4MiMODoOEWmGZjEnMtXYT2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669241105; a=rsa-sha256; cv=none; b=oxhsRZrKEU8LSey/oua4ZuLxDuETz49YhezTl7ge4bXoY5l6wT1p8VMwF24Dcl7LGsY09V v+3//9yjyEA/oyW3nz8SyPfJziVezNkNPdSvekW7pAi7ae5jObQgyQ1jF8i0yjIu1QLQT1 DU7Bwh6XiTRkPMx07yMBxdakJ+Bwtj14O3HHiwe+c6AIEn+/A/jf/mA7Bj8jM/+hEW8uzn 5baW2nl9nBlXsd5hzHnYLWXlq/7F9UpjEPW31hc4GY12PYdzQWovuPPw+gbO0fyB36rjdW Qw+yv0AMk/xFLSCQ22GgJArWSjkhfDfVickvaUAFRCt3WcWhYmm3bnm+iyazkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=CavobEDq; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=CavobEDq; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6EA8D2A79D X-Spam-Score: -4.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: BGcxxj4ZucdC Hi, Phil skribis: > In particular we were forced to make this change to our local guix build > to ensure that guix behaved inline with git: > https://github.com/guix-mirror/guix/commit/473954dd92bbb84693b6fa3f007752= eb53c804db > > An explanation of why, was raised with libgit2: > https://github.com/libgit2/libgit2/issues/6183 > > The original guix-devel discussion here: > https://lists.gnu.org/archive/html/guix-devel/2022-03/msg00021.html I didn=E2=80=99t follow that but perhaps there=E2=80=99s something we shoul= d do in Guix proper? Maybe not exactly this change though, because it might be a performance hit, but it=E2=80=99s worth discussing. > This particular issue is somewhat niche - but it demonstrates well the > danger of assuming the libgit2 and git behave in the same way! Whichever implementation we use is going to behave differently from Git in some cases (unless we use Git, that is). But I think that=E2=80=99s oka= y, we can smooth out issues. Thanks, Ludo=E2=80=99.