v0.35 No code fixes

This commit is contained in:
David Sainty 2024-07-18 23:46:56 +10:00
parent 2d73b55419
commit 4e2902e941

View File

@ -1,5 +1,5 @@
# gossamer threads migration-import code
# v0.32
# v0.35
require 'mysql2'
require 'open-uri'
@ -1307,19 +1307,19 @@ class GossamerForumsImporter < ImportScripts::Base
puts "Starting Gossamer Forums import... #{timestamp}"
add_former_user
import_users
export_username_mapping_to_csv("gossamer-migration-username-mapping#{timestamp}")
# add_former_user
# import_users
# export_username_mapping_to_csv("gossamer-migration-username-mapping#{timestamp}")
import_categories
# import_categories
import_topics_and_posts_with_attachments
# import_topics_and_posts_with_attachments
update_topic_stats
update_user_stats
export_url_mapping_to_csv("gossamer-migration-url-mapping#{timestamp}")
create_nginx_rewrite_rules("gossamer-redirects#{timestamp}.conf")
import_personal_messages
# import_personal_messages
puts "Gossamer Forums import complete! #{timestamp}"
end