Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] common/xbps-src/shutils/update_check.sh: fix url for gitlab
@ 2023-05-19 19:20 icp1994
  2023-05-21 15:22 ` tornaria
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: icp1994 @ 2023-05-19 19:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages fix-gitlab-update-check
https://github.com/void-linux/void-packages/pull/43944

common/xbps-src/shutils/update_check.sh: fix url for gitlab
#### Testing the changes
- I tested the changes in this PR: **YES**

All update checks which only rely on Gitlab are currently broken. The `code.videolan.org` counterpart also works with this change.

A patch file from https://github.com/void-linux/void-packages/pull/43944.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-gitlab-update-check-43944.patch --]
[-- Type: text/x-diff, Size: 2234 bytes --]

From d8dc3e603554894a425f31f461a000203eeae0da Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Fri, 19 May 2023 19:23:08 +0530
Subject: [PATCH 1/3] common/xbps-src/shutils/update_check.sh: fix url for
 gitlab

---
 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 cd3bb369bdb3..e656cf06fbcc 100644
--- a/common/xbps-src/shutils/update_check.sh
+++ b/common/xbps-src/shutils/update_check.sh
@@ -136,7 +136,7 @@ update_check() {
                     */-/*) pkgurlname="$(printf %s "$url" | sed -e 's%/-/.*%%g; s%/$%%')";;
                     *) pkgurlname="$(printf %s "$url" | cut -d / -f 1-5)";;
                 esac
-                url="$pkgurlname/tags"
+                url="$pkgurlname/-/tags"
                 rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d.]+(?=\.tar\.gz")';;
             *bitbucket.org*)
                 pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)"

From 6a6e0e9a639d8c3e88c9927521902dffb4d1a3e7 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 20 May 2023 00:40:07 +0530
Subject: [PATCH 2/3] megapixels: remove redundant update checker

---
 srcpkgs/megapixels/update | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 srcpkgs/megapixels/update

diff --git a/srcpkgs/megapixels/update b/srcpkgs/megapixels/update
deleted file mode 100644
index 3172862eef09..000000000000
--- a/srcpkgs/megapixels/update
+++ /dev/null
@@ -1 +0,0 @@
-site="https://gitlab.com/postmarketOS/megapixels/-/tags"

From e72e86b64833f6e8f5f453444a7c3f5d0edcf1bf Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 20 May 2023 00:41:47 +0530
Subject: [PATCH 3/3] goimapnotify: remove redundant update checker

---
 srcpkgs/goimapnotify/update | 2 --
 1 file changed, 2 deletions(-)
 delete mode 100644 srcpkgs/goimapnotify/update

diff --git a/srcpkgs/goimapnotify/update b/srcpkgs/goimapnotify/update
deleted file mode 100644
index b9a4e2b6728e..000000000000
--- a/srcpkgs/goimapnotify/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="https://gitlab.com/shackra/goimapnotify/-/tags/"
-pattern="goimapnotify-\K[\d.]*(?=\.tar\.gz)"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-31  2:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19 19:20 [PR PATCH] common/xbps-src/shutils/update_check.sh: fix url for gitlab icp1994
2023-05-21 15:22 ` tornaria
2023-05-31  2:40 ` sgn
2023-05-31  2:40 ` [PR PATCH] [Closed]: " sgn

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).