* [PR PATCH] common/travis/xpkgdiff.sh: use newly-added arguments
@ 2022-09-04 9:11 classabbyamp
2022-09-06 15:27 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2022-09-04 9:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 650 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages ci/xpkgdiff-update
https://github.com/void-linux/void-packages/pull/39093
common/travis/xpkgdiff.sh: use newly-added arguments
it works without this, but it uses repo-default by default, so this should maybe speed some things up.
see also leah-neukirchen/xtools#261
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
A patch file from https://github.com/void-linux/void-packages/pull/39093.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci/xpkgdiff-update-39093.patch --]
[-- Type: text/x-diff, Size: 1555 bytes --]
From a6c60a8e44d838c4696dea0f99057a9c3960cea4 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 4 Sep 2022 05:08:09 -0400
Subject: [PATCH] common/travis/xpkgdiff.sh: use newly-added arguments
it works without this, but it uses repo-default by default, so this
should maybe speed some things up.
---
common/travis/xpkgdiff.sh | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/common/travis/xpkgdiff.sh b/common/travis/xpkgdiff.sh
index a36fd76e5d88..7caabe4b0b71 100755
--- a/common/travis/xpkgdiff.sh
+++ b/common/travis/xpkgdiff.sh
@@ -2,9 +2,10 @@
#
# xpkgdiff.sh
-export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo XBPS_HOSTDIR="$HOME/hostdir"
+export XBPS_DISTDIR=/hostrepo XBPS_HOSTDIR="$HOME/hostdir"
export DIFF='diff --unified=0 --report-identical-files --suppress-common-lines
--color=always --label REPO --label BUILT'
+ARGS="-a $2 -R https://repo-ci.voidlinux.org/current"
while read -r pkg; do
for subpkg in $(xsubpkg $pkg); do
@@ -12,11 +13,11 @@ while read -r pkg; do
--repository=$HOME/hostdir/binpkgs/nonfree \
-i "$subpkg" >&/dev/null; then
/bin/echo -e "\x1b[34mFile Diff of $subpkg:\x1b[0m"
- xpkgdiff -f $subpkg
+ xpkgdiff $ARGS -f $subpkg
/bin/echo -e "\x1b[34mMetadata Diff of $subpkg:\x1b[0m"
- xpkgdiff -S $subpkg
+ xpkgdiff $ARGS -S $subpkg
/bin/echo -e "\x1b[34mDependency Diff of $subpkg:\x1b[0m"
- xpkgdiff -x $subpkg
+ xpkgdiff $ARGS -x $subpkg
else
/bin/echo -e "\x1b[33m$subpkg wasn't found\x1b[0m"
fi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: common/travis/xpkgdiff.sh: use newly-added arguments
2022-09-04 9:11 [PR PATCH] common/travis/xpkgdiff.sh: use newly-added arguments classabbyamp
@ 2022-09-06 15:27 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-09-06 15:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
There's a merged pull request on the void-packages repository
common/travis/xpkgdiff.sh: use newly-added arguments
https://github.com/void-linux/void-packages/pull/39093
Description:
it works without this, but it uses repo-default by default, so this should maybe speed some things up.
see also leahneukirchen/xtools#261
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-06 15:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-04 9:11 [PR PATCH] common/travis/xpkgdiff.sh: use newly-added arguments classabbyamp
2022-09-06 15:27 ` [PR PATCH] [Merged]: " classabbyamp
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).