Commit graph

4 commits

Author SHA1 Message Date
Alexey Verkhovsky bfecd09b56 Fixed includes; started wrking onn caching strategy 2005-09-11 04:23:50 +00:00
Ben Bleything 7aaa35ae4a Ye olde converter script.
* Script now parses the madeleine storage into SQL
  * Added a new option, -o/--outfile to specify where the output from
    the script should go
  * ./import_storage -t /home/joe/instiki/storage/2500 \
      -i /home/joe/instiki -o /home/joe/export.sql

Exporting the instiki.org snapshot I have takes about 40 seconds (with
output to screen) and generates an approximately 17 meg SQL script from
the ~900k Madeleine snapshot.  Oh well.

Tested with MySQL.
2005-08-22 16:57:01 +00:00
Ben Bleything 0238780355 Set a couple of props on script/import_storage to prepare for the next
checkin...
2005-08-22 16:50:38 +00:00
Alexey Verkhovsky cd1d5135a0 script/import_storage, half-way done. The idea is to have it output a series of INSERT statements that the user can review and execute in a database of user's choice. The part that I have done loads the Madeleine storage and iterates through webs/pages/revisions there 2005-08-16 06:47:52 +00:00