Bug tracker import code/adding a bug tracker (moved): Difference between revisions

Content added Content deleted
Line 27: Line 27:


To add a new bug tracker, take an existing bug tracker's short code snippet and copy-paste it, adjusting what you need to adjust. You'll definitely need to change the project name, and you'll probably need to provide URLs for fetching a list of bugs to import.
To add a new bug tracker, take an existing bug tracker's short code snippet and copy-paste it, adjusting what you need to adjust. You'll definitely need to change the project name, and you'll probably need to provide URLs for fetching a list of bugs to import.

=== Make sure it works ===

If you run:

$ ./bin/mysite customs_daily_tasks

you should trigger your code. In your local version of OpenHatch, you'll see the new volunteer opportunities listed at http://127.0.0.1:8000/search/.

If your new bug tracker code doesn't get called, make sure you set ''enabled = True'' in the subclass.

If you have problems getting it working, reach out to us for help!


=== Submit a patch ===
=== Submit a patch ===

This is the easiest part. See [[how we handle patches]]!