From: Philippe Virouleau <philippe.virouleau@inria.fr>
To: "Ludovic Courtès" <ludovic.courtes@inria.fr>,
"Jakob Kirsch" <jakob.kirsch@web.de>
Cc: 72281-done@debbugs.gnu.org
Subject: [bug#72281] [PATCH] Guix Packager: add copy feature for fetch command
Date: Mon, 26 Aug 2024 08:52:48 +0200 [thread overview]
Message-ID: <a7bcbaeb-be91-4075-b16b-db0ea24b53a6@inria.fr> (raw)
In-Reply-To: <87r0akvfl4.fsf@gnu.org>
Hi Ludo and Jakob,
Thanks a lot, that looks great to me :)
Regards,
Philippe
On 8/19/24 14:53, Ludovic Courtès wrote:
> Hello,
>
> (Cc: Philippe, the author of Guix Packager.)
>
> Jakob Kirsch <jakob.kirsch@web.de> skribis:
>
>> ---
>> 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
>> --- 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 (
>> - <div>
>> + <div
>> + onClick={() => {
>> + navigator.clipboard.writeText(getFetchHelp(method, url, version))
>> + }}>
>> <Typography variant="body2">
>> - You may compute the sha256 by running the following command(s):
>> + You may compute the sha256 by running the following command(s) (click to copy):
>
> I took the liberty to apply this patch and it’s now deployed:
>
> https://guix-hpc.gitlabpages.inria.fr/guix-packager/
>
> Philippe, lemme know if anything needs to be tweaked. :-)
>
> Thanks for your contribution!
>
> Ludo’.
prev parent reply other threads:[~2024-08-26 6:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-24 22:26 [bug#72281] [PATCH] Guix Packager: add copy feature for fetch command Jakob Kirsch via Guix-patches via
2024-08-19 12:53 ` bug#72281: " Ludovic Courtès
2024-08-26 6:52 ` Philippe Virouleau [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a7bcbaeb-be91-4075-b16b-db0ea24b53a6@inria.fr \
--to=philippe.virouleau@inria.fr \
--cc=72281-done@debbugs.gnu.org \
--cc=jakob.kirsch@web.de \
--cc=ludovic.courtes@inria.fr \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).