-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautogit.conf
451 lines (451 loc) · 13.8 KB
/
autogit.conf
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# This is the main autogit configuration file.
# By default autogit will create a local configuration in "$HOME" on the first run.
#
# To use autogit, this file needs to be changed according to the preferred Github,
# Gitlab or AUR source which is containing the PKGBUILD for the application you
# want to build.
#
# The application names are stored in the "reponames" folder and
# need to be set manually in the provided example files. Each file belongs to a
# "*SOURCE*" setting inside this configuration file and can be changed.
# In sum 13 different sources can be enabled and will be updated together,
# 6 Github, 6 Gitlab and 1 AUR source.
# This is useful if you want to update different repos with each repo having a
# separate binary folder. For example: core, extra, community...
#
# Use the options by uncommenting SETGITHUBREPO etc. in the settings below for
# each source.
# Autogit can be run either in a loop with a timer or as a single run.
#
# Use "autogit -h" for more options to maintain packages in a fzf-UI.
#
# The settings are described below:
#
# -----------------------|
# Local configuration file update check:
# This check is required to automatically inform about upstream "autogit.conf"
# changes on package updates, that need to be merged with the local configuration.
# This is the default behavior for easy access to the configuration file.
#
# A alternative would be to delete this file in "~/autogit" and "~/.config/autogit",
# to use the "/etc/autogit/autogit.conf" instead which -
# if changed could be merged with a ".pacnew" file on package updates.
# Please only change this setting when merging a new configuration or when prompted!
#
CONFVER=2.0.0
#
# -----------------------|
# Set default update method:
# There are 2 available modes to check for updates.
#
# 1 = Fast Check: Compare "pkgver"+"pkgrel" and "sha512sums" of PKGBUILD's via "curl".
# (This is a fast, secure and resource friendly way to check for package updates.)
#
# 2 = Secure Check: Compare "pkgver"+"pkgrel" of created ".SRCINFO" files and
# "sha512sums" of "PKGBUILD's" via "git" & "makepkg".
# (This check is the most accurate, but is also the slowest and very CPU-intensive.
# It requires the use of "git" & "makepkg".)
#
UPDCHECK=1
#
# -----------------------|
# Set default build method:
#
# Arch "devtools" - Convenience way option:
# https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot#Convenience_way
# The first argument starts with one of the supported build scripts ("extra-x86_64-build" "multilib-build") etc.
# Edit the options and select "var=3" below to use it.
MBARG1=multilib-build
MBARG2=-c
MBARG3=
MBARG4=
#
# Default Manjaro "chrootbuild" command for unstable,
# edit the options and select "var=2" below to use it.
# Default = "chrootbuild -b unstable -c -p"
MCARG1=-b
MCARG2=unstable
MCARG3=-c
MCARG4=-m
MCARG5=-H
MCARG6=-p
#
# Default "makepkg" command, edit the options and select "var=1" below to use it.
# Default = "makepkg -s -r -c"
MARG1=-s
MARG2=-r
MARG3=-c
MARG4=--noconfirm
MARG5=
MARG6=
#
# Options:
# 3 = Arch "devtools" - Convenience way option #Customizeable
# 2 = Manjaro "chrootbuild" #Customizeable
# 1 = makepkg -src (makepkg only building) #Customizeable
# 0 = makepkg -srci (makepkg with installation)
#
var=1
#
# -----------------------|
# Timer setting in seconds for the auto mode below
timer=600
#
# -----------------------|
# 1 = Run the script in a loop with the above timer setting
# 2 = Run the script manually
mode=2
#
# -----------------------|
# Local Pacman repository database file generation and update via "repo-add"
# 0 = Off
# 1 = On
REPOADD=0
#
# Modify the default "repo-add" command. For more information see: "repo-add -h"
REPOADDCMD="repo-add"
#
# -----------------------|
# Sync all enabled repositories to a custom location via "rsync", for example to: "/etc/pacman.d"
# This functionality may require root access depending on the destination location and only works if "REPOADD" is enabled.
# 0 = Off
# 1 = On
REPOSYNC=0
#
# Set the destination location here:
REPOPATH="/etc/pacman.d"
#
# Modify the default rsync command. For more information see: "rsync -h"
RSYNCCMD="rsync --archive --delete"
#
# -----------------------|
#####################
### GITHUB REPO 1 ###
#####################
# Configure the URL for Github master branch
# Uncomment to SETGITHUBREPO=1 to enable this function
#SETGITHUBREPO=1
#
# This is the default URL for "git clone"
# GITHUBCLONEURLC=https://github.com/
GITHUBCLONEURLC=https://github.com/
#
# This is the default URL to the PKGBUILD
# GITHUBURLC=https://raw.githubusercontent.com/
GITHUBURLC=https://raw.githubusercontent.com/
#
# This is the targeting branch
# BRANCH=master
BRANCH=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITHUBBINARY=repo
#
# Reponames config files
GITHUBSOURCE=$DIR/reponames/github1
#
# -----------------------|
#####################
### GITHUB REPO 2 ###
#####################
# Configure the URL for Github extra repo
# Uncomment to SETCUSTGITHUBREPO=1 to enable this function
#SETCUSTGITHUBREPO=1
#
# This is the default URL for "git clone"
# GITHUBCLONEURLCCUSTOM=https://github.com/
GITHUBCLONEURLCCUSTOM=https://github.com/
#
# This is the default URL to the PKGBUILD
# GITHUBURLCCUSTOM=https://raw.githubusercontent.com/
GITHUBURLCCUSTOM=https://raw.githubusercontent.com/
#
# This is the targeting branch
# BRANCHCUSTOM=master
BRANCHCUSTOM=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITHUBBINARYCUSTOM=githubcustom
#
# Reponames config files
GITHUBSOURCECUSTOM=$DIR/reponames/githubcustom
#
# -----------------------|
#####################
### GITHUB REPO 3 ###
#####################
# Configure the URL for Github extra repo 2
# Uncomment to SETCUSTGITHUBREPO2=1 to enable this function
#SETCUSTGITHUBREPO2=1
#
# This is the default URL for "git clone"
# GITHUBCLONEURLCCUSTOM2=https://github.com/
GITHUBCLONEURLCCUSTOM2=https://github.com/
#
# This is the default URL to the PKGBUILD
# GITHUBURLCCUSTOM2=https://raw.githubusercontent.com/
GITHUBURLCCUSTOM2=https://raw.githubusercontent.com/
#
# This is the targeting branch
# BRANCHCUSTOM2=master
BRANCHCUSTOM2=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITHUBBINARYCUSTOM2=githubcustom2
#
# Reponames config files
GITHUBSOURCECUSTOM2=$DIR/reponames/githubcustom2
#
# -----------------------|
#####################
### GITHUB REPO 4 ###
#####################
# Configure the URL for Github extra repo 3
# Uncomment to SETCUSTGITHUBREPO3=1 to enable this function
#SETCUSTGITHUBREPO3=1
#
# This is the default URL for "git clone"
# GITHUBCLONEURLCCUSTOM3=https://github.com/
GITHUBCLONEURLCCUSTOM3=https://github.com/
#
# This is the default URL to the PKGBUILD
# GITHUBURLCCUSTOM3=https://raw.githubusercontent.com/
GITHUBURLCCUSTOM3=https://raw.githubusercontent.com/
#
# This is the targeting branch
# BRANCHCUSTOM3=master
BRANCHCUSTOM3=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITHUBBINARYCUSTOM3=githubcustom3
#
# Reponames config files
GITHUBSOURCECUSTOM3=$DIR/reponames/githubcustom3
#
# -----------------------|
#####################
### GITHUB REPO 5 ###
#####################
# Configure the URL for Github extra repo 4
# Uncomment to SETCUSTGITHUBREPO4=1 to enable this function
#SETCUSTGITHUBREPO4=1
#
# This is the default URL for "git clone"
# GITHUBCLONEURLCCUSTOM4=https://github.com/
GITHUBCLONEURLCCUSTOM4=https://github.com/
#
# This is the default URL to the PKGBUILD
# GITHUBURLCCUSTOM4=https://raw.githubusercontent.com/
GITHUBURLCCUSTOM4=https://raw.githubusercontent.com/
#
# This is the targeting branch
# BRANCHCUSTOM4=master
BRANCHCUSTOM4=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITHUBBINARYCUSTOM4=githubcustom4
#
# Reponames config files
GITHUBSOURCECUSTOM4=$DIR/reponames/githubcustom4
#
# -----------------------|
#####################
### GITHUB REPO 6 ###
#####################
# Configure the URL for Github extra repo 5
# Uncomment to SETCUSTGITHUBREPO5=1 to enable this function
#SETCUSTGITHUBREPO5=1
#
# This is the default URL for "git clone"
# GITHUBCLONEURLCCUSTOM5=https://github.com/
GITHUBCLONEURLCCUSTOM5=https://github.com/
#
# This is the default URL to the PKGBUILD
# GITHUBURLCCUSTOM5=https://raw.githubusercontent.com/
GITHUBURLCCUSTOM5=https://raw.githubusercontent.com/
#
# This is the targeting branch
# BRANCHCUSTOM5=master
BRANCHCUSTOM5=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITHUBBINARYCUSTOM5=githubcustom5
#
# Reponames config files
GITHUBSOURCECUSTOM5=$DIR/reponames/githubcustom5
#
# -----------------------|
#####################
### GITLAB REPO 1 ###
#####################
# Configure the URL for Gitlab
# Uncomment to SETGITLABREPO=1 to enable this function
#SETGITLABREPO=1
#
# This is the default URL for "git clone"
# GITLABCLONEURL=https://gitlab.manjaro.org/
GITLABCLONEURL=https://gitlab.manjaro.org/
#
# This is the default URL to the PKGBUILD
# GITLABURLC=https://gitlab.manjaro.org/
GITLABURLC=https://gitlab.manjaro.org/
#
# This is the targeting branch
# BRANCHGITLAB=master
BRANCHGITLAB=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITLABBINARY=core
#
# Reponames config files
GITLABSOURCE=$DIR/reponames/gitlab-core
#
# -----------------------|
#####################
### GITLAB REPO 2 ###
#####################
# Configure the URL for Gitlab extra repo
# Uncomment to SETGITLABREPOCUSTOM=1 to enable this function
#SETGITLABREPOCUSTOM=1
#
# This is the default URL for "git clone"
# GITLABCLONEURLCUSTOM=https://gitlab.manjaro.org/
GITLABCLONEURLCUSTOM=https://gitlab.manjaro.org/
#
# This is the default URL to the PKGBUILD
# GITLABURLCCUSTOM=https://gitlab.manjaro.org/
GITLABURLCCUSTOM=https://gitlab.manjaro.org/
#
# This is the targeting branch
# BRANCHGITLABCUSTOM=master
BRANCHGITLABCUSTOM=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITLABBINARYCUSTOM=extra
#
# Reponames config files
GITLABSOURCECUSTOM=$DIR/reponames/gitlab-extra
#
# -----------------------|
#####################
### GITLAB REPO 3 ###
#####################
# Configure the URL for Gitlab extra repo 2
# Uncomment to SETGITLABREPOCUSTOM2=1 to enable this function
#SETGITLABREPOCUSTOM2=1
#
# This is the default URL for "git clone"
# GITLABCLONEURLCUSTOM2=https://gitlab.manjaro.org/
GITLABCLONEURLCUSTOM2=https://gitlab.manjaro.org/
#
# This is the default URL to the PKGBUILD
# GITLABURLCCUSTOM2=https://gitlab.manjaro.org/
GITLABURLCCUSTOM2=https://gitlab.manjaro.org/
#
# This is the targeting branch
# BRANCHGITLABCUSTOM2=master
BRANCHGITLABCUSTOM2=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITLABBINARYCUSTOM2=community
#
# Reponames config files
GITLABSOURCECUSTOM2=$DIR/reponames/gitlab-community
#
# -----------------------|
#####################
### GITLAB REPO 4 ###
#####################
# Configure the URL for Gitlab extra repo 3
# Uncomment to SETGITLABREPOCUSTOM3=1 to enable this function
#SETGITLABREPOCUSTOM3=1
#
# This is the default URL for "git clone"
# GITLABCLONEURLCUSTOM3=https://gitlab.manjaro.org/
GITLABCLONEURLCUSTOM3=https://gitlab.manjaro.org/
#
# This is the default URL to the PKGBUILD
# GITLABURLCCUSTOM3=https://gitlab.manjaro.org/
GITLABURLCCUSTOM3=https://gitlab.manjaro.org/
#
# This is the targeting branch
# BRANCHGITLABCUSTOM3=master
BRANCHGITLABCUSTOM3=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITLABBINARYCUSTOM3=multilib
#
# Reponames config files
GITLABSOURCECUSTOM3=$DIR/reponames/gitlab-multilib
#
# -----------------------|
#####################
### GITLAB REPO 5 ###
#####################
# Configure the URL for Gitlab extra repo 4
# Uncomment to SETGITLABREPOCUSTOM4=1 to enable this function
#SETGITLABREPOCUSTOM4=1
#
# This is the default URL for "git clone"
# GITLABCLONEURLCUSTOM4=https://gitlab.manjaro.org/
GITLABCLONEURLCUSTOM4=https://gitlab.manjaro.org/
#
# This is the default URL to the PKGBUILD
# GITLABURLCCUSTOM4=https://gitlab.manjaro.org/
GITLABURLCCUSTOM4=https://gitlab.manjaro.org/
#
# This is the targeting branch
# BRANCHGITLABCUSTOM4=master
BRANCHGITLABCUSTOM4=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITLABBINARYCUSTOM4=kde-unstable
#
# Reponames config files
GITLABSOURCECUSTOM4=$DIR/reponames/gitlab-kde-unstable
#
# -----------------------|
#####################
### GITLAB REPO 6 ###
#####################
# Configure the URL for Gitlab extra repo 5
# Uncomment to SETGITLABREPOCUSTOM5=1 to enable this function
#SETGITLABREPOCUSTOM5=1
#
# This is the default URL for "git clone"
# GITLABCLONEURLCUSTOM5=https://gitlab.manjaro.org/
GITLABCLONEURLCUSTOM5=https://gitlab.manjaro.org/
#
# This is the default URL to the PKGBUILD
# GITLABURLCCUSTOM5=https://gitlab.manjaro.org/
GITLABURLCCUSTOM5=https://gitlab.manjaro.org/
#
# This is the targeting branch
# BRANCHGITLABCUSTOM5=master
BRANCHGITLABCUSTOM5=master
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
GITLABBINARYCUSTOM5=temp
#
# Reponames config files
GITLABSOURCECUSTOM5=$DIR/reponames/gitlab-temp
#
# -----------------------|
################
### AUR REPO ###
################
# Configure the URL for the AUR
# Uncomment to AURREPO=1 to enable this function
#AURREPO=1
#
AURCLONEURL=https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=
#
AURURL=https://aur.archlinux.org/
#
# Binary Folder (Change according to repo names you want to have e.g. core, community etc.)
AURBINARY=aur
#
# Reponames config files
AURSOURCE=$DIR/reponames/aur
#
# -----------------------|