Suppose I have 3 configurations that harvest a particular filefield.
Is there a way to chain these configurations, so that the second configuration runs after the first configuration successfully completes, and the third configuration runs after the second configuration successfully completes?
The motivation is described here: http://drupal.org/node/1469780
Basically, I have one configuration that uploads a filefield to youtube and stores the youtube url in an emfield. I have a second configuration that uploads this filefield to s3 and then deletes the local file. I want to run the second configuration after the first configuration completes, because otherwise the local file might get deleted before it is successfully uploaded to youtube.
Comments
Comment #1
kobnim commentedI now see that mediamover supports parent/child configurations. This provides me with at least a partial solution to my problem. My child configuration can harvest the same files that were harvested by the parent configuration.
Next step is to figure out a way to ensure that the child configuration does not harvest a file if it has not yet been completely processed by the parent configuration. Any suggestions?
Comment #2
arthurf commentedThe child configuration should not use the same harvest mechanism- or if it does it has to filter by file extension.
If you're interested in more flexibility with building configurations you should really be looking at the 6.x-2.x branch.
Comment #3
kobnim commentedRegarding your first comment:
I'm not sure what you mean. Could you please explain, maybe with an example?
Regarding your second comment:
Do you think 6.x-2.x is pretty stable? Is it close to an alpha or beta release?