aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgbuilds/remind/.nvchecker.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgbuilds/remind/.nvchecker.toml b/pkgbuilds/remind/.nvchecker.toml
new file mode 100644
index 0000000..7f58eac
--- /dev/null
+++ b/pkgbuilds/remind/.nvchecker.toml
@@ -0,0 +1,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).*'