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 |