|Links to HEAD:||(view) (download) (annotate)|
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006. this is probably overkill, since there are some files that were created after 2000 and some files that were last modified before 2006.)
Fixed error that kept the script from working on courses whose names contained an underscore. Added ` ` around course names to handle courses whose names have hyphens in them (and other weird characters) Added print comments so that you see a running commentary of what is being changed. Once this script is debugged we might want to turn these off.
Add command-line utility to update sql and sql_single databases to include gateway fields. Use: wwdb_addgw [-h] [sql|sql_single] Adds fields to the set and set_user tables in the WeBWorK mysql databases that are required for the gateway module. The script prompts for which courses to modify. Adding gateway database fields to existing courses should have no effect on those courses, even if they are running under a non-gateway aware version of the WeBWorK system. (I haven't rigorously tested this.) If -h is supplied, the script hides the mysql password when it prompts for it (this assumes that a Unix based stty -echo works). If sql or sql_single are supplied, they become the default database format. Note that this has been tested, but not rigorously. Please let me know if you find that it does not perform as advertised. It might be wise to back up the database tables before using, and to check that it does what we expect (that is, adds columns to the set and set_user tables) after running it.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|aubreyja at gmail dot com||ViewVC Help|
|Powered by ViewVC 1.0.9|