| 1 |
Contributing to Cheetah |
| 2 |
======================= |
| 3 |
|
| 4 |
Cheetah is the work of many volunteers. If you use Cheetah, share your |
| 5 |
experiences, tricks, customizations, and frustrations. Please visit |
| 6 |
https://github.com/CheetahTemplate3/cheetah3 and file bug reports, feature |
| 7 |
requests or pull requests. |
| 8 |
|
| 9 |
|
| 10 |
Getting the Code |
| 11 |
---------------- |
| 12 |
The Cheetah source code is stored in a central **Git** repository |
| 13 |
hosted primarily by `GitHub <http://github.com>`_. The primary Git |
| 14 |
repository can be found `here <http://github.com/CheetahTemplate3/cheetah3>`_. |
| 15 |
|
| 16 |
|
| 17 |
Development Process |
| 18 |
------------------- |
| 19 |
The typical development workflow for Cheetah revolves around |
| 20 |
two primary branches **maint** and **next**. The **next** branch is where development |
| 21 |
planned for the next release of Cheetah is. The **maint** branch |
| 22 |
on the otherhand is where backported fixes and patches will be applied for |
| 23 |
the current release of Cheetah will go, it's common for a patch |
| 24 |
to be applied to maint and next at the same time. |
| 25 |
|
| 26 |
Anyone and everyone is encouraged to submit patches at any time, but as far |
| 27 |
as bugs or feature requests go, we try to file those *first* in the `Cheetah3 Bug Tracker <https://github.com/CheetahTemplate3/cheetah3/issues>`_ |
| 28 |
and then they can be organized into particular releases as is necessary. |
| 29 |
|
| 30 |
In addition to the bug tracker, Cheetah uses Github Actions |
| 31 |
for automating builds and test runs (see: `Github Actions for Cheetah |
| 32 |
<https://github.com/CheetahTemplate3/cheetah3/actions>`_). |
| 33 |
|
| 34 |
Prior to the tarballing of a release, **all** tests must be passing before the |
| 35 |
**next** branch is merged down to the Git **master** branch where the release |
| 36 |
tarball will actually be created from. |
| 37 |
|
| 38 |
|
| 39 |
Filing Bugs |
| 40 |
----------- |
| 41 |
No software is perfect, and unfortunately no bug report is either. If you've |
| 42 |
found yourself faced with a bug in Cheetah, or just have a good idea for a |
| 43 |
new feature, we kindly ask that you create an issue in the `Cheetah3 Bug Tracker <https://github.com/CheetahTemplate3/cheetah3/issues>`_. |
| 44 |
|
| 45 |
Some tips for filing a *useful* bug report, try to include the following: |
| 46 |
|
| 47 |
* A description of what you were trying to do, and what happened (i.e. reproduction steps), the more code you can include the better. |
| 48 |
* Any and all tracebacks or compiler errors |
| 49 |
* The version of Cheetah you're using |
| 50 |
* The version of Python you're using |
| 51 |
* The operating system you're running Cheetah on |
| 52 |
* Any other pieces of information you might think are relevant |
| 53 |
|