From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 WHsHEWWZxWPDZgEAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 19:37:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sCUFEWWZxWPKQAEAauVa8A (envelope-from ) for ; Mon, 16 Jan 2023 19:37:25 +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 086783CCE5 for ; Mon, 16 Jan 2023 19:37:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHULf-0005kt-Ix; Mon, 16 Jan 2023 13:36:47 -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 1pHULe-0005ki-BR for help-guix@gnu.org; Mon, 16 Jan 2023 13:36:46 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHULc-0000nk-MZ for help-guix@gnu.org; Mon, 16 Jan 2023 13:36:46 -0500 Received: by mail-wm1-x32d.google.com with SMTP id fl11-20020a05600c0b8b00b003daf72fc844so3139661wmb.0 for ; Mon, 16 Jan 2023 10:36:44 -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=PWmTfJco9ndWpYNVjV8p/4YkCByC6CkDlmjKsbS4sQ8=; b=iSEAQ8t9fmrEv73dc/EnkvSC88gEGVeC0psFFP5JAR+zXh3Ssh1QIUfZRi85rKP6Px jDydpyCJI4kCbl8sb4gIIETLWHwBe5tw/Fde3Frr5Ovl55EZm58l1QZ08v/EYpOUNX9a dFEwIz5VPkdsauXGJjR61BGz6+nKjBzKL2Cs1HNFYJGMtNvPrieGkHCbTiPYdB9vaejM G8k1XnlktO8KINFG9yrTIXXullEAClqqii1l1cVX19H9SVSDCrT44/VP5ta2IHRjQkCw G4cxAjorEqObrBGQkMLksiAhySlE0wnqRz59YKsCZzbwB2qxawQnFvNJiimA+zZbDF1K mA3A== 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=PWmTfJco9ndWpYNVjV8p/4YkCByC6CkDlmjKsbS4sQ8=; b=Po74Jv5g16HLCR2+FaGPiUBd45cTCBH4ObayGy+EMVCbfm1h22EXE0fwyR4sg+X1dL d+1uP1e7zqMaKQuar6ygImqAJx40LEkjfZT5e75NcAhfS3Ofbd7xe8PPpzZgxgFA0YfG kT4MFZEgWauiCEr5QLetLFXsHG6G54YOOzPeF6DGeM9HFPfel1Zc7Rq7M1jUhbS3XYnc i94yrlwB4IzYTeg2vd7yuGEX4ARFmmiDQRrMfghNZSDz6p8Qe1C1ivw5byVMn2tfmAEc RpX0olkkwTbHS9hLVuDdkU9ONP/QewlZN9/dq7K/JrRpftRGRIWRiJKPwiB29wyUXBy1 gHFQ== X-Gm-Message-State: AFqh2koHe20JQ0isbS99XPvNfl6dTNoEHnvopFFDdMWIJoynlgVMMEZi JitDdZhxqhhH6W6jG6UDbZu7eS8af78= X-Google-Smtp-Source: AMrXdXsl+QOlC9KiRA5rnSNsxhmsFlwePNAU7MLRbj+ahR2CD47pmRIc/tXGPUxTwAuU970jyr4xVA== X-Received: by 2002:a05:600c:3b8c:b0:3c6:c5d9:dad3 with SMTP id n12-20020a05600c3b8c00b003c6c5d9dad3mr146119wms.0.1673894202795; Mon, 16 Jan 2023 10:36:42 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id f12-20020a05600c154c00b003d9fba3c7a4sm22394041wmg.16.2023.01.16.10.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 10:36:42 -0800 (PST) From: Simon Tournier To: Csepp Cc: Csepp , phodina via Subject: Re: libgit2 shallow clone (was Re: Packaging Grafana) In-Reply-To: <87wn5mzcnu.fsf@riseup.net> References: <86v8l8yrqp.fsf@riseup.net> <87tu0qu2sl.fsf@gmail.com> <87wn5mzcnu.fsf@riseup.net> Date: Mon, 16 Jan 2023 17:34:24 +0100 Message-ID: <87k01mtp4f.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::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673894245; a=rsa-sha256; cv=none; b=rhVC06dqA5FCdFvs786PjJon+tKe9l0plcRCFk64oTj8XiTskiH0x9nLbwKwQhE0v0zmaC gOf110fsoZdpAO4Ju8DSi31RyzGtVX1D4/KFK6rNG9r1gAMROOH+tlTcCKcoGZrOQGDThU V2alTtxcOA/fw0x5aS7oOw2nMxKWTn9jHKWoa3Pyb7evgbnTadGlnSqRo2yehH6GYm3PB2 NYyRf9DMRn3jCxmSGlqqmkBlidv89K90rerojgRNG7Ke0UKzWrmkYEx7N1NGLMDR7VwSEe g8Bs47XjeJJDblfAMVJ60FNnlvRxykiyhSzPlmHWuke+ISISpuhqtmRKsrYX8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iSEAQ8t9; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673894245; 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=PWmTfJco9ndWpYNVjV8p/4YkCByC6CkDlmjKsbS4sQ8=; b=VPtHatG5L5HHeTsoSG3038kZDDN9i+t0NHPk5Tl8GkMaqq6zICi+GLJKsqB7aX933MUbfp A3lL77hT4/GQJvPeSLwsANmkk3l189W0QdJF/EjGOsb/Yx4Tb9VsApdY3X4utIZ71npD3g iWUamvRsOxMY9pSbNMb2EnO65+/s4g9AGOfUjd7glN0iLDGwQAd9I0zJ8FQ3jwpIWARYsp GqlzqPjHxu/JfghQanYS00sg/1bdYxmT3jIZOMuZ/1+Ng6VX8kHHC+94cUIaGqEwFf8NqL oIMvLMYRBwOM1SjePb7mRe0PrDSR/f2PV+kgNDZ/kuiIfjmcgT/t7Qv9PGcoDA== X-Migadu-Spam-Score: -4.78 X-Spam-Score: -4.78 X-Migadu-Queue-Id: 086783CCE5 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iSEAQ8t9; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-TUID: SnHYVIzTvspX Hi, On lun., 16 janv. 2023 at 17:02, Csepp wrote: > It would be worth it for importers. If I remember correctly, the > reasoning for writing importers as Guile modules is reducing Guix's > closure size, but that's nonsense when it comes to importing packages, > because 99.9999% of the time you are going to be using the language's > tooling anyways, because you will want to actually compile those > imported packages. > The Rust importer already loads guile-json or whatever at runtime, there > is nothing wrong with having a similar runtime-only dependency on the Go > compiler. To add on this point, please also note that Subversion is required for =E2=80=9Cguix import tex=E2=80=9D (and probably also for packages using =E2= =80=99svn-fetch=E2=80=99). Well, I think that Guix should be more modular using more extensions. It would allow both of the 2 constraints: for one a small closure for Guix proper and for two many external tools often required by importer. Cheers, simon