Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / bash


Commits:
81b1bb9a by Levente Polyak at 2026-06-08T20:29:18+02:00
nvchecker: keep track of patch versions

Thanks for the report. I've worked out a variant with a combiner source,
it doesn't solve the problem that we need to keep adjusting the
subdirectory for the patches, however, the combiner variant will
properly take note of new major versions (and fail updating on the wrong
subdirectory location). So it would automatically keep track of latest
major releases, avoid silently being stuck, and after adjusting the
nvchecker subdirectory would work as expected again.

Fixes: #4

- - - - -


1 changed file:

- .nvchecker.toml


Changes:

=====================================
.nvchecker.toml
=====================================
@@ -1,5 +1,16 @@
+["bash:major"]
+source = "regex"
+url = "https://ftp.gnu.org/gnu/bash/";
+regex = 'bash-([\.\d]+)\.tar\.gz'
+exclude_regex = ".*(pre|a|alpha|b|beta|r|rc|RC|BETA|ALPHA).*"
+
+["bash:patch"]
+source = "regex"
+url = "https://ftp.gnu.org/gnu/bash/bash-5.3-patches/";
+regex = 'bash[\d]+-0*([\.\d]+)'
+exclude_regex = ".*(pre|a|alpha|b|beta|r|rc|RC|BETA|ALPHA).*"
+
 [bash]
-source = 'git'
-git = 'https://https.git.savannah.gnu.org/git/bash.git'
-prefix = 'bash-'
-include_regex = 'bash-([\d.]+)'
+source = "combiner"
+from = ["bash:major", "bash:patch"]
+format = "$1.$2"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bash/-/commit/81b1bb9a73bcd4458a1041b374109d9500f44b44

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bash/-/commit/81b1bb9a73bcd4458a1041b374109d9500f44b44
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to