Projects/Cloudstone/Creating Apache Patches

From RAD Lab

Jump to: navigation, search

Many components of Cloudstone are Apache Incubator projects. In order to submit changes to be commited for Apache projects, you will want to submit a patch file containing the diff.

Projects and Sources

Instructions

  1. Check out a copy of the source: svn co path/to/source patched
  2. Make or copy the changes you would like to make.
  3. Check out a vanilla copy of the source: svn co path/to/source vanilla
  4. Create the patch file: diff -x .svn -ruN vanilla patched > name-timestamp.patch (e.g. <code>olio-workload-20080811.patch)
  5. Open the patch file and do a sanity check to make sure the patch is what you expect: mate name-timestamp.patch