wiki:CodingGuidelines/SubmittingPatches

Version 4 (modified by mmadia, 15 years ago) ( diff )

added a note about svn add

Submitting Patches

  • By default, tickets are assigned to a default component owner. If you wish to work on an assigned ticket, simply comment on the ticket to inform the person. For the most part, this is to reduce the frustration of duplicating work.
  • Create patches from within the HAIKU_TOP directory. This is the directory that contains configure and typically is haiku/ or buildtools/
    • svn diff path/to/modified/files additional/paths/are/allowed/ > ~/DescriptiveName.patch
    • Note: If patching newly created files, svn add <path-to-new-file> needs to be done before svn diff
  • Plain text is preferred, as it allows easy viewing within the browser.
  • The ​Coding Guidelines are expected to be followed when submitting patches.
    • Note: When patching existing files that do not follow our Coding Guidelines, it is preferable to apply the stylization to the entire file. If that is not possible, then conform to the pervading style being used.
  • ​checkstyle can be used to help identify violations.
  • HaikuCodingGuidelinesVIM integrate with vim to check style.
  • Lastly and most importantly: once a developer reviews your submitted code, expect them to point out any and all flaws. This is standard procedure.
Note: See TracWiki for help on using the wiki.