From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 iBIsERA8fWOppwAAbAwnHQ (envelope-from ) for ; Tue, 22 Nov 2022 22:16:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +IIyERA8fWOuEQEA9RJhRA (envelope-from ) for ; Tue, 22 Nov 2022 22:16:00 +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 EC09DB4E2 for ; Tue, 22 Nov 2022 22:15:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxac8-0000jk-F2; Tue, 22 Nov 2022 16:15:32 -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 1oxac6-0000jD-Ek for guix-devel@gnu.org; Tue, 22 Nov 2022 16:15:30 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxac4-0000y4-0H for guix-devel@gnu.org; Tue, 22 Nov 2022 16:15:29 -0500 Received: by mail-wr1-x42d.google.com with SMTP id g12so26687995wrs.10 for ; Tue, 22 Nov 2022 13:15:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=mime-version:date:message-id:in-reply-to:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=9UuX1NJyA9Mw3Hs2229nc4Z9WKzNF6c9AXO+bHK0rCI=; b=tXfMGvMnp4rkf6ar7tU10pGOegu/9RcHkr/vIKeFhxfackUBYrkO7n2rL2ZiBUA2Bi DguN7nXERM2ELqfwOdJHJATHkd1M5mZoZYGo72DxgcWSqMsTwNuoSnTD2yuGanfObTRB BbiyMqrtCRbhxJ195yNB/jqJsDmul/sklUWTl9w23evJagwBKkIoCmmd5qZdQZgooWI9 xapcwthCCmn8U7vwibGIvbu6VEga+fPx7acLJtqLhKM8WCL2urMIz2m8DBlgNjKY1DtS q71yChNh0ZNrsi0CTtn/Acg63+0z0JdLUSLnfAUqM1X1uB/TXsnMuO1VGGHL75MLxkHi bfNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:date:message-id:in-reply-to:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9UuX1NJyA9Mw3Hs2229nc4Z9WKzNF6c9AXO+bHK0rCI=; b=iDlYC6KaksMFV8kISiAfqQOtmJ4ymVfFUWy6mGPG/Tyj0Ph1hnPyukuMPjgw2jBpj/ Pwj4Q1Pt/ay/bvzYaLURXQCuBAP/VzxmXoMX5ES5hwkI8hXg816LhA2RvLypPccSjGyd ENQlxThcCFnHVUIV6BDDqP9qi3w4uLBOshDqWH2+mPL4oouyj3KAPgx2ZOTnVeozfng0 Q7RchTyYORb7FGwsNbpjP0vxzRqaIo4rjOXBjzRNNZg8I56cfua7OnRhI6aaKPUqO/V0 46M7ROGAJvPVzZ8B8MsPtaUNVGY/a84emgEEjXPvBvVs17aVLuvdcPkqwXfNxKACvlxb Eb9A== X-Gm-Message-State: ANoB5pmQr3Jkbjdk+nFiBV7/khJEAWc7WX6cE7H8ozvF4FIUy08i3uOY ZYLR3ZW79AoE9Nx0T1boIPrsMA0PS8NiEbej X-Google-Smtp-Source: AA0mqf4fQ2Sp15Qmx9Q301v6euRrzAU9QYedpLUYTv1V6VEdYRMwnovUTKEmOCkQTfMqPM0//t0z2g== X-Received: by 2002:adf:e947:0:b0:236:58c8:2b91 with SMTP id m7-20020adfe947000000b0023658c82b91mr9383606wrn.99.1669151724494; Tue, 22 Nov 2022 13:15:24 -0800 (PST) Received: from xps13 ([2a02:6b61:746b:0:2d:c964:e347:e0c0]) by smtp.gmail.com with ESMTPSA id n21-20020a05600c4f9500b003cfd64b6be1sm30408333wmq.27.2022.11.22.13.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 13:15:23 -0800 (PST) References: <87cz9fpw4x.fsf@gmail.com> <86leo3c81x.fsf@gmail.com> <49015314-2158-466b-a8ac-41abed84c5f1@app.fastmail.com> <20221122185125.7a1528f9@koszkonutek-tmp.pl.eu.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: Wojtek Kosior Cc: Philip McGrath , guix-devel@gnu.org Subject: Re: RFC: libgit2 is slow/inefficient; switch to git command? In-reply-to: <20221122185125.7a1528f9@koszkonutek-tmp.pl.eu.org> Message-ID: <87k03mu1w5.fsf@beadling.co.uk> Date: Tue, 22 Nov 2022 21:15:22 +0000 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::42d; envelope-from=phil@beadling.co.uk; helo=mail-wr1-x42d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1669151760; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9UuX1NJyA9Mw3Hs2229nc4Z9WKzNF6c9AXO+bHK0rCI=; b=AbuYOso3DAVkF2p4tddrLD46SK87XqKqV96a5GikRhFAOsieMbfwatoGfmhrOaj8W5ynKq droD9jEObDdHAb3I/mm8ov7oey8byKwePCADBgdwJHs/TBXvZrcS2IBE8YdOBINpHKGWYS kX1qnEbcEGm6EeRRRbrZ/3cy8IeQoFTVi6JmdpX4cQdYjLgLDvDXSiUf/ozFxma9xpkAY+ wnNTHoHlvTgHwcsWvt4dTi8KM0Caenxi9gjJbEoBrogk0HIi0bExFEm7fIn6SSIEQV5zWE uLcR7PZRlMAPRHnDxXBs71GNNZY7I+RLIsJAk4SAkyANr09i3GHZBWZ4+MYWyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669151760; a=rsa-sha256; cv=none; b=EoBjH6sCpwu8LL5rTxG1/BUxRXxmccc9wljjPQ1Mi5axZYXo/vU0IxjKx4Y0BbgDbXdrfv gWruYH52ClSCSuedIp8Eg5AimO8zZ4f/ZZUEaz57q9CnF99dzqxEDe0CQx1CP9vBqxtquq SB0Sboqu8qm8MhIHnalBUykxPnaPebdPzTUeC9kMNuCuC1ZXZleqEKoLTHczcOxindvkG5 8kackMBJ1iKH9y2gss/g8KOBoeqazGuoc4WWATQZJHO95GDRa76Ghy1YDsIybPNa6zPdn7 MjRpbKLEZlASV6SnYA5rLCxCYpLHQxb3r/YflvIncOlM6nVVRKo0bQUmdsGDZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=tXfMGvMn; dmarc=none; 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: -2.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=tXfMGvMn; dmarc=none; 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: EC09DB4E2 X-Spam-Score: -2.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: vnCmz0LLRjHd Hi, Wojtek Kosior via Development of GNU Guix and the GNU System distribution. writes: > Hi, > > I just want to add my 2 cents :) Just to add mine too - libgit2 behaves differently to command-line git in ways which can make guix do unexpected things when caching clones in certain cases. This has resulted in some hard to diagnose issues with using guix to build PRs for example. 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/473954dd92bbb84693b6fa3f007752eb53c804db 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 This particular issue is somewhat niche - but it demonstrates well the danger of assuming the libgit2 and git behave in the same way! This makes me a bit wary of using libgit2 now. Cheers, Phil.