-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.yml
More file actions
35 lines (27 loc) · 867 Bytes
/
config.yml
File metadata and controls
35 lines (27 loc) · 867 Bytes
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
# FTP Configuration
rate_limit: 20
ftp_server: "ftp.iana.org"
dir_loc: "tz/releases"
tzdata_loc: "tzdata/"
iana_sig_loc: "sig/tzdata/iana/"
du_sig_loc: "sig/tzdata/dateutil/"
fetch_errors_out: "errors.yml"
# Zoneinfo Configuration
zoneinfo_metadata_loc: "zonefile_metadata/"
zoneinfo_format_str: "zonefile_{version}.json"
zonefile_latest_fname: "zonefile_metadata.json"
# Index file location
index_loc: "_data/index.yml"
latest_loc: "_data/latest.yml"
# Index keys
version_key: 'version'
data_key: 'tzdata'
iana_sig_key: 'tzdata_iana_sig'
du_sig_key: 'tzdata_dateutil_sig'
zoneinfo_key: 'zonefile_metadata'
# Base metadata file
base_metadata_file: "base_metadata.json"
# Data and signature file identification
data_regex: 'tzdata(?P<version>\d{4}.)\.tar\.gz$'
sig_regex: 'tzdata(?P<version>\d{4}.)\.tar\.gz.asc$'
zi_regex: 'zonefile_(?P<version>\d{4}.).json'