Jump to: navigation, search

Difference between revisions of "CDT/contributing"

< CDT
(Sending Patches)
(Sending Patches)
Line 4: Line 4:
  
 
# Create a workspace in Eclipse for your work. Check out the CDT plugins you'd like to work on into it. The plugins are on <tt>dev.eclipse.org</tt>, <tt>/cvsroot/tools</tt>. The plugins are under folder <tt>org.eclipse.cdt/all</tt>. There should be around 40 plugins there that you need to check out.
 
# Create a workspace in Eclipse for your work. Check out the CDT plugins you'd like to work on into it. The plugins are on <tt>dev.eclipse.org</tt>, <tt>/cvsroot/tools</tt>. The plugins are under folder <tt>org.eclipse.cdt/all</tt>. There should be around 40 plugins there that you need to check out.
# Edit and test your change. This is basic Eclipse plugin development. There are a number of resources on the web and in the Eclipse help system on how to do this.
+
# Edit and test your change. This is basic Eclipse plugin development. There are a number of resources on the web and in the Eclipse help system on how to do this. Read  [[CDT/policy|CDT Guideline]] for code conventions.
 
# Use the Eclipse Team menu to create a patch (click <b>Team > Create Patch</b>). Ensure that all the modified plugins are included when creating the patch. In Eclipse 3.2 and later releases you can create a patch for your whole workspace. For Eclipse 3.1, you will need to create a patch for each plugin you've changed.
 
# Use the Eclipse Team menu to create a patch (click <b>Team > Create Patch</b>). Ensure that all the modified plugins are included when creating the patch. In Eclipse 3.2 and later releases you can create a patch for your whole workspace. For Eclipse 3.1, you will need to create a patch for each plugin you've changed.
 
# Attach the patch or patches to a bugzilla entry. Make sure you check off the patch box to help us find patches.
 
# Attach the patch or patches to a bugzilla entry. Make sure you check off the patch box to help us find patches.

Revision as of 18:00, 24 September 2008

Sending Patches

To make changes to the CDT, whether it be code, docs, JUnits, etc., you will need to send patches to the source stored on eclipse.org. Here is the process for sending patches.

  1. Create a workspace in Eclipse for your work. Check out the CDT plugins you'd like to work on into it. The plugins are on dev.eclipse.org, /cvsroot/tools. The plugins are under folder org.eclipse.cdt/all. There should be around 40 plugins there that you need to check out.
  2. Edit and test your change. This is basic Eclipse plugin development. There are a number of resources on the web and in the Eclipse help system on how to do this. Read CDT Guideline for code conventions.
  3. Use the Eclipse Team menu to create a patch (click Team > Create Patch). Ensure that all the modified plugins are included when creating the patch. In Eclipse 3.2 and later releases you can create a patch for your whole workspace. For Eclipse 3.1, you will need to create a patch for each plugin you've changed.
  4. Attach the patch or patches to a bugzilla entry. Make sure you check off the patch box to help us find patches.

One of the fundamental rules that Eclipse follows is the ability to trace back who contributed what code and that the person who contributed it has ownership of the code, or has permission from their employer to contribute the code (since employers tend to own everything you write). To help keep this IP integrity going, please ensure your contributions are "clean".

Tips

  • If you are behind a firewall, you can use the proxy server at eclipse.org to access the CVS repository using pserver on the proxy.eclipse.org and port 80.