Skip to content
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

Framework for migration of plugin data into core tables #18938

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

cedric-anne
Copy link
Member

@cedric-anne cedric-anne commented Feb 6, 2025

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • This change requires a documentation update.

Description

This is not yet finished.

Remaining tasks:

  • store more details in the MigrationResult (detailled count of imported/updated objects);
  • handle an optional progress indicator to output the results in real-time;
  • handle a generic result output in the console;
  • add many tests.

The purpose of this "framework" is to ease the developement and the testing of the migration of plugins data into core tables. It will be used to handle the migration of the formcreator and the genericobject data in GLPI 11.0.

@cedric-anne cedric-anne added this to the 11.0.0 milestone Feb 6, 2025
@cedric-anne cedric-anne self-assigned this Feb 6, 2025
@cedric-anne cedric-anne force-pushed the 11.0/plugin-migration-framework branch 2 times, most recently from 8ac11b1 to f532763 Compare February 11, 2025 15:34
@cedric-anne cedric-anne force-pushed the 11.0/plugin-migration-framework branch from f532763 to 62804f1 Compare February 12, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant