1 |
On Thu, 23 Feb 2017 21:16:15 +0000 Ciaran McCreesh wrote: |
2 |
> On Thu, 23 Feb 2017 23:58:50 +0300 |
3 |
> Andrew Savchenko <bircoph@g.o> wrote: |
4 |
> > On Thu, 23 Feb 2017 18:50:45 +0100 Ulrich Mueller wrote: |
5 |
> > > >>>>> On Thu, 23 Feb 2017, Andrew Savchenko wrote: |
6 |
> > > >> https://projects.gentoo.org/pms/6/pms.html#x1-180003.1.1 |
7 |
> > > >> "Category Names" |
8 |
> > > |
9 |
> > > > I don't see a requirement here, only note on most common |
10 |
> > > > pattern: |
11 |
> > > |
12 |
> > > > ``Note: A hyphen is not required because of the virtual category. |
13 |
> > > > Usually, however, category names will contain a hyphen.'' |
14 |
> > > |
15 |
> > > It is a note on what is the exclusive pattern, with the single |
16 |
> > > exception of the virtual category. I believe that we shouldn't break |
17 |
> > > that pattern. |
18 |
> > |
19 |
> > I'm fine with this approach, but could PMS be updated to contain |
20 |
> > more clear statement to avoid misunderstanding? E.g.: |
21 |
> > ``all category names must contain a single hyphen with a |
22 |
> > special exception for "virtual"'' |
23 |
> |
24 |
> It's not a "must". Also, putting that rule in and having the package |
25 |
> mangler enforce it can have unintended consequences: for example, |
26 |
> there used to be the mild nuisance of dealing with overlays which |
27 |
> didn't contain a categories list, and which did contain directories |
28 |
> named CVS all over the place. |
29 |
|
30 |
OK, let's say "should", or ever better explain details, e.g.: |
31 |
|
32 |
All newly created categories should follow "group-qualificator" |
33 |
pattern, a name without hyphen is allowed for a "virtual" category |
34 |
and for compatibility reasons in overlays. |
35 |
|
36 |
Best regards, |
37 |
Andrew Savchenko |