From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QLNADSlxAGWTNQAAG6o9tA:P1 (envelope-from ) for ; Tue, 12 Sep 2023 16:09:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QLNADSlxAGWTNQAAG6o9tA (envelope-from ) for ; Tue, 12 Sep 2023 16:09:45 +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 AB4C75F77D for ; Tue, 12 Sep 2023 16:09:44 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=dZl23G1D; dkim=pass header.d=wolfsden.cz header.s=mail header.b=dZl23G1D; 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=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694527785; 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=Bbwry0LfE+yfmFuUNRV2ODlRGf3sPCRb9F1r7WlIHMk=; b=YHMXodxowDGfzZqB0SDRRpeMjbzlVj7F64Z3dkLBhAi3yn1fcZfdCU75Xg3gaIcy74XvYP hQDLkbAs6knaa0/OCLfl8TzNa5iGkZfB/HEZImWK0G73pxMzGPKCRuY3st6Ly1q1bYXrD3 bPnrzzY6j89xtyADnqJ+RsMMLCahVco6h19Q+FSwzWpiHO3eeaSclhI/utDj5hVKdHYKSN kW5/t1ca5D5GRmn2Cr7VWh5KGeQI2ELZTF8bluMOwos1hSnivu2XFVLZPOY+PLJ6viST3E oAt39UaTfc60x+4aUCSfaLTYdSibNLcf2czSacULSqLjmi1Z9TDopxBVDQyJ2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=dZl23G1D; dkim=pass header.d=wolfsden.cz header.s=mail header.b=dZl23G1D; 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=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694527785; a=rsa-sha256; cv=none; b=I6fGVCn2NAtIi0772O/IKHzC8RqShrZEqOJorDEoZgYLEjQcuZoyOOfrWENZw1wpgA+y+8 8d/Bnoo5kBS0jyHoKFGQhTqjMJVlivjk4qyAF8w5dyMh4/0ozkUu1ijRM9Kiej3LcXiVLu dA6qI4aYkL078CzYsjsA4uetHzs1bqROnFAwZq2/w+cUdBPAuD53LVxl6x5iw8K3okt2Fw fPybYQLYsYdL9u6lCnATlGcN9oYNWt+SJbGYLzHWuieY28kIcjRyBdYu6nh93dKNmzjLpG Xy3uSbMTVJRs6PwPjCOtyB1Cc4QiacHLH8XvnRunF7z6l/vItdlBqnRcomQzdw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg44s-0003gn-Uj; Tue, 12 Sep 2023 10:09:19 -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 1qg44q-0003cb-Tm for guix-devel@gnu.org; Tue, 12 Sep 2023 10:09:16 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qg44f-0007ca-NA; Tue, 12 Sep 2023 10:09:16 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id B87A925B36B; Tue, 12 Sep 2023 14:08:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1694527739; bh=UZGQru7buBPA14jxXD+lKuOFprMb0MaD615OJ1jhjQk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dZl23G1D8AbqGn6+egU10R0Z/QJUDwdxNp2kkYwXcaxLtU0ZW64JPSOo8kbXoLlsN ulnrXWOI/1vmUDlnNZxUljh5ln3nSmIpTHwjTOpj1GNilwq9/bqFAoJ51hJN5/8NKJ dUhJIcXeD0JtWcRPy6J2IdUfvUlY1r3BMWt9FmGDy2SzC2mSqG76ndDSBwU7CNakC2 ViF199/A1LvKjHO78ZinNxKDusNEHtTMW5owxNm4Cg9ivP50pV4JX0uJ8TbIvHQNu1 wgD5rNeni+aimzpgzzj4MY/4uHHvMFKOLNYiw4dPCFdTTVO/3mJLPCw+2zsE6KlYe7 T+G3pqcAvYxaYzufqkbKb+eFg2dzGLKRo7F4ziJ8EYp2ByQ9o9ISaAJ0szcyc5vk5F T5NnR7aqd970gcGzUzR26AUKxKzCoTPsplswOYLy+2kuE6Dho32bOTLyq0tYaBAIVV B4HGRk7x3aSXXRFaKV1Za3fOFXmEaIC/m0etpiQhZeQ8aV5/giGNfhaOEUXZ07pnDE kVPS+NxQYipGnjmlbQ9AtpVUrlStDfvCwduaTHtavg8uJMLDPH2o8Qc82HCjv7gpUg H2rRtg2P/1J/jqucpLe00fFexWoGd7AehKHaNfXbO2f87zLuX1mMlHXm0dD5fT7FbU SVrhhPrpZAbCI/LvQARvDP9I= Received: from localhost (unknown [146.70.134.134]) by wolfsden.cz (Postfix) with ESMTPSA id E3FA225C886; Tue, 12 Sep 2023 14:08:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1694527739; bh=UZGQru7buBPA14jxXD+lKuOFprMb0MaD615OJ1jhjQk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dZl23G1D8AbqGn6+egU10R0Z/QJUDwdxNp2kkYwXcaxLtU0ZW64JPSOo8kbXoLlsN ulnrXWOI/1vmUDlnNZxUljh5ln3nSmIpTHwjTOpj1GNilwq9/bqFAoJ51hJN5/8NKJ dUhJIcXeD0JtWcRPy6J2IdUfvUlY1r3BMWt9FmGDy2SzC2mSqG76ndDSBwU7CNakC2 ViF199/A1LvKjHO78ZinNxKDusNEHtTMW5owxNm4Cg9ivP50pV4JX0uJ8TbIvHQNu1 wgD5rNeni+aimzpgzzj4MY/4uHHvMFKOLNYiw4dPCFdTTVO/3mJLPCw+2zsE6KlYe7 T+G3pqcAvYxaYzufqkbKb+eFg2dzGLKRo7F4ziJ8EYp2ByQ9o9ISaAJ0szcyc5vk5F T5NnR7aqd970gcGzUzR26AUKxKzCoTPsplswOYLy+2kuE6Dho32bOTLyq0tYaBAIVV B4HGRk7x3aSXXRFaKV1Za3fOFXmEaIC/m0etpiQhZeQ8aV5/giGNfhaOEUXZ07pnDE kVPS+NxQYipGnjmlbQ9AtpVUrlStDfvCwduaTHtavg8uJMLDPH2o8Qc82HCjv7gpUg H2rRtg2P/1J/jqucpLe00fFexWoGd7AehKHaNfXbO2f87zLuX1mMlHXm0dD5fT7FbU SVrhhPrpZAbCI/LvQARvDP9I= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ca61eaa8; Tue, 12 Sep 2023 14:08:58 +0000 (UTC) Date: Tue, 12 Sep 2023 16:08:58 +0200 From: wolf To: Maxim Cournoyer Cc: Josselin Poiret , Simon Tournier , guix-devel@gnu.org, Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts) Message-ID: Mail-Followup-To: Maxim Cournoyer , Josselin Poiret , Simon Tournier , guix-devel@gnu.org, Ludovic =?iso-8859-1?Q?Court=E8s?= References: <871qf4ivsr.fsf@gmail.com> <87r0n4wp0d.fsf@gmail.com> <87bke74v6x.fsf@jpoiret.xyz> <87edj3y2hc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XOflCMKGLTlkzAwu" Content-Disposition: inline In-Reply-To: <87edj3y2hc.fsf@gmail.com> Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz; helo=wolfsden.cz X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -9.89 X-Spam-Score: -9.89 X-Migadu-Queue-Id: AB4C75F77D X-TUID: D7jtt3eVcD5h --XOflCMKGLTlkzAwu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-09-12 08:56:15 -0400, Maxim Cournoyer wrote: > Hi, >=20 > Josselin Poiret writes: >=20 > > Hi, > > > > Maxim Cournoyer writes: > > > >> That's no longer true, as of libgit2 v1.7.0 [0]. I already have it > >> packaged in a branch, but I need to iron out dependent breakages. > >> > >> [0] https://github.com/libgit2/libgit2/releases/tag/v1.7.0 > >> > >> So given there's no technical reasons not to use libgit2, I'd use that > >> and keep the closure size down. > > > > There's still the `git gc` problem though. >=20 > It's klunky, but a workaround is to locally clone the checkout anew using > libgit2, as suggested here [0]. While the comment does suggest a workaround, I would recommend to read the comment right below it before using it. I am not sure if Guix would be aff= ected by those mentioned concurrency issues, but sounds like something that needs= to be understood in detail. > We could also try to contribute to libgit2 toward adding proper support f= or a > 'gc' action. >=20 > [0] https://github.com/libgit2/libgit2/issues/3247#issuecomment-486585944 >=20 > --=20 > Thanks, > Maxim >=20 --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --XOflCMKGLTlkzAwu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmUAcPoACgkQL7/ufbZ/ wakY+hAAnFcmSLT09olSbDnxd+rJd35BDpZlh9qDAunh56On6I/cXAr/UV7CGjMp i/2vHXTZcshenpHJz9YsNonrzewxV3xoC7Z3v8EzS5BD8mhHR7MfZj4Y8fqUzWnu ONkfjwb/TNdFdT+PZB2huVz8v7xOVZy4WWMqKW7szoty0bD3eYib+7Py9h+/DGb1 keapMLOM4xow9ry/I23sRF2qeU84JZRM4sZyHnVMdeRb7L/2Ttx2XOoqHqLO6HiB rK+G+882oljLaaFCvioxFr4C9gkbvqwF5DF0bGLmcnpkaOscQKTMusTGy8lcvD1B I0KZjRCTelhdtTbc3AdWBXdyrFYv2s562PLUxRagrHNB6hm94O1sm54G51FhbeHc gux4Qbg6jqv0cVm6wJi6vXpldPZV5v93gins9JftzvoU1ptjmW8nkv9n8ygPLQy2 4JtNRb4xFU6Gk9RO5H7zqKnXFvixXSMwWCgKMNQLcGq5Z7mH67SFiaPmJG7SZS1O wyIhhMYYOA8NQ4m+R9922jzOYdJXRvbtZW5Pu9QcNziA3y7kTiM6N36bSzOfIco6 RNiZVV9XFPYW9XxifB3crLwC+bOrubw/3y+ymOZ1/WUSVLnV2KAOacR5+ja/Em1x jmnrDr3+Byr8Gr8II7ChO1bL6SmhXmVLB5w0HnGHNo5oV3Ew6UY= =oRVp -----END PGP SIGNATURE----- --XOflCMKGLTlkzAwu--