## Forum archive 2000-2006

### Lars Jensen - Printout of CVS archive problems

by Arnold Pizer -
Number of replies: 0
 Printout of CVS archive problems topic started 5/3/2003; 1:30:38 PMlast post 5/5/2003; 10:45:48 AM
 Lars Jensen - Printout of CVS archive problems  5/3/2003; 1:30:38 PM (reads: 1152, responses: 4) What is the easiest way of getting a printout of a problem set downloaded from CVS? I'm trying to look at some of the problems on CVS, but find it hard to get the printout. Some questions in this regard: Is it possible to build sets that have their definition files located some place other than in the /usr/local/webwork/templates directory? It would be nice to have this feature because it would allow to do a cvs download to a subdirectory and then to build the problem set. It is messy to copy non-rochester_problib problems to templates because one have to worry about overwriting existing content. Am I missing something here? Thanks for any help. Lars. <| Post or View Comments |>

 Arnold K. Pizer - Re: Printout of CVS archive problems  5/5/2003; 10:45:48 AM (reads: 1367, responses: 0) Hi Lars, Your original question was "What is the easiest way of getting a printout of a problem set downloaded from CVS?". Here is another option which is the one we use for http://webwork.math.rochester.edu/courses/WW_Prob_Lib_CVS/. This course contains a pretty much upto date version of the Rochester CVS problem library. Note that anyone can log into this course as practice3 and get a printout (with filenames) of all the current sets (but you as a student can only get printouts of one set at a time). To do this for yourself first create a new "WW_Prob_Lib_CVS" course and make sure it works. Then set up the templates directory under CVS. For this see Mike's recent instructions http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$1503. Next edit the webworkCourse.ph file adding$allowDestroyRebuildProbSets = 1; Finally if you have a fast server and downloading 20 sets at a time is not sufficient for your needs, edit Global.pm changing \$max_num_of_ps_downloads_allowed from 20 to whatever you want. The Rochester CVS problem library currently contains 212 so setting this to 300 should suffice for awhile. Then to get a current version of the Rochester problem library, in the templates directory just run the command cvs update -d Don't forget the "-d" option which gives you all the new directories. Then delete all the sets and build them again. Note that if you do this in one operation ("destroy and rebuild"), you will only rebuild sets that you already have and you will not build any new sets that have been added. If you like doing things on the server, a quick way to delete all sets is to remove the WW_Prob_Lib_CVS_webwork_DB file. Now you can select and download all the sets you want. If you want to do this for all the problem libraries you can either set up an individual course for each library or create various templates directories (templates_Rochester, templates_Arizona, templates_Dartmouth, etc) and then switch between them with a link pointing e.g. from templates to templates_Rochester. Arnie <| Post or View Comments |>