From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id APhROG0XWGRgzgAASxT56A (envelope-from ) for ; Sun, 07 May 2023 23:26:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8Np/N20XWGTDIAAAG6o9tA (envelope-from ) for ; Sun, 07 May 2023 23:26:05 +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 9202F20181 for ; Sun, 7 May 2023 23:26:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvlsx-0001CW-Kn; Sun, 07 May 2023 17:25:39 -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 1pvlsv-0001C8-QA for guix-devel@gnu.org; Sun, 07 May 2023 17:25:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvlsv-0005Pg-7C; Sun, 07 May 2023 17:25:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=mj7Dg5sFTMj5QqxpCALp7gEBcnNuLH5rik2TP49dHL4=; b=mLaNLEPFXrZ+2uVm+IXT 2tykKmSTgz/VJXepmDoAJNpbfp7/2c6uDWMF7G27V4ddtPjT4ApE86TOQDzmCrF3ATq//4/2TihVR VTlswSGp9HcVxW1u+R3njV2h+HELEOmbj+0qLLy/PjQHaeHj2TPWWBb66bxXnCes1NditSWslQ6oK tyxZ+I1IDBeYSByfCLG8MZOQITYPuAvMXEeewAi27BlEq10c1x34lLa3m3x/97kKrcAMi/UVuxh/3 L4k5LhTWqxGJIXRLA2OSbxuig8QQtYyNoK36AvsN4NVaFLuMPR9ZiwgAUU0awr1Dq7oBLcUe1Zd1B yorwKLLJavl0Cw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvlsu-0000ve-QP; Sun, 07 May 2023 17:25:37 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 18 =?utf-8?Q?Flor=C3=A9al?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la Corbeille-d'or X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 07 May 2023 23:25:34 +0200 In-Reply-To: <87jzxovaai.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Thu, 04 May 2023 09:13:41 +0200") Message-ID: <873547hm0h.fsf@gnu.org> 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 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=1683494765; a=rsa-sha256; cv=none; b=R/ryb0gKmM6CD2aVeKF+Lsl7o/feFRH9MsDyks6xFeVSs9stUwchkmAm3YT2S3D5P9a0VG pW7w1ZICbuRrWlG+YRZRiXAO1L9UYH3rPyS4sTyVjdAbgQyH4+cIxInEkeaackQOqvN/+z DS4xJFi46l3Pln0AywTGG0ZB5ULRRBieq034Lr+yBUkNJXE4/2TRqcUVwTPgQNAKeeokO5 vb0fBSk9KRS+WCGvET/2P5dn96+R7zgTjvrKPUAuHA7MGgftl0HNJZQ6Efx8ru9LSP2Fsr mvB3xt6js0dHjEcC8FJCNtk/ecq1oWdzsFTqiskM5C57X719FKoycYZMZ873PA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=mLaNLEPF; dmarc=pass (policy=none) header.from=gnu.org; 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=1683494765; 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=mj7Dg5sFTMj5QqxpCALp7gEBcnNuLH5rik2TP49dHL4=; b=ks1BS/IIYR+PujZNu61phMYihb33YC8NIFngKVLF9OUfzP+HoObgH+qaZu64pLT1poLfDe rUhXonEty1pgizkrCgr11eNuzOWUaciAhGoEfQs1GhJuXwSmhnQSNUeWOUtwDEaNDbRXz3 54xDam0lQPik8VtBhCyRbbTH/kyL6LIFpmdltcWjF1AkvlnszBi03Szp7S2qbu60+QyKGA +vbKg3ZgRRowvN1BXvfFP1dyX1aS1nRuGY8Y7FSU27G8fDsh4L0BEXEr3jYNt8WTMNMv2O YVdhtmKhHKBlNSwj6f06GcIszGGGBKzEJVdls0BU2WJYEiUobsqSZQn7bMEXxg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=mLaNLEPF; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.68 X-Spam-Score: -3.68 X-Migadu-Queue-Id: 9202F20181 X-TUID: 4BM6BUAXh2xb 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.20230106174= 520-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.ludo= @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! Ludo=E2=80=99.