openhatch / oh-bugimporters

Bug importers for the OpenHatch project oh-mainline
https://oh-bugimporters.readthedocs.org/
GNU Affero General Public License v3.0
12 stars 28 forks source link

Feature/export only tracker name #11

Closed paulproteus closed 12 years ago

paulproteus commented 12 years ago

This branch changes the format of bug data that we export as YAML.

In particular, it stops exporting an entire "tracker" Python object. Instead, it only exports the tracker object's name. This should simplify the export. These commits also update the test suite accordingly.

Note that it is not compatible with current oh-mainline. oh-mainline will need some changes to adjust -- in particular, when it imports bug data, it will have to do a database lookup to identify the right Tracker object in the database.

The reason to make this change is to clarify the separation of concerns between oh-mainline and oh-bugimporters. It also makes the outputted YAML data much more readable.

jwm commented 12 years ago

At first, I was concerned that just the tracker_name wouldn't be enough to identify the tracker, but the project_name is there too. Looks good to me.