Gentoo Archives: gentoo-dev

From: Gordon Pettey <petteyg359@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Printer drivers and net-print
Date: Sun, 26 Feb 2017 14:55:16
Message-Id: CAHY5MecrOLg8rsLs2EG86-p3s3zn5itLHD5wUoiu_3S84mOmxw@mail.gmail.com
In Reply to: Re: [gentoo-dev] Printer drivers and net-print by Andrew Savchenko
1 On Sun, Feb 26, 2017 at 4:54 AM, Andrew Savchenko <bircoph@g.o>
2 wrote:
3
4 > On Thu, 23 Feb 2017 21:16:15 +0000 Ciaran McCreesh wrote:
5 > > On Thu, 23 Feb 2017 23:58:50 +0300
6 > > Andrew Savchenko <bircoph@g.o> wrote:
7 > > > On Thu, 23 Feb 2017 18:50:45 +0100 Ulrich Mueller wrote:
8 > > > > >>>>> On Thu, 23 Feb 2017, Andrew Savchenko wrote:
9 > > > > >> https://projects.gentoo.org/pms/6/pms.html#x1-180003.1.1
10 > > > > >> "Category Names"
11 > > > >
12 > > > > > I don't see a requirement here, only note on most common
13 > > > > > pattern:
14 > > > >
15 > > > > > ``Note: A hyphen is not required because of the virtual category.
16 > > > > > Usually, however, category names will contain a hyphen.''
17 > > > >
18 > > > > It is a note on what is the exclusive pattern, with the single
19 > > > > exception of the virtual category. I believe that we shouldn't break
20 > > > > that pattern.
21 > > >
22 > > > I'm fine with this approach, but could PMS be updated to contain
23 > > > more clear statement to avoid misunderstanding? E.g.:
24 > > > ``all category names must contain a single hyphen with a
25 > > > special exception for "virtual"''
26 > >
27 > > It's not a "must". Also, putting that rule in and having the package
28 > > mangler enforce it can have unintended consequences: for example,
29 > > there used to be the mild nuisance of dealing with overlays which
30 > > didn't contain a categories list, and which did contain directories
31 > > named CVS all over the place.
32 >
33 > OK, let's say "should", or ever better explain details, e.g.:
34 >
35 > All newly created categories should follow "group-qualificator"
36 > pattern, a name without hyphen is allowed for a "virtual" category
37 > and for compatibility reasons in overlays.
38 >
39
40 If PMS is going to specify that, there ought to be better reasoning then
41 "that's how it's always been done." What concrete benefit is there to
42 _requiring_ hyphenated categories?

Replies

Subject Author
Re: [gentoo-dev] Printer drivers and net-print Andrew Savchenko <bircoph@g.o>