Commit graph

24 commits

Author SHA1 Message Date
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
Alexey Verkhovsky b4ae0b3065 Moving back some model classes to where they belong. Model classes need not map to database entities to be model classes 2005-08-14 04:42:19 +00:00
Ben Bleything f07d0e32c6 Fix shebangs. Consistentlicious! 2005-08-11 05:46:38 +00:00
Ben Bleything 50343b79e8 Finish Rails-ifying the tree. Adds missing files and directories and
brings a few miscellaneous files up to date.
2005-08-11 05:36:35 +00:00
Alexey Verkhovsky 503aa99c63 Set default port to 2500 2005-08-10 06:16:15 +00:00
Ben Bleything 17833e23a5 Add executable bit to script/console and script/create_db 2005-08-09 03:45:09 +00:00
Rick Okin 26c046cdfa move to AR 2005-08-09 02:20:28 +00:00
Alexey Verkhovsky 1b8baa3d03 Some infrastructure for AR and accompanying unit tests 2005-08-02 08:56:09 +00:00
Alexey Verkhovsky dfbb5ff1e9 Added usage documentation to script/debug_storage 2005-05-29 17:08:15 +00:00
Alexey Verkhovsky 9f5ee2bc61 Script that helps to poke around in the Instiki storage 2005-05-29 16:47:08 +00:00
Alexey Verkhovsky f1c5004543 Corrected switching on of the debug logging in test and dev environments 2005-05-09 02:53:50 +00:00
Alexey Verkhovsky e9c4948d0a Fixed links on wiki/export page 2005-04-03 07:52:01 +00:00
Alexey Verkhovsky c6ab8edd44 Corrected the default IP binding (0.0.0.0 instead of 127.0.0.1) 2005-03-29 03:51:52 +00:00
Alexey Verkhovsky dda7c8eec0 Requiring ApplicationController from server script 2005-03-25 19:23:26 +00:00
Alexey Verkhovsky 8de7ca3cee Bringing various things inline with the current state of Rails develolpment 2005-03-25 19:11:41 +00:00
Alexey Verkhovsky bb2d16c8a1 Upgraded RedCloth to 3.0.3 2005-02-10 23:11:47 +00:00
Alexey Verkhovsky 06daadc7df Reshaped "import wiki" feature from command-line to web interface 2005-01-27 03:55:19 +00:00
Alexey Verkhovsky 3e4154de82 fixed a problem where Instiki wouldn't start because
require 'application' was before require 'webrick_server' (?)
2005-01-26 01:02:39 +00:00
Alexey Verkhovsky c1b04185a6 First attempt at an "import wiki" script (causes regexp stack overflows in RedCloth 2 on Win32; reason unknown) 2005-01-25 22:13:14 +00:00
Alexey Verkhovsky 9f90f083d7 Moved some things from scripts/server to config/environment.rb 2005-01-25 22:06:34 +00:00
Alexey Verkhovsky 3b6566577c Massive change of SVN properties to deal with EOL style problem 2005-01-24 18:52:04 +00:00
Alexey Verkhovsky 223b2bec6c Initial import of the sources from SVN 2005-01-15 20:26:54 +00:00