blob: 373aa1f41bc65ac6954a84b45234d0be65e0e4e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $FreeBSD$
####################################################################
####################################################################
# This file contains configuration for the CVSROOT perl scripts.
# WARNING: You are strongly adviced to check for syntax errors
# in this file before committing it. Use: perl -c cfg.pm
####################################################################
####################################################################
package cfg;
use strict;
use vars qw(%TEMPLATE_HEADERS);
############################################################
#
# Configurable options
#
############################################################
################
### logcheck ###
################
# These are the optional headers that can be filled at the end of
# each commit message. The associated value is a regular-expression
# that is used to type-check the entered value. If a match fails
# then the commit is rejected. (See rcstemplate).
#
# Make sure that these are also described in the rcstemplate to
# make their usage clear to committers.
%TEMPLATE_HEADERS = (
"Reviewed by" => '.*',
"Submitted by" => '.*',
"Obtained from" => '.*',
"Approved by" => '.*',
"PR" => '.*',
"MFC after" => '\d+(\s+(days?|weeks?|months?))?'
);
#end
|