Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: Ulrich Mueller <ulm@g.o>
Cc: gentoo-pms@l.g.o, David Leverton <levertond@××××××××××.com>
Subject: Re: [gentoo-pms] [PATCH 05/22] EAPI 6 supports package.* and use.* directories.
Date: Fri, 06 Nov 2015 21:38:47
Message-Id: 20151106223827.1909d92d.mgorny@gentoo.org
In Reply to: Re: [gentoo-pms] [PATCH 05/22] EAPI 6 supports package.* and use.* directories. by Ulrich Mueller
1 On Thu, 5 Nov 2015 23:25:31 +0100
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > >>>>> On Thu, 5 Nov 2015, Michał Górny wrote:
5 >
6 > > Long story short, I think this should work alike:
7 >
8 > > [[ -d ${foo} ]] && handle "${foo}"/*
9 >
10 > > Therefore implying single level of recursion and skipping dotfiles.
11 >
12 > Attempt of a wording below.
13 >
14 > Ulrich
15 >
16 >
17 > From 6a6c4dd3882d2e01f0fab89cc0b3611e45c8b0b7 Mon Sep 17 00:00:00 2001
18 > From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@g.o>
19 > Date: Thu, 5 Nov 2015 23:23:06 +0100
20 > Subject: [PATCH] fixup! EAPI 6 supports package.* and use.* directories.
21 >
22 > ---
23 > profiles.tex | 4 +++-
24 > 1 file changed, 3 insertions(+), 1 deletion(-)
25 >
26 > diff --git a/profiles.tex b/profiles.tex
27 > index a0e3c57..db96b37 100644
28 > --- a/profiles.tex
29 > +++ b/profiles.tex
30 > @@ -72,7 +72,9 @@ removed from the list. Once again, blank lines and those beginning with a \# are
31 >
32 > \featurelabel{profile-file-dirs} For EAPIs listed as supported in table~\ref{tab:profile-file-dirs},
33 > simple line-based files described in the following sections may optionally be directories containing
34 > -files of the named type.
35 > +files of the named type. These files, unless their name begins with a dot, will be sorted by their
36 > +filename in the POSIX locale and their concatenation will be processed as if it were a single file.
37 > +Subdirectories will not be descended into.
38
39 I'm not sure if we shouldn't make subdirectories an error. Silently
40 ignoring potential issues is usually not a good thing.
41
42 --
43 Best regards,
44 Michał Górny
45 <http://dev.gentoo.org/~mgorny/>

Replies