forked from repology/repology-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepology.conf.default
155 lines (134 loc) · 3.64 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
#
# Repology webapp default configuration
#
# This file contains default values for all Repology webapp
# settings. You may override them in `repology.conf` file,
# or any other file specifying path to it in REPOLOGY_CONF
# environment variable.
#
# Since this file is managed by git, you're advised to not
# change values for your local setup here. Instead, override them
# in `repology.conf`
#
# Postgresql database connect string
#
# Used by repology-update and repology-app
# Overridable via --dsn command line arg
#
DSN = "dbname=repology user=repology password=repology"
#
# Path to directory containing SQL queries
#
# Use by repology-update and repology-app
# Overridable with --sql-dir command line arg
#
SQL_DIR = "sql.d"
#
# 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
REDIRECTS_PER_PAGE = 200
TRENDING_PER_PAGE = 25
CVES_PER_PAGE = 200
#
# Max reports for metapackage
#
MAX_REPORTS = 20
#
# Min spread for projects which get into sitemap
#
# Note that if you want value < 5, you may need to change the
# conditional index on metapackages(num_families) correspondingly
# for performance
#
SITEMAP_PROJECTS_MIN_SPREAD = 5
#
# Address of repology.org to use in HTML links
#
REPOLOGY_HOME = 'https://repology.org'
#
# Address of Repology webapp repository
#
REPOLOGY_WEBAPP_REPO_URL = 'https://github.com/repology/repology-webapp'
#
# Address of Repology updater repository
#
REPOLOGY_UPDATER_REPO_URL = 'https://github.com/repology/repology-updater'
#
# Address of Repology rules repository
#
REPOLOGY_RULES_REPO_URL = 'https://github.com/repology/repology-rules'
#
# Address of Repology link checker repository
#
REPOLOGY_LINKCHECKER_REPO_URL = 'https://github.com/repology/repology-linkchecker'
#
# Address of Repology vuln updater repository
#
REPOLOGY_VULNUPDATER_REPO_URL = 'https://github.com/repology/repology-vulnupdater'
#
# Path to DejaVuSans.ttf
#
# This is used to calculate SVG badge sizes
#
#BADGE_FONT = '/usr/local/share/fonts/dejavu/DejaVuSans.ttf' # FreeBSD
#BADGE_FONT_BOLD = '/usr/local/share/fonts/dejavu/DejaVuSans-Bold.ttf' # FreeBSD
#BADGE_FONT = '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf' # Ubuntu
#BADGE_FONT_BOLD = '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.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'
#
# Point of time before which all history times are treated
# as unreliable
#
# When a new instance is initialized, historical data (such
# as information on known software releases) is initialized
# with current time, and it is not accurate because releases
# actually appeared in the past. Set this to unix time after
# the first instance update to make such unreliable timestamps
# ignored
#
HISTORY_CUTOFF_TIMESTAMP = 0