From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8NPFLylLWGR0TgAASxT56A (envelope-from ) for ; Mon, 08 May 2023 03:06:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uBOvLylLWGTqdgEAauVa8A (envelope-from ) for ; Mon, 08 May 2023 03:06:49 +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 4DD09477E1 for ; Mon, 8 May 2023 03:06:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvpKW-0004QT-Hl; Sun, 07 May 2023 21:06:20 -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 1pvpKV-0004QK-8K for guix-devel@gnu.org; Sun, 07 May 2023 21:06:19 -0400 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pvpKT-0008Hb-OY; Sun, 07 May 2023 21:06:19 -0400 Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-61b5de68cd5so18558936d6.1; Sun, 07 May 2023 18:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683507975; x=1686099975; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=GchTjSPX/soMxGz/la9GbovxBmZ59xl/NDlrVT29hCs=; b=NTrc9PvAKYsr5R1DizDwfu0MnfEHGDsnWiJE34rFMGgMBf5rPwgX7VWyd157xozIlb I/YpYIKre4++LJiRvx/8ofDBkboTAMFeea0DLPxq+BTG7JJ2tm9fR3K4iVNlNk7k62Yh U5rDAFNxmyGUBJ3FtcysJ4X3ZS5apBg/4qYxA4EOAQnH8gHrlk9wcl6vndQ6glTzzIwj hYwErE5d4sgh9Lf4KcrO9l7bq8G8moVyp6qVbX0B7eQsUct/r+0KdJm4ZqIB9roWJzOs G8wBD63ZHtTlID2F5vpI1l317cTxIzO+nupy8jvK+EI2JxuhvulfuwiAJI/qMlfH+616 IWDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683507975; x=1686099975; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GchTjSPX/soMxGz/la9GbovxBmZ59xl/NDlrVT29hCs=; b=X0TbMETQMLdHS9Hn2axAWk3ViunEVvFa7ZM1XfGHXBg/liZri7GOLTIVCLiHSHLd6g eA6vcMh76YCT0LBmHgOLli+M9hKkr5R1+XNbF2I1dXi9XH9x7ft52Vw+LZRTS6wHNsya VaIm97PcCtKHYuAlod6rAXZHXSJ0MUFVNn+kyUO7VUYcdM8pn5EmdLo9eEaf2R8+ZRm6 8924Vev8b0TsQiyNAFLrP/ONHcDJm1t/EIqUjAPycR+vaUI2RFbECJGLgAptw7vpHrFw Xm1z0syzwkMRDnNsQkZ0lT29/W0nLIDhbPTCfIxTABGweiS+yaUD+7ZoqdSP5gzCAqs+ Nn5A== X-Gm-Message-State: AC+VfDyitBUr52Ly/j/BklVQHL17jqCWuUKZhqDAkDa3VwJIctGb/SeG 105Ct5JLxLgVP1ZrH0u5zJo= X-Google-Smtp-Source: ACHHUZ4PFs5P7yTG906uuEhojygTBmXrtPjym4gVuwwimcWrpiJuLnLo1EGh/Y5WNQWps2qr/obheQ== X-Received: by 2002:a05:6214:29e2:b0:613:831f:9a23 with SMTP id jv2-20020a05621429e200b00613831f9a23mr9642770qvb.44.1683507975313; Sun, 07 May 2023 18:06:15 -0700 (PDT) Received: from hurd (dsl-10-131-119.b2b2c.ca. [72.10.131.119]) by smtp.gmail.com with ESMTPSA id x10-20020a0cb20a000000b005fdfde87bf3sm2364386qvd.102.2023.05.07.18.06.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 18:06:14 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Simon Tournier , =?utf-8?Q?Bj=C3=B6rn_H?= =?utf-8?Q?=C3=B6fling?= , guix-devel@gnu.org, Lars-Dominik Braun Subject: Re: Adding content-addressed URLs to https://guix.gnu.org/sources.json References: <20230312220021.22bfff4f@tangletp> <878rfwgbng.fsf@gnu.org> <86lej8y75p.fsf@gmail.com> <87cz3t44hi.fsf_-_@inria.fr> <86pm7sb7vf.fsf@gmail.com> <87354oqdal.fsf@gmail.com> <87v8hg9lct.fsf@gmail.com> <875y9c9963.fsf@gmail.com> <87v8hb9o74.fsf@inria.fr> <871qjy51zo.fsf@gmail.com> <87jzxovaai.fsf@inria.fr> <873547hm0h.fsf@gnu.org> Date: Sun, 07 May 2023 21:06:13 -0400 In-Reply-To: <873547hm0h.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 07 May 2023 23:25:34 +0200") Message-ID: <875y93y6m2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f31; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf31.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683508009; a=rsa-sha256; cv=none; b=YfN/q7B9m3971WMtbeJ83s+zbqpDnAIExq+zLytA2h73tqW09xNmfr6pVq/UIuUJKt6538 rkoz437Yv86Fg6UIWUuv85BZY8GH8aP7poiuOkgr7T9WU5/dIY8Rvy5PMGbu4VvWMqbW++ 035BybCt4iFsaOSw0ZSFzoIMId3SXXVq9Xha1nOdh9QlNiuhCQkPLCDkjUzmOqZ46/NfCE LTsDyS+QjZZHUKaauO3R4gCpkvWVus4NNY0XVUytUxKCqaxNkYtdOaU4snwoKIPCIX4foA nHzW/dgcKtYKvgObOE5iS6VpAAy4dRbYc40Gj1tZPgEn7Y70y5kk69/GLIfVKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=NTrc9PvA; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683508009; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GchTjSPX/soMxGz/la9GbovxBmZ59xl/NDlrVT29hCs=; b=nwv3E95xK8jB7TnK6sjMxDvL/Yg5WKupgCCRdB6GustDvrRn15+DbS8zWNQftYdomBW1n3 bnF3FEAHgX3Qp6OZZf9ACh4YibLoXrUtFwufUP5hDtmxhxMwu+Uci0JPV+NnPNHrvLE9hC ZHRl5edDiN4SGy18lKfXhBJVvWchf+RAbw8uJYCIdKo9SlRZN83oCGcZT1x1C5RAJFHQC+ rw/ZBTz4ACAMHEdV6JANIkofeFX/6W1/ZifdGjAP2dh015ZBTY89C3xaKPnT6SKurMwW0b ETlehnXm578JpoBBp0teu+IeyqkGI+z2dWlTzZyv/jzTTRu1bBtw+bTAlzjXEg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=NTrc9PvA; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -2.38 X-Spam-Score: -2.38 X-Migadu-Queue-Id: 4DD09477E1 X-TUID: JdLah4cNDgU0 Hi, Ludovic Court=C3=A8s writes: > Hi, > > Ludovic Court=C3=A8s skribis: > >> How about the attached patch? >> >> $ ./pre-inst-env guix lint -c archival ruby-sorbet-runtime racket >> gnu/packages/ruby.scm:14081:12: >> ruby-sorbet-runtime@0.5.10610.20230106174520-1fa668010: source is >> not an origin, it cannot be archived >> >> (The version string of this package looks way too long.) >> >> Thanks, >> Ludo=E2=80=99. >> >> From 153cb8e5782946bd0c9de22022a475ae9fef70ea Mon Sep 17 00:00:00 2001 >> Message-Id: <153cb8e5782946bd0c9de22022a475ae9fef70ea.1683184269.git.lud= o@gnu.org> >> From: =3D?UTF-8?q?Ludovic=3D20Court=3DC3=3DA8s?=3D >> Date: Thu, 4 May 2023 09:09:03 +0200 >> Subject: [PATCH] lint: archival: Warn against non-origin package sources. >> >> Suggested by Maxim Cournoyer >> and Simon Tournier . >> >> * guix/lint.scm (check-archival): Add 'local-file?' clause. Clarify >> message in case (package-source package) is not an origin. >> * tests/lint.scm ("archival: not an origin"): New test. > > Pushed as 71fd35c1d55988c413a37c7d15006b4d38d7dde7. Let me know if > anything=E2=80=99s amiss! Neat, thanks for tackling it. --=20 Thanks, Maxim