From: zimoun <zimon.toutoune@gmail.com>
To: jgart <jgart@dismail.de>, Guix Devel <guix-devel@gnu.org>
Cc: Lars-Dominik Braun <lars@6xq.net>
Subject: Re: guix pypi-ls
Date: Sun, 06 Nov 2022 19:23:22 +0100 [thread overview]
Message-ID: <8635awlz6t.fsf@gmail.com> (raw)
In-Reply-To: <20221105124719.GB17020@dismail.de>
Hi,
On Sat, 05 Nov 2022 at 12:47, jgart <jgart@dismail.de> wrote:
> I have this one off script I call `pypi-ls` for listing tar files on
> standard output from pypi to see if they contain tests:
>
> #!/bin/env sh
>
> exec wget -qO- $1 | tar xvz
Well, I think you can avoid the extraction. Something like:
exec wget -qO- $1 | tar tz
I have some tiny Guix script that extract the source URL from a package,
but I am not happy with it. Other said, from my point of view, the most
annoying part is to form the PyPI URL, i.e., get $1. :-) For instance, I
have something like,
guix download $(guix repl -- pypi.scm pygls@.13) | tar tz
and we could imagine a better UI. It could be nice to have an
extension, say “guix upstream”, that does some of the left part of the
pipe.
Cheers,
simon
prev parent reply other threads:[~2022-11-06 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-05 17:47 guix pypi-ls jgart
2022-11-05 17:49 ` jgart
2022-11-06 18:23 ` zimoun [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=8635awlz6t.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
/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).