From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6Fq4Ex9wxF8ODgAA0tVLHw (envelope-from ) for ; Mon, 30 Nov 2020 04:07:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AGF7Dx9wxF8edAAA1q6Kng (envelope-from ) for ; Mon, 30 Nov 2020 04:07:59 +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 C2A469400CB for ; Mon, 30 Nov 2020 04:07:58 +0000 (UTC) Received: from localhost ([::1]:56668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjaTl-0000Wt-Ej for larch@yhetil.org; Sun, 29 Nov 2020 23:07:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjaSs-0008G6-Ip for bug-guix@gnu.org; Sun, 29 Nov 2020 23:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjaSs-0001za-AM for bug-guix@gnu.org; Sun, 29 Nov 2020 23:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjaSs-000450-41 for bug-guix@gnu.org; Sun, 29 Nov 2020 23:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#42420: git-fetch origins produce same store output when set recursive is set to true or false Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 30 Nov 2020 04:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42420 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Received: via spool by 42420-done@debbugs.gnu.org id=D42420.160670917715630 (code D ref 42420); Mon, 30 Nov 2020 04:07:02 +0000 Received: (at 42420-done) by debbugs.gnu.org; 30 Nov 2020 04:06:17 +0000 Received: from localhost ([127.0.0.1]:53140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjaS9-000442-5u for submit@debbugs.gnu.org; Sun, 29 Nov 2020 23:06:17 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:34961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjaS8-00043r-5T for 42420-done@debbugs.gnu.org; Sun, 29 Nov 2020 23:06:16 -0500 Received: by mail-qk1-f176.google.com with SMTP id v143so9764946qkb.2 for <42420-done@debbugs.gnu.org>; Sun, 29 Nov 2020 20:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ta1wv3iQHA1JHziZvsm0NfHS3J/C2rrJQJpylJO5c1k=; b=an9rOGmNbeavHQgnmszoKguHphfSzg/cKMR1AUi7pwdtQ/XLn3unhRa8vF7JiKFkNI 92VmmuFfU1cOqGIeKPvi5odh/HbEobrucZuiHKeZK7pmggQIoIexf0Zf5tv3phLkIuyQ N4J8I9nWxJNEbkG1lEmfRPTOR35w/bTcNEcdSfpncbrLYgaEPurHM/NncwaNI2KHViUL KPN1FBDNT9q5HAM/t/kOFcOeV1pW5qchYkx90OxzcB9xztAU8f+40s88iNbHu10q7CnD Z/n3eFZNCI4nqLdC3OgMh5tPXc2chnXCQ+wdQBPEtXIC5yIJvxryPWSVfh3S/PddSf+i uXzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ta1wv3iQHA1JHziZvsm0NfHS3J/C2rrJQJpylJO5c1k=; b=XX3XAm9XW5OHfJARxGOYH5WDlsK6WCA0lTfSAIrmK8fRF0H6Sj+yIwIFXV0kwRteyH ULsFENBZzkqDAENxeP7rtsWDRHY9gFq7LRakzXwkhEQo+VTXEfXFsgkTA6f3C9X7Tz2o vf3MYGPMLFsCG8HZsX01E//6LNv5QyGLetCubzfG5Bu1l9EfbA4aoGFafpjnGgm76S3q TT4OnpF7WS3JOPa3kiqtUTGxs5WXWTqzbIhYbmm0s5MI41x37UCEroQjJfbu6wZw71QO 4nkd1Ve28WfYrbx/QS8FWgSEtLNCZi+BHhltATc0qAOE9MP0HDyMHZHaYlqBOaAt4NZ/ H2Tg== X-Gm-Message-State: AOAM53135tNOV+Y3pzw/clEe90yh2h/hl0oLEDD8HYmZcOlRTPOn0WSh g+vyg9eGmtnIENukluvy7JlVX0UCHRxZr+tq X-Google-Smtp-Source: ABdhPJwX6yrj7r/DoeI1p/FFhAahNrXNUH/+SMwMWozOSKwPd+5pQV12v0FxssYSG76UHo7K3ZloRQ== X-Received: by 2002:a37:6f07:: with SMTP id k7mr20210427qkc.423.1606709170620; Sun, 29 Nov 2020 20:06:10 -0800 (PST) Received: from hurd (dsl-150-82.b2b2c.ca. [66.158.150.82]) by smtp.gmail.com with ESMTPSA id i12sm13907780qtr.56.2020.11.29.20.06.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2020 20:06:09 -0800 (PST) From: Maxim Cournoyer References: <20200718231909.646cbf7d@runbox.com> <878sf7vct2.fsf@gnu.org> <87czzynjfz.fsf@gmail.com> Date: Sun, 29 Nov 2020 23:06:09 -0500 In-Reply-To: (Leo Famulari's message of "Sat, 28 Nov 2020 12:04:16 -0500") Message-ID: <87czzvmqtq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42420-done@debbugs.gnu.org, pkill9 Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.18 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=an9rOGmN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-TUID: uqt94tuduXmw Hello, Leo Famulari writes: > On Sat, Nov 28, 2020 at 12:23:28AM -0500, Maxim Cournoyer wrote: >> Is there an action to do here, or should we simply close it? > > If we have a good idea for how to improve the situation, we should use > it. Otherwise, we can close the bug. It's something that confuses a lot > of people the first time but, once you learn what's happening, it's easy > to avoid in the future. I don't; it'd involve changing the way fixed-output derivations are cached, such as keeping metadata about the sources for fixed hash derivations (e.g., "There's a hash in the store matching what the sources tells me, but was it produced from the same origin source?"), and I don't see how that'd be a good thing. Note that 'guix build --source --check' can be used when in doubt that the origin really computes to the in-store item matching its declared hash. I've just documented so in the hope users will find it in the manual when they stumble on such a situation; see commit 3462678bc346c2f6ea81245d6842264b6dccd945. I'm closing the issue for now. We can try to do more if it comes back too often. Thank you, Maxim