Commit graph

9 commits

Author SHA1 Message Date
Alexey Verkhovsky e1d7b26be2 Clarified documentation in import_storage script 2005-11-01 14:44:06 +00:00
Alexey Verkhovsky 61776995b6 Fixes for MySQL compatibility 2005-09-28 02:03:28 +00:00
Alexey Verkhovsky 5b1778a7f1 Fixed handling of Windows EOLs in the import_storage 2005-09-27 03:30:42 +00:00
Alexey Verkhovsky 1d44ce1c18 Upgraded RedCloth to 3.0.4 2005-09-16 04:27:07 +00:00
Alexey Verkhovsky c4f593151e [FIXES BUILD] Fixed categories behavior and added id generation in import_storage. Something is still wrong with orphaned pages though 2005-09-11 16:49:08 +00:00
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