Closed (duplicate)
Project:
FeedAPI
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2007 at 00:12 UTC
Updated:
22 Aug 2008 at 07:05 UTC
How should we handle migration from other/older Feed Aggregators into FeedAPI?
Should migrations be provided as a single script which is run by the site admin once? Is there some sort of Drupal standard for these kind of processes?
Comments
Comment #1
alex_b commentedHi Mike,
Migration - yess!!
I would write a module that you turn on and that then either runs automatically or runs on a certain path the upgrade script. Only give user 1 the permission to run this script - I think update.php is a good example that we should follow.
Use those functions for increasing execution time and available memory:
(make sure to wrap them in a test wether they are actually available on the host).
Comment #2
buddaCheers Alex, have you done anything for a Leech module upgrade path yet?
a module will make it nice and easy, but seems over kill somehow. however i'll go with that angle i think.
Comment #3
alex_b commentedI would add the module to the project (the leech project in our case) - not on a seperate project on d.o. From this point of view it doesn't seem so overkill-y to me...
Comment #4
aron novakLet's see the possibilities:
- the to-be-migrated module has a separate module to handle the migration
- FeedAPI handles the migration from several aggregation-modules
For the user maybe the most comfortable if after enabling the FeedAPI, it simply solves the migration. BUT: migration is not a trivial task, so there are differences between the sites. I do not think it's reasonable to write in FeedAPI flexible migration paths to the most of the aggregation modules.
So I also advice to create a separate module for the migration, then share it on your project page. Migration is for the skilled users, they'll know how to customize the migration module.
Comment #5
ahneill commentedany word on the migration module? Interested in moving to feed_api on site that is under construction....
thanks,
art
Comment #6
aron novakhttp://drupal.org/node/189464