CVS Instructions
CVS NOTES:
* ONCE YOU DOWNLOAD THE MAIN OR LOWEND BRANCH, THEN cvs WILL
ONLY OPERATE ON THAT BRANCH. IF YOU FORGET WHICH BRANCH
YOU ARE WORKING ON, THE _LOWEND_ BRANCH WILL HAVE A TAG:
If your in the gcdb directory:
cat CVS/Tag; # it should say: TLOWEND
* YOU CAN WORK ON BOTH BRANCHES, YOU NEED TO PUT THEM IN
SEPARATE DIRECTORIES. EACH WILL HAVE A gcdb SUBDIRECTORY.
How to checkout code anonymously:
0. Make sure openssh and cvs are installed
1. setup your environment
export CVSROOT=:pserver:anonymous@cvs.gcdb.sourceforge.net:/cvsroot/gcdb
export CVS_RSH=ssh
2. login
cvs login
It will ask for a password, just press ENTER.
3. download the tree
cvs -z3 co -rLOWEND gcdb
If you leave out "-rLOWEND", you will download the super duper development
branch.
4. Coding days off: Wednesday and Sunday (Alaska time)
[IE: this will be the best time to diff]
If you hack on some code, get something to work or fix a bug, send
a patch diff to me via attachment. If its big gzip it...
cvs diff -u > patch
Should look something like:
Index: gcdb/enteruser.php
===================================================================
RCS file: /cvsroot/gcdb/gcdb/enteruser.php,v
retrieving revision 1.7.2.1
diff -u -r1.7.2.1 enteruser.php
--- gcdb/enteruser.php 22 Nov 2001 18:22:36 -0000 1.7.2.1
+++ gcdb/enteruser.php 16 Jul 2002 05:15:55 -0000
@@ -1,6 +1,7 @@
<?
# Enter user displays a form for the entry of a user, and handles the
# submission.
+# VERY FUNNY
session_start();
require("gcdb.php");
If your a developer, this is what our need to do to work with
CVS:
0. Make sure openssh and cvs are installed
1. Setup your environment; replace [LOGIN] with your login
export CVSROOT=:ext:[LOGIN]@cvs.gcdb.sourceforge.net:/cvsroot/gcdb
export CVS_RSH=ssh
2. Do the initial checkout
cvs checkout -rLOWEND gcdb
NOTE: drop "-rLOWEND" to get the MAIN development branch
3. Stay up to date with the status of the server
cvs update
Results might look like:
? viewInvoiceFooter.php
? viewInvoiceHeader.php
cvs server: Updating .
M README
M db.php
M gcdb-settings.php
M gcdb.php
M index.php
M main.php
cvs server: Updating dbdump
cvs server: Updating dbint
Flags:
? = new file, not found on server
M = your version is modified
U = the server updated your version
4. cvs commit
This will update the server copies with your changes. Any
conflicting changes will not be accepted.