Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xbps-src: update-check: print out match pattern in verbose mode
@ 2021-04-13 20:48 Chocimier
  2021-04-17 19:34 ` [PR PATCH] [Merged]: " Chocimier
  0 siblings, 1 reply; 2+ messages in thread
From: Chocimier @ 2021-04-13 20:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Chocimier/void-packages-org update-check-pattern
https://github.com/void-linux/void-packages/pull/30219

xbps-src: update-check: print out match pattern in verbose mode


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

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

From 047acc97d8cf72e0659f661b88c1f4f800d1393d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 13 Apr 2021 22:46:19 +0200
Subject: [PATCH] xbps-src: update-check: print out match pattern in verbose
 mode

---
 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 3cbbfe95c2ac..2ef29e78f299 100644
--- a/common/xbps-src/shutils/update_check.sh
+++ b/common/xbps-src/shutils/update_check.sh
@@ -82,7 +82,7 @@ update_check() {
         if [ "$rx" ]; then
             # substitute url if needed
             if [ -n "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
-                echo "(folder) fetching $urlpfx" 1>&2
+                echo "(folder) fetching $urlpfx and scanning with $rx" 1>&2
             fi
             skipdirs=
             curl -A "xbps-src-update-check/$XBPS_SRC_VERSION" --max-time 10 -Lsk "$urlpfx" |
@@ -169,7 +169,7 @@ update_check() {
         fi
 
         if [ -n "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
-            echo "fetching $url" 1>&2
+            echo "fetching $url and scanning with $rx" 1>&2
         fi
         curl -H 'Accept: text/html,application/xhtml+xml,application/xml,text/plain,application/rss+xml' -A "xbps-src-update-check/$XBPS_SRC_VERSION" --max-time 10 -Lsk "$url" |
             grep -Po -i "$rx"

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

* Re: [PR PATCH] [Merged]: xbps-src: update-check: print out match pattern in verbose mode
  2021-04-13 20:48 [PR PATCH] xbps-src: update-check: print out match pattern in verbose mode Chocimier
@ 2021-04-17 19:34 ` Chocimier
  0 siblings, 0 replies; 2+ messages in thread
From: Chocimier @ 2021-04-17 19:34 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

xbps-src: update-check: print out match pattern in verbose mode
https://github.com/void-linux/void-packages/pull/30219

Description:


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

end of thread, other threads:[~2021-04-17 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 20:48 [PR PATCH] xbps-src: update-check: print out match pattern in verbose mode Chocimier
2021-04-17 19:34 ` [PR PATCH] [Merged]: " Chocimier

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