From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] update_check/gnome: also check for 2.* and 4.* version
Date: Fri, 15 Oct 2021 17:44:47 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33569@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
There is a new pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages update-gtk
https://github.com/void-linux/void-packages/pull/33569
update_check/gnome: also check for 2.* and 4.* version
Split from #33327.
- check for 2.* (example: `gtk+` currently misses version 2.24.33)
- check for 4.* (example: `gtk4` currently misses version 4.4.0)
- change check for 0.* to ignore devel (e.g. `vala` currently includes 0.53.2 which afaict should be ignored b/c it's development)
Maybe the `[0-4]` I added should be `[0-9]`, or `[0-9]+`.
CC: @paper42, also @sgn since I believe he made the last changes to this regexp. Feel free to redo and drop this PR as you see convenient.
A patch file from https://github.com/void-linux/void-packages/pull/33569.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-gtk-33569.patch --]
[-- Type: text/x-diff, Size: 1204 bytes --]
From 0cfe40a90934dadc67c0d79079930894e3d2b2e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 11 Oct 2021 19:22:17 -0300
Subject: [PATCH] update_check/gnome: also check for 2.* and 4.* version
---
common/xbps-src/shutils/update_check.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh
index 0a624274f500..1e66025d8e3b 100644
--- a/common/xbps-src/shutils/update_check.sh
+++ b/common/xbps-src/shutils/update_check.sh
@@ -131,7 +131,7 @@ update_check() {
url="https://bitbucket.org/$pkgurlname/downloads"
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d.]+(?=\.tar)';;
*ftp.gnome.org*|*download.gnome.org*)
- : ${pattern="\Q$pkgname\E-\K(0|[13]\.[0-9]*[02468]|[4-9][0-9]+)\.[0-9.]*[0-9](?=)"}
+ : ${pattern="\Q$pkgname\E-\K([0-4]\.[0-9]*[02468]|[4-9][0-9]+)\.[0-9.]*[0-9](?=)"}
url="https://download.gnome.org/sources/$pkgname/cache.json";;
*kernel.org/pub/linux/kernel/*)
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;
next reply other threads:[~2021-10-15 15:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-15 15:44 tornaria [this message]
2021-10-19 11:43 ` sgn
2021-10-19 11:44 ` sgn
2021-10-19 11:50 ` sgn
2022-01-20 14:22 ` tornaria
2022-01-20 14:22 ` [PR PATCH] [Closed]: " tornaria
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33569@inbox.vuxu.org \
--to=tornaria@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).