In fact, it works like importing your project into the CVS Sources: for the homepage we use the CVS tree called web.
First, you need to configure your SSH access - (see SshAccess).
You should have read instructions in your CVS project page on savannah (like the emacs CVS page http://savannah.gnu.org/cvs/?group=emacs).
You should go in the local directory where you want to put your local copy the CVS HTML tree. For example:
mkdir ~/project/www cd ~/project/www
Download the CVS HTML tree structure (substitute developername with your login and projectname with your project system name):
export CVS_RSH=ssh cvs -z3 -d:ext:developername@cvs.sv.gnu.org:/web/projectname co projectname
Then, in the dir ~/project/www/projectname, you should copy all the files you want to insert in the CVS HTML tree. For example:
cp ~/tmp/index.html ~/project/www/projectname
Once you have locally set your HTML tree, you can import it. To import a file and a directory:
cd ~/project/www/projectname cvs add index.html cvs add mydir (or: cvs add index.html mydir) cvs commit
Done! The webpages will be updated within an hour. The location of your homepage is the default URL in your project's Active Features.
Unlike source repositories, the web repository must always use CVS. This is due to the complex process involved with getting the files ultimately onto the real www.gnu.org machine, and supporting multiple VC's is not, at present, practical.
If you would like further information, you may be interested in:
- reading http://www.freenix.org/unix/linux/HOWTO-vo/CVS-RCS-HOWTO.html
- executing info cvs to get more information
- reading the Quick reference to CVS at http://www.cvshome.org/docs/manual/cvs-1.11.19/cvs_17.html (node "Invoking CVS" in the info file).