We should have a script to import from a phpbb dump into a discussion tool. Maybe use sqlite to load the database dump? But also have an option to connect to a live database, since we'll be able to take advantage of that in some situations.
See scripts/teamforge-import.py for reference on how to create all the discussion model objects. That script uses 2 phases, first to extract the data and save it, second to load the data into Allura. We should do that, but make the data files be free from phpbb details, so the loading script can be generic. Some day people can write extractors from other discussion forum software and use the same loading script.
This code should be within the ForgeDiscussion tool, and ideally exposed as a paster command.
Log in to post a comment.