Some of files deserve particularly high scrutiny for any number of
reasons.  Examples: security, performance sensitive,
compatibility-sensitive, highly-referenced files (e.g. NamedList), and
certainly our default configset.  It could even be that a "minimal" test
config is supposed to stay minimal; why not.

If we put a magic string in the file, say "HIGH-SCRUTINY: reason or
concern" it becomes self-descriptive to anyone looking at the file.
Moreover, a PR review automation could draw attention to it and flag it so
that the committers notice.  We might limit the placement to the top 100
lines of a file in order to make it faster to scan for them... or we
"compile" the list to a file listing all such files (I lean this way).
Then we might even add rules specific to the consolidated file like
everything under a certain directly (e.g. configsets).

WDYT?

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley

Reply via email to