6.2. CVSIGNORE

On the heals of a workstation installation is the requirement to setup CVSIGNORE. For all files that change, but you want to ignore (such as etc/foundation.status), create an entry in the .cvsignore file in that directory. Note that the file must be removed from the cvs repository before it will work.

Here is a script that will create some sample files:


cat >.cvsignore <<EOF
error.log
*.structure
timed
tmp
EOF

cat >etc/.cvsignore <<EOF
status.*
*.counter
*.number
*.recordnumber
EOF

cat >products/.cvsignore <<EOF
*.lnk
*.sql
*.autonumber
*.[1-9]*
*.csv.numeric
*.name
*.sort
*.txt.*
EOF


echo "local.cfg" > config/.cvsignore
echo "*" > backup/.cvsignore
echo "*" > logs/.cvsignore
echo "*" > orders/.cvsignore
echo "*" > session/.cvsignore
echo "*" > upload/.cvsignore
echo "*" > tmp/.cvsignore

cvs add \
        .cvsignore \
        etc/.cvsignore \
        products/.cvsignore \
        config/.cvsignore \
        backup/.cvsignore \
        logs/.cvsignore \
        orders/.cvsignore \
        session/.cvsignore \
        upload/.cvsignore \
        tmp/.cvsignore \
        #done.