Checking out the source

The Subversion repository resides at svn://davebalmain.com/ferret, so checking out the current trunk can happen with a command like:

svn co svn://davebalmain.com/ferret/trunk

Creating a patch

Tickets are fine, but patches are great. If you want to change something in ferret or fix a bug you've run across, there's no faster way to make it happen than to do it yourself. Ferret thrives on the contributions of the many contributors all around the world. Please do become one of them.

  1. Get Ferret ready for patching
    1. Check out the trunk using: svn checkout svn://davebalmain.com/ferret/trunk
  2. Make a test-driven change
    1. Add or change unit tests that would prove that your change worked.
    2. Make the change to the source
    3. Verify that all existing tests still work as well as all the new ones you added by running rake
  3. Share your well-tested change
    1. Create a diff with your changes: svn diff > my_properly_named_patch.diff
    2. Create a new ticket with [PATCH] as the first word in the summary and upload (not paste) your diff.
    3. Keep an eye on your patch in case there are any reservations raised before it can be applied.
  4. Bask in the glory of being a Ferret contributor'''

Blatantly ripped from http://dev.rubyonrails.com

Source style

See CodingStyle