Allow whitelist to salvage files from blacklist, instead of adding futher restriction.
ClosedPublic

Authored by tfry on Apr 24 2018, 7:38 AM.

Details

Summary

Currently, whitelist can only be used to add further restrictions on top of the blacklist.

What I'd like to be able to do, instead, is to add exceptions to the blacklist. For instance
I would like to install the header files from R.framework (r-base) in rkward, while still
excluding all other headers (as defined in the default blacklist).

In existing blueprints, the whitelist feature seems to be unused. (quassel ships a whitelist.txt,
but for all I can see it is never read).

"Whitelisted files only"-behavior can be achieve by having "^.*$" in the blacklist, with this patch.

Diff Detail

Repository
R138 Craft
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tfry requested review of this revision.Apr 24 2018, 7:38 AM
tfry created this revision.
vonreth accepted this revision.Apr 25 2018, 11:52 AM

Looks good and I don't think the old whitelist behaviour was used anywhere.

This revision is now accepted and ready to land.Apr 25 2018, 11:52 AM
This revision was automatically updated to reflect the committed changes.