Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 2.61 KB

Contributing.md

File metadata and controls

41 lines (25 loc) · 2.61 KB

Guidelines for Contributing to Taffy

Contributions of all shapes and sizes are welcome, encouraged, and greatly appreciated!

For all contributions, you'll need a free GitHub account.

Bug Reports / Feature Requests

Please include all of the following information in your ticket:

  • CFML Platform and version (e.g. Adobe ColdFusion 9.0.2, Railo 4.0.2)
  • Java version (look it up in CF Administrator, or do java -version at the command line)
  • Taffy version (for bugs)

Documentation

Please see how you can contribute to the wiki via pull requests.

There's no such thing as perfect documentation. It can never be thorough enough, never perfectly organized. If you find something confusing or outdated, please at least be so kind as to file a bug report for it, if you can't or won't fix it.

Code

Starting with the development of Taffy 1.4, all new development will be done against the master branch. When you want to make a change and submit it for the Bleeding Edge Release (BER), do the following:

  1. Fork the project
  2. Clone to your local machine: git clone https://github.com/YOUR-GITHUB-USERNAME/Taffy.git
  3. Create a topic branch for your changes: git checkout -b BRANCH_NAME
  4. Make your changes and commit them.
  5. Push your changes back to your fork. git push -u origin BRANCH_NAME
  6. Send a pull request (help with pull requests)
  • Please make sure you select master as the destination branch

Tests

If at all possible, please include test cases for anything you add or change. Taffy uses MXUnit (not included) for testing.

You can run the test suite from the command line with Apache Ant. It's the default target, so just type ant from the root of the project directory and it should run them for you. Note: Our Jenkins instance uses the Ant script to run the tests, so if you want to run them via Ant you should either setup jenkins.local to point to localhost in your hosts file (and virtualhosts), or change the value for test.server in the build.xml file.

You can also run the tests in your browser. Install MXunit to /mxunit and Taffy to /taffy, and then point your browser to: http://localhost/taffy/tests (this will initialize the test api), and then to http://localhost/taffy/tests/tests/, which will run the test suite.

Taffy uses Jenkins for continuous integration, and you can see build status/history here.