0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/migrations/tooling
Gerhard Schlager 0703abe6ea MT: Add the Discourse posts and custom_emojis conversion steps
The posts step drives the RawExtractor over every post: one embed
buffer per worker, cleared per post; extracted embeds land in the
embed_* tables keyed by the post. Its step_args carry the name gates
(mentions, hashtags, custom emoji) and the source_site hosts for
internal-link detection; foreign hosts tally per worker and reduce to
one log entry via combine_results. The custom_emojis step feeds the
emoji gate and links each emoji to its upload, warning on a dangling
upload reference.

The posts and custom_emojis tables leave the ignored list, with the
schema regenerated. Three resolver examples that need the posts table
return to the importer specs.
2026-07-25 10:36:27 +02:00
..
config/schema MT: Add the Discourse posts and custom_emojis conversion steps 2026-07-25 10:36:27 +02:00
lib MT: Rework the embed linkage tables around an embed owner 2026-07-22 12:56:54 +02:00
scripts MT: Run conversion steps concurrently and split the heavy ones across cores 2026-07-03 11:48:25 +02:00
spec MT: Rename QuoteAttribution to QuoteReference 2026-07-22 22:15:23 +02:00
.rspec
Gemfile
migrations-tooling.gemspec