From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GLYgNIIEaGNGLAAAbAwnHQ (envelope-from ) for ; Sun, 06 Nov 2022 20:01:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8FAxM4IEaGN9hgAAG6o9tA (envelope-from ) for ; Sun, 06 Nov 2022 20:01:22 +0100 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 8BA9114E8A for ; Sun, 6 Nov 2022 20:01:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orksq-0003gA-H9; Sun, 06 Nov 2022 14:00:40 -0500 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 1orksl-0003fc-If for guix-devel@gnu.org; Sun, 06 Nov 2022 14:00:37 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orksg-0004dy-9C for guix-devel@gnu.org; Sun, 06 Nov 2022 14:00:33 -0500 Received: by mail-wm1-x32d.google.com with SMTP id p13-20020a05600c468d00b003cf8859ed1bso6004735wmo.1 for ; Sun, 06 Nov 2022 11:00:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Z/+WgIEZKsG8YEIbuc8PrWLNGKKgnJ34s+4eZlm5N6U=; b=AJP9HTndO7DhRW/euJbrduC7YVbvNjJCdWZJ628Qd0MR8Lg+dl0KqS59w7G4U0XbcU Pej5mPeTX4jNpY6JwVWP9JHt0Kj3KuIaLv09qg6qMapbzmEjmfNTMJ+eQCDnl/h7GTi5 1GKwaqkQ7VrI5wtHbyrvVif79EmSrpZ4HxisWpNIWbk24+tU6PSDpUU7XWyGv9Btp5dS Yn1yJeeRVwkccrHTOCMCbFNFsYLaKwm1HQE35AM80BiM6qTrC0g5CBhCpFpWrT4qHuii Dfle97Zl2dLoHzyYBk+1rjED1WgMWnUgRja0kx0nDX8s8LJXP9tetSef1i3mm7delzc4 CuKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z/+WgIEZKsG8YEIbuc8PrWLNGKKgnJ34s+4eZlm5N6U=; b=sBfW8IGzP6ET9ul/7LjTzLcDzhs0QjRU3JJgtlO4LGEcjjVOM7W/z+vvPuVtSrdCtH mEjSqqSGX30BL4k+mW2jiP6XNKMmeBFwjZaDfO3MnyRVdb55fTK7cy+TzNXc0I2YoSyw q7LOj/FAJ/O9v5J3K5ck5bsA3gGRbJYMyuJ0XCKSTSHQCrKYkyG+jwk5iJu3HtzK6y1Z YElFK7FJ7i9J/l0wkFrO0IGDC3VV9SRe++DCRNy5cGZ8+EOCZQVLSaoxtliLqPXuqBKi 1klE7e5A1kqKkXmS1wcxKAaxKO0mF9ZJl2rCxt7EPvRRbjEgI56s2VjaqFQ3WAAyQ0YW Pamg== X-Gm-Message-State: ACrzQf0BcA54ll+Xj1DvdZaGK/IxpN4r3kBdWT5rMa5Xmb8wdYEcgXRE FWWv510cyRXLrRAB3Wk8XzE= X-Google-Smtp-Source: AMsMyM7w/+fTVTcHPvC5JzLTDxAQnn+6eUexQzB6dk1JMHi2l9VjNHbduYEy+N9zj+v/LT996Iqy1g== X-Received: by 2002:a05:600c:2cbb:b0:3c6:c4d9:6004 with SMTP id h27-20020a05600c2cbb00b003c6c4d96004mr40332916wmc.66.1667761227465; Sun, 06 Nov 2022 11:00:27 -0800 (PST) Received: from lili (2a01cb04061b8800e2568b9190e03e61.ipv6.abo.wanadoo.fr. [2a01:cb04:61b:8800:e256:8b91:90e0:3e61]) by smtp.gmail.com with ESMTPSA id z17-20020adfec91000000b002366e8eee11sm5224533wrn.101.2022.11.06.11.00.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 11:00:26 -0800 (PST) From: zimoun To: jgart , Guix Devel Cc: Lars-Dominik Braun Subject: Re: guix pypi-ls In-Reply-To: <20221105124719.GB17020@dismail.de> References: <20221105124719.GB17020@dismail.de> Date: Sun, 06 Nov 2022 19:23:22 +0100 Message-ID: <8635awlz6t.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667761282; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Z/+WgIEZKsG8YEIbuc8PrWLNGKKgnJ34s+4eZlm5N6U=; b=LQbmxtnShMzuNJuy+iBJya2uynLQtfPAFbrJDrppwORV1qNQj7GKDYveHkSMOmaHtWQtPk 7V72C9oJEpwazHE1IgmV/n2sT7EW/6ryWw5gfu3V/2ECH/Ed5QpUn0OhGxUJP1CMv9P07M 0mVcGG0sSdc2kE15nIjH3w6MqKB0RvqSR/frOrJZEnc4g2hW/GPrBjtPtF+KcXTx5pvnd0 OD20hsfViZJ18tOHwvUn/5LosMBKm7qrjKvAO4WD6kyfcXqy8BplB2KCttckqS2+8MLG3q CwonUTfk+Jg0cdajqv9cG3I1kBhKhdRvoG3JNikLC3L+zGjizIO0l0+GyPaU1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667761282; a=rsa-sha256; cv=none; b=D/SZoSMGLgiwhwYipuut7IiOK6+CPC6aUWLOW7OSzeMRdiUn1BA7Ft4/8a6YyHdcIE6012 qeotrQ/Gcy+L6MAOiWmlMXTY9/cghsouEuygXj/e3gnIEIgODpGVNjkLNG0YmmEu/jvrj6 0X9xWsbpOWRsOVirOttdLPjpH0JTlMcWB5VfDfFgYcivHwhjIbh1TT52P2c+pUZahODhMp IbV9/EhwjDibXvB07gcG7TM51psns2DsW7rxrF6SeggXnjX/hlna/r56Xwj4Au3MBQ18tW aLkwPtvoMPzTSmAUaqw3YZWhSgNyb8bFJJBPpBPxjE8jKgWzFFOyGNm5H2rOFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AJP9HTnd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AJP9HTnd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8BA9114E8A X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: LvWw8ZT1Yijm Hi, On Sat, 05 Nov 2022 at 12:47, jgart 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 =E2=80=9Cguix upstream=E2=80=9D, that does some of the left = part of the pipe. Cheers, simon