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 HossMan:
http://wiki.apache.org/solr/HowToContribute

The comment on the change is:
merging in some more detail from FAQ

------------------------------------------------------------------------------
  Please be patient.  Committers are busy people too.  If no one responds to 
your patch after a few days, please make friendly reminders.  Please 
incorporate other's suggestions into into your patch if you think they're 
reasonable.  Finally, remember that even a patch that is not committed is 
useful to the community.
  
  
+ [Anchor(TestingPatches)]
  = Review/Improve Existing Patches =
  
  If there's a Jira issue that already has a patch you think is really good, 
and works well for you -- please add a comment saying so.   If there's room for 
improvement (more tests, better javadocs, etc...) then make the changes and 
attach it as well.  If a lot of people review a patch and give it a thumbs up, 
that's a good sign for committers when deciding if it's worth spending time on 
the patch -- and if other people have already put in effort to improve the 
docs/tests for a patch, that helps even more.
@@ -135, +136 @@

  You can easily download a patch from JIRA and test it by doing the following:
  
  {{{
- wget http://issues.apache.org/jira/secure/attachment/12381498/SOLR-563.patch 
-O - | patch -p0
+ $ cd <your Solr trunk checkout dir>
+ $ svn up
+ $ wget <URL of the patch>
+ $ patch -p0 -i name of the patch --dry-run
  }}}
  
+ (note: --dry-run just pretends to apply a patch, so you can see if it would 
succeed or fail.  Remove --dry-run to *really* apply the patch)
+ 
  The address for the patch can be obtained from the issue page, under the 
"File Attachments" section of the issue.
+ 
+ For people who like one-liners, The following should work as well:
+ 
+ {{{
+ $ cd <your Solr trunk checkout dir>
+ $ svn up
+ $ wget <URL to the patch> -O - | patch -p0 --dry-run
+ }}}
  
  If you are on Solaris, you should replace 'patch' with 'gpatch' to use GNU 
Patch instead.
  

Reply via email to