From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +C5dIRKxqmQIkgAASxT56A (envelope-from ) for ; Sun, 09 Jul 2023 15:07:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kPUcIRKxqmSDqgAAauVa8A (envelope-from ) for ; Sun, 09 Jul 2023 15:07:30 +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 CDC9F39C01 for ; Sun, 9 Jul 2023 15:07:29 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=incana.org header.s=gm1 header.b="R/2WSh6A"; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688908050; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=g3dXwlbjrGP4lD68ppy2cjVG8DF7TmPsKZMzNAZhcu0=; b=GQI0r4vn24uVLte6xSyONLs7X4FQjxPNOk1paD78U/SE9o56F8LZYbVK1Utf4EEVVAHJC7 yPn/iDPKnW0nE2kie6ajuRUR1CM4zi8cyyRdf45ZkrqXJLe0RjI3NvKu+uVP8qJQDWk5BV ldZnDMQZKPWqFrNzOEYHXS5Z1QpOwf739GsUbT8cpNoHCCgzXUKurUwC2+5Htud4PZtjsH B+neqri5c6xtnWVhIukoAQDaM1AYMXXEbhl57jqG2fLPesZDFUzve84aDscyCsPGo5dVF/ TsTk28VGj+eyScb/08n+xMdOPvdgAtkC1xHjHLKJ+aHPjsMOKIJ/DI1ZotYwrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688908050; a=rsa-sha256; cv=none; b=L04f7MDCOjwRVihUz+CKV/7RtAPQRCtXk51llX6V0EvwW0G8Lh2BjZ1Ybu4GgQ3KPRCsn8 U9fLLj+2JQoKoIui89wITL2p/b9uAd4Qm1Tgcdk2fJMPJ1D3jXzgpCOymPzGAJ734AUrab l1oiLRobdrki4maboVEw49LQDxP2hH86YXUnh1nV5l5SYHBIt0n1MN5C6P0Y0M/f+tEmEc mlmc/YsNqz18lN7mZ1QXksf61M1JibpOlZbn+TI2CFKHH3AV5rxaaB1ChVijD/a52XDdLQ 9Qe0Zgi+pnWos7egRVKxAoaAbG7Wm9ycMXVACBna34e63D8VlZTi6BYFhp/cNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=incana.org header.s=gm1 header.b="R/2WSh6A"; 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"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qITi2-00070f-Ff; Sun, 09 Jul 2023 08:40:14 -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 1qGknH-0004XV-Dv for guix-devel@gnu.org; Tue, 04 Jul 2023 14:30:31 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGknF-0000qS-72 for guix-devel@gnu.org; Tue, 04 Jul 2023 14:30:31 -0400 X-GND-Sasl: juli@incana.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=incana.org; s=gm1; t=1688495425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=g3dXwlbjrGP4lD68ppy2cjVG8DF7TmPsKZMzNAZhcu0=; b=R/2WSh6Aygks6zeiJUbc6KGseOwYhoXJfC+4rpSlnF13qRGFInBOWZN4Pf7/x8MI672NYd hjYklYa1cDdp0nAUioAEsOVWlAhL4VFK3QXJqCVzlyU5M2Ih40n1m7eu7d35ViLpJfJTnx Ambz16QCMA5/o1NMSi1cWCLAPsY0KPF2noYa+JwTS4RcX79ae/4SjWJbkrhhh+jGZcZn60 /cGq8pHxBDB6XYE9Nj32nUQghFVA86Qc+uxcrjTsWLdMo0z8vk0RA5PlHb8zaivMkhpgN7 SxBx5o4ECFUHQaoG/YFcQGqNl1MARC8vI+acFhZ968hUuZmYMafOPeLOUC+BLA== X-GND-Sasl: juli@incana.org Received: by mail.gandi.net (Postfix) with ESMTPSA id B68FE1C0003; Tue, 4 Jul 2023 18:30:23 +0000 (UTC) Date: Tue, 04 Jul 2023 14:30:04 -0400 From: Juliana Sims Subject: Re: guidelines for package names (namespaces?) To: atai@atai.org Cc: guix-devel@gnu.org Message-Id: <4EBAXR.GU17M4S1Q1UC1@incana.org> X-Mailer: geary/43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Received-SPF: pass client-ip=217.70.183.197; envelope-from=juli@incana.org; helo=relay5-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 09 Jul 2023 08:40:11 -0400 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.89 X-Spam-Score: -4.89 X-Migadu-Queue-Id: CDC9F39C01 X-Migadu-Scanner: mx2.migadu.com X-TUID: qO9fwAMJvk61 Hi Andy, There are some guidelines for naming packages, as discussed in the manual: https://guix.gnu.org/en/manual/devel/en/html_node/Package-Naming.html. Ultimately, of course, the final say rests with the commiters who do or do not accept a given patch in a given state. As for namespaces, Guix packages being defined in Guile and thus in Guile modules provides namespacing in most contexts - if not operating at the command line, one need only use the correct module and reference a given package object directly. That said, last night I was just considering the potential for name conflicts. If a given `guix package -i ` command would resolve equally well to two different packages, for example, it seems the priority goes to whichever one comes first in some alphabetic comparisons - or perhaps it's by the order of channels in the channel list; I didn't investigate much more than to find out if Guix offers any manual intervention. I mused aloud about the possibility of adding a switch to specify channels in such situations and was offered the following addition to the command: `-e '(@ (my channel packages) foo)'`. This allows one to specify Scheme objects precisely. In this case, that code resolves to the package `foo` in the module `(my channel packages)`. Of course, this is not necessarily obvious or approachable to a relatively new or casual user - I had to test to understand the incantation above, and I would not have considered it without advice. All of that to say, you raise some good questions. I hope these thoughts prove useful to you in your endeavors. Best, Juli