Gentoo Archives: gentoo-dev

From: Cedric Sodhi <ManDay@××××××××.cc>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] QA PG 0305 (manpages must always be installed) discussion
Date: Thu, 19 Jan 2023 17:24:50
Message-Id: Y8l9AnbgA2ShYV94@air
In Reply to: Re: [gentoo-dev] QA PG 0305 (manpages must always be installed) discussion by Michael Orlitzky
1 On Thu, Jan 19, 2023 at 11:33:20AM -0500, Michael Orlitzky wrote:
2 > On Thu, 2023-01-19 at 13:25 +0200, Cedric Sodhi wrote:
3 > > In this case, the expectation to compile manpages does not come free
4 > > of cost and protects noone. By the above formulation, the cost
5 > > "should" not come in the form of additional (heavy! dev-python/sphinx
6 > > and deps are 75M) dependencies, but instead in the form of additional
7 > > work for the maintainer. One way to annoy less-enthusiastic (proxy-)
8 > > maintainers, in my opinion.
9 >
10 > I think "protects noone" is overstating it. If your network is broken,
11 > the man pages might be your only troubleshooting resource. It would
12 > suck to find that (say) net-wireless/iwd introduced a new USE=man flag
13 > a few weeks ago and now you can't get connected to some weird
14 > conference wifi and are unable to google for help.
15
16 Fair enough, "protects noone" was not perfectly correct.
17
18 But is the improbable combination of
19
20 P( the user should have been protected ) =
21 P( user accidentally/mistakenly specifies USE=-man )
22 × P( the manpage's availability circularly depends on itself )
23 × P( the user has no other access to the manpage )
24 × P( the maintainer did not recognize the sitation and disabled "man" )
25 × P( the user ends up in that situation )
26 × P( the user is a reasonable user who deserves to be protected (!) )
27
28 really worth generalizing it as a "ALL packages MUST NEVER … ! "?
29
30 I think a far more agreeable approach which does justice to
31
32 The likelihood of the case that forcing manpages actually saves someone AND
33 The likelihood of the case that it causes problems (by dependencies for the user, or by additional work for the maintainer)
34
35 is to remind maintainers of it, but live-and-let-live, i.e. let maintainers do their job without imposing a policy.
36 I wouldn't know of anyone who would have had a problem with this in the past and I don't think anyone will exclaim "Gosh, if just we have had a policy...!" in the future.

Replies