aboutsummaryrefslogtreecommitdiffstats
path: root/config.ini.in
blob: c9215edcf83b9acca82f0c5aa2f2f3cae4a8f9bf (plain)
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
; The settings in the @default section serve as global settings or
; fallback settings for every OS version.
[@default]
;;;;;;;;;;;;;;;;;;;
;; Main settings ;;
;;;;;;;;;;;;;;;;;;;

; Required: OS distribution name
;
distro = Adélie

; Required: list of repositories and the architectures they support
;
repos = system aarch64 ppc ppc64 pmmx x86_64
        user aarch64 ppc ppc64 pmmx x86_64



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Database builder settings ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Required: APKINDEX locations
; Substitutions: {version}, {repo}, {arch}
;
index = https://mirrormaster.adelielinux.org/adelie/{version}/{repo}/{arch}/APKINDEX.tar.gz

; Optional: packages to exclude when building a database
;
;ignore = console-fonts
;         console-keymaps

; Optional: override the STARTDIR for each package name (one package
; name / STARTDIR pair per line)
;
;startdirs = easy-kernel-5.4.66-mc1 system/easy-kernel
;            easy-kernel-5.4.5-mc0 system/easy-kernel



; Optional: enables bug tracking - API endpoint for Bugzilla
;
;bz.api = https://bts.adelielinux.org/rest.cgi

; Required for bug tracking: Bugzilla product
;
;bz.product = Adélie Linux

; Required for bug tracking: Bugzilla component
;
;bz.component = Packaging

; Required for bug tracking: custom bug field for STARTDIR on which to
; match
;
;bz.field = cf_package

; Optional: filter by bug status
;
;bz.status = UNCONFIRMED
;            CONFIRMED
;            IN_PROGRESS



; Optional: enables merge request tracking - Gitlab API endpoint for the
; project
;gl.api = https://git.adelielinux.org/api/v4/projects/45
; Required for merge request tracking: branch for this OS version on
; Gitlab
;gl.branch = master



;;;;;;;;;;;;;;;;;;
;; CGI settings ;;
;;;;;;;;;;;;;;;;;;

; Required: default OS version
; This is the OS version that the main page of the application (e.g.
; /pkg/) will redirect to (e.g. /pkg/current).
;
cgi.default_version = current

; Required: data directory
; This is the directory in which the web application looks for the SQL
; database files.
;
; This option should only be specified in the @default section.
;
cgi.data = /var/db/apkvitrine

; Optional: enable static HTML caching
; Each page that the web application believes to be static (for the
; lifetime of the SQL database) will be cached underneath this
; directory. Combined with FastCGI, this makes loading latencies very
; low. It should be manually emptied after the SQL database is updated.
;
; This directory should already exist, or be creatable by the user under
; which the web application runs.
;
; This option should only be specified in the @default section.
;
;cgi.cache = /var/tmp/apkvitrine



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Web application settings ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Optional: number of packages per page (default: 25)
;
;web.pagination = 25

; Optional: URL for revision links (default: not shown)
; Substitutions: {revision}
;
;web.url.rev = https://git.adelielinux.org/adelie/packages/-/commit/{revision}

; Optional: URL for source directory for this OS version (default: not shown)
; Substitutions: {startdir}
;
;web.url.tree = https://git.adelielinux.org/adelie/packages/-/tree/master/{startdir}

; Optional: URL for bug (default: not shown)
; Substitutions: {id}
;
;web.url.bug = https://bts.adelielinux.org/show_bug.cgi?id={id}

; Optional: URL for merge request (default: not shown)
; Substitutions: {id}
;
;web.url.mr = https://git.adelielinux.org/adelie/packages/-/merge_requests/{id}

; Optional: add a Repology badge with a link (specify both; default: not
; shown)
;
;web.repology.link = https://repology.org/tools/project-by?repo=adelie_current&name_type=binname&target_page=project_history&name=
;web.repology.badge = https://repology.org/tools/project-by?repo=adelie_current&name_type=binname&target_page=badge_version_for_repo&name=

; Optional: enable builders page
; Include the following section name to enable the web application's
; builder monitoring page. This requires the specification of a Gitlab
; API token below.
;
;[@builders]
; Required for builders page: Gitlab API token (PRIVATE-TOKEN) that can
; view the above project's runners list
;
;gl.token = YOUR-TOKEN-HERE

; Required for the builders page: Gitlab API endpoint for the project
; with which the runners are associated
;
;gl.api = https://git.adelielinux.org/api/v4/projects/76



;;;;;;;;;;;;;;;;;;;;;;;;;;
;; OS version overrides ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;

; Add a section for each OS version. Any options can be overridden
; within, or only specified for a particular version, and so on.
[current]



[1.0-beta4]
;web.tree_url = https://git.adelielinux.org/adelie/packages/-/tree/1.0-BETA4/{startdir}