discourse/migrations
Selase Krakani 1dcb5a5887
DEV: First pass at groups 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
2025-05-27 01:39:23 +00:00
..
bin REFACTOR: Code generator for migrations IntemerdiateDB 2025-04-07 17:22:36 +02:00
config ammend 2025-05-27 01:21:03 +00:00
db ammend 2025-05-27 01:21:03 +00:00
docs
lib DEV: First pass at groups step for Discourse converter 2025-05-27 01:39:23 +00:00
scripts/benchmarks REFACTOR: Code generator for migrations IntemerdiateDB 2025-04-07 17:22:36 +02:00
spec REFACTOR: Code generator for migrations IntemerdiateDB 2025-04-07 17:22:36 +02:00
.gitignore DEV: Adds a new converter for migrating from Discourse 2025-04-07 17:22:36 +02:00
.rubocop.yml DEV: Refactor migrations-tooling 2025-04-07 17:22:36 +02:00
migrations.rb DEV: Refactor migrations-tooling 2025-04-07 17:22:36 +02:00
README.md DEV: Add converter framework for migrations-tooling (#28540) 2024-09-09 17:14:39 +02:00

Migrations Tooling

Command line interface

./bin/cli help

Converters

Public converters are stored in lib/converters/. If you need to run a private converter, put its code into a subdirectory of private/converters/

Development

Installing gems

bundle config set --local with migrations
bundle install

Updating gems

bundle update --group migrations

Running tests

You need to execute rspec in the root of the project.

bin/rspec --default-path migrations/spec