Revision: 446 http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=446 Author: ineiev Date: 2021-10-01 04:17:20 -0400 (Fri, 01 Oct 2021) Log Message: ----------- update CVS hook documentation
Modified Paths: -------------- trunk/sviki/SavannahInternals.mdwn Modified: trunk/sviki/SavannahInternals.mdwn =================================================================== --- trunk/sviki/SavannahInternals.mdwn 2021-10-01 04:55:40 UTC (rev 445) +++ trunk/sviki/SavannahInternals.mdwn 2021-10-01 08:17:20 UTC (rev 446) @@ -390,37 +390,6 @@ repo.owner=Jim Meyering ... -* `generate_log_accum.pl` - This script updates the CVS hooks in savannah - repositories. - * FIXME: file is `vcs0:/usr/src/infra/cvs/generate_log_accum.pl` and - is not in the `savane` repository. Add it? - * The script queries the database (`groups` table) for project using - cvs repositories, and projects using homepages (which use the cvsweb - repositories). - * For each cvs repository, it creates/updates the - `<project>/CVSROOT/{loginfo,commitinfo}` files. - * Example of `commitinfo` for source-code (not web) CVS repository: - - $ cat /sources/pspp/CVSROOT/commitinfo - #<savane> - DEFAULT /usr/local/bin/commit_prep.pl -T pspp_70 %p - #</savane> - ALL $CVSROOT/CVSROOT/no-commits %{s} - - * Example of `loginfo` for source-code (not web) CVS repository: - - $ cat /sources/pspp/CVSROOT/loginfo - #<savane> - DEFAULT /usr/local/bin/log_accum.pl --mail-to pspp-...@gnu.org --send-diff --file-prefix pspp_70 --config /etc/log_accum-sources.config %p %{sVv} - #</savane> - - * Example of `loginfo` for web CVS repository: - - $ cat /srv/cvs/web/datamash/CVSROOT/loginfo - #<savane> - ALL echo 'Triggering webpages update...'; cat > /dev/null; curl http://www.gnu.org/new-savannah-project/new.py -s -F type=gnu -F project=`basename %r` - #</savane> - * `sv_groups` - This script creates new repositories for projects in the savannah database * reminder: when a new project is approved/created on @@ -443,9 +412,10 @@ [Hg.pm](http://git.savannah.gnu.org/cgit/administration/savane.git/tree/lib/Savane/Hg.pm), [Download.pm](http://git.savannah.gnu.org/cgit/administration/savane.git/tree/lib/Savane/Download.pm). * Two types of CVS repositories can be created: - `cvs` (Using `CvsMakeArea` in `CVS.pm`) - source code repository; - `webcvs` (Using `WebCvMakeAreaSavannahGNU` in `CVS.pm`) - webcvs + `cvs` (Using `CvsMakeArea` in `Cvs.pm`) - source code repository; + `webcvs` (Using `WebCvMakeAreaSavannahGNU` in `Cvs.pm`) - webcvs repository (content will be available on www.gnu.org/www.nongnu.org). + The same routines also update existing CVS hooks. * The script also contains legacy code to create unix groups on the local machine (using `/usr/sbin/groupadd`). This part is not used any more, since groups and users are delegated to `nsswitch/libnss-mysql`