Bug tracker import code (moved): Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Here's what you need to know: |
Here's what you need to know: |
||
* Each ''style'' (like "Bugzilla", "Roundup", and so forth) of bug tracker has its code in mysite/customs/bugtrackers/'' |
* Each ''style'' (like "Bugzilla", "Roundup", and so forth) of bug tracker has its code in mysite/customs/bugtrackers/''{{style}}''.py. |
||
* We write tests in mysite/customs/tests.py for each bug tracker type. |
* We write tests in mysite/customs/tests.py for each bug tracker type. |
||
The Roundup code is instructive. Look at that in your favorite editor. You'll see: |
The Roundup code is instructive. Look at that in your favorite editor. You'll see: |
||
* |
* class RoundupTracker |
||
** This class's __init__() is built so that an instance has enough data that a call to grab() will start downloading bug data. |
** This class's __init__() is built so that an instance has enough data that a call to grab() will start downloading bug data. |
||