-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add migrate_run instead of migrate_tools #2926
Comments
I'll take a look. Happy to see some fresh ideas in this area. |
I'd love to see more issue queue activity and usage for migrate-run before putting it in drush core. |
migrate-run looks great. happy to see drush9 support there. More clear requirements for putting this in Drush core
|
@weitzman, I agree to maintain it as part of Drush. Related to tests, I guess we should use the Drush testing with unish as we test console commands but how this can be done as this is still a Drupal module? |
Do I count as a person :) ? I have three projects at least where I used migrate import successfully, https://www.drupal.org/u/opdavies and me have recently used rollback as well and that worked, too. If you want a non-chx confirmation about this module working, ask him. There are some improvements to made but nothing blocking: when running dependents, |
@chx counts as a small nation 💪. Thanks for the positive report. Thats good enough IMO. @claudiu-cristea I think you stop being a module and ship these commands in the src/Drupal/Commands/core dir. And yes, Unish tests. |
#3402 is ready for review. |
@weitzman @chx, #3402 is ready but there’s still one important thing to figure out. Users of
|
For a little bit of background, alexpott have asked migrations not to be config entities. Once that happened, |
It would be helpful if folks could share their migrate ymls that have been used with migrate_run? Were they Drupal => Drupal upgrades or not? Seems like that use case has more merit for config entities than migrations from 3rd party sources. @chx - please keep this discussion as positive as possible. |
Yeah, I am using it for Drupal to Drupal not sure why would they be different...? When I want to change a core YAML, I just copy it and change it. https://gist.github.com/chx/329c33825ec08aa222535a7a6bddc3d8 the first is the core file migration with |
I wonder if there are use cases in the real world that are only using the However, I'll add some docs on how to run and extend such a migration. Recently I had a big D6 > D8 migration and I kept |
I actually think we should document the 'copy and adapt' approach. I agree that this is much more common. |
I guess that until this is merge it's better to use https://www.drupal.org/project/migrate_run, right? |
Correct. This PR actually got stuck and I'm unsure if its a good idea. Lets keep migrate_run as a separate project for now. Drush core is going to stay out of the migrate space for a while longer. Sorry for the extra work, @claudiu-cristea |
Thanks for the quick feedback @weitzman. Did you just say that Drush is going into core? If so, where can I read more about this? |
Hah, just a typo. Fixed now. |
https://www.drupal.org/node/2905741 says "Add Migrate Tools to Drush (contrib)"
Instead add https://www.drupal.org/project/migrate_run
migrate_tools depends on migrate_plus which is an incredibly, incredibly broken module, full of bad ideas. Basically, after a core maintainer asked migrations not to be configuration in https://www.drupal.org/node/2462233 some people sulked off to contrib and made them one nonetheless. As migrate_run shows, there's no need for this.
The text was updated successfully, but these errors were encountered: