GNU logs - #77884, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#77884] [PATCH] gnu: trash-cli: Install shell completions.
Resent-From: Andrew Wong <wongandj@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 18 Apr 2025 04:12:05 +0000
Resent-Message-ID: <handler.77884.B.174494947425668 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 77884
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 77884 <at> debbugs.gnu.org
Cc: Andrew Wong <wongandj@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174494947425668
          (code B ref -1); Fri, 18 Apr 2025 04:12:05 +0000
Received: (at submit) by debbugs.gnu.org; 18 Apr 2025 04:11:14 +0000
Received: from localhost ([127.0.0.1]:49174 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u5d4K-0006fi-NG
	for submit <at> debbugs.gnu.org; Fri, 18 Apr 2025 00:11:14 -0400
Received: from lists.gnu.org ([2001:470:142::17]:46460)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <wongandj@HIDDEN>)
 id 1u5d4E-0006cG-8f
 for submit <at> debbugs.gnu.org; Fri, 18 Apr 2025 00:11:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <wongandj@HIDDEN>)
 id 1u5d43-0003D7-8l
 for guix-patches@HIDDEN; Fri, 18 Apr 2025 00:10:55 -0400
Received: from p-east3-cluster3-host12-snip6-10.eps.apple.com
 ([2a01:b747:3006:204::7b] helo=outbound.qs.icloud.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <wongandj@HIDDEN>)
 id 1u5d40-0001E8-TY
 for guix-patches@HIDDEN; Fri, 18 Apr 2025 00:10:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com;
 s=1a1hai; bh=IixZKkJjNg+tSj6SxuLOwEAu0PiaIVhUqlCV1qCjUZg=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme;
 b=qXICndxt1FnWT+jjn2ert9BOv66hFipSuPCDwXKZ4WNu9itOSg/jmAH7rfriW2ajn
 HCGI2mPp5fNUTOAyQTNxN+e6Fu/DhLjKxGspqJ17rw1Wa1gUh2FDOy25zUMyFxVWCK
 UEC3dcQSVLTan6uIZvV59nPAIwlryHBmTdspWZ/7VIdttblf+SPPoDOmQNvicEp+wf
 BWVqPvMMkGjogh7uutTAkZzf5cNAhmNTGmMguCZ60dePiX9TnUuyrTBXz8FjW/3D4y
 n9+etIAL+52PpfFtUpDMfYXo5DkyW4Cg8SP6YFLTQl+Hd15Af5UlI2PgVn4REgqaH1
 Qax/KgwV44seg==
Received: from wongworks.lan (qs-asmtp-me-k8s.p00.prod.me.com [17.57.155.37])
 by outbound.qs.icloud.com (Postfix) with ESMTPSA id D656D180014A;
 Fri, 18 Apr 2025 04:10:46 +0000 (UTC)
From: Andrew Wong <wongandj@HIDDEN>
Date: Fri, 18 Apr 2025 00:10:39 -0400
Message-ID: <71d35b161b07d6d4193a173d4e51dbb61338c752.1744949439.git.wongandj@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Proofpoint-ORIG-GUID: VfNzHLn2joY47xxeoRwG4niBfy52x4-9
X-Proofpoint-GUID: VfNzHLn2joY47xxeoRwG4niBfy52x4-9
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.272,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34
 definitions=2025-04-18_01,2025-04-17_01,2024-11-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
 mlxlogscore=719
 adultscore=0 bulkscore=0 spamscore=0 suspectscore=0 malwarescore=0
 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.19.0-2308100000 definitions=main-2504180028
Received-SPF: pass client-ip=2a01:b747:3006:204::7b;
 envelope-from=wongandj@HIDDEN; helo=outbound.qs.icloud.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

* gnu/packages/shellutils.scm (trash-cli)[arguments]<#:phases>Install shell completions.

Change-Id: I0b165155d1da8069837bd9b93990dfaf0ff7de52
---
 gnu/packages/shellutils.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index ea6dcafbc9..aae50d8d4c 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -672,7 +672,31 @@ (define-public trash-cli
                    (replace 'check
                      (lambda* (#:key tests? #:allow-other-keys)
                        (when tests?
-                         (invoke "pytest")))))))
+                         (invoke "pytest"))))
+                   (add-after 'wrap 'install-completions
+                     (lambda _
+                       (for-each
+                        (lambda (binary)
+                          (for-each
+                           (lambda (shell-completion-data)
+                             (mkdir-p
+                              (string-append
+                               #$output (dirname (cdr shell-completion-data))))
+                             (with-output-to-file
+                                 (format
+                                  #f (string-append
+                                      #$output (cdr shell-completion-data))
+                                  (basename binary))
+                               (lambda _
+                                 (invoke binary "--print-completion"
+                                         (car shell-completion-data)))))
+                           '(("bash" . "/share/bash-completion/completions/~a")
+                             ("zsh" . "/share/zsh/site-functions/_~a")
+                             ("tcsh" . "/etc/profile.d/~a.completion.csh"))))
+                        (find-files
+                         (string-append #$output "/bin/")
+                         (lambda (file stat)
+                           (not (string-suffix? "-real" file))))))))))
     (native-inputs (list python-flexmock
                          python-mock
                          python-parameterized

base-commit: f7c41ab31f5023023385500f6eb9083d23dd1ccb
-- 
2.49.0





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Andrew Wong <wongandj@HIDDEN>
Subject: bug#77884: Acknowledgement ([PATCH] gnu: trash-cli: Install shell
 completions.)
Message-ID: <handler.77884.B.174494947425668.ack <at> debbugs.gnu.org>
References: <71d35b161b07d6d4193a173d4e51dbb61338c752.1744949439.git.wongandj@HIDDEN>
X-Gnu-PR-Message: ack 77884
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 77884 <at> debbugs.gnu.org
Date: Fri, 18 Apr 2025 04:12:07 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 77884 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
77884: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77884
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 7 Jun 2025 13:32:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 07 09:32:33 2025
Received: from localhost ([127.0.0.1]:47363 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uNtey-00016a-Qx
	for submit <at> debbugs.gnu.org; Sat, 07 Jun 2025 09:32:33 -0400
Received: from p-east3-cluster5-host6-snip4-1.eps.apple.com
 ([57.103.86.182]:46608 helo=outbound.qs.icloud.com)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <wongandj@HIDDEN>)
 id 1uNtev-00016L-Rh
 for control <at> debbugs.gnu.org; Sat, 07 Jun 2025 09:32:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com;
 s=1a1hai; bh=maa64qWvthFoGMrXqr44cano4INkaT6t7Or5M6phQcM=;
 h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type:x-icloud-hme;
 b=N+mzEaIgZs/iLVA103OIPKoSCY1+cIgEp25B03zFbQh82TNnj/kgAgbuxPaNzjIXi
 ioeXlz7aut17UaO1I+HFhh9q/nTYRSbMsfBFuLZ3Flb/wz8c9/qy/2aaL4sZ5LzqX/
 5P+rBwVtaBKqu2r5+iadugT+IgUheW+dGFsbouN5vhXXSJO8CnQwGfMXhZetCOFCiR
 pw8sbb8FVyEeZej97Rnwi78FJrXuSydHwf9j69uRnLu2lXCFZeoCEBQ06xnEF//TUn
 MlHKEBYcwt0eoLVBi1v4gm8tcAVQ8lDCx4q4tbcW97fznRYvaa+PvwmTGorFAlR4GU
 gl7SAmeYTPcBg==
Received: from outbound.qs.icloud.com (localhost [127.0.0.1])
 by outbound.qs.icloud.com (Postfix) with ESMTPS id 039E81800228
 for <control <at> debbugs.gnu.org>; Sat,  7 Jun 2025 13:32:22 +0000 (UTC)
Received: from [192.168.86.109] (qs-asmtp-me-k8s.p00.prod.me.com
 [17.57.155.37])
 by outbound.qs.icloud.com (Postfix) with ESMTPSA id 5BF2B18001E5
 for <control <at> debbugs.gnu.org>; Sat,  7 Jun 2025 13:32:22 +0000 (UTC)
Message-ID: <88afd5e4-df3c-4e1e-a523-a79966fcdc8d@HIDDEN>
Date: Sat, 7 Jun 2025 09:32:21 -0400
MIME-Version: 1.0
User-Agent: Icedove Daily
Content-Language: en-US
To: control <at> debbugs.gnu.org
From: Andrew Wong <wongandj@HIDDEN>
Subject: Close
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Proofpoint-GUID: iFk2r9f_PEaJH0pUJ2GkOaeivo59sSPC
X-Proofpoint-ORIG-GUID: iFk2r9f_PEaJH0pUJ2GkOaeivo59sSPC
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40
 definitions=2025-06-07_05,2025-06-05_01,2025-03-28_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0
 clxscore=1015 malwarescore=0 phishscore=0 spamscore=0 adultscore=0
 mlxlogscore=364 suspectscore=0 bulkscore=0 classifier=spam adjust=0
 reason=mlx scancount=1 engine=8.22.0-2503310001 definitions=main-2506070096
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  close 78024 close 77884 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in
 bl.spamcop.net
 [Blocked - see <https://www.spamcop.net/bl.shtml?17.57.155.37>]
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [57.103.86.182 listed in sa-trusted.bondedsender.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (wongandj[at]icloud.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [57.103.86.182 listed in bl.score.senderscore.com]
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

close 78024
close 77884





Last modified: Sat, 7 Jun 2025 13:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.