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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to