-
Notifications
You must be signed in to change notification settings - Fork 8.5k
DEV: First pass at groups
step for Discourse converter
#32919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev/mt/intermediate-db-schema
Are you sure you want to change the base?
DEV: First pass at groups
step for Discourse converter
#32919
Conversation
if item[:original_flair_upload_id].present? | ||
IntermediateDB::Upload.create_for_file( | ||
path: item[:flair_path], | ||
filename: item[:flair_filename], | ||
) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗒️ Confirm if path can be used as-is for non-local upload dumps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no easy answer for that. It depends on how we are going to execute the converter and where uploads are stored. Always local? Or maybe on S3? How are we going to download them from S3? The files might not always be available for download without S3 credentials.
Starting with a full backup that's restored locally seems to be the easiest starting point for running a converter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the current implementation should work with local files
30518c1
to
681c53f
Compare
This change implements converter step for converting Discourse `permalinks` to intermediate DB format needed for import into Discourse.
group
step for Discourse convertergroups
step for Discourse converter
This change implements converter step for converting Discourse `groups` to intermediate DB format needed for import into Discourse. It tracks seeded automatic groups which will then mapped to seeded automatic groups in the destination Discourse instance instead of being imported as new groups
343ee51
to
1dcb5a5
Compare
6a4ffb5
to
f07383b
Compare
This change implements converter step for converting Discourse
groups
to intermediate DB format needed for import into Discourse.It tracks seeded automatic groups which will then mapped to seeded automatic groups in the destination Discourse instance instead of being imported as new groups