Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: ciaran.mccreesh@××××××××××.com
Subject: Re: [gentoo-pms] [PATCH] Tighten repository name requirements
Date: Thu, 14 Jul 2011 17:07:24
Message-Id: 20110714181721.7c646ecf@pomiocik.lan
In Reply to: [gentoo-pms] [PATCH] Tighten repository name requirements by Ciaran McCreesh
On Thu, 14 Jul 2011 16:53:55 +0100
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:

> By requiring repository names to also be valid package names, a > package mangler may treat repositories as packages. This then allows, > for example, a user to 'install' a repository, which would instruct > the package manager to perform the relevant configuration (including > installing any masters) and syncing. > --- > names.tex | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/names.tex b/names.tex > index 67054c1..c99ed0f 100644 > --- a/names.tex > +++ b/names.tex > @@ -34,7 +34,7 @@ described in section~\ref{sec:use-iuse-handling}. > \subsection{Repository Names} > \label{sec:repository-names} > A repository name may contain any of the characters > [\t{A-Za-z0-9\_-}]. It must not begin with a -hyphen. > +hyphen. In addition, every repository name must also be a valid > package name. > \subsection{Keyword Names} > \label{sec:keyword-names}
Adding that sentence makes the regexp redundant. -- Best regards, Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature