summaryrefslogtreecommitdiffstats
path: root/CVSROOT/cfg.pm
Commit message (Collapse)AuthorAgeFilesLines
* Remove some trailing whitespace.joe2001-12-131-3/+3
| | | | Submitted by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
* Define $DIFF_BLOCK_TOTAL_LINES to restrict the maximum number ofjoe2001-12-031-5/+7
| | | | lines of diff in a commit email.
* Add a new config option $NO_DOS_LINEBREAKS to stop files with wierdjoe2001-12-031-2/+6
| | | | | | line endings from getting committed. Mostly Submitted by: jesper
* Fix a bug in the local cvsweb URL insertion function.joe2001-12-011-6/+6
| | | | Spotted by: Mathieu Arnold <arn_mat@club-internet.fr>
* Add the ability to have diffs inserted into the commit email.joe2001-12-011-2/+5
| | | | Submitted by: jesper
* Move the map that determines the names of the log files to use intojoe2001-11-301-3/+26
| | | | the configuration file.
* Make it clear that the $COMMITCHECK_EXTRA check should return truejoe2001-11-191-1/+2
| | | | if everything is ok.
* Document the fact that blank TEMPLATE_HEADERS won't be removed fromjoe2001-11-191-1/+6
| | | | | | | the repository log unless the version of cvs in the FreeBSD tree is being used due to a local modification. Submitted by: wca
* Add a config option $WARN_HEADERS to only warn when the $ HEADER $joe2001-11-151-5/+8
| | | | | | isn't present or corrupted, instead of bombing out. Submitted by: Mathieu Arnold <arn_mat@club-internet.fr>
* Move the name of the avail file into the configuration file under thejoe2001-11-151-5/+14
| | | | new config variable $AVAIL_FILE.
* Migrate the code that determines what the name of the committer isjoe2001-11-151-5/+9
| | | | to the configuration file creating a new config variable $COMMITTER.
* Add a new configuration option: COMMITCHECK_EXTRA. This is ajoe2001-11-151-4/+10
| | | | | | reference to an anonymous subroutine that if defined gets run at commitcheck time. It allows the admin to run further checks to see whether committing is allowed.
* Move the definition of the minimum version of cvs that we'll work withjoe2001-11-151-2/+5
| | | | into the configuration file.
* Remove all references to /home/ncvs; the CVSROOT env variable is sufficientjoe2001-11-151-5/+9
| | | | | | | | to determine the location now-a-days. Move the name of the exclude file into the configuration file. Partly Submitted by: alfred
* Improve a comment.joe2001-11-151-2/+3
|
* Move the names of some system tools into the config file.joe2001-11-151-2/+6
| | | | Submitted by: alfred
* Order the var declarations.joe2001-11-151-4/+6
|
* Add the hosts that we're allowed to commit on to the configurationjoe2001-10-301-1/+11
| | | | file instead of hard coding them.
* Make the 'To:' header configurable. (Defaulting to on, and offjoe2001-10-261-1/+4
| | | | for FreeBSD).
* Fix the unintentional filtering of the 'revision changes path' linejoe2001-10-251-1/+1
| | | | in the function that adds cvsweb urls.
* Migrate the FreeBSD project configuration to cfg_local.pm andjoe2001-10-241-44/+15
| | | | replace it with default entries in cfg.pm.
* Modify the comments to point to the cfg_local.pm file as the place tojoe2001-10-241-1/+4
| | | | make local configuration changes.
* Add a local configuration file, cfg_local.pm, that can be used tojoe2001-10-241-1/+7
| | | | | | override entries in cfg.pm. Suggested by: will
* I prefer colour diffs, so modify the example to use this by default.joe2001-10-231-1/+1
|
* Add an example of how to add links to cvsweb.cgi in the email atjoe2001-10-231-19/+61
| | | | commit time.
* Translate $CVSHeader$ -> $ CVSHeader $ to stop it from being expandedjoe2001-10-231-1/+1
| | | | | in repositories that haven't overriden it in CVSROOT/options, or don't have the FreeBSD specific hacks to cvs.
* Rewrite the email generation routine to feed the email through anjoe2001-10-231-1/+35
| | | | | | anonymous subroutine in the cfg.pm file if it is defined. This allows the administrator to add cvsweb URL's to the email, for instance, at time of generation.
* Remove the trailing ':' character from the X-FreeBSD-CVS-Branchjoe2001-10-231-2/+2
| | | | | | | header. (I mentioned this in the comments, but forgot to change it in the existing configuration). Spotted by: Dan Langille <dan@langille.org>
* Move the mail header that carries the list of branches that werejoe2001-10-231-1/+9
| | | | committed to into the config file.
* Use single quotes instead of double ones to avoid getting trippedjoe2001-10-221-1/+1
| | | | up with @'s in email addresses.
* Contract $FreeBSD: xxxx $ back to $FreeBSD$ at commit time to avoidjoe2001-10-121-1/+1
| | | | storing the old version strings in the repository verbatum.
* Define a new configuration variable for globally switching onjoe2001-09-191-1/+8
| | | | | rcsid checking in committed files, and switch it on by default for the FreeBSD project.
* Add code to unexpand $FreeBSD: xxxx $ (or whatever is defined injoe2001-09-081-1/+6
| | | | | | | the config file as being our $IDHEADER$) upon commit. This is useful to avoid a '+1 -1' delta against the version string. (Tested with both local and remote commits).
* Replace Sys::Hostname::hostname with a direct call to /bin/hostname,joe2001-09-071-2/+4
| | | | | to work around an annoying bug in the former that caused a warning when using CORE::system() later on.
* Move the definition of our $FreeBSD$ header into the config file.joe2001-08-191-1/+13
|
* Centralise the generation of temporary filenames instead of havingjoe2001-08-191-2/+5
| | | | it done within each individual script.
* The CVSROOT/scripts use a file, /tmp/#cvs.files.lastdir, to storejoe2001-08-191-1/+5
| | | | | the name of the last directory in a multidirectory commit. Move the definition of this to cfg.pm so that it's defined in one place.
* Improve some comments.joe2001-08-191-6/+9
|
* Revert to the previous behaviour of not sending mail on directoryjoe2001-05-221-1/+1
| | | | | | creation. Note to FreeBSD committers: do we want this on?
* Add a configuration option to enable the sending of commit mail onjoe2001-05-221-1/+3
| | | | directory creation.
* Migrate some more configuration entries to the config file.joe2001-05-221-1/+44
|
* Recommend syntax checking with warnings switched on.joe2001-05-221-1/+1
|
* Make a note that the global config values aren't quite global yetjoe2001-05-201-0/+2
| | | | | so that anyone picking up the code now doesn't shoot anyone in the foot.
* All perl modules need to return true or perl gets unhappy.joe2001-05-201-0/+2
|
* Add $DEBUG and $TMPDIR config entries.joe2001-05-201-6/+10
|
* Fix a spilling mistoke in a comment.joe2001-05-201-1/+1
|
* Add a configuration file for customising the perl scripts. To usejoe2001-05-201-0/+43
it put the following at the top of the perl script: use lib $ENV{CVSROOT}; use CVSROOT::cfg; The config variables can then be referenced from the script by refering to them in the cfg package space, i.e. $cfg::TEMPLATE_HEADER. The choice was taken to write it in perl, instead of plain text, because it saves extra code in each script to parse the file, and additionally it allows the user extra flexibility enabling the user to create a dynamic configuration file that depends upon the host it's running on, for instance. Please read the warning in the file about making sure that it passes the perl syntax check (perl -c) before commiting updates to it.
OpenPOWER on IntegriCloud