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 ms0.migadu.com with LMTPS id SWL8KYV4BGHm4gAAgWs5BA (envelope-from ) for ; Sat, 31 Jul 2021 00:09:09 +0200 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 EN8nJYV4BGEYHQAA1q6Kng (envelope-from ) for ; Fri, 30 Jul 2021 22:09:09 +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 075C31B33C for ; Sat, 31 Jul 2021 00:09:09 +0200 (CEST) Received: from localhost ([::1]:51400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9agm-0000k8-2q for larch@yhetil.org; Fri, 30 Jul 2021 18:09:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9agg-0000jv-QM for guix-patches@gnu.org; Fri, 30 Jul 2021 18:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9agg-0005FM-IM for guix-patches@gnu.org; Fri, 30 Jul 2021 18:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9agg-0002kE-48 for guix-patches@gnu.org; Fri, 30 Jul 2021 18:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49280] References to unversioned source tarballs Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Jul 2021 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49280 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 49280@debbugs.gnu.org Received: via spool by 49280-submit@debbugs.gnu.org id=B49280.162768292610527 (code B ref 49280); Fri, 30 Jul 2021 22:09:02 +0000 Received: (at 49280) by debbugs.gnu.org; 30 Jul 2021 22:08:46 +0000 Received: from localhost ([127.0.0.1]:32882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9agP-0002jh-RV for submit@debbugs.gnu.org; Fri, 30 Jul 2021 18:08:46 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:35360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9agK-0002jO-Iw for 49280@debbugs.gnu.org; Fri, 30 Jul 2021 18:08:45 -0400 Received: by mail-qt1-f172.google.com with SMTP id a12so7519271qtb.2 for <49280@debbugs.gnu.org>; Fri, 30 Jul 2021 15:08:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YmZ2Vgu1YwTNmHE67zJa0twRHUFLcio1ngAsHmZUv/k=; b=RVmlCeGdJ+aG09l4VekeoH4+xjt1Hmhw/1Cj+NTaRgCl6dyZrV3moabtXzkyZTy29e /D12jYGymM1GXGsrwWlsDtzaFQpshm2+jAr9S6fwWviOlAL0rVK3+XXaDG/GlKx2WnYC 8MOJPCi254EeruYwuudUi1ls7DK1uAnpTaaFRSkS0jYNOOpa11XjJvXgiN1gjtxopJri OkP2eZsckFIvYnFelZBkSdCEzB1PzHwfL2ucuQ5prf2xeOnUro9kIDqX0f7TX2wVFRTV 6qngAxR1ZKQ/pDs618SKXSAD7YaHbZBNJgLTxcBkIhSh73MKStggGV/VwZ3nl6ldRSit Oa7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YmZ2Vgu1YwTNmHE67zJa0twRHUFLcio1ngAsHmZUv/k=; b=JPa42KZgYqF9nFXHIU5tDCeygeJF8IrvuwmS8qisZV6DWRR81vx3IkHHmOywCPd1YJ OW9TMtTaQFo5TTAjs+CeCvfgcJdhUzTB+cbGb8esMA4B4JqZrYH2AjCk884R7B84/HFw //LMnBsQtdPyNufLO5B4fFAVonuNBK5zRg2P9LNGAYYTvDTZ7B89O+u74jfL2MgNbiXA 0leCyrdpOpd1U63yj3lC1N6VTGloykcF39v0DR6pDdtzWxkgYWA650mZB0TvE/DWEjGP dNm1Y7xVACGeS3LxZ/u/vbXKhMn79F/U+owv0JlBzzbZPgLBc7zylBeynQKxsDnuU3eP CYvg== X-Gm-Message-State: AOAM532in8dhXEqexTQGXfvlcCnFK0SaIhuDh4ddU4r6ahGXr/h6JK10 GU/hNuZdXduSXKs4LHJZpYbTWyvnWoGpkmaPWjo= X-Google-Smtp-Source: ABdhPJwHL7etq7BsN7UqYnKQcGUpX7/yS6EsQaWe36QZmj3L8ojJVfyXSv7uyTCiRRB8Knsd6dtoCQ== X-Received: by 2002:ac8:4a8c:: with SMTP id l12mr4325722qtq.68.1627682915042; Fri, 30 Jul 2021 15:08:35 -0700 (PDT) Received: from [192.168.45.37] (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id e10sm1633461qkg.18.2021.07.30.15.08.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Jul 2021 15:08:34 -0700 (PDT) References: <20210629215255.3110238-1-philip@philipmcgrath.com> <20210629215742.3112654-1-philip@philipmcgrath.com> <20210629215742.3112654-2-philip@philipmcgrath.com> <87lf6gjy5l.fsf_-_@gnu.org> <270db91e-24f6-2754-7164-d0406aeebc60@philipmcgrath.com> <87tukbxzdj.fsf_-_@gnu.org> From: Philip McGrath Message-ID: <964f5db2-7167-bfac-f129-898328416309@philipmcgrath.com> Date: Fri, 30 Jul 2021 18:08:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <87tukbxzdj.fsf_-_@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627682949; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YmZ2Vgu1YwTNmHE67zJa0twRHUFLcio1ngAsHmZUv/k=; b=RaRqydzttxf8vpX/y1Us0qN6AsLYYrRpwWZ1iymeiKoBlSg8y2tQOWP8WtrLAbkAnJe/sS Z1gs11lBOCgx7/kmCs7uTCan2cP7qrIqUW2xRs4AvGcv6c+x8T8EzTIs5w8sp4s+p1s+M4 xKBgc4s3U9Gp6+7EY91Qq1nD63zkDVYyPwVzzrBe9hEpDyiz5LAxOfiKjmadu1cRoQmt0l K85ZfpWlh2RELojZCUj8hW2uB6OEGbCotAyZJ+Bvj1g+Y4chzEM7RZfjPDoYqBe454EpWo T7SBDMrv2zsMOORtqKMVd4JDTrWJ/bxfxeEDOvyNmF9kqnOHqjZa6zFK4HBUVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627682949; a=rsa-sha256; cv=none; b=VwG0gEXtwIXdPAvKLy/x8Kh/bHuH0zQfmTB8l8XoYL1ysmxH5xMFL/YDVcIPLWdqWn/Gc2 HjIga1SjmSVZ1ttspNs2EzQUZFp/3ynRkCM20MwSPxCzpwyKcCMZwY82W+vUOWATLnS3iL LQVoxi8/6IaV6nlGqN+8qK0+otkWFeiCF8ntUQifvsHtcMOF+LqMjmHgEQlgxKRJqkcCnO cwh8B4w4xwAvKkMEczF0IftEwuG5NKxP65w0XkjVHQsyShPPVP/lqGXwIU3Vc/Mgdd2uBG yumaK0P0u0Q/+XqiZ+6xW42mViqVaLlznuTsITD2UJWcVFhIVbJ8ObATmKykrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=RVmlCeGd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=RVmlCeGd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 075C31B33C X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 44gOQ5YZ/mgh On 7/30/21 5:31 PM, Ludovic Courtès wrote: > Philip McGrath skribis: > >>>> + (uri (string-append %pre-release-installers >>>> + "racket-src.tgz")))))) >>> Do I get it right that *-src.tgz are not versioned? That they’re >>> updated in place regularly? >>> In that case, we cannot refer to them in a package definition since >>> the >>> hash is bound to become stale. >>> What we could do is refer to, say, >>> . >>> However, I suspect this file would vanish fairly quickly from the web >>> site, which is not okay either. >>> I’m not sure what a good solution would be. WDYT? > > [...] > >> For now, I will avoid the problem by just not dealing with "-next" variants. > > I just realized that the problem already exists right now, with ‘racket’ > and ‘racket-minimal’ referring to ‘racket-src.tgz’. > > I think we should fix it after this series, possibly by using > ‘git-fetch’ instead. I think it is actually ok, because the the URIs are formed by: ``` (uri (map (lambda (base) (string-append base version "/racket-src.tgz")) %installer-mirrors)) ``` so the version is present as a path element, just not in the file name, e.g. . These are definitely stable URLs relied on by a variety of tools, e.g. for CI. An equivalent tarball is also available at (and likewise for the other mirrors), but most tools prefer the "versionless path" URLs so that code manipulating the downloaded artifacts doesn't have to deal with version numbers. (Download sites like these are created by the "distro-build" Racket package and have a well-known structure, though the documentation is not all in one place. A good place to start would be , which is generated from the same Scribble source that generates "build.md" in the main Racket Git repository.) -Philip