From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0DRxILgEe2C/wwAAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 17:54:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +Ij7GbgEe2DcNwAAB5/wlQ (envelope-from ) for ; Sat, 17 Apr 2021 15:54:32 +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 ED542B946 for ; Sat, 17 Apr 2021 17:54:31 +0200 (CEST) Received: from localhost ([::1]:48468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXnHD-0000qQ-6Z for larch@yhetil.org; Sat, 17 Apr 2021 11:54:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXnGw-0000qC-Qe for guix-devel@gnu.org; Sat, 17 Apr 2021 11:54:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35440) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXnGw-0001Eq-Ip; Sat, 17 Apr 2021 11:54:14 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41658 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lXnGv-0005aQ-Ug; Sat, 17 Apr 2021 11:54:14 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tobias Geerinckx-Rice Subject: Re: Why ban underscores? References: <87v991vkpi.fsf@nckx> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 Germinal an 229 de la =?utf-8?Q?R=C3=A9volution?= 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: Sat, 17 Apr 2021 17:54:12 +0200 In-Reply-To: <87v991vkpi.fsf@nckx> (Tobias Geerinckx-Rice's message of "Sun, 04 Apr 2021 22:49:45 +0200") Message-ID: <874kg4uct7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618674872; 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; bh=qYo0dqSv9KXf7F5e2BMinT+CpJM81piLklaWsUmjR1Y=; b=dz2/i4lsbXxMFX2zUB7wFEmio+qH65OqJflrWJFneIhH2wprILyHxzl7+3gOUdRJVbyre/ QdryVv7uLaRBjZdinME/EedgBftKiBZr1w1XrRoRvdzhGNN1KLVqs++c5WTbUFEZbGzUxt gAl+SSmCn3xjRzzvFXwQ3B83YK2xYLuhJfbc9ALFvYcG9k92ntl5zBW6smfRBO5iLWFbck J049v1OOPF7zHt7uQuDOXut89PzleBrwtZXrpoXkn2bp1vhscepVjhCfh4lI476jm1yZRR 8+ysryHDUpU2tdQs8tsSun7gm7lPjSfvOrgX4/Q14Zx0rADpklaXQ3HW7onuiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618674872; a=rsa-sha256; cv=none; b=LoTYsGAB+uzUVjLKNx/pXZsLii8WASd6hTWVNMU9Uyi0nnrtIY0RA1MdnUmCtm236orbrg pBDn31u8VRP39fPvSjhjlNYYWjpuZYxz4H29buxvGlS648VEjIZXF0P1XZaTqVFGCedSTi Zl+xW/o6q+wfSdXwjjxQx04jlPahi5pU7CKVUHsrNdCKPLE1ChDMy7njFxmdiw05vefZJo Cu/Ql2+8XNbXYo/VXs2zO7t0Jb226XVPvBo/Bn7SnVRPuk/NX0PWrOmyl6xdYMlZTELs+/ CLimvLNRwa23xe4hA2PlLtb3OW92PtwShLvjAT5DPwuJvAYDEjE6L28GkNGWBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -0.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: ED542B946 X-Spam-Score: -0.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: Q/jpjuB/JGsk Hi Tobias, Tobias Geerinckx-Rice skribis: > I was surprised by this commit: > > commit 426ade6c8bdab243da719e369a887284368179bb (upstream/master) > Author: Xinglu Chen > > import: go: Replace underscores with hyphens in package names. > > As per section '16.4.2 Package Naming' in the manual, use=20 > hypens > [sic] instead of underscores in package names. > > * guix/import/go.scm (go-module->guix-package-name): Replace > underscores with hyphens. > > Signed-off-by: Leo Famulari > > > Indeed, underscores were explicitly banned in 2014 (commit=20 > 25083588). Why? It=E2=80=99s a convention. As Mark wrote, it=E2=80=99s mostly for the sake= of consistency. > Where's the advantage in renaming the following packages from=20 > their canonical names? These package names didn=E2=80=99t follow the convention, so the change wou= ld bring them back in line. The =E2=80=9Cadvantage=E2=80=9D is just consisten= t naming and following the rule of least surprise. Now, renames should only be performed with proper =E2=80=98deprecated-packa= ge=E2=80=99 definitions in place so users aren=E2=80=99t caught by surprise. I hope that makes sense! Ludo=E2=80=99.