User: ceardach Branch: HEAD Date: Sat, 05 Jul 2008 19:37:17 +0000 Added files: /modules/dbscripts dbscripts.module dump.php erase.php merge.php restore.php Removed files: /modules/dbscripts db_settings.inc dump_database erase_database merge_databases restore_database Modified files: /modules/dbscripts README.txt config.inc.example Log message: Refactored how the scripts work, with various other improvements. Moved all the heaving lifting to dbscripts.module as part of the first steps to make this more like a 'real' Drupal module and compatible with Drush. Dump, restore, erase and merge scripts are now much smaller, just referencing the api in dbscripts.module. Allowed extra flexibility to manage files more than just development.sql, production.sql and last-merge.sql. It is now possible to dump and restore from any file name. Fiexed up help text to be more descriptive. Changed #!/usr/bin/php to #!/usr/bin/env php so the scripts have a greater chance of being compatible with more server environments. Added support for picking charsets in an alternate location. Nessisary to support uncommon server environments. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/dbscripts/dbscript... http://cvs.drupal.org/diff.php?path=contributions/modules/dbscripts/dump.php http://cvs.drupal.org/diff.php?path=contributions/modules/dbscripts/erase.ph... http://cvs.drupal.org/diff.php?path=contributions/modules/dbscripts/merge.ph... http://cvs.drupal.org/diff.php?path=contributions/modules/dbscripts/restore.... http://cvs.drupal.org/diff.php?path=contributions/modules/dbscripts/README.t... http://cvs.drupal.org/diff.php?path=contributions/modules/dbscripts/config.i...