-
Notifications
You must be signed in to change notification settings - Fork 1
/
product_release.conf.in
204 lines (174 loc) · 5.98 KB
/
product_release.conf.in
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# ------------------------------------------------------------------------------
# This is a template, sample configuration file for use with the
# product_release.pl tool. The configuration variables used in it are
# defined in a Perl-like definition of a hash table
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# Product identity configuration variables
# ------------------------------------------------------------------------------
# Name of product to be packaged
DEVEL_PRODUCT_RELEASE_CONFIG_NAME => "@DEVEL_PRODUCT_NAME@",
# Version of product to be packaged
DEVEL_PRODUCT_RELEASE_CONFIG_VERSION => "@DEVEL_PRODUCT_VERSION@",
# Name of the release tag used
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_NAME => "@DEVEL_PRODUCT_RELEASE_TAG@",
# ------------------------------------------------------------------------------
# Product management configuration variables
# ------------------------------------------------------------------------------
# The name of the source code version control tool used for
# management of this product. Valid values are:
# - "CVS"
# - "none"
DEVEL_PRODUCT_RELEASE_CONFIG_SOURCE_CODE_VERSION_CONTROL_TOOL => "CVS",
# The name of the copyright license used for this product. Valid
# values are:
# - "GPL"
# - "<custom_name>"
# - "none"
DEVEL_PRODUCT_RELEASE_CONFIG_COPYRIGHT_LICENSE => "GPL",
# The name of the file containing a copy of the copyright license used
# for this product.
DEVEL_PRODUCT_RELEASE_CONFIG_COPYRIGHT_LICENSE_FILENAME => "doc/COPYING",
# The names of the files that should be excluded from any checks to
# see if the copyright license used for this product is included in
# them. This list of files should usually include binary files, or
# even text files that cannot possibly contain a text version of the
# licence (e.g. XFig files, PDF, plaintext files). Valid values are
# Perl-like regular expressions, and should follow the format:
#
# => (
# "\.pdf"
# ),
DEVEL_PRODUCT_RELEASE_CONFIG_COPYRIGHT_LICENSE_FILES_LIST_EXCLUDED
=> [
"\.pdf"
],
# ------------------------------------------------------------------------------
# Release behavior configuration variables
# ------------------------------------------------------------------------------
# Type of release file that will be created. Valid values are:
# - "tar.gz"
# - "tar.bz2"
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_FILETYPE => "tar.gz",
# Should a ChangeLog be generated from the source code version control
# tool, if one is used for management of this product ? Valid values are:
# - 0
# - 1
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_CREATE_CHANGELOG => 1,
# Should all files that will be packaged be checked if they are
# properly tagged within the source code version control tool, if one
# is used for management of this product ? Valid values are:
# - 0
# - 1
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_CHECK_TAGS => 0,
# Should all files that will be packaged be checked if they contain
# the designated copyright license banner set for this product ?
# Valid values are:
# - 0
# - 1
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_CHECK_LICENSE => 0,
# Should custom checks be performed during the attempt to release this
# product ? Valid values are:
# - 0
# - 1
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_CHECK_CUSTOM => 0,
# List of executable files that will be invoked as additional checks
# during the attempt to release this product. A return value of 0
# indicates that the check succeeded. Otherwise it failed. Valid
# values follow the format:
# => {
# "check_name_1" => "file_to_be_executed_for_check_1_with_its_arguments",
# "check_name_2" => "file_to_be_executed_for_check_2_with_its_arguments",
# ...
# },
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_CHECK_CUSTOM_LIST
=> {
# "ls command works" => "ls",
# "uname works" => "uname -a",
},
# ------------------------------------------------------------------------------
# Release contents configuration variables
# ------------------------------------------------------------------------------
# List of files that will be included in the release. This is a list
# of regular expressions describing the files to be included. Valid
# values are Perl-like regular expressions, and should follow the
# format:
#
# => [
# "COPYING",
# "README",
# "src/",
# "doc/manual/"
# ],
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_FILES_LIST_INCLUDED
=> [
'configure$',
"configure.in",
'ChangeLog.*$',
"regen.sh",
"release.sh",
"release_main.sh.in",
"Makefile.in",
"doc/AUTHORS",
"doc/COPYING",
"doc/DEVELOPING",
"doc/TODO",
"doc/manpages",
"doc/manual",
"doc/paper_introduce",
"src/daemon",
"src/glue",
"src/other",
"src/lib/product",
"src/scripts",
"src/tests",
"src/WebReports",
"packaging/debian",
"packaging/distribute",
"packaging/redhat/.*in",
"packaging/redhat/rpmmacros_orig",
"packaging/windows",
"product_release.conf.in"
],
# List of files that will be excluded in the release. This is a list
# of regular expressions describing the files to be excluded. The list
# of excluded files supercedes the list of included files. Valid
# values are Perl-like regular expressions, and should follow the
# format:
#
# => [
# "CVS",
# "~",
# ".#"
# ],
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_FILES_LIST_EXCLUDED
=> [
'doc/manpages/Makefile$',
'doc/manual/Makefile$',
'doc/paper_introduce/Makefile$',
'packaging/debian/control$',
'packaging/debian/rules$',
'src/tests/Makefile$',
'CVS/Entries$',
'CVS/Repository$',
'CVS/Root$',
'CVS/Tag$',
'CVS/Template$',
'~',
'.#'
],
# List of files that will be excluded from tag checks in the
# release. This is a list of regular expressions describing the files
# to be excluded. The list of excluded files supercedes the list of
# included files. Valid values are Perl-like regular expressions, and
# should follow the format:
#
# => [
# "doc/INSTALL",
# "Makefile",
# ],
DEVEL_PRODUCT_RELEASE_CONFIG_RELEASE_TAG_FILES_LIST_EXCLUDED
=> [
'^configure$',
'ChangeLog'
],