From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qMefNuBCA2UEZgEAG6o9tA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 19:29:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qMefNuBCA2UEZgEAG6o9tA (envelope-from ) for ; Thu, 14 Sep 2023 19:29:04 +0200 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 29316542FC for ; Thu, 14 Sep 2023 19:29:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=QHCrPeCx; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694712544; a=rsa-sha256; cv=none; b=XFYBDhuP9ByLsB21/aXfelKR0O55zz9xMJPUD521sOX49tDH5hsaRugZcWOUut27ajuKHl XcKC2U0ijHG8IRz5BxovnCPxWGQfhu7lsPvKjyejP/F3YGPjenRk+PboAvntyOgjuE4A3l iJm5DJsf1+3zst8k/InY+IFJ6HJ/yUURAWVmB+w9oarqMznoXtGePdpFzYU+1OC7rmZZPs AOrCorOrT3OJ67/v/GRlX4MGMB2KPJkK9fNOZYJBSDStZ6/G/EEp2bYyKeXRwOKTyFw9Z5 t5W1MtwyRaBKz5PV4nonRKSobhmwGVAkOiTzXhNf37+oHCOiGzpnO7boHQra1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694712544; 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=C8BlSTojt/4l6Kcqcls8ku91AkOC2MyYO6XR0UGoaeI=; b=uIwDr5gTMgwgU2UgdEDQKT73+5N6sW61lxk4cR0L8YDVvJLxJA3A/wl34iz1GQfaqWMx13 vi+lVm/7ihvFz62ZRK0SLHCUNYiGzj6UdWcXckviQQPrKgITAXrVTWDj/bULcZKw12gWbK sQjjXWiUq+GuUWS3Fl/ODGJWTdDI0Fr4iWJTTuLXTMWvnEGEY5fFwIxpanUr6xxdpIUpVv QCKb0gzgBF+f7gFUwXagtyCv4LhTroMmOas+TIe6qb2DOVxFoHUbEshrd19io9e2SK8EVC yNaSGhGrZ4PBOwzN2hWNlVza15WxChitFx/LFvubtj7UQg7bge4OH+4vhomZZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=QHCrPeCx; 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"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgq8n-0000Rp-8p; Thu, 14 Sep 2023 13:28:33 -0400 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 1qgq8e-0000NR-WC for guix-devel@gnu.org; Thu, 14 Sep 2023 13:28:25 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgq8d-0003bl-9y; Thu, 14 Sep 2023 13:28:24 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bd001539bdso3965521fa.1; Thu, 14 Sep 2023 10:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694712498; x=1695317298; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=C8BlSTojt/4l6Kcqcls8ku91AkOC2MyYO6XR0UGoaeI=; b=QHCrPeCx/BhNZcKN8g+RCQCZxchKq/OKoYtUip4xSvTJUxRsU3uRvVYNe3z66UYg44 g2XlvDRKkBDUmRRr5oIxbGbuKaNz97czcQ8dD9i6k+g7a6OAn48jb10nhKJXHQtO8fHB 4SJEf9EEquoyRBlFMyLoH9b6q3CeL6quYxCbAO7PacRoJSToA3gjDNKoAuNPrsh8mxZ2 x6rhwUDeRE/DZc8E6QlbyQH67WSkeMTG869Mbb6hafJ/f27e0sb2kH4Y7RUF9tyWAUeh sHnczsUHaHAa47Npz7PqX+kmFlpGIu1ifCTGryqiQdJEMCg4jiQILShbVB8tUeyKYl1Z Xj7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694712498; x=1695317298; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C8BlSTojt/4l6Kcqcls8ku91AkOC2MyYO6XR0UGoaeI=; b=jHE9tgukUhQ23lgGHzUkKHFANn3KLr9w7FG3Ti7unBQpqXZBoKS8q2WtzseeANvbbx E0mLx/VrdRUVkZ59GNjlln17jOZZaIwP06kVwOQtsMI+smkLKfl0OImpXtfHLbEqEwLm feXNoipc1g1jTsdEiUzpasSTXVAMUoOYBlr6BtuBqOb7IUSVtwW6mJgDIC0a43ALY7nu xRoyd7k/PiJSVoV4MOr0pz8eq9vIjoFr/sPPDMqj1y6yO2fVp4aR9D2/CrCQWHrYPo+g ylip1VSgb0QJFhTEJBD/tg1GYvGiEB9tCLoXRUxJ4hUE02pYx1SfodK+3hSRPlaU4s/n iXjw== X-Gm-Message-State: AOJu0Yy0G+8FDYOOVT7DM2qP4pbb12zKWM8WD0ONKHP67J9MmRgLHcDB 9KdP0vwTK3l9SDCTbvCtDIEYnrqU4LFeL+B95w9ggMKNMZo= X-Google-Smtp-Source: AGHT+IFQqjgwi8rWAVLAtzEdTOtoOL0UNGLYy3AcpvLDi1HJ/9Eg+XN9E8It+bSpoVVqvHPnuvLZxjaUXf+3SC1XS7M= X-Received: by 2002:a2e:a48e:0:b0:2bc:e36a:9e32 with SMTP id h14-20020a2ea48e000000b002bce36a9e32mr4607588lji.5.1694712497848; Thu, 14 Sep 2023 10:28:17 -0700 (PDT) MIME-Version: 1.0 References: <871qf4ivsr.fsf@gmail.com> <87r0n4wp0d.fsf@gmail.com> <878r987l5t.fsf@gnu.org> In-Reply-To: <878r987l5t.fsf@gnu.org> From: Simon Tournier Date: Thu, 14 Sep 2023 19:28:06 +0200 Message-ID: Subject: Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts) To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Maxim Cournoyer , guix-devel@gnu.org, 65866@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=zimon.toutoune@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 X-Migadu-Spam-Score: -8.05 X-Spam-Score: -8.05 X-Migadu-Queue-Id: 29316542FC X-Migadu-Scanner: mx2.migadu.com X-TUID: R11Yac2umUOo Hi, On Thu, 14 Sept 2023 at 18:51, Ludovic Court=C3=A8s wrote: > For the record, that=E2=80=99s a 6% increase: > > --8<---------------cut here---------------start------------->8--- > $ guix size guix | tail -1 > total: 633.0 MiB > $ guix size guix git-minimal | tail -1 > total: 675.7 MiB > --8<---------------cut here---------------end--------------->8--- > > (Of course it all adds up; I=E2=80=99m not saying we can dismiss it.) > > In the context of plus the lack of > GC in libgit2 discussed in , my > inclination is to include that hard dependency on Git. And considering bug#65924 [1], it is not 6% but more. Because currently git-minimal is broken and coreutils and potentially util-linux would also be part of the closure. --8<---------------cut here---------------start------------->8--- $ guix size guix | tail -1 total: 633.0 MiB $ guix size guix git-minimal coreutils | tail -1 total: 692.7 MiB $ guix size guix git-minimal coreutils util-linux | tail -1 total: 706.6 MiB --8<---------------cut here---------------end--------------->8--- Therefore. it is 9.4% or worse 11.6%. 1: bug#65924: git searches coreutils and util-linux commands in PATH Maxim Cournoyer Wed, 13 Sep 2023 14:00:09 -0400 id:87fs3iuf6e.fsf@gmail.com https://yhetil.org/guix/87fs3iuf6e.fsf@gmail.com https://issues.guix.gnu.org/msgid/87fs3iuf6e.fsf@gmail.com > That=E2=80=99s not a happy choice for me, but it has the advantage of sol= ving > two immediate problems. Three. :-) Once git-minimal and plumbing Git commands around, some slow procedures using libgit2 will be replaced by faster ones. And I also have in mind some Git repository normalization that differs from SWH; having plain Git commands would also easy that part. Just to point that the introduction of git-minimal as hard dependency of Guix means that libgit2 will be slowly removed from the picture, IMHO. Cheers, simon