Gentoo Archives: gentoo-pms

From: Brian Harring <ferringb@×××××.com>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] Make it clear that PMs are allowed to handle 'invalid' names.
Date: Sun, 23 Sep 2012 15:15:55
Message-Id: 20120923151541.GN5384@localhost
In Reply to: Re: [gentoo-pms] [PATCH] Make it clear that PMs are allowed to handle 'invalid' names. by Ulrich Mueller
1 On Sun, Sep 23, 2012 at 09:55:18AM +0200, Ulrich Mueller wrote:
2 > >>>>> On Sun, 23 Sep 2012, Micha? G?rny wrote:
3 >
4 > >> > \section{Restrictions upon Names}
5 > >> >
6 > >> > -No name may be empty. Package managers must not impose fixed upper boundaries upon the length of any
7 > >> > -name. A package manager should indicate or reject any name that is invalid according to these rules.
8 > >> > +No name may be empty. Package managers must not impose fixed upper
9 > >> > +boundaries upon the length of any name. A package manager should
10 > >> > +indicate or reject any name that is invalid according to these rules.
11 > >> > +Package managers are allowed to accept names not following those rules.
12 >
13 > [Restored proper line breaks, for readability.]
14 >
15 > >> "Here's some rules. You must abide by them. Or you can ignore them."
16 >
17 > The existing spec only says "a package manager should indicate or
18 > reject any name that is invalid". So it is sufficient if the PM emits
19 > a warning, even with the current spec.
20
21 Reality is otherwise; they all fail it. A warning for something like
22 this isn't sane- errors are realistically the option for data of this
23 sort.
24
25 locally mangled, s/netcat6/netcat-6/
26
27 emerge -p qemu-init-scripts
28 !!! All ebuilds that could satisfy "qemu-init-scripts" have been masked.
29 !!! One of the following masked packages is required to complete your
30 request:
31 - app-emulation/qemu-init-scripts-0.2::qemu-init (masked by: invalid:
32 RDEPEND: Invalid atom (net-analyzer/netcat-6), token 9)
33
34 pmerge -p qemu-init-scripts
35
36 Metadata Exception: pkg ebuild src:
37 app-emulation/qemu-init-scripts-0.2, attr rdepends
38 || ( app-emulation/qemu-kvm app-emulation/qemu ) || ( net-misc/socat
39 net-analyzer/netcat-6 ) is unparseable: atom 'net-analyzer/netcat-6'
40 is malformed: error net-analyzer/netcat-6
41 flagged token- net-analyzer/netcat-6
42
43
44 Full stop. This isn't "loosen the spec in a way that doesn't matter",
45 it's "break shit and pretend it doesn't."
46
47 This isn't a new fact, and it's not as if it's hard to verify it
48 (read any PM source, hell, just mangle an ebuild).
49
50 As for the rest of it, already blasted the mindless chatter angle of
51 this, no point in picking at it further.
52
53 ~harring