[Serdev] new commitlog scripts

Jan Janak jan at iptel.org
Fri Jan 23 00:36:07 UTC 2004


I also added the mapping of berlios e-mails to real e-mails. The map can
be found in cfg_local.pm, berlios e-mail is used if no mapping for a
username is found.

  Jan.

On 22-01 18:52, Jan Janak wrote:
> This is a small overview of new commitlog scripts for the rest of the
> CVS admins.
> 
> I've stolen CVS commitlog scripts from the FreeBSD repository (thanks to
> Maxim for the info) and adapted them for our repository.
> 
> All the scripts are stored in CVSROOT, the following new files are
> present in the directory:
> 
> cfg.pm         -- Global configuration
> cfg_local.pm   -- Local configuration overriding the global file (make
>                   your changes in this file)
> commit_prep.pl -- Pre-commit checking script
> commitcheck    -- Pre-commit checking script
> cvs_acls.pl    -- Fine-grained access control
> log_accum.pl   -- Report generator
> 
> All the files have been added to checkoutlist list so that the cvs
> repository treats them as administrative files (they are re-built on
> every commit).
> 
> When you commit a change, commitinfo is executed prior to the commit, 
> which in turn executes commitcheck script. The script does the following:
> 
> - Check whether a proper cvs host is used (disabled)
> - Performs additional checks (disabled)
> - Checks the cvs version (disabled)
> - Checks whether the commiter has proper permissions (disabled because
>   our commiters have write access to the whole repository)
> - Executes commit_prep.pl which prepares some input for log_accum.pl
> 
> After the commit the cvs server executes loginfo which in turn executes
> log_accum.pl file. This file generates the commitlog (also includes
> links to viewcvs on berlios) and mails the result to this list.
> 
> The main configuration file is cfg.pm which contains some pre-set
> default. This file is then overriden by cfg_local.pm which contains
> settings specific for our repository.
> 
>   Jan.
> 
> _______________________________________________
> Serdev mailing list
> serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev




More information about the Serdev mailing list