Checking out the source
The Subversion repository resides at http://www.littlegreen.org/svn/mailr, so checking out the current trunk can happen with a command like: svn co http://www.littlegreen.org/svn/mailr/trunk
Creating a patch
Tickets are fine, but patches are great. If you want to change something in mailr or fix a bug you've run across, there's no faster way to make it happen than to do it yourself. mailr thrives on the contributions of the many contributors all around the world. Please do become one of them.
- Get mailr ready for patching
- Make a test-driven change
- Add or change unit tests that would prove that your change worked.
- Make the change to the source
- Verify that all existing tests still work as well as all the new ones you added by running rake
- Share your well-tested change
- Create a diff with your changes: svn diff > my_properly_named_patch.diff
- Please note: Running the diff command from the root of your mailr install eases the main developers jobs since they don't need to bother with changing into subdirectories when applying it
- Create a new ticket with [PATCH] as the first word in the summary and upload (not paste) your diff.
- Keep an eye on your patch in case there are any reservations raised before it can be applied.
- Bask in the glory of being a mailr contributor!
Blatantly ripped from http://dev.rubyonrails.com and http://typo.leetsoft.com/trac/wiki/PatchingGuide