From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-pms+bounces-420-garchives=archives.gentoo.org@gentoo.org>) id 1QZMwF-0003q4-Iz for garchives@archives.gentoo.org; Wed, 22 Jun 2011 12:53:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E4E01C0E4; Wed, 22 Jun 2011 12:53:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E2FC61C0E4 for <gentoo-pms@lists.gentoo.org>; Wed, 22 Jun 2011 12:53:37 +0000 (UTC) Received: from localhost.localdomain (77-253-148-227.adsl.inetia.pl [77.253.148.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 736361B4006; Wed, 22 Jun 2011 12:53:36 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> To: gentoo-pms@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> Subject: [gentoo-pms] [PATCH] Disallow starting category, package and slot names with +. Date: Wed, 22 Jun 2011 14:53:47 +0200 Message-Id: <1308747227-14026-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.7.5.3 Precedence: bulk List-Post: <mailto:gentoo-pms@lists.gentoo.org> List-Help: <mailto:gentoo-pms+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-pms+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-pms+subscribe@lists.gentoo.org> List-Id: Gentoo Package Manager Specification discussions <gentoo-pms.gentoo.org> X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org X-Archives-Salt: X-Archives-Hash: 0c07e1a28c06f84ff570a5d2864a37c9 Currently, PMS disallows starting those with a hyphen or a dot. The plus sign should be added to those restrictions for consistency. --- names.tex | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/names.tex b/names.tex index 53fed20..67054c1 100644 --- a/names.tex +++ b/names.tex @@ -7,14 +7,14 @@ name. A package manager should indicate or reject any name that is invalid accor \subsection{Category Names} A category name may contain any of the characters [\t{A-Za-z0-9+\_.-}]. It must not begin with -a hyphen or a dot. +a hyphen, a dot or a plus sign. \note A hyphen is \e{not} required because of the \t{virtual} category. Usually, however, category names will contain a hyphen. \subsection{Package Names} A package name may contain any of the characters [\t{A-Za-z0-9+\_-}]. It must not begin with a -hyphen, and must not end in a hyphen followed by one or more digits. +hyphen or a plus sign, and must not end in a hyphen followed by one or more digits. \note A package name does not include the category. The term \i{qualified package name} is used where a \t{category/package} pair is meant. @@ -22,7 +22,7 @@ where a \t{category/package} pair is meant. \subsection{Slot Names} \label{sec:slot-names} A slot name may contain any of the characters [\t{A-Za-z0-9+\_.-}]. It must not begin with a -hyphen or a dot. +hyphen, a dot or a plus sign. \subsection{USE Flag Names} A USE flag name may contain any of the characters [\t{A-Za-z0-9+\_@-}]. It must begin with an -- 1.7.5.3