<head>\r
<title>Moodle Docs: How to use CVS</title>\r
<link rel="stylesheet" href="../theme/standard/styles.php" type="TEXT/CSS">\r
- <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\r
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
</head>\r
<body bgcolor="#ffffff">\r
<h2>Using CVS to access and update Moodle source code</h2>\r
</blockquote>\r
<h3>2. Using CVS on Windows</h3>\r
<blockquote> \r
- <p>These instructions are based on notes provided by Mitsuhiro Yoshida <mits@mitstek.com>.</p>\r
- <p>Firstly, download and install WinCVS.</p>\r
+ <p>First, you need to download a completely fresh copy of Moodle using your \r
+ developer account.</p>\r
<blockquote> \r
- <p><a href="https://sourceforge.net/project/showfiles.php?group_id=10072">https://sourceforge.net/project/showfiles.php?group_id=10072</a></p>\r
+ <p> 1. Get TortoiseCVS from <a href="http://www.tortoisecvs.org/">tortoisecvs.org</a> \r
+ and install it, then reboot.<br>\r
+ <br>\r
+ 2. Find or create a new folder somewhere where you want Moodle to be downloaded \r
+ to.<br>\r
+ <br>\r
+ 3. Right-mouse-click that folder and choose "<strong>CVS Checkout</strong>" \r
+ from the menu. You should see a dialog box.<br>\r
+ <br>\r
+ 4. Copy this text into the CVSROOT field:</p>\r
+ <blockquote> \r
+ <pre> :ext:<font color="#990000">myusername</font>@cvs.moodle.sourceforge.net:/cvsroot/moodle</pre>\r
+ </blockquote>\r
+ <p><br>\r
+ 5. Press the button: "<strong>Fetch list...</strong>".<br>\r
+ <br>\r
+ 6. To the right of the button you should see a list of modules: choose \r
+ "<strong>moodle</strong>" from that list.<br>\r
+ <br>\r
+ 7. Press the button: "<strong>OK</strong>" and everything should \r
+ be downloaded.<br>\r
+ </p>\r
</blockquote>\r
- <p>Secondly, download sfsetup for SourceForge ssh access, install it and reboot \r
- Windows.</p>\r
+ <p>A dialog box should show all the files being downloaded, and after a while \r
+ you should have a complete copy of Moodle. After this first checkout, you \r
+ can fetch the latest updated files from the CVS server:</p>\r
<blockquote> \r
- <p><a href="http://sourceforge.net/projects/sfsetup/">http://sourceforge.net/projects/sfsetup/</a></p>\r
+ <p> 1. Right-mouse-click on your Moodle folder (or any file) and select \r
+ "<strong>CVS Update</strong>". <br>\r
+ </p>\r
</blockquote>\r
- <p>Next, configure WinCVS. Launch it, and select Admin -> Preferences. \r
- Then change them as follows:</p>\r
+ <p>After modifying files (you will note they change from green top red!), \r
+ you can commit them back to the CVS server like this:</p>\r
<blockquote> \r
- <p> [General]<br>\r
- <strong>CVSROOT data</strong>:<br>\r
- <strong>Authentication</strong>: ssh<br>\r
- <strong>Path</strong>: /cvsroot/moodle<br>\r
- <strong>Host address</strong>: cvs.moodle.sourceforge.net<br>\r
- <strong>User name</strong>: <font color="#990000">myusername</font><br>\r
- <strong>CVSROOT</strong>: <font color="#990000">myusername</font>@cvs.moodle.sourceforge.net:/cvsroot/moodle</p>\r
- <p>[Globals]<br>\r
- <strong>Checkout read-only</strong>: uncheck<br>\r
- <strong>Supply control when adding files</strong>: check<br>\r
- <strong>Quiet mode</strong>: uncheck<br>\r
- <strong>TCP/IP compression</strong>: check and select 9<br>\r
- <strong>Dirty files support</strong>: check<br>\r
- <strong>Prune(remove) empty directories</strong>: check<br>\r
- <strong>Disable splash screen</strong>: uncheck</p>\r
+ <p> 1. Right-mouse-click on your Moodle folder (or any file) and select \r
+ "<strong>CVS Commit...</strong>".<br>\r
+ <br>\r
+ 2. In the dialog box, type a clear description of the changes you are \r
+ committing. <br>\r
+ <br>\r
+ 3. Click "OK". Your changes will be sent to the server.<br>\r
+ </p>\r
</blockquote>\r
- <p>Congratulations, WinCVS is set up. Now, you should check out a complete \r
- working copy of the Moodle course code:</p>\r
- <ol>\r
- <li>Select 'Create -> checkout'</li>\r
- <li>For the setting 'Module name and path on the server", type "moodle", \r
- then click OK.</li>\r
- <li>Type in <strong><font color="#990000">mypassword</font></strong> and \r
- press Enter in the DOS window.</li>\r
- </ol>\r
- <p>After this first checkout, you can fetch updated files from the CVS server \r
- like this:</p>\r
- <ol>\r
- <li> Select folders or files you want to update</li>\r
- <li>Press right mouse button and select '<strong>Update selection</strong>'</li>\r
- <li>Press OK button</li>\r
- <li>Type in <strong><font color="#990000">mypassword</font></strong> and \r
- press Enter in the DOS window.</li>\r
- </ol>\r
- <p>After modifying files, you can commit them back to the CVS server like \r
- this:</p>\r
- <ol>\r
- <li>Select folders or files you want to commit</li>\r
- <li>Press right button and select '<strong>Commit selection</strong>'</li>\r
- <li>Press OK button</li>\r
- <li>Type in a meaningful comment and press OK button.</li>\r
- <li>Type in <strong><font color="#990000">mypassword</font></strong> and \r
- press Enter in the DOS window.</li>\r
- </ol>\r
</blockquote>\r
<p> </p>\r
<p align="center">Good luck!</p>\r