From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0BFVN6v1fWP9YwAAbAwnHQ (envelope-from ) for ; Wed, 23 Nov 2022 11:27:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6KFsNqv1fWNJIAAAG6o9tA (envelope-from ) for ; Wed, 23 Nov 2022 11:27:55 +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 83F8BB8CD for ; Wed, 23 Nov 2022 11:27:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxmyM-0004ls-A9; Wed, 23 Nov 2022 05:27:18 -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 1oxmyE-0004il-2F for guix-devel@gnu.org; Wed, 23 Nov 2022 05:27:10 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxmyB-0006XH-Ue for guix-devel@gnu.org; Wed, 23 Nov 2022 05:27:09 -0500 Received: by mail-wr1-x436.google.com with SMTP id e11so15777527wru.8 for ; Wed, 23 Nov 2022 02:27:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=23wnSwzm5zUjIyO3eXAgr5wamX+0bzenZ9xaK2XSWuM=; b=i4o6rzDHcduLWEro0H27wVUwYUXdpbSFFh9YhRQV4QHQw4ih1GY2wMQir/twJ7jRrH ZUCO8NH9jPpZn/62MdJO6PkARfQK5+VKmckqRCoPIh21S1An/OPR1VD6NgFWWlSC5vxS OUE0Ny3inwrETe/Btn3oE+8Oil2SPtwziE6I+zXwvnZZVtYQZ3WEjkYsZedyOCnqAjAg uNJ3nmI5NGjbtxtkGC0oCjpRMCDmAMdII+2mpTymfaLZUlyI65Q8utAZygHrNMn/SuSc lPkCa1RcPvrF+AKmtrhfCDKD6QOp6M2IPAa/+SicR5ZA/iqHmEgynqt6CgRaXFGXYeIW zjXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=23wnSwzm5zUjIyO3eXAgr5wamX+0bzenZ9xaK2XSWuM=; b=CvWF5RyUA9J91XKAENgaCt5utSLXwhcp9qTfPQzZMh3PFSTjF81dpyE27IBhmBJpJ8 zsGAkgwc4cqHaOe5U7Gzy/r6YflEUygBWQbhEIGcZ5xWHnFpDfv1F/ilHJMqy9eqacMx V4eE1Cp/Wl1p/FUcSfqJbt8EVOINax5SuNQo7nqFiqQpA6jER1HAObejKZlezRrNN8AY 8pasQ9h7TFhQoCYHKnGJyOIq4nu15UhDMPZpW9akLlX3XjFkMWBcLBy8MdgEEcs27SEw UQb6gTKlsDYskNNfgJtMDpCNXmp1c+1Ci1JOrSpHgjxPWA4RBVYetw5uq780fMVLy0bq P1MA== X-Gm-Message-State: ANoB5pmdfgHXiIELyBFp0nrOwqtX7XRu62s2uBtQ2m2ULIeVFsYQBwl6 1XdVL9EZE+X4q047qHb1tDRoRDnTDew= X-Google-Smtp-Source: AA0mqf7KNlD4XwI9amKLZURleWaTuEK/MnBWxBJB2qiOJ8OuPIzlFItiORE5OX/9uFcFpqAKwsmiuA== X-Received: by 2002:adf:ec84:0:b0:241:c36f:c3b1 with SMTP id z4-20020adfec84000000b00241c36fc3b1mr13830406wrn.310.1669199226381; Wed, 23 Nov 2022 02:27:06 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id bi8-20020a05600c3d8800b003c701c12a17sm1799497wmb.12.2022.11.23.02.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 02:27:05 -0800 (PST) From: zimoun To: Phil , Wojtek Kosior Cc: Philip McGrath , guix-devel@gnu.org Subject: Re: RFC: libgit2 is slow/inefficient; switch to git command? In-Reply-To: <87k03mu1w5.fsf@beadling.co.uk> 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> Date: Wed, 23 Nov 2022 10:57:55 +0100 Message-ID: <86tu2qat7g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=1669199275; 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=23wnSwzm5zUjIyO3eXAgr5wamX+0bzenZ9xaK2XSWuM=; b=PTeq4YJthcM58fxkBPHhlKjoJVS66Qcrk5Do6CHV1019BJwEyQ9NuA2zoTrJ+qdzJi3ClL k25fp1G3WRjBlUb2ufb0G81R8vDVqna1E3xwG1MxbK8T5RrT5OTSZkl9AvZ+yMHnhbNQZo RQQwULuKEzdKgnLYUuiJr968N60Sc0jGiPaRLpqxU993+8Z+2cs5jL02mtcLmggqnh7H41 gK71eY3omsX72CJ74mK2oDKfSK4X0vmKhceUYY0Bk2MwoYinYRc20Uh/kdWjxGr+JYwHWf noMW7P9mKrMkALVvseHUlE4mPbITDVNi5BON7a8La3a48cAcfRvRRmU7cQCtRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669199275; a=rsa-sha256; cv=none; b=fYVHzM8E05al+TfXVRmNT41X62v1+6K6S06JaGnYdeh5i9RkFHWsm+GMmdvypoDl9SXE72 slpoWW7lfyBdL51E6BCU0Rrhb8IbSy5CwnNkmD5nAWuGbvLI2IT/59nH2ti2tk3evBDFmk kYBX+YVyl/MzfCTU3rstPIrSUKjBiBJoZ6dFk05KsAvNFlKiCYpqF5YUg0VtJ9qjgJDVPQ N0gc2hedg4jYKM7nbj4PpSQXWXc7Zk5tB1/LyDLVg60FzT7MuVz7PohjfYPOJq8wBKXY3n +KKdMCAaDlgu4nqkXCpIOvt8lvUMCtJRBS9F77X3gh9SwBKJ95MrfDgdEqEnDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=i4o6rzDH; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=i4o6rzDH; dmarc=pass (policy=none) header.from=gmail.com; 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: 83F8BB8CD X-Spam-Score: -1.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: N3+ze9k83w4w Hi, On Tue, 22 Nov 2022 at 21:15, Phil wrote: > 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. [...] > An explanation of why, was raised with libgit2: > https://github.com/libgit2/libgit2/issues/6183 To avoid people to follow various links, this issue #6183 is another manifestation of issue #3361 (still open since Aug 6, 2015). Quoting: Git has recently changed the refspec matching rules to allow refspecs such as refs/heads/o*:refs/remotes/heads/i* We still perform checks using the old rules by which the glob must always match a full path element. https://github.com/libgit2/libgit2/issues/3361 However, pleas note that only 3 issues with the tag =E2=80=99git compatibil= ity=E2=80=99 are currently open [1]=E2=80=93well three when 2 are related. 1: Cheers, simon