glfs/server/other/cvsserver/cvsserver-exp.xml

38 lines
1.4 KiB
XML
Raw Normal View History

<sect2>
<title>Command explanations</title>
<para><userinput>mkdir /cvsroot</userinput> : Create the CVS repository
directory.</para>
<para><userinput>chmod 1777 /cvsroot</userinput> : Sticky bit
permissions for CVSROOT.</para>
<para><userinput>export CVSROOT=/cvsroot</userinput> : Specify new
CVSROOT for all cvs commands.</para>
<para><userinput>cvs init</userinput> : Initialize the new CVS
repository.</para>
<para><userinput>cvs import -m "repository test" cvstest vendortag
releasetag</userinput> : All source code modules must be imported
into the CVS repository before use, with the cvs import command. the
-m flags specifies an initial descriptive entry for the new module.
the "cvstest" parameter is the name used for the module in all
subsequent cvs commands. the "vendortag" and "releasetag" parameters
are used to further identify each CVS module and are mandatory whether
used or not.</para>
<para><userinput>(grep anonymous /etc/passwd || useradd anonymous -s
/bin/false)</userinput> : Check for an existing anonymous user and
create one if not found.</para>
<para><userinput>echo anonymous: &gt; /cvsroot/CVSROOT/passwd
</userinput> : Add the anonymous user to the CVS passwd file, which is
unused for anything else in this configuration.</para>
<para><userinput>echo anonymous &gt; /cvsroot/CVSROOT/readers</userinput> : Add the anonymous user to the CVS readers file, a list of
users who have read only access to the repository.</para>
</sect2>