Commit Graph
4 Commits
Author SHA1 Message Date
Gerhard Schlager 4141d4e0a6 DEV: Restructure importer files
This is similar to converters: We allow directories to structure files within the importer directory, but try to keep the namespace the same.

Currently the restructured namespaces look like this:

* `Migrations::Converters::Discourse`
  * migrations/lib/converters/discourse/steps
  * migrations/lib/converters/discourse/utilities

* `Migrations::Importer`
  * migrations/lib/importer/name_finder

* `Migrations::Importer::Steps`
  * migrations/lib/importer/steps/badges
  * migrations/lib/importer/steps/categories
  * migrations/lib/importer/steps/groups
  * migrations/lib/importer/steps/settings
  * migrations/lib/importer/steps/tags
  * migrations/lib/importer/steps/topics
  * migrations/lib/importer/steps/users
2025-11-03 11:23:53 +01:00
Gerhard Schlager 9dfdf59b5e DEV: Add support for converting and importing site settings
The import is split into basic site settings (imported at the beginning) and settings that depend on other data
2025-10-31 11:21:40 +01:00
Gerhard Schlager f96e47106b DEV: Set Regex timeout for migrations (#35190) 2025-10-06 16:29:34 +02:00
Gerhard Schlager 71a90dcba2 DEV: Refactor migrations-tooling
* Updates GitHub Action for migrations
* Rubocop: Always `EnforcedShorthandSyntax` for hashes in the `migrations` directory
* Automatically load all available converter steps
* Enable YJIT at runtime, if available
* Progressbar shows skipped records and other small improvements
2025-04-07 17:22:36 +02:00