FR: Glob blacklist dirs, add whitelist dirs
I have a repo that pulls in lots of dirs named *.jj and *.git - sometimes these include BUILD files that are invalid for please. I would like please to support globbing blacklist dirs, and allowing whitelist dirs. Currently, please only works on fixed paths.
This would support a "default deny" workflow, while still permitting specific dirs.
I am up for trying to implement this, and want to start the discussion.
[parse]
blacklistdirs = "**/*.git"
blacklistdirs = "**/*.jj"
whitelistdirs = "important-project.git"
whitelistdirs = "important-projects/*.jj"
Hi Pat,
This seems like a reasonable change to make, as long as it can be made in a backwards compatible way. Unfortunately we're unlikely to have time to implement this any time soon, but if you have time to put together a pull request I'd be happy to review it!
This issue has been automatically marked as stale because it has not had any recent activity in the past 90 days. It will be closed if no further activity occurs. If you require additional support, please reply to this message. Thank you for your contributions.