Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by OtisGospodnetic: http://wiki.apache.org/solr/HowToContribute The comment on the change is: Added patch naming instructions ------------------------------------------------------------------------------ In order to create a patch, just type: {{{ - svn diff > myBeautifulPatch.patch + svn diff > SOLR-XXX.patch }}} - This will report all modifications done on Solr sources on your local disk and save them into the ''myBeautifulPath.patch'' file. Read the patch file. + This will report all modifications done on Solr sources on your local disk and save them into the ''SOLR-NNN.patch'' file. Read the patch file. Make sure it includes ONLY the modifications required to fix a single issue. + + Note the ''SOLR-NNN.patch'' patch file name. Please use this naming pattern when creating patches for uploading to JIRA. Once you create a new JIRA issue, note its name and use that name when naming your patch file. For example, if you are creating a patch for a JIRA issue named SOLR-123, then name your patch filename SOLR-123.patch. If you are creating a new version of an existing patch, use the existing patch's file name. JIRA will automatically "gray out" the old patch and clearly mark your newly uploaded patch as the latest. Please do not: * reformat code unrelated to the bug being fixed: formatting changes should be separate patches/commits. @@ -115, +117 @@ * try to adhere to the coding style of files you edit; * comment code whose function or rationale is not obvious; * update documentation (e.g., ''package.html'' files, this wiki, etc.) + * try to provide a unit test that shows a bug was indeed fixed or the new functionality truly works == Contributing your work ==
