Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7784

"ant precommit -Dtop=N" support

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cpoerschke Christine Poerschke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: