From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KLpmEVOCYWf8dgAAqHPOHw:P1 (envelope-from ) for ; Tue, 17 Dec 2024 13:53:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KLpmEVOCYWf8dgAAqHPOHw (envelope-from ) for ; Tue, 17 Dec 2024 14:53:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=q+2ZRvGK; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=oBQVhAce; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734443603; 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=x2KeAawTTDjflN/sWHGnrVD9ZrOiMbzSvSv/AJzFUOY=; b=b23g12b0Im4f/kS3Rqf+xndeZTyRaBfj6djEBGl3wIr9oa4WwnjO6exQ1/1Xa+cnOcIR1T WPdxkyDz1exNK0yqm4tIYR+dq2s+K+uIrhV5L3cngXPjygyBqpF45qHVbb0K/Q1WIan5dh i7ySuLejfCGul+ctkHTn+w1qosEiT56zX0rRzjwVxtLZm3NzTfrTPp0gJoupHCmtCdDOSi 9XlNaFy7ihuGVtoKIPBtHJWJqiXXSpYNC+OGmsEEpC76cnqFoFPcSM0FszW4tR1Lx44WbV fod/XWxquxE23a6+4V9K+BZlPgLD9HdA76iZChAYFO5gU98i/Sep0LiqiN0+GQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=q+2ZRvGK; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=oBQVhAce; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734443603; a=rsa-sha256; cv=none; b=SvrLzo1IpOp4tg+y05NfuFScj4ks0ZqBChobiOT30ZcaDDp9MB99TEUkaB2WcGoRGii6fW XnJ6QnCs//56kGUZjqBWMLmN9lf3iItXnW77SxTZ/FR6MndYMX1UwQAp5MrqSASopQJ+Fk KOMxfaejhJHD8dDj2m9vHj7Qzze8O5I43/ZBkwmLf6XPQtsUVtRWA3ickqK2BI6Cuk7aZt qgFIOujn9YP7/ZjO4PJQWVDgPdYKHr9RSOzkxOINKl7hVwWEfI1fygj0PbIVINLPhq0fko onGs4IPLQqnhwkxbshleTM2OlovKCnrlMWMALlYv7dtgHobL6+nXq52tGznCRQ== 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 2F9808F182 for ; Tue, 17 Dec 2024 14:53:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNY0Y-0003Rq-B5; Tue, 17 Dec 2024 08:53:06 -0500 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 1tNY0U-0003RP-BS for guix-patches@gnu.org; Tue, 17 Dec 2024 08:53:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNY0T-00079s-T4 for guix-patches@gnu.org; Tue, 17 Dec 2024 08:53:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=x2KeAawTTDjflN/sWHGnrVD9ZrOiMbzSvSv/AJzFUOY=; b=q+2ZRvGKCSelsDRi9YLCPt7+Ah08yLz6ZtBLsfqBBT0ZulLaCeVO5vbhPCbtP/lUghM/tRSFmGSt4zeLoRtu8t5TL23yGWvrjhL7toGkBK4hrJ++goMp4vO93BHczf9yZ0UEoV/V6QXXAPA+tSxlvh1Hyvj7SSsXZ2HApGIIghykSyjninTzuwMm9G0TQEa/QztB++/t+WfbxpAcHZoCTGrT7o431nvll1NOn9razRzaYZDCh4TBdXltZiSiJZTmKCrSz4fi3/fOorHjS0HfzrC+IV1Vk3duu2lGguK9iI8774rwV1E50uu+TAjBPaLNUTdveGe2HbzrLaZYu22TZQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNY0T-0000jC-Nf for guix-patches@gnu.org; Tue, 17 Dec 2024 08:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74849] [PATCH 3/6] import: utils: Move guix-name to (guix utils). Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Dec 2024 13:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74849 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Herman Rimm Cc: Josselin Poiret , Tobias Geerinckx-Rice , Simon Tournier , 74849@debbugs.gnu.org, Katherine Cox-Buday , Liliana Marie Prikler , Andrew Tropin , Andreas Enge , Mathieu Othacehe , Christopher Baines , Nicolas Goaziou Received: via spool by 74849-submit@debbugs.gnu.org id=B74849.17344435642767 (code B ref 74849); Tue, 17 Dec 2024 13:53:01 +0000 Received: (at 74849) by debbugs.gnu.org; 17 Dec 2024 13:52:44 +0000 Received: from localhost ([127.0.0.1]:58146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNY0B-0000iZ-QF for submit@debbugs.gnu.org; Tue, 17 Dec 2024 08:52:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNY0A-0000iK-Ae for 74849@debbugs.gnu.org; Tue, 17 Dec 2024 08:52:42 -0500 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 1tNXzz-00076v-VB; Tue, 17 Dec 2024 08:52:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=x2KeAawTTDjflN/sWHGnrVD9ZrOiMbzSvSv/AJzFUOY=; b=oBQVhAceVE7y7k0Z9+/k +WC5wLQc8h6aLhJb6nh1HStlV8qIwVA4qRYIrDKbNsF/2+GkgMnImn5mGl2BVCdbTOA/qbsTNstcP xrweGmVkwvGCBQO4gZEeAAsDCzXSzDsQHd1uE2ILhcvIuKy0eKLxWpqkVzkIRAhxWz54YYMkhKxrx tg1DskrNU2qeZ4tUC6mVzYp0gavMWRQ6nflRx0OrMBJ5J9K/aT42a23AcLCYh7AWeIiGwiwVduwG+ 8bWCyToLm9sMf7oKB5m9G2D2Gzm46KTW8FWxuRdFigVxnz4bCS6p8fqEtUInJvkGin9iWWkeGNxZj +kvMWcrDwrtdVA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Herman Rimm's message of "Fri, 13 Dec 2024 13:25:46 +0100") References: Date: Tue, 17 Dec 2024 14:52:26 +0100 Message-ID: <87frmmpgbp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.10 X-Spam-Score: -7.10 X-Migadu-Queue-Id: 2F9808F182 X-TUID: yo6KP/42cQ96 Herman Rimm skribis: > * guix/import/elpa.scm: Import (guix utils). > * guix/import/texlive.scm (guix-name): Remove. > * guix/import/utils.scm (guix-name): Move to ... > * guix/utils.scm (guix-name): ... here. > > Change-Id: If56a452f64ed06c8bb06a96a283a5067cb54d602 LGTM! I let Vagrant & co. validate the bootloader side of things. > +(define (guix-name prefix name) > + "Return a Guix package name for a given package name." > + (string-append prefix (string-map (match-lambda > + (#\_ #\-) > + (#\. #\-) > + (chr (char-downcase chr))) > + name))) If it=E2=80=99s =E2=80=9Cpromoted=E2=80=9D to (guix utils), perhaps we coul= d also rename it to =E2=80=98downstream-package-name=E2=80=99, but that can come in a separate = commit. Ludo=E2=80=99.