Separate Translator Objects
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:/
https:/
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 |
description: | updated |
description: | updated |
Changed in bug-repo-syncer: | |
status: | Confirmed → In Progress |
description: | updated |
Changed in bug-repo-syncer: | |
status: | In Progress → Fix Released |
description: | updated |