Gentoo Archives: gentoo-pms

From: James Le Cuirot <chewi@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] doins, dodoc: Clarify how directories are created.
Date: Tue, 01 Oct 2019 19:36:05
Message-Id: 20191001203532.61513239@symphony.aura-online.co.uk
In Reply to: [gentoo-pms] [PATCH] doins, dodoc: Clarify how directories are created. by "Ulrich Müller"
1 On Tue, 1 Oct 2019 11:47:08 +0200
2 Ulrich Müller <ulm@g.o> wrote:
3
4 > With the -r option, it was unspecified what the mode of any created
5 > directories is. Clarify that doins -r will create them as if dodir was
6 > called (i.e., respect diropts), and that dodoc -r will create them as
7 > if plain install -d was used.
8 >
9 > For doins, this agrees with package manager implementations.
10 >
11 > For dodoc, this agrees with historic Paludis behaviour. Portage
12 > behaviour has changed in the past, when dodoc was changed from a
13 > standalone helper to reusing parts of doins. Usage in the Gentoo
14 > repository indicates that no ebuilds call diropts specifically for
15 > installing of documentation. However, for several ebuilds dodoc -r is
16 > affected by diropts called previously for another directory, which
17 > looks like an unwanted side effect.
18 >
19 > Signed-off-by: Ulrich Müller <ulm@g.o>
20 > ---
21 > pkg-mgr-commands.tex | 11 ++++++-----
22 > 1 file changed, 6 insertions(+), 5 deletions(-)
23
24 LGTM!
25
26 --
27 James Le Cuirot (chewi)
28 Gentoo Linux Developer