-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.toml
152 lines (108 loc) · 3.67 KB
/
template.toml
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
#####
# Configuration file for iris-export-builder
# Syntax is TOML (https://toml.io/en/).
##### Details about the source files
[Source]
# The type of location: 'directory', 'github' or 'bitbucket'
type = 'github'
# The encoding of the source files, e.g. UTF-8 (default) or CP1252.
encoding = 'UTF-8'
# The type of source code export: 'xml' or 'udl' (default).
srctype = 'udl'
# Directory, relative to the sources root, of the source files.
srcdir = 'src'
# Directory to search for CSP files, if any.
cspdir = 'csp'
# Directory to search for data files to include, if any.
datadir = 'data'
# List of items to skip when building the export. Supports *-style
# wildcards. The items are matched against their full path in the
# repository, e.g. '/src/Strix/Lib/String.cls'.
skip = [
]
# List of items to include in the export. Supports *-style wildcards. If
# this list is empty, all items will be included. Items both in the skip
# and take lists will be excluded. Items are matched against their full
# path in the repository, e.g. '/src/Strix/Lib/String.cls'.
take = [
]
# Details on what to do with CSP items
[CSP]
# How to handle the CSP export: 'embed', 'separate' or 'none'.
export = 'embed'
# One or more parsers for CSP items.
[[CSP.parsers]]
# The regular expression to use to match application and item.
regex = '((/csp)?/[^/]+)/(.+)'
# The application part; can use a capture group, e.g. '\1', or be hardcoded.
app = '\1'
# The item part can also use capture groups
item = '\3'
# If an item does not match: 'error' or 'skip'
nomatch = 'error'
##### Data items
[Data]
# How to handle the data export: 'embed', 'separate', or 'none'
export = 'embed'
##### GitHub details
[GitHub]
# GitHub username (repo owner) and repository
user = ''
repo = ''
# Tag/branch/commit id to create an export for.
tag = 'master'
# GitHub security token to use, if needed.
# Prefix with @ to specify a file containing the token.
token = ''
##### Bitbucket details
[Bitbucket]
# Repository owner and name
owner = ''
repo = ''
# Username and app password, if needed
user = ''
token = ''
# Tag/branch/commit id to create an export for.
tag = 'master'
##### Details about the directory containing the source files
[Directory]
# The path to the repository/checkout
path = ''
##### Server connection details: the server to use to convert UDL to XML.
[Server]
# Hostname or IP address, default 'localhost'
#host = ''
# Caché/IRIS internal web server port, default '52773'
#port = ''
# Namespace to use (default 'USER')
#namespace = ''
# Credentials; default 'SuperUser'/'SYS'
#user = ''
#password = ''
# Whether to connect with HTTPS (default false)
#https = false
##### Details about the export to build and logging
[Local]
# File to place output in. Supports escapes:
# {name}: top-level directory in filesystem or GitHub/Bitbucket zip
# {cfgname}: name (without extension) of configuration file
# {tag}: the download tag as specified under GitHub/Bitbucket
# {timestamp}: Current date/time in format YYYY-MM-DDThh-mm
outfile = '{name}.xml'
# Whether to create an Ensemble deployment file (default: false).
deployment = false
# Directory for the log file.
logdir = ''
# Logging level. One of 'debug', 'info', 'warning', 'error', or 'critical'.
loglevel = 'info'
# Timestamp handling. One of 'clear', 'update', or 'leave' (default).
timestamps = 'leave'
# Force override of export version. Either 25 (Cache) or 26 (IRIS).
export_version = ''
# Whether to sort items in the export file (default: false).
sort = false
# How to convert UDL to XML: 'iris' (the default, uses the server
# specified under [Server]) or 'builtin'.
converter = 'iris'
# Augment/override settings in this file with the one specified here.
augment_from = ''