* [gentoo-pms] [PATCH] Tighten repository name requirements
@ 2011-07-14 15:53 Ciaran McCreesh
2011-07-14 16:17 ` Michał Górny
0 siblings, 1 reply; 2+ messages in thread
From: Ciaran McCreesh @ 2011-07-14 15:53 UTC (permalink / raw
To: gentoo-pms; +Cc: Ciaran McCreesh
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [gentoo-pms] [PATCH] Tighten repository name requirements
2011-07-14 15:53 [gentoo-pms] [PATCH] Tighten repository name requirements Ciaran McCreesh
@ 2011-07-14 16:17 ` Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2011-07-14 16:17 UTC (permalink / raw
To: gentoo-pms; +Cc: ciaran.mccreesh
[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]
On Thu, 14 Jul 2011 16:53:55 +0100
Ciaran McCreesh <ciaran.mccreesh@googlemail.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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-14 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-14 15:53 [gentoo-pms] [PATCH] Tighten repository name requirements Ciaran McCreesh
2011-07-14 16:17 ` Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox