From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iFcqBfx/oWZUbAAA62LTzQ:P1 (envelope-from ) for ; Wed, 24 Jul 2024 22:28:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iFcqBfx/oWZUbAAA62LTzQ (envelope-from ) for ; Thu, 25 Jul 2024 00:28:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=web.de header.s=s29768273 header.b="BH/bNDqq"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721860091; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tz6WNSvo/Yadx2hjShJDRBT/1IU9M9Q7Yr8s0r+R4GU=; b=GRd8lTpOBnAzgyxrFm65BVMboZNPFsEgLPMTvX1NmOGXmzbA7Wo3G2z3ykfBNYjLwLy3ms 6Ofi4F4hCZ2j6BUB3Hi93+Ku/5VOoTEeOYjv8q+G9LhDA2c0sSczt+DDHNI4TkUCTRhbbh JkhPPD2uZuL7jzv2dw2Jci8t4t2xitmAqoFAe/ei8GzP9osx4ufstCWDW9ByjuRIYhNor6 F9wV7dNKSc2B6qOhSrYCQxzNsr5XbbuvX93+lLsvkp0qInGtAUDndzULAUo9PwJLNi5eBQ WPXmtANW1hEkZGW4EGlMajFvyqJcrQu3xdiz+h+b+jG56/2khS4hifXZkmWCjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721860091; a=rsa-sha256; cv=none; b=VmX39pnr3vY4DMw2cTpV6chv3qcMebrXUcN6eOxuzPj32+5a+SFVrGnQT9T1xT/+mdHhN2 G8QfwpHrlpvDdcwGNYfXHkdqWeDUGusdvr3ayZ7F5yjzvlMhYCV65ynWeHM7cpS2nFPjI0 3c6wbh4W+AKu/HppEc/G51wMmZFWvJkLSv6dGbOwCTeaBNXALet8Aannf7kmdp4iHlmryb nJcEKsXp0rnO6b1aOLi/LDfPk+pxhshvOmuofIiyHDKrxOGUzTWDjscwVCKTG+GEDpv2cx 2JglkHZSbD8J2nqSRc4QA0OFEWo8UQY13//jeKDfhzzjVnPPs6IvXjkPJpAD/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=web.de header.s=s29768273 header.b="BH/bNDqq"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A14E274D8D for ; Thu, 25 Jul 2024 00:28:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWkSk-0003s9-8x; Wed, 24 Jul 2024 18:27:58 -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 ) id 1sWkSi-0003om-Ha for guix-patches@gnu.org; Wed, 24 Jul 2024 18:27:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWkSi-00052e-9L for guix-patches@gnu.org; Wed, 24 Jul 2024 18:27:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWkSo-0007uv-C7 for guix-patches@gnu.org; Wed, 24 Jul 2024 18:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72281] [PATCH] Guix Packager: add copy feature for fetch command Resent-From: Jakob Kirsch Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Jul 2024 22:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72281 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72281@debbugs.gnu.org Cc: Jakob Kirsch X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172186008030423 (code B ref -1); Wed, 24 Jul 2024 22:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 22:28:00 +0000 Received: from localhost ([127.0.0.1]:34661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWkSm-0007ud-Hj for submit@debbugs.gnu.org; Wed, 24 Jul 2024 18:28:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:58746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWkSk-0007uS-5L for submit@debbugs.gnu.org; Wed, 24 Jul 2024 18:27:59 -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 ) id 1sWkSd-0003jX-GM for guix-patches@gnu.org; Wed, 24 Jul 2024 18:27:51 -0400 Received: from mout.web.de ([212.227.15.4]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWkSb-00051g-I4 for guix-patches@gnu.org; Wed, 24 Jul 2024 18:27:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1721860062; x=1722464862; i=jakob.kirsch@web.de; bh=tz6WNSvo/Yadx2hjShJDRBT/1IU9M9Q7Yr8s0r+R4GU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID: MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=BH/bNDqq997eigf+XJFqiJofqYlHnpek7jNZreojtP+OYfqKHAy+XCq/KvHZV//I HTPpVXcALkKjWKg/++C+8nEyAo83yyq6WIkuZcV/6xant/z9wbmaXL8ycQMIiS9qa IjMWzmynOKCmNO9sRCCSRVKmdNCizXVzMfYYvvczWsXw8LZ3pKNmIvLRWcpLcW9l1 4FeDPa2OrDEa83EBODK8hGQw3XUZktwTqmv3BLODslDy4L+FPeVbibafPvILjKPmp ZHO9mE63X22Ksn3Gm9Os6/V9UF5YXn/NPYFZKvtlTl2+mOhzHCx3yd3qLZZe8NRJt c7swTKFUQAvjT4Hm5w== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from kernelpanicroom.fritz.box ([134.19.55.247]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MRF3I-1stkx00Xqu-00J2QH; Thu, 25 Jul 2024 00:27:42 +0200 Date: Thu, 25 Jul 2024 00:26:23 +0200 Message-ID: <20240724222709.6417-1-jakob.kirsch@web.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:2VeLJiQ0xiDPQSdwbjY/3M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WqUlCn36BDw== Received-SPF: pass client-ip=212.227.15.4; envelope-from=jakob.kirsch@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jakob Kirsch X-ACL-Warn: , Jakob Kirsch via Guix-patches From: Jakob Kirsch via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.92 X-Spam-Score: -0.92 X-Migadu-Queue-Id: A14E274D8D X-Migadu-Scanner: mx11.migadu.com X-TUID: BWDxGMiBgkYK =2D-- src/components/inputs/SourceInput.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/inputs/SourceInput.tsx b/src/components/inputs= /SourceInput.tsx index aa1b714..2f67425 100644 =2D-- a/src/components/inputs/SourceInput.tsx +++ b/src/components/inputs/SourceInput.tsx @@ -136,9 +136,12 @@ function HashHelp({ method, url, version }: { method: Method, url: UrlType, version: string }) { return ( -
+
{ + navigator.clipboard.writeText(getFetchHelp(method, url, version)) + }}> - You may compute the sha256 by running the following command(s): + You may compute the sha256 by running the following command(s) (c= lick to copy):