Script to add author tags.
Review Request #122 - Created Dec. 19, 2009 and submitted
Information | |
---|---|
Bogdan-Cristian Tătăroiu | |
infoarena | |
Reviewers | |
hackers | |
Tries and determine each author correctly for tasks with multiple ones and groups together different spellings of names (for example Baltescu Paul and Paul-Dan Baltescu) :P Also makes task_edit controller update author in ia_task to reflect the tags.
Ran it on a local copy of the database. Appears to work nicely.
-
trunk/scripts/migrate-authors-to-task-tags (Diff revision 2) -
Should clear all author tags first. Otherwise if a task has Baltescu Paul as author, when changed to Paul Baltescu, the task will have authos: Baltescu Paul, Paul Baltescu.
-
trunk/scripts/migrate-authors-to-task-tags (Diff revision 2) -
This script should do this also :)
Review request changed
Change Summary:
- Added tag_clear before ading tags. - I can't remove author column from ia_task just yet, since it's still used in the code. Now I made it work like sort of a cache of the tag list, which seems pretty ok.
Diff: |
Revision 3 (+117 -8) |
---|