Textpattern

Return to main site

Related

Frequently Asked Questions

How To Contribute Patches

You can fetch the lastest development source of Textpattern with Subversion (SVN). There are various SVN clients available, for multiple platforms. Tutorials for a couple popular choices can be found in TextBook.

Patches can be sent in to the public developers’ mailing list.

What follows is a quick style guide, to be followed when modifying Textpattern source files to make patches for submission.

Patch Style Guide

  1. Use UNIX (LF) line feeds/endings rather than Windows (CR+LF) or Mac (CR) *
  2. Use “Real” or actual tabs, rather than spaces *
  3. When naming your patch file, make the name descriptive, and include the current revision number. e.g. fix_category_bug_r1375.patch
  4. Create a new email. Describe what your patch is for. Attach it, if possible, to your email. If you’re unable to do so, upload it somewhere where it can be downloaded, and include a full url to the file.
  5. Send the patch to the developers mailing list.

Notes

* Every decent text editor should allow you to change your line feed and tab settings, as well as what you want your defaults for these two settings to be.

Posted 17 May 2007, 00:40 by Mary Fredborg

---