From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: bug#28659: v0.13: guix pull fails; libgit2-0.26.0 and 0.25.1 content hashes fail Date: Mon, 02 Oct 2017 22:22:33 +0200 Message-ID: <87a8198fli.fsf@gnu.org> References: <877ewf18d4.fsf@gnu.org> <87o9ppoabw.fsf@gnu.org> <20171002182208.GB10773@jasmine.lan> <878tgt721q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz7G2-0002yy-RM for bug-guix@gnu.org; Mon, 02 Oct 2017 16:24:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz7Fy-00084w-PF for bug-guix@gnu.org; Mon, 02 Oct 2017 16:24:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dz7Fy-00084i-Kn for bug-guix@gnu.org; Mon, 02 Oct 2017 16:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dz7Fy-0005CT-Cn for bug-guix@gnu.org; Mon, 02 Oct 2017 16:24:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878tgt721q.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 02 Oct 2017 22:00:33 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28659@debbugs.gnu.org Ludovic Court=C3=A8s writes: > Right. Jan suggested checking the content-addressed mirrors *before* > the real upstream address. That would address the problem of upstream > sources modified in-place, but at the cost of privacy/self-sufficiency > as you note. (Though it=E2=80=99s not really making =E2=80=9Cprivacy=E2= =80=9D any worse in this > case: it=E2=80=99s gnu.org vs. github.com.) Yes, that may not preferrable in general without override. > Perhaps we should make content-addressed mirrors configurable in a way > that=E2=80=99s orthogonal to derivations, something similar in spirit to > --substitute-urls? The difficulty is that content-addressed mirrors are > not just URLs; see (guix download). Hmm. I'm not sure what problem we are solving. Should we only do this for github(-like) tarballs? Do we see this problem with other sources, should we prevent it? Possibly github will never do something like this again. Or we could banish github/gitlab(?) auto-generated tarballs and go for git checkouts+commits? janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com