Migrate tags

Bug #368218 reported by Paul Everitt
2
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Chris Rossi

Bug Description

We need a way to dump the tag data and import it.

Tres wrote the export/import system for migrating tag data for KARL1 -> KARL2. Both systems used Tasty under the hood, so it is possible that the exporter can still work.

The process of importing will take some thinking:

- We need all the users and all the content loaded first. Then we can do the tagging.

- We'll need some way to migrate the UID on content between systems. This *might* mean hooking the content import process to keep track of which docid in KARL3 maps to which UID in KARL2.

Tags: migration
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Making this lower in priority for M12, which is focused on community content.

Changed in karl3:
assignee: nobody → chris-archimedeanco
importance: Undecided → Low
milestone: none → m12
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Move to next week.

Changed in karl3:
importance: Low → Medium
milestone: m12 → m13
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

This bug description doesn't make a lot of sense to me. All I'm doing is reading the ".tags" file when importing content and setting the tags on the form for the add view.

Changed in karl3:
status: New → Fix Committed
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Paul explained to me why this is more complicated than I thought. Tags are also associated with the person who applied the tag and multiple people can apply the same tag to the same content.

Changed in karl3:
status: Fix Committed → In Progress
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Also, here is what Tres had to say when we asked him about tag migration:

Content tags are exported as part of the normal export. Because
profiles weren't "content", they had a separate tag export. The only
work should be to ensure that both exports are handled correctly.

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Again, quoting Tres:

That file is CSV: see Produts.gs_kmi.tag:put_csv for help in parsing it.

Changed in karl3:
milestone: m13 → m14
Changed in karl3:
status: In Progress → Fix Committed
Changed in karl3:
status: Fix Committed → Fix Released
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.