Separate Translator Objects

Bug #954964 reported by Eike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bug-repo-syncer
Fix Released
Wishlist
Eike

Bug Description

Currently there are two translators, that are shared by all repository
controllers: the translator for people's names, and the translator for
milestones. Translation for bug status values is hard coded into the repository
controllers.

Proposal

The two different tasks: translating bugs, and communicating with the
repository, should be separated. Separate objects should be responsible for
them. This probably simplifies the whole architecture, the different
translation tasks are all unified in one filter object. (Translating people,
milestones, bug status values, bug links.)

== TODO ==

== Done ==

 * Design (basic structure)
 * Implementation of `BugPipeline`
 * Port `RepoController` descendants to new infrastructure
   * Remove filter code and create separate filters from it
   * Port tests
 * Design nice convention for organizing `RepoController`s, `Filter`s,
   comparison functions, and bug records.
   controller, filter, bug data, comparison function,
 * Factory function for creating `RepoController` objects, and possibly
   complete pipeline.
 * Port `SyncTaskExecutor` to new infrastructure
 * Port all tests
 * Rename `BugData` to `BugInternal`
 * Rename `SyncTaskExecutor` to `BugSyncer` ?

== See Also ==

https://sourceforge.net/apps/trac/bug-repo-syncer/wiki/SeparateTranslators
https://blueprints.launchpad.net/bug-repo-syncer/+spec/separate-translator-objects

Eike (eike-welk)
Changed in bug-repo-syncer:
assignee: nobody → Eike (eike-welk)
importance: Undecided → Wishlist
milestone: none → 0.3.0
status: New → Confirmed
description: updated
summary: - dummy
+ Separate Translator Objects
Eike (eike-welk)
description: updated
description: updated
Eike (eike-welk)
Changed in bug-repo-syncer:
status: Confirmed → In Progress
description: updated
Eike (eike-welk)
Changed in bug-repo-syncer:
status: In Progress → Fix Released
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.