[system] / branches / rel-2-1-patches / webwork2 / bin / sql2sql_single Repository:
ViewVC logotype

Log of /branches/rel-2-1-patches/webwork2/bin/sql2sql_single

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 2980 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 3 19:52:01 2004 UTC (8 years, 6 months ago) by
File length: 4682 byte(s)
Diff to previous 2955
This commit was manufactured by cvs2svn to create branch 'rel-2-1-patches'.

Revision 2955 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 22 22:59:53 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/bin/sql2sql_single
File length: 4682 byte(s)
Diff to previous 2836
POD fixes

Revision 2836 - (view) (download) (annotate) - [select for diffs]
Added Mon Sep 27 19:28:36 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/bin/sql2sql_single
File length: 4676 byte(s)
added script to convert a course from sql to sql_single. moves sql
tables from the course's database to the database used by the sql_single
loyout. also gives instructions on how to modify the course's
course.conf file to complete the transition.

Call sql2sql_single like this, in the common case:

./sql2sql_single <course-name> webwork root <sql-root-pw>

You can easily bash script this to do mass conversions of courses:

cd /webwork/shared-courses
for course in *; do
	sql2sql_single $course webwork root <sql-root-pw>
	cd /webwork/shared-courses/$course
	sed 's/sql/sql_single/' < course.conf > course.conf.new
	mv course.conf course.conf.old
	mv course.conf.new course.conf
done

to do a subset of all courses, change the `for' line to:

for course in course1 course2 course3; do

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9