From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UN+cAWU3vF4TSAAA0tVLHw (envelope-from ) for ; Wed, 13 May 2020 18:07:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id nGU4MXM3vF5/dgAAbx9fmQ (envelope-from ) for ; Wed, 13 May 2020 18:07:47 +0000 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 29EF2940F82 for ; Wed, 13 May 2020 18:07:45 +0000 (UTC) Received: from localhost ([::1]:50810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYvnG-0001BX-6c for larch@yhetil.org; Wed, 13 May 2020 14:07:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYvn5-0001BB-Hw; Wed, 13 May 2020 14:07:35 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:60322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYvn3-0008Hr-Ee; Wed, 13 May 2020 14:07:34 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 7dfd5df8; Wed, 13 May 2020 18:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=zdyUtdZQD/LGhmMty4yIZr oUnKfZJyCiOqUdGLnktNM=; b=LSLiUJttlzBf13iAOyEbHLSxDYw9OMtPXgyO89 t7pMa7NOWSpONeAvhAy3qDJBGO9f5u3VdoAgE8n1Mzm2F4U0kLfD/2EIoxKlEGHd DmC5/p2cCQZ8Xex9VmRN28G80aGBWYeVjNid77ofTECg6I3zfA9Fe73MwmsLrdTl mG8uq/5OKHV0yUv/iOz7ETSP/EYvDMl7glhoE7PrHRsTnpVP0B4KXVhbh64WFor0 MSS7jBqF5VvZxhmpbWuRzGa46Sd5cYVVB+HasKF+FNHN8aYoO5pty0Cf5hWj2ywL C0x1LbOCMZTxSiM8KKyq1v21wmVDQGx8EW2Ew9UcaPREFx9A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 249b1f3d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 13 May 2020 18:07:30 +0000 (UTC) From: Tobias Geerinckx-Rice To: Brice Waegeneire Cc: zimoun , Guix-devel , guix-devel@gnu.org Subject: Re: best practise between git-fetch vs url-fetch? References: <20200306091524.5044.11103@vcs0.savannah.gnu.org> <20200306091525.E8A1621163@vcs0.savannah.gnu.org> <87o8t9lfci.fsf@devup.no> <871rq5bjzf.fsf@ambrevar.xyz> <87lfodl6u5.fsf@devup.no> <87tv2vgdlg.fsf@gnu.org> <87lfo72b8i.fsf@ambrevar.xyz> In-reply-to: Date: Wed, 13 May 2020 20:07:28 +0200 Message-ID: <878shv3dzz.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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" X-Scanner: scn0 X-Spam-Score: -2.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=LSLiUJtt; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-2.31 / 13.00]; GENERIC_REPUTATION(0.00)[-0.54005610185431]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.05), country: US(-0.00), ip: 209.51.188.17(-0.54)]; DWL_DNSWL_FAIL(0.00)[tobias.gr:server fail,209.51.188.17:server fail]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[tobias.gr:+]; DMARC_POLICY_ALLOW(-0.50)[tobias.gr,reject]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; FROM_NEQ_ENVFROM(0.00)[me@tobias.gr,guix-devel-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tobias.gr:s=2018]; URIBL_BLOCKED(0.00)[tobias.gr:dkim,xkcd.com:url]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TAGGED_RCPT(0.00)[brice,lists=waegenei.re]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; HAS_LIST_UNSUB(-0.01)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[gmail.com,gnu.org]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: Xl20rLIrk6XB --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Les Guix, Brice Waegeneire =E5=86=99=E9=81=93=EF=BC=9A > Git references being content-addressed is important That's only tautologically true if we limit ourselves to using raw=20 commit hashes instead of the more common (because far more=20 practical) named tags. I obviously don't think we should do that. If we don't, I fail to see how our git-fetches are=20 =E2=80=98content-addressed=E2=80=99 in a way that url-fetches supposedly ar= en't.=20 Git tags are even easier to modify in place than tarballs, not=20 harder. > --with-commit Yes, this is niice. =E2=99=A5 For the sake of argument=C2=B9, though, so is --with-source=3D. Somehow erasing that hard distinction is the real winning move. Kind regards, T G-R [1]: Obligatory . --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXrw3YAAKCRANsP+IT1Vt eQAqAQCFxMkRqCOGdPwgnzrsNyzzpCVu8YFI+nunU/mHUrd/dQEAllzlJL0umGmb yAGvfE4nn1Q3yMkxxpHhsrwxICMsGQY= =DaR7 -----END PGP SIGNATURE----- --=-=-=--