TWiki . Admin . CVSAtSandstein |
below cvsroot we use the following structure:
documentation | documentation besides source documentation. papers, overviews, ... | |||
__ | kaisersrot | kaisersrot projects go here | ||
_ | _ | herrhugowart | herrhugowart documents goes here | |
_ | _ | sogt | sogt documents goes here | |
__ | bip | bip projects go here | ||
_ | _ | main | bip main project documentation | |
__ | qoom | sep project | ||
_ | _ | diploma | diploma work documentation | |
_ | _ | locator | prototype documentation | |
__ | users | |||
_ | _ | matze | ||
_ | _ | droste | ||
_ | _ | __ | tartangenerator | something not belonging to any other project |
source | source code NO BINARIES | |||
__ | kaisersrot | kaisersrot projects go here | ||
_ | _ | herrhugowart | herrhugowart source goes here | |
_ | _ | sogt | sogt source goes here | |
__ | bip | bip projects | ||
_ | _ | main | bip main project | |
__ | qoom | sep project | ||
_ | _ | diploma | diploma work source code | |
_ | _ | locator | prototype source code | |
__ | users | |||
_ | _ | matze | ||
_ | _ | droste | ||
_ | _ | __ | tartangenerator | something not belonging to any other project |
##### ##### as root@sandstein ##### cat <<EOF >/etc/profile.d/cvsuser.sh if [ `dirname $PWD` = '/home/CVSUSER' ]; then exit fi EOF cat <<EOF >/etc/profile.d/cvsuser.csh if ( `dirname $PWD` == /home/CVSUSER ) logout EOF
##### ##### as root@sandstein ##### groupadd cvsuser ##### modify root user usermod -G cvsuser root ##### setup directory export CVSROOT=/var/cvsroot mkdir $CVSROOT chmod 2775 $CVSROOT chown root:cvsuser $CVSROOT cvs init #### setup basic directory structure mkdir kewl cd kewl cvs import -m "Created directory structure" documentation/bip bip start cvs import -m "Created directory structure" source/bip bip start cvs import -m "Created directory structure" documentation/kaisersrot kaisersrot start cvs import -m "Created directory structure" source/kaisersrot kaisersrot start cvs import -m "Created directory structure" documentation/game game start cvs import -m "Created directory structure" source/game game start cvs import -m "Created directory structure" documentation/misc misc start cvs import -m "Created directory structure" source/misc misc start cvs import -m "Created directory structure" documentation/users users start cvs import -m "Created directory structure" source/users users start cd .. rmdir kewl ##### lock higher directory structure chmod g-ws /var/cvsroot /var/cvsroot/documentation /var/cvsroot/source/
##### ##### as root@sandstein ##### ##### add another project group export CVSROOT=/var/cvsroot mkdir kewl cd kewl cvs import -m "Created directory structure" documentation/qoom qoom start cvs import -m "Created directory structure" source/qoom qoom start cd .. rmdir kewl chmod g+s $CVSROOT/documentation/qoom
##### ##### as root@sandstein ##### usermod -G cvsuser droste
##### ##### as root@sandstein ##### NEWCVSUSER=nethzaccount useradd -G cvsuser -d /home/CVSUSER/$NEWCVSUSER $NEWCVSUSER passwd $NEWCVSUSER
##### ##### as root@sandstein ##### NEWCVSUSER=ifpossiblenethzaccount PROJECTDESCR="project_name, extern, caad_member_in_charge" useradd -G cvsuser -d /home/CVSUSER/$NEWCVSUSER -c "$PROJECTDESCR" $NEWCVSUSER passwd $NEWCVSUSER-- KarstenDroste - 20 May 2005
----- Revision r1.8 - 30 May 2005 - 15:41 - KarstenDroste
|
This website has been archived and is no longer maintained.