Contributing Code

Once you have checked out the OpenSG source code, you can fix bugs or implement features and then submit your changes as a patch for inclusion in OpenSG.

Tickets allow patch tracking in addition to bug and enhancement request tracking. The active tickets report shows current bugs which need fixing as well as other users' enhancement requests. If you fix or implement one of these, your patch should be attached to the relevant ticket. If you fix a bug which is not listed, please create a ticket for your patch and attach the patch to that ticket.

Creating the patch once you've modified your code is easy. From the Terminal, change to the opensg folder. If it is in your home directory, this would be:

cd ~/opensg

and then type:

svn diff > myPatch.diff

where myPatch is a name for your patch. This will create a patch file which has only the changes you've made.

Note 1: If you have created new files, you should do:

svn add Path/To/YourFileName

for each file before running svn diff .

Please be sure your patch has been thoroughly tested and conforms to the coding style guidelines.

You might also want to send an e-mail to one of the MailingLists to notify the developers of the patch.