Here's a start on Drush integration for Media Mover.
Right now it only runs configs, but I figured this would be a good place to start. Here's an example of its usage:
drush mm run my_configuration_name
Seems to work well in my limited testing.
| Comment | File | Size | Author |
|---|---|---|---|
| media_mover_drush.patch | 2.57 KB | msonnabaum |
Comments
Comment #1
arthurf commentedawesome! Do you mind if I make this a stand alone module - or do you want to create a new project for it?
Also, please check out the 6-2x branch. I'm about to commit a bunch of fixes that make it barely functional. This makes it possible to define a configuration in code and run it without hitting the database- something that drush would be perfect for.
Comment #2
msonnabaum commentedSure, I can start a new project for it.
And yeah, I was wondering what the status was on the 2.x branch. Loading the config from code is huge since the next thing on my list was to try adding Features support. I had considered adding it with the existing import/export since I recently learned that's more or less what cck fields have to do, but it still sounded like a bit of a headache. If I can get 6-2.x close to where I need it for my project, I'm happy to focus my efforts there.
Comment #3
arthurf commentedI've been testing on the 6.2x branch and the configuration builder now works correctly. I was able to use mm_dir to harvest and store files correctly.
At this point I need to start going through all the modules and making sure all the fixes on the 6.1x branch get pulled up. I also need to build an update function which can convert 6.1x to 6.2x....
I also want to build a system for configuration registration the way that views and panels works- I think this may require a small schema change, but should be possible.