aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/cvs-tips.txt
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2000-09-12 17:20:18 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2000-09-12 17:20:18 +0000
commitbfb19d7566d8c068ff2caacf8175b189ff514f83 (patch)
tree297b4062f7892936d9e070ab12d3361ad73ad40c /etc/cvs-tips.txt
parent4fbd5d55a2e429a73a62b36abf7574083cd1ec0c (diff)
Notes about using cvs remotely added.
Diffstat (limited to 'etc/cvs-tips.txt')
-rw-r--r--etc/cvs-tips.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/etc/cvs-tips.txt b/etc/cvs-tips.txt
index 2d270e16..95cf4eaa 100644
--- a/etc/cvs-tips.txt
+++ b/etc/cvs-tips.txt
@@ -1,6 +1,50 @@
+Using CVS to access Proof General repository
+============================================
+
+Here are some notes on how to access the PG repository remotely
+using CVS, using ssh with an account at dcs.ed.ac.uk
+
+
+1. First configure ssh so that you can do `ssh ssh.dcs.ed.ac.uk'
+without a password (or passphrase). For this you need to run
+ssh-keygen and give an empty passphrase. Then you need to copy
+your ~/.ssh/identity.pub at home into ~/.ssh/authorized_keys at
+dcs.ed.
+
+2. The CVS repository for PG is in ~proofgen/src at dcs.ed.ac.uk To
+use this, you need to set CVSROOT and CVS_RSH. I use the script below
+(the last line isn't essential but makes the settings inside a running
+emacs too)
+
+3. Where you want to develop PG, do:
+
+ cvs checkout ProofGeneral
+
+ Inside the ProofGeneral directory, to retrieve the latest updates,
+ do:
+
+ cvs update
+
+ To commit some changes to file <filename>, do:
+
+ cvs commit -m"<message here>" <filename>
+
+
+See "man cvs" for (much) more.
+
+#! /bin/bash
+MACHINE=ssh
+export CVSROOT=:ext:da@$MACHINE.dcs.ed.ac.uk:/home/proofgen/src
+export CVS_RSH=ssh
+export EDITOR=gnuclient
+gnudoit '(setenv "CVSROOT" ":ext:da@$MACHINE.dcs.ed.ac.uk:/home/proofgen/src")' '(setenv "CVS_RSH" "ssh")' '(message "set environment for CVS to /home/proofgen/src !")'
+
+
+
-----------------------------------------------------------------
Making a branch to patch a previous release:
+============================================
cvs checkout -r Release-3-1-3 ProofGeneral
cd ProofGeneral
@@ -35,6 +79,7 @@ $Id$ tags in source. (Is there a way to avoid this?)
-----------------------------------------------------------------
Overriding the CVS/Root setting temporarily:
+============================================
Use
cvs -d $CVSROOT