You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2017/04/13 16:59:41 UTC
[jira] [Created] (LUCENE-7784) "ant precommit -Dtop=N" support
Christine Poerschke created LUCENE-7784:
-------------------------------------------
Summary: "ant precommit -Dtop=N" support
Key: LUCENE-7784
URL: https://issues.apache.org/jira/browse/LUCENE-7784
Project: Lucene - Core
Issue Type: Wish
Reporter: Christine Poerschke
Priority: Minor
It would be great to have support for something like {{ant precommit -Dtop=3}} which would look at the files changed by the last 3 (local) commits and then based on that information intelligently skip some of the precommit checks.
Examples:
* If the code changes are all in {{lucene/analysis}} then {{lucene/core}} need not be checked for forbidden API use.
* If the code changes are all in {{solr}} then the documentation checks need not be run for {{lucene}} code - is that correct?
* If the code changes consist of just code removals then forbidden API checks are not required but documentation lint checks would be needed.
The objective would be to intelligently reduce the time taken for precommit checks without impact on the quality of the checks done.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org