forked from repology/repology-updater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
repology.conf.default
182 lines (156 loc) · 3.96 KB
/
repology.conf.default
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
#
# Repology default configuration file
#
# These settings are used in web application and as defaults
# for all command line utilities. You may override them in
# repology.conf file in project root or in any custom file,
# as long as you set path to it in REPOLOGY_CONF environment
# variable
############################################################################
# COMMON SETTINGS
############################################################################
#
# Postgresql database connect string
#
# Used by repology-update and repology-app
# Overridable via --dsn command line arg
#
DSN = "dbname=repology user=repology password=repology"
#
# Directory to store repository data in
#
# Used in repology-update and repology-dump
# Overridable via --statedir command line arg
#
STATE_DIR = "_state"
#
# Path to directory containing repository configuration YAML files
#
# Used by repology-update, repology-app, repology-dump
# Overridable via --repos-dir command line arg
#
REPOS_DIR = "repos.d"
#
# Path to directory containing package transformation rules YAML files
#
# Used by repology-update
# Overridable via --rules-dir command line arg
#
RULES_DIR = "rules.d"
#
# Path to directory containing SQL queries
#
# Use by repology-update and repology-app
# Overridable with --sql-dir command line arg
#
SQL_DIR = "sql.d"
#
# Array of repository names or tags to work with
#
# Used by repology-update and repology-dump
# Overridable via free command line args
#
REPOSITORIES = ['production']
#
# Enable safety checks, such as check for minimal package count
#
# Used by repology-update
# Overridable via free command line args
#
ENABLE_SAFETY_CHECKS = True
############################################################################
# UPDATE SETTINGS
############################################################################
#
# Path to helpers directory
#
# Helpers are small programs or scripts used to parse repository
# data in different formats which are hard to parse directly from
# python
#
# Used by repology-update
#
HELPERS_DIR = "helpers"
#
# Path to tclsh
#
# tclsh is used to parse macports repository
#
# Used by repology-update
#
TCLSH = "tclsh"
############################################################################
# WEBAPP SETTINGS
############################################################################
#
# Secret key for flask, see
# http://flask.pocoo.org/docs/0.12/api/#flask.Flask.secret_key
#
# There's no default value, please set it to some random string
#
#SECRET_KEY = ''
#
# Admin password
#
# There's no default value, meaning that admin login is disabled
#
ADMIN_PASSWORD = None
#
# Enable webapp profiling
#
PROFILE = False
#
# Enable pretty and deterministic JSON in API
#
PRETTY_JSON = False
#
# Items per page
#
METAPACKAGES_PER_PAGE = 200
MAINTAINERS_PER_PAGE = 500
PROBLEMS_PER_PAGE = 500
TURNOVER_PER_PAGE = 350
HISTORY_PER_PAGE = 500
REPORTS_PER_PAGE = 100
#
# Max reports for metapackage
#
MAX_REPORTS = 20
#
# Address of repology.org to use in HTML links
#
REPOLOGY_HOME = 'https://repology.org'
#
# Address of Repology main repository
#
REPOLOGY_MAIN_REPO_URL = 'https://github.com/repology/repology'
#
# Address of Repology rules repository
#
REPOLOGY_RULES_REPO_URL = 'https://github.com/repology/repology-rules'
#
# Path to DejaVuSans.ttf
#
# This is used to calculate SVG badge sizes
#
#BADGE_FONT = '/usr/local/share/fonts/dejavu/DejaVuSans.ttf' # FreeBSD
#BADGE_FONT = '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf' # Ubuntu
#
# AFK times when reports cannot be processed, to be reported to users
# array of strings in 'YYYY-MM-DD' (single date) or 'YYYY-MM-DD
# YYYY-MM-DD' (date interval) format
#
STAFF_AFK = []
#
# Metapackages for which reports are disabled to counter spam or inadequate reporters
#
DISABLED_REPORTS = []
#
# IPs to display invitation to join the project to
#
INVITED_IPS = []
#
# Default timezone to use in the web interface
# The webapp tries to replace this to user's local timezone with javascript
#
DEFAULT_TIMEZONE = 'UTC'