You've seen a couple of JIRAs about cleaning up precommit lint
warnings, and Robert mentioned compiler warnings which I totally agree
with.

It's just a _lot_ of code to wade through, and it'll be depressing to
fix up something and have similar stuff creep back in. It'll take
quite some time to clean them _all_ up, so there'll be quite a window
for backsliding.

Is there a way to have precommit and build fail for specific parts of
the code? Let's claim we fix up all the precommit warnings in
.../solr/core. It'd feel a lot more like progress if we could then
have any _future_ precommit lint warnings in .../solr/core fail
precommit even if, say, .../solr/contrib still had a bunch.

Ditto for compiler warnings etc. As you can tell, I'm looking for help
;) Or even better "it's already in place if you'd just look"....

How this plays with different versions of Java I don't quite know. We
may run into some stuff with Java 9 that weren't reported in Java 8
and the like so I suspect turning failures on and off based on the JDK
might be necessary.

Erick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to