From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kCA+Aoe06GTT3QAAG6o9tA:P1 (envelope-from ) for ; Fri, 25 Aug 2023 16:02:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kCA+Aoe06GTT3QAAG6o9tA (envelope-from ) for ; Fri, 25 Aug 2023 16:02:47 +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 2183D48DC1 for ; Fri, 25 Aug 2023 16:02:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=lv2UsDlS; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692972165; 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=Oj+NQyP9WZx5ktqFQUZd1mUVAR1jzo4E7PHB641jwF0=; b=tW6fG5xIuPaFmTQIctAUDBStjDTVCcfnAKyBrlz9VVCpr1q01EYTzgDyBezBvIlOqzCl/k nYNLGflLsldy0UwbpSm/U5eQ1htEi5AxdbQmCFI278zprfGFJctHyqKjoam36ciawp+dhW h6T6tgm3+7P50hrMuMcA/yaUHHnJ+3Bp6vBUOqm+HwmEH14IARaPqDp0r4Jux6AGqHX4dc 5LX9qaOiaMfgbtJIFD2Mlg5BGUEdIiUROLMywffKZCup6D/d+ktCdfMZtqTDhUa1Jvop+t BFz9tJjDFh4lElzggXyYhCXs70HJG3CMWCYqEEr9/erY7C+Hlmc+8ikxks+uVA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692972165; a=rsa-sha256; cv=none; b=qijVu/QkVVLwCpuZAhuAoj5W89eJZ9yeOEaiIETA9fij27vKoBdq4+tNaa3Nq5iixfQVFs paH7JP170bpgI1Z45OElsDaWmXTyK3cs9ofyPekpoXEEh2J0eJ6HxtegmTukQS9qz3qjN1 B0SDx5fl8NLVqvKK/P42dB/2dHvfWnHDmjUTX5fqznE/dC8tVNU0swgrzOamkyO6D3VygK shd01NPY7VaYhojjcPX0YLMp3lMy/II+Or33txe2u3UljUnyYF5tFjAnZgDKMA1RsRBUML E5aDTE79eSlUVAp0Ed0xPh13jCWyRfV6aXqIm4UmtQ07mZ51MTJWjnbn9hZpCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=lv2UsDlS; 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=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZXO1-0001Kh-8A; Fri, 25 Aug 2023 10:02:05 -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 1qZXNz-0001BY-5Q for guix-devel@gnu.org; Fri, 25 Aug 2023 10:02:03 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZXNv-00010G-CM for guix-devel@gnu.org; Fri, 25 Aug 2023 10:02:02 -0400 Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-4108f11c067so5176451cf.3 for ; Fri, 25 Aug 2023 07:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692972118; x=1693576918; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Oj+NQyP9WZx5ktqFQUZd1mUVAR1jzo4E7PHB641jwF0=; b=lv2UsDlSlSgmJL9VyyPxO9mQfK55yQ+yuiUQSt9wh5BgnWVX+CPmjq4bCWhuYG173U QeyHcZafz7s+WzqPCGUdSVhP36A9l9mTMHBUbejQdbEu9bnzOGzvamr3uR1W0PMXhaoe ftlWkiyoMkavMvm/DpQcDvVMTBIM3Bp6jEWjpn4/tlLGbZB8ABxVfv55832VfRxf3XuK jTxg4jUZF0B+xFH44pV7otNscShhTsbl+DPEh/zzfZnxu/clLaob1LVjp9HhL4oZXsmD q9+EeFZd1gxaFGmYf+2M7E7G3p5zmhO1Lnut+PHCjfCGUdhx+bnLcc8ji1tau2KVNhJ8 nQgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692972118; x=1693576918; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Oj+NQyP9WZx5ktqFQUZd1mUVAR1jzo4E7PHB641jwF0=; b=iXR5CJBMmTNL5cXsVg2DUX+emIuEsfbeTjy4JJkCD/e8gowzNdZwq2NKHQqdRH3nHm TwUFgPgJ34x0RiLZwSxOwh7fFOD3e8K00GIj+CnOZzIZMOs+x69sh+1rNFJ8bq4pFkuB KgO3zRU44GjASkSORngaxh0cGlQnI+GyPbcQXnQgfZtM5sRkolbj1+Kdapj0MNzPLk01 CW5yDn90GIRyzJzPt7vmjgzUI+olPb6Waf84+uPcc/wTTnxLC8T/yaR00NauyAI1LF1w ThYQwvmgnQQWu6r54i2r3zTZnTrj7w0Md8/dlPJKjioDdaQCW0EpM3g6zaCMoPz6n+Ef LjTw== X-Gm-Message-State: AOJu0YwtI8pd9e7x3Gy6krxAeTaBuNkKsWuwPiLLBu49IKpC3QGIaqhq rAMMuB5Rjr+hiN+PI0NSW8jLDtqQEkCqAmPeaG8= X-Google-Smtp-Source: AGHT+IFPmSOsOl9X8IkEsMLZwkrSkRIClQ5s9e+xKAZnympD61mr7rXe3vRdoZ5Ee6ZTwDrHqMTEzcS6586rxXMpQE8= X-Received: by 2002:a05:622a:1014:b0:406:a604:124f with SMTP id d20-20020a05622a101400b00406a604124fmr22321661qte.8.1692972118091; Fri, 25 Aug 2023 07:01:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Eidvilas_Markevi=C4=8Dius?= Date: Fri, 25 Aug 2023 17:01:46 +0300 Message-ID: Subject: Re: Relaxing the restrictions for store item names To: Nathan Dehnel Cc: guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=markeviciuseidvilas@gmail.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Migadu-Spam-Score: -4.41 X-Spam-Score: -4.41 X-Migadu-Queue-Id: 2183D48DC1 X-Migadu-Scanner: mx1.migadu.com X-TUID: NQybVg8G8/wR Although now, just a few hours later, I'm having second thoughts on this. When you really think about it, it's very unlinkely that some user would prefer typing something like guix install %D0%B8%D0%BC%D0%B0%D0%B3%D0%B8%D0%BD%D0%B0%D1%80%D0%B8-%D0%BF%= D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC over guix install =D0=B8=D0=BC=D0=B0=D0=B3=D0=B8=D0=BD=D0=B0=D1=80=D0=B8-=D0=BF= =D1=80=D0=BE=D0=B3=D1=80=D0=B0=D0=BC even if they don't have the russian (or whatever other language) keyboard layout set up on their system, so just for accessability purposes, the solution wouldn't be all that great. It would also make store name unnecessarily long (they're already long as is), and there's a 255 char limit for filenames that we have to keep in mind as well. Searching the store using standard utilities such as find and grep would too, as a consequence, break... There's just too many problems with this. I believe what Julien proposed is the most reasonable solution: unrestrict unicode characters in the store and (maybe) make it a project policy to not put unicode characters inside package names (however, personally I wouldn't be against that either). Now ensuring that URIs don't break, especially for substitute provision, should also be taken into consideration, but this can be handled separately. On Fri, Aug 25, 2023 at 12:14=E2=80=AFPM Eidvilas Markevi=C4=8Dius wrote: > > On Fri, Aug 25, 2023 at 11:37=E2=80=AFAM Nathan Dehnel wrote: > > > > What you could do is implement percent encoding: > > https://en.wikipedia.org/wiki/Percent-encoding > > -Allows you to store package titles in any language in an encoded form > > -Allows the titles to be typed on latin keyboards > > -Allows the packages to be accessed through URIs in the future without > > causing problems > > Now that's an idea. I didn't really thought of that. Although it'd > probably be trickier to implement in order to make all the tooling > compatible. I think that might be a good solution nonetheless.