Installation

Macros

Macros

by lionel lvalero -
Number of replies: 1
Hello,

I have just installed webwork 2.4.1.

I noticed that the macro problemRandomize.pl was missing in my /opt/webwork/pg/macros folder, it is tagged "7 months aged" (here http://cvs.webwork.rochester.edu/viewcvs.cgi/pg/macros/?cvsroot=UR+WeBWorK+System#dirlist), so how is it that i didn't get it from the installation.

Can i do safely, without losing any former settings :

# cd /opt/webwork/
# cvs -d :pserver:anoncvs@cvs.webwork.rochester.edu:/webwork/cvs/system checkout pg

Is so is it also valid for :
cvs -d :pserver:anoncvs@cvs.webwork.rochester.edu:/webwork/cvs/system checkout webwork2

Regards.
In reply to lionel lvalero

Re: Macros

by Michael Gage -
HI,

I inspected the view from the web of the CVS
(at
http://cvs.webwork.rochester.edu/viewcvs.cgi/pg/macros/problemRandomize.pl)

and noticed that the file problemRandomize.pl is in the HEAD distribution but not yet officially in the rel-2-4-dev distribution.

You can get the file using

cvs update -A problemRandomize.pl
which will get the very latest version of problemRandomize.pl

In general I have found it fairly safe to update pg further (i.e. to a later revision) than I update webwork2. The macros and lib files don't require reconfiguration and (usually) don't require the installation of new CPAN modules so the updates are fairly easy.

For your second question:

Updating will not change any settings in your local installation -- this is why global.conf.dist is updated but global.conf is NOT -- you must transfer any changes in global.conf.dist to global.conf by hand, modifying them to conform to your local settings and configuration. Updates that involve updating the configuration files or adding new CPAN modules take a bit longer and are more work than other upgrades.