| /[drupal]/contributions/modules/dbscripts/dbscripts.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
Including modifications that didn't get committed in the batch commit. I tried to batch import all of the outstanding commits from Git, but it missed any commits that effect config.inc.example or config.references.inc.example because I keep config.inc and config.references.inc in my Git version of the repository. As such, they are being committed as one big commit here. See Github for real commit history.
Simplifying creation of workspace, reducing chance of server incompatibility
Should have never blankedly deleted the tmp directory during a helper function
Tweaking comments
Checking for string version of column dependency values
Rearranging order of actions
Fixing error in checking if the column should be changed during awk script
Better checking for if 'foreign-key' exists in $dependant_columns
Deleting temp directory before starting when raising increments
Writing awk variables for columns with dependencies
Handling columns with dependencies when calculating column positions
Defaulting dbscripts_raise_table_increments branch to 'development'
Rearranging order of fail checking to avoid actions before possible failure
Fixing bug in reverting timestamps in users table
Updating documentation
Renaming dbscripts_process_tables to _dbscripts_process_tables
Renaming dbscripts_db_connect to _dbscripts_db_connect
Renaming dbscripts_get_options to _dbscripts_get_options
Better checking for which tables may contain new data
Fixing bug in conflict recovery
Don't winnow out new data for production-only tables
Avoiding erroneously returning no references
Removing reduntant reassigning of variable
Checking if directory has content before deleting it
Refered to wrong variable
Ensuring that table's AUTO_INCREMENT is the highest increment
Avoiding errors when doing fresh dumps
Reverting change to add cache tables to tables_preserved, which was silly
Dumping fully to temp before moving to workspace
Ensuring cached data is always filtered
Further fixes for ensuring files get removed
Ensuring last-merge dump doesn't get extra checking
Using a different method to ensure workspace/last-dump is empty
better increment error checking
Better error checking when looping through references
Fixing issue of returning references for tables without references
Preventing errors on fresh dumps
svn support for restoring
Making dump and merge more compatible with subversion the .svn folders cannot be deleted without big problems. Ensuring that directories are preserved.
Fixing setting filter options, again
Avoiding php error when array key is not set
Fixing bug in discovering proper filter settings
Not fixing users table on dev dump if last-merge doesn't exist.
Handling CCK/variable/other system path changes when raising increments.
Allowing configurable ability to choose how to handle auto_increment ids
Updating help text.
Fixing some bugs, and optimizing user abilities.
Rearranging and renaming files.
Misc better error checking and escaping quotes and such.
Replacing timestamps of user table when dumping as 'dev' with 'last-merge' values -- this helps avoid conflicts when developing and merging.
Merging works, and other misc optimizations.
Optimizing ability to winnow new data when dumping -- need to also check referencing tables.
Adding ability to update system paths when raising increments.
Optimizing dbscripts_raise_table_increments for better performance.
Optimizing finding references
Adding ability to raise the increments of a given table and given range.
Adding ability to return all references to a given table.
Adding configurable map of table references.
Adding ability to find all possible references to a given table.
Winnowing new data from existing data (as determined from the last merge)
Deleting contents of tmp directory after successful merge.
A table-based database merging.
Removing reference to preserved tables from dump script
Adding a function to remove an array of tables from another array of tables
Removing dump filter since it is no longer needed with the new restore.
Restoring tables from a set of files, rather than an individual file.
Using a simpler method to get an array of table names
Updating help/docs to reflect new methology
Removing all references to preserving sequences
Dumping each table and data as a seperate file.
Generating an array of existing tables that will be dumped normally
Creating a list of current tables when dumping
Changing to
Dumping to a folder instead of a file
Changing to
Adding -p flag to mkdir so the entire path is created
Changing to
Cleaning up white space
Updating to support Drupal 6 as best as I can Adding checks for database connection settings Categorizing D6 tables and updating scripts to match the new categorization Deleting content_copy.patch since it isn't compatible with D6 Changing to Adding -p flag to mkdir so the entire path is created Removing all references to preserving sequences
Really updating to 6.x-1.x branch this time.
Updating HEAD to latest from 6.x-1.x for branching to 6.x-2.x
Changing scripts to match new table categorization.
Adding some checks for database connection settings.
Updating HEAD with the latest version of 5.x-1.x
Adding path checking to avoid errors if given directories or files do not exist.
Reworking the method to call help text, due to an unknown problem with help text being served when the sequences flag was called.
Hopefully fixing several issues: * Updating the content_copy.patch so it allows deleting files * Fixing a bug caused by a missing 'break;' * Everything that was in HEAD should now be in the DRUPAL-5 branch, which was a total mistake on my part * Code cleanup to ensure no php error messages
Porting over changes made in HEAD to the 5.x branch. Oops. I need to become more familiar with CVS.
file dbscripts.module was added on branch DRUPAL-5 on 2008-07-06 14:20:35 +0000
Oops, although it was mentioned in the previous commit, I had forgotten to add the charset support changes. Here it is now.
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.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |