From 9ef858d8027b0890642e867271cb3bb92338b02e Mon Sep 17 00:00:00 2001 From: icp Date: Sun, 6 Nov 2022 15:12:41 +0530 Subject: [PATCH 1/3] common/xbps-src/shutils/update_check.sh: tweak url and rx for git.sr.ht Accommodate for tarballs in refs named after commit hash. --- common/xbps-src/shutils/update_check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index e7193c98ffad..7d4e3314a970 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -162,8 +162,8 @@ update_check() { rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d.]+(?=\.tar\.gz")';; *git.sr.ht*) pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)" - url="https://git.sr.ht/$pkgurlname/refs" - rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d.]+(?=\.tar\.gz")';; + url="https://git.sr.ht/$pkgurlname/refs/rss.xml" + rx='\Q'"${url%/*}"'\E/(v-?|\Q'"$pkgname"'\E-)?\K[\d.]+(?=)' ;; *pkgs.fedoraproject.org*) url="https://pkgs.fedoraproject.org/repo/pkgs/$pkgname" ;; esac From 3aa659eb82db6bc693d5f63560618cfe3bede5f2 Mon Sep 17 00:00:00 2001 From: icp Date: Sun, 6 Nov 2022 15:27:18 +0530 Subject: [PATCH 2/3] clickclack: remove redundant update file --- srcpkgs/clickclack/update | 1 - 1 file changed, 1 deletion(-) delete mode 100644 srcpkgs/clickclack/update diff --git a/srcpkgs/clickclack/update b/srcpkgs/clickclack/update deleted file mode 100644 index 963c41fa75bc..000000000000 --- a/srcpkgs/clickclack/update +++ /dev/null @@ -1 +0,0 @@ -pattern='\s{12}\K[\d.]+' From f1fb7117d3c3e141b46d2befdfc5999464911e6c Mon Sep 17 00:00:00 2001 From: icp Date: Sun, 6 Nov 2022 15:27:49 +0530 Subject: [PATCH 3/3] wlopm: remove redundant update file --- srcpkgs/wlopm/update | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 srcpkgs/wlopm/update diff --git a/srcpkgs/wlopm/update b/srcpkgs/wlopm/update deleted file mode 100644 index a0f8bcfb49e3..000000000000 --- a/srcpkgs/wlopm/update +++ /dev/null @@ -1,2 +0,0 @@ -site="https://git.sr.ht/~leon_plickat/wlopm/refs" -pattern="v\K\d+\.\d+\.\d+(?=)"