diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 0415c35..a8b037a 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1,7 +1,7 @@ # Federated Computer, Inc. # David Sainty 2024 A.D. # Gossamer Threads to Discourse -- Migration-Import Script -# v0.39 Add SQLite table for tracking successful post importation; Split out user import into three separate callable methods; require sys/proctable +# v0.39.1 Add SQLite table for tracking successful post importation; Split out user import into three separate callable methods; require sys/proctable require 'mysql2' require 'open-uri' @@ -1703,16 +1703,18 @@ class GossamerForumsImporter < ImportScripts::Base add_former_user import_users - export_username_mapping_to_csv("/bitnami/discourse/sqlite/gossamer-migration-username-mapping#{timestamp}") generate_user_id_mapping + export_username_mapping_to_csv("/bitnami/discourse/sqlite/gossamer-migration-username-mapping#{timestamp}") + # set_user_bio_images import_categories #### import_topics_and_posts_with_attachments - # threaded_topic_import + threaded_topic_import + # update_topic_stats # update_user_stats # export_url_mapping_to_csv("/bitnami/discourse/sqlite/gossamer-migration-url-mapping#{timestamp}")