Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-pms@l.g.o
Cc: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Subject: [gentoo-pms] [PATCH] Tighten repository name requirements
Date: Thu, 14 Jul 2011 16:13:53
Message-Id: 1310658835-12090-1-git-send-email-ciaran.mccreesh@googlemail.com
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}
-- 
1.7.5.4

Replies

Subject Author
Re: [gentoo-pms] [PATCH] Tighten repository name requirements "Michał Górny" <mgorny@g.o>