------------------------- BASIC REPOSITORY CREATION -------------------------- * Add a new group to /etc/group. Call it GROUP. Put yourself and anoncvs in GROUP. The /etc/group was copied from the cygnus.com one; add new CVS groups in descending order from 65533. * Set your umask to 002 so that both the owner and the group on the following files have write permissions. * Create a project directory, /sourceware/projects/PROJECT-home. Under that, create /sourceware/projects/PROJECT-home/cvsfiles /sourceware/projects/PROJECT-home/mail-archives /sourceware/projects/PROJECT-home/hidden-mail-archives All directories should be group GROUP. In addition, the mail-archives directories should be *owned* by listarch. All of these directories should be mode 2775. * Add a symlink from /cvs/PROJECT to /sourceware/projects/PROJECT-home/cvsfiles. * Run ``cvs -d /cvs/PROJECT init''. Make sure that the /cvs/PROJECT/CVSROOT directory is group GROUP, mode 2775. The files in CVSROOT may also need to be set to group GROUP. Verify that the CVSROOT directory has the sticky group bit set. * Copy /sourceware/infra/templates/CVSROOT/passwd into the CVSROOT directory directly (into /cvs/PROJECT/CVSROOT). * Add a --allow-root option for this repository to /usr/sourceware/bin/cvs-wrapper. * Make sure that everything under /cvs/PROJECT is group GROUP. * From some other machine, make sure that cvs -d :pserver:anoncvs@sourceware.cygnus.com:/cvs/PROJECT login cvs -d :pserver:anoncvs@sourceware.cygnus.com:/cvs/PROJECT co -c lists the contents of the modules file. Make sure that you can check out modules. * To give somebody write permission, first get them an account on sourceware.cygnus.com. Then put them in GROUP. ---------------------------- SET UP THE CVS MAILING LISTS ---------------------------- * As user 'alias' do the following ezmlm-make -ldpknrq -5 postmaster@sourceware.cygnus.com -4 '-t24 -m30 -k64' \ /qmail/lists-cvs/PROJECT-cvs \ /qmail/alias/.qmail-PROJECT-cvs PROJECT-cvs sourceware.cygnus.com ezmlm-make -ldpknrq -5 postmaster@sourceware.cygnus.com -4 '-t24 -m30 -k64' \ /qmail/lists-cvs/PROJECT-webpages-cvs \ /qmail/alias/.qmail-PROJECT-webpages-cvs PROJECT-webpages-cvs \ sourceware.cygnus.com * If you want a web archive of either of these lists, set it up now (see the new-list.txt for some basic information) * cd into each directory (eg /qmail/lists-cvs/PROJECT-cvs), and in turn do ezmlm-sub `pwd`/mod ANY_MODERATORS ezmlm-sub `pwd` ANY_INTERESTED_PARTIES ~jsm/bin/add-sourceware-headers.sh `pwd` * If you set up a web archive of this list, subscribe it now: ezmlm-sub `pwd` listarch-PROJECT-cvs@sourceware.cygnus.com * Add the following line at the beginning of the 'editor' file: |/usr/sourceware/bin/local-mail-only.sh --------------------------------------- SOURCEWARE CVS REPOSITORY CUSTOMIZATION --------------------------------------- * Check out a copy of the new repository's CVSROOT (``cvs -d /cvs/PROJECT co CVSROOT''). * Copy all the template files from /sourceware/infra/templates/CVSROOT Delete the 'passwd' file. * Edit loginfo so the correct repository name is present (instead of 'gdb'). * Edit commitinfo so the correct repository name is present (instead of 'gdb'). * Check for any remaining 'gdb' references (``grep gdb *''). * Add the files: cvs add readers cvs commit -m "Standard sourceware configuration" * Add the htdocs/ directory to the repository. cvs -d /cvs/PROJECT co . mkdir htdocs cvs add htdocs No commit is necessary. * Create a /www/sourceware/htdocs/PROJECT directory. Set the owner to be the maintainer of the project, group GROUP, mode 2775. Then % cd /www/sourceware/htdocs/PROJECT % cvs -d /cvs/PROJECT co htdocs % rm -rf CVS % cd htdocs % mv * .. % cd .. % rmdir htdocs * Touch the file /cvs/PROJECT/CVSROOT/updatelog, set the group to be GROUP, and set the mods to be 664. * Touch the file /cvs/PROJECT/CVSROOT/val-tags, set the group to be GROUP, and set the mods to be 664. * do a "cvs -d sourceware.cygnus.com:/cvs/sourceware co webpages" and modify cgi-bin/cvsweb.conf to include /cvs/PROJECT in the definition of %CVSROOT.