[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] moving CVS
From: |
Loic Dachary |
Subject: |
Re: [Phpgroupware-developers] moving CVS |
Date: |
Mon, 7 Jan 2002 12:18:27 +0100 |
Dan Kuykendall (Seek3r) writes:
> I have a copy on savannah. It was super easy.
> Now for the hitch. Usually sourceforge creates the cvs tree tarballs at
> about 12:30am PST. Its 1:30am PST and the tarball is still a day old. So
> savannah's cvs is one day old. Im waiting and hopeing that sf will get
> that cvs tree tarball and trying to contact them on IRC with no luck so
> far.
>
> Hold back on any further commits until futher notice.
Hi,
I see that you nuked the original CVSROOT which is not a problem
in itself. However you want to keep the config file otherwise anonymous
cvs won't work.
# Set this to "no" if pserver shouldn't check system users/passwords
SystemAuth=no
LockDir=/var/lock/cvs/cvsroot/phpgroupware
# Set `PreservePermissions' to `yes' to save file status information
# in the repository.
#PreservePermissions=no
# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
# level of the new working directory when using the `cvs checkout'
# command.
#TopLevelAdmin=no
Also you probably want to add the following to the passwd
file so that instructions in http://savannah.gnu.org/cvs/?group_id=509
work as expected (for anonymous cvs).
anoncvs:02oawyZdjhhpg
In addition the current passwd file contains:
anonymous:$1$0H$2/LSjjwDfsSA0gaDYY5Df/:anoncvs_phpgroupware
but the anoncvs_phpgroupware user does not exist and you want to
change to:
anonymous:$1$0H$2/LSjjwDfsSA0gaDYY5Df/:anoncvs
that will have the nice effect of keeping the anonymous user
valid and probably reduce the confusion for people willing to migrate
their anoncvs access. Mixing des & md5 passwd at this level is not
problematic IIRC.
Since you can't really delete the sf.net CVS tree, you may want
to use the following to notify people trying to commit to the sf.net CVS
tree.
in loginfo
ALL $CVSROOT/CVSROOT/obsolete %s
in /cvsroot/phpgroupware/CVSROOT/obsolete try a variant of the following:
#
# Suggest developers (only printed on commit) to switch to savannah instead
# of using sf.net. Printed once per day.
# Loic Dachary (address@hidden)
#
user=`id -un`
project=`expr "$1" : '\([^ /][^ /]*\).*'`
stone=/var/run/obsolete/$user.$project.obsolete
if test ! -f $stone || find $stone -mtime 1 | grep $user > /dev/null
then
touch $stone
else
exit 0
fi
cat <<EOF | tee $stone
No longer a repository. Check http://savannah.gnu.org/cvs/?group_id=509
EOF
Cheers,
--
Loic Dachary http://www.dachary.org/ address@hidden
12 bd Magenta http://www.senga.org/ address@hidden
75010 Paris T: 33 1 42 45 07 97 address@hidden
GPG Public Key: http://www.dachary.org/loic/gpg.txt