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
1 On Thu, 14 Jul 2011 16:53:55 +0100
2 Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:
3
4 > By requiring repository names to also be valid package names, a
5 > package mangler may treat repositories as packages. This then allows,
6 > for example, a user to 'install' a repository, which would instruct
7 > the package manager to perform the relevant configuration (including
8 > installing any masters) and syncing.
9 > ---
10 > names.tex | 2 +-
11 > 1 files changed, 1 insertions(+), 1 deletions(-)
12 >
13 > diff --git a/names.tex b/names.tex
14 > index 67054c1..c99ed0f 100644
15 > --- a/names.tex
16 > +++ b/names.tex
17 > @@ -34,7 +34,7 @@ described in section~\ref{sec:use-iuse-handling}.
18 > \subsection{Repository Names}
19 > \label{sec:repository-names}
20 > A repository name may contain any of the characters
21 > [\t{A-Za-z0-9\_-}]. It must not begin with a -hyphen.
22 > +hyphen. In addition, every repository name must also be a valid
23 > package name.
24 > \subsection{Keyword Names}
25 > \label{sec:keyword-names}
26
27 Adding that sentence makes the regexp redundant.
28
29 --
30 Best regards,
31 Michał Górny

Attachments

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