Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles
@ 2022-08-29 18:41 classabbyamp
  2022-11-28  2:04 ` github-actions
  2022-11-28  2:22 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: classabbyamp @ 2022-08-29 18:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages update-check-fixes
https://github.com/void-linux/void-packages/pull/38971

common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles
...unless they use the update override file

<!-- 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/38971.patch is attached

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

From 038f92114d5a056e966b530c68f38a7676a7abbf Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 29 Aug 2022 14:37:27 -0400
Subject: [PATCH] common/xbps-src/shutils/update_check.sh: ignore pkgs without
 distfiles

unless they use the update override file
---
 common/xbps-src/shutils/update_check.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh
index ec53ed9f38e6..dfac386347ba 100644
--- a/common/xbps-src/shutils/update_check.sh
+++ b/common/xbps-src/shutils/update_check.sh
@@ -13,6 +13,11 @@ update_check() {
         if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
             echo "using $XBPS_TARGET_PKG/update overrides" 1>&2
         fi
+    elif [ -z "$distfiles" ]; then
+        if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
+            echo "NO DISTFILES found for $original_pkgname" 1>&2
+        fi
+        return 0
     fi
 
     if ! type curl >/dev/null 2>&1; then

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

* Re: common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles
  2022-08-29 18:41 [PR PATCH] common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles classabbyamp
@ 2022-11-28  2:04 ` github-actions
  2022-11-28  2:22 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2022-11-28  2:04 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/38971#issuecomment-1328431848

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Merged]: common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles
  2022-08-29 18:41 [PR PATCH] common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles classabbyamp
  2022-11-28  2:04 ` github-actions
@ 2022-11-28  2:22 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-11-28  2:22 UTC (permalink / raw)
  To: ml

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

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

common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles
https://github.com/void-linux/void-packages/pull/38971

Description:
...unless they use the update override file

<!-- 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] 3+ messages in thread

end of thread, other threads:[~2022-11-28  2:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-29 18:41 [PR PATCH] common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles classabbyamp
2022-11-28  2:04 ` github-actions
2022-11-28  2:22 ` [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).