From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MPZFJSQHb2JHyQAAbAwnHQ (envelope-from ) for ; Mon, 02 May 2022 00:18:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6EJQJSQHb2IfdwEAauVa8A (envelope-from ) for ; Mon, 02 May 2022 00:18:12 +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 40DF012FDB for ; Mon, 2 May 2022 00:18:12 +0200 (CEST) Received: from localhost ([::1]:34978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlHtL-0003Lj-6B for larch@yhetil.org; Sun, 01 May 2022 18:18:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlHtC-0003LS-6w for guix-patches@gnu.org; Sun, 01 May 2022 18:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlHtB-00066X-Od for guix-patches@gnu.org; Sun, 01 May 2022 18:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlHtB-0007dc-KT for guix-patches@gnu.org; Sun, 01 May 2022 18:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55030] [PATCH 00/30] gnu: elm: Update to 0.19.1. Add build system & importer. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 May 2022 22:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55030 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 55030@debbugs.gnu.org Received: via spool by 55030-submit@debbugs.gnu.org id=B55030.165144343329274 (code B ref 55030); Sun, 01 May 2022 22:18:01 +0000 Received: (at 55030) by debbugs.gnu.org; 1 May 2022 22:17:13 +0000 Received: from localhost ([127.0.0.1]:34435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlHsO-0007c1-P9 for submit@debbugs.gnu.org; Sun, 01 May 2022 18:17:12 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlHsN-0007bh-Qu for 55030@debbugs.gnu.org; Sun, 01 May 2022 18:17:12 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C2ED65C00B2; Sun, 1 May 2022 18:17:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 01 May 2022 18:17:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1651443426; x=1651529826; bh=KkdBhtWjB6 4U9iVwvqV3e58g4OuXuSE+DLwSf6/YSDA=; b=H1EKM++Vok8Ptp250Cdt8OO6op +VIdUpfjCylePWZK+dF8b9XPtGHTZ+6cnOJdWTmcNaY73D7jSz6HBYTTfn1cyDBC 0NaOODo1uTojoNVF1loHkmE7A4Z+U+axL78XCiOn/aQhrgEhr63fXYmRz4bTcFP1 /3hP5Wt4rcsbIsGUvEyEye9sCgp/YyaOkL4e9iKnnSLOLrIATS3+63hmwzHAXR8j xvOVsgTjciyWS2dvmFUHuePMp2jbZoDAlr9dYb7dI/c6ZxBNhra6jpKHAE6YcjMy H4VjEBPkWXAGhtfQ/ClvHRfAROa8UDtYHl4KChBEL0/Gk6F8tgK23IEECbpA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1651443426; x=1651529826; bh=KkdBhtWjB64U9 iVwvqV3e58g4OuXuSE+DLwSf6/YSDA=; b=UHvUi8sBKXSnQHYE75+IP4BOeFjBz zda48+v8CvXGIOAWam3IaEa/TnhvspFPMRNq1n82Bhv3OAh9RLVemwDNhXTvWRz3 gDAO59LegVKyI0A5UceM1SviL7FFeu36mAjjORtw72/IavRhpJFK+sB5AT0i4S7u 2jw+uDzKou7bi3pk62Tj9Kb66wM7f1wLQ8PMzNXuEcG1naIEBccBb8eVkJ6FGsmp KXnpHRVxd9kFZx1Nkot7dwF6jIjDo1WJVgPWnvX4PV5py4sag4WnZOTAhVIFwWIT /CzCLEZ3MA9SnH3cyiBFkP882OnW/0xWlsKzcRDY4fdrj1n4tpkY0YGqg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeggddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomheprfhhihhl ihhpucfotgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtoh hmqeenucggtffrrghtthgvrhhnpeetfedtkefgieejveegheejteehtdefhfefgeduieeh fefftdekleegieeigeelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 1 May 2022 18:17:06 -0400 (EDT) Message-ID: <1752ba0e-1808-a587-049b-cb46dba6f65c@philipmcgrath.com> Date: Sun, 1 May 2022 18:17:05 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US References: <20220419232736.272970-1-philip@philipmcgrath.com> <20220419233214.275789-1-philip@philipmcgrath.com> <20220419233214.275789-6-philip@philipmcgrath.com> <87zgk10z2o.fsf_-_@gnu.org> From: Philip McGrath In-Reply-To: <87zgk10z2o.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651443492; 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=KkdBhtWjB64U9iVwvqV3e58g4OuXuSE+DLwSf6/YSDA=; b=E5vBs4jW34eOJGrWoocxUiso1iR4IE+xGdAV5/ceTxXJWOXbQnENbWTGkpyZcDUOXIgcEB n1hn/hYmMi04T/s8Z8cXpwi1VHFBuckh8FLIHkTiW8H37X5OEIlNn81HXoR27DvCM7QGw3 0gHLkD+FctwJjWsCFCf4Hanu/RqljhQBTTkR/Xj0Yl6ejMFpXjV578UCcEVhO0gT0Bn8su cuKA4rLCNSwfVc8hAZ8zAjxQlACBd/g6K0z+tyvN4gt2tKvCgBCDaADB50mhdZqjeunkuo FG+yw45Y0FiQzykwBMimbmGRtFzJrkyAKj3GDyG7rBjDA46rYEEARROgq0zTMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651443492; a=rsa-sha256; cv=none; b=pPW2X6OQZsSaIch2q1/Dxf+NPWLxIomX/YWaGaGqfxsstI/1sjrLqDDoPqjVPzNJ5I+zZk DLOWCcYCHZ6ImSoM3INZsLzYjwwCGKF0M6XYVEkgpvBXGzJsTd2cGChS3RvTTAD+MQU9NH TcZ/pROfk5BZJiUJKhAt0Y2lMZs7H3oWgKy8XDiGjrUa6Fe92hSi8YK051+ICyC2RKvUcq LJaR9rgaJW7mDHdBZuOxGzvlpvI5atz6vzwjbCdbLxSQ/TzmlIRbjQ1e+A01L7tiwNComh fsoKP/rV2EopU5qicfpWTZrAcqUYf+SvGUnDbLdqOujmUG4TIxSNZq3gjqz/4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=H1EKM++V; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=UHvUi8sB; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=H1EKM++V; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=UHvUi8sB; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 40DF012FDB X-Spam-Score: -0.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3bXzA9vyuZrd Hi, On 5/1/22 16:37, Ludovic Courtès wrote: > Philip McGrath skribis: > >> + (package >> + (name "elm-virtual-dom") > > [...] > >> + (properties '((upstream-name . "elm/virtual-dom"))))) > > Could/should the importer infer the upstream name from the Guix name by > default? > > That way, we’d only need to specify that property where the automatic > Guix->upstream name mapping wouldn’t work. It could, but the heuristics seemed a bit brittle. To pick a few examples: 1. elm-virtual-dom -> "elm/virtual-dom" 2. elm-explorations-markdown -> "elm-explorations/markdown" 2. elm-terezka-intervals -> "terezka/intervals" We could add a special case for the "elm-explorations/*" namespace, but at least one of the others would need an explicit property. I *think* most of the packages in the "elm/*" namespace are single-element (e.g. "elm/html"), so maybe we could require the property for e.g. "elm/virtual-dom" and "elm/project-metadata-utils" ... -Philip