Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix repo location and main branch

...

Get the source code using: git clone https://github.com/apache/lucene-solr/

Notes for required Java version

Be sure that you are using an appropriate version of the JDK. Current master main branch requires Java 11.

Unit Tests

...

Before creating your patch, you may want to get 'mastermain' up to date with the latest from upstream. This will help avoid the possibility of others finding merge conflicts when applying your patch. This can be done with git pull if master main is the current branch.

If your changes are in your git working tree (i.e. not committed to a branch), then do this:

...

If your changes are all committed to the current (feature) branch:

  1. git diff mastermain... > LUCENE-NNNN.patch

If some of your changes are committed to the current (feature) branch but you have working-copy changes too:

  1. git diff {{git merge-base master main head > LUCENE-NNNN.patch}}

...