From: moodler Date: Wed, 21 May 2003 13:52:07 +0000 (+0000) Subject: Changed instructions for Windows to Tortoise CVS X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7a1205eea9063fbb2a37ac077fc792559c0886cb;p=moodle.git Changed instructions for Windows to Tortoise CVS --- diff --git a/lang/en/docs/cvs.html b/lang/en/docs/cvs.html index 19635fed65..03f7134ead 100644 --- a/lang/en/docs/cvs.html +++ b/lang/en/docs/cvs.html @@ -2,7 +2,7 @@ Moodle Docs: How to use CVS - +

Using CVS to access and update Moodle source code

@@ -83,63 +83,52 @@ update -dP

2. Using CVS on Windows

-

These instructions are based on notes provided by Mitsuhiro Yoshida <mits@mitstek.com>.

-

Firstly, download and install WinCVS.

+

First, you need to download a completely fresh copy of Moodle using your + developer account.

-

https://sourceforge.net/project/showfiles.php?group_id=10072

+

1. Get TortoiseCVS from tortoisecvs.org + and install it, then reboot.
+
+ 2. Find or create a new folder somewhere where you want Moodle to be downloaded + to.
+
+ 3. Right-mouse-click that folder and choose "CVS Checkout" + from the menu. You should see a dialog box.
+
+ 4. Copy this text into the CVSROOT field:

+
+
 :ext:myusername@cvs.moodle.sourceforge.net:/cvsroot/moodle
+
+


+ 5. Press the button: "Fetch list...".
+
+ 6. To the right of the button you should see a list of modules: choose + "moodle" from that list.
+
+ 7. Press the button: "OK" and everything should + be downloaded.
+

-

Secondly, download sfsetup for SourceForge ssh access, install it and reboot - Windows.

+

A dialog box should show all the files being downloaded, and after a while + you should have a complete copy of Moodle. After this first checkout, you + can fetch the latest updated files from the CVS server:

-

http://sourceforge.net/projects/sfsetup/

+

1. Right-mouse-click on your Moodle folder (or any file) and select + "CVS Update".
+

-

Next, configure WinCVS. Launch it, and select Admin -> Preferences. - Then change them as follows:

+

After modifying files (you will note they change from green top red!), + you can commit them back to the CVS server like this:

-

[General]
- CVSROOT data:
- Authentication: ssh
- Path: /cvsroot/moodle
- Host address: cvs.moodle.sourceforge.net
- User name: myusername
- CVSROOT: myusername@cvs.moodle.sourceforge.net:/cvsroot/moodle

-

[Globals]
- Checkout read-only: uncheck
- Supply control when adding files: check
- Quiet mode: uncheck
- TCP/IP compression: check and select 9
- Dirty files support: check
- Prune(remove) empty directories: check
- Disable splash screen: uncheck

+

1. Right-mouse-click on your Moodle folder (or any file) and select + "CVS Commit...".
+
+ 2. In the dialog box, type a clear description of the changes you are + committing.
+
+ 3. Click "OK". Your changes will be sent to the server.
+

-

Congratulations, WinCVS is set up. Now, you should check out a complete - working copy of the Moodle course code:

-
    -
  1. Select 'Create -> checkout'
  2. -
  3. For the setting 'Module name and path on the server", type "moodle", - then click OK.
  4. -
  5. Type in mypassword and - press Enter in the DOS window.
  6. -
-

After this first checkout, you can fetch updated files from the CVS server - like this:

-
    -
  1. Select folders or files you want to update
  2. -
  3. Press right mouse button and select 'Update selection'
  4. -
  5. Press OK button
  6. -
  7. Type in mypassword and - press Enter in the DOS window.
  8. -
-

After modifying files, you can commit them back to the CVS server like - this:

-
    -
  1. Select folders or files you want to commit
  2. -
  3. Press right button and select 'Commit selection'
  4. -
  5. Press OK button
  6. -
  7. Type in a meaningful comment and press OK button.
  8. -
  9. Type in mypassword and - press Enter in the DOS window.
  10. -

 

Good luck!