From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] xbps-src: update-check: print out match pattern in verbose mode
Date: Tue, 13 Apr 2021 22:48:35 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30219@inbox.vuxu.org> (raw)
[-- 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"
next reply other threads:[~2021-04-13 20:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-13 20:48 Chocimier [this message]
2021-04-17 19:34 ` [PR PATCH] [Merged]: " Chocimier
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-30219@inbox.vuxu.org \
--to=chocimier@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).