blob: 7f58eac9530b913192e3c4eedd0956b2f7afda00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
[remind]
source = 'regex'
url = 'https://dianne.skoll.ca/projects/remind/'
# Not sure why but test shows if use sth. like \. and \1, must use single quote
# ' instead of double quote ", else error: "jq: parse error: Invalid literal at
# line 1, column 7"; if want to use double quote ", must use sth. like \\. and
# \\1
regex = 'The current version of remind is <b>([0-9]+\.[0-9]+\.[0-9]+)</b>'
# convert the version name from sth. like 06.00.01 to 6.0.1 to match PKGBUILD
# version name, so `pkgctl version upgrade` can correctly upgrade PKGBUILD
# version
from_pattern = '0*([0-9]+)\.0*([0-9]+)\.0*([0-9]+)'
to_pattern = '\1.\2.\3'
# another way, not preferred because salsa.debian.org was down at 2025-09-14T09:52Z,
# so this website seems less reliable
#source = 'git'
# not using https://git.skoll.ca/Skollsoft-Public/Remind because it requires
# user and password "notabot"
#git = 'https://salsa.debian.org/dskoll/remind'
# tags in https://git.skoll.ca/Skollsoft-Public/Remind shows some tags in the
# past used RC in the name
#exclude_regex = '.*(BETA|feature|RC).*'
|