Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Proposed future EAPI feature: FILES whitelist
Date: Fri, 16 Sep 2016 16:39:46
Message-Id: d27883ea-a14e-5f6d-251e-47b212a4e71d@gentoo.org
In Reply to: [gentoo-dev] Proposed future EAPI feature: FILES whitelist by Ulrich Mueller
1 On 09/16/2016 08:20 AM, Ulrich Mueller wrote:
2 >>>>>> On Sat, 17 Sep 2016, Kent Fredric wrote:
3 >> 4. Due to referential integrity, it should be trivial to identify which
4 >> files are needed by a given ebuild, and which files are now redundant,
5 >> assisting with keeping the tree pruned.
6 >
7 > How does a file in FILESDIR get stale? The typical scenario is that a
8 > patch will no longer be needed after a version bump and pruning of old
9 > ebuild versions. I fear that with FILES the problem would simply be
10 > shifted: instead of forgetting to delete the stale file, people would
11 > forget removing the patch from the FILES list.
12
13 If FILES supports USE conditionals, then it's possible to use inotify to
14 implement a QA check that detects unused files in FILES.
15 --
16 Thanks,
17 Zac

Replies

Subject Author
Re: [gentoo-dev] Proposed future EAPI feature: FILES whitelist Ulrich Mueller <ulm@g.o>