From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AJFnEUxSV2OIEgEAbAwnHQ (envelope-from ) for ; Tue, 25 Oct 2022 05:04:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4JFLEExSV2NfDAAAG6o9tA (envelope-from ) for ; Tue, 25 Oct 2022 05:04:44 +0200 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 F2FE71B7 for ; Tue, 25 Oct 2022 05:04:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onAEc-0004TB-48; Mon, 24 Oct 2022 23:04: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 ) id 1onAEZ-00043i-Mk for guix-devel@gnu.org; Mon, 24 Oct 2022 23:04:07 -0400 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onAEX-0003Qy-GI for guix-devel@gnu.org; Mon, 24 Oct 2022 23:04:07 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id bb96c0c7 for ; Tue, 25 Oct 2022 05:03:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:subject:references:mime-version:content-type :content-transfer-encoding; s=20190914; bh=c3/U07cqJAWYB/py1xyZP kQ/30UvSpWpPmJK/YkdtlA=; b=HhZwSBeEGgZ8rHM3nCGIrxumaDB1Qu7EAA7h+ PCTOMQXvEFf57oVNoH8aD83sS0/FZCgA1OOukyN64M5RbJ/Ysmju4VOgqfIEjzif TqXpnEJGF9O8OHGTu0nREANiA6BtzDrcSe19ncDslXnEjPqxsYYeWRDGY88LOAwS Nm3wTK9tOEud0rRZi8wpV3R9VSUHZXOKOy/zhwePMVkSoEZSxva/FbOC6xQMGbje 06SpHF7qaMlxko3BuQVCST7lYavOxY/X4pS54mEtUG1IJ2aBrJDkzf4FrPfNo7jn oRiS5wqbIXTFPo4hsPnypMk9zlHWlIeIwCpaAh+kx8sTQXECA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2cfe6996 for ; Tue, 25 Oct 2022 05:03:59 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 83661e22 for ; Tue, 25 Oct 2022 05:03:59 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c4523991 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 25 Oct 2022 05:03:58 +0200 (CEST) Date: Mon, 24 Oct 2022 22:03:54 -0500 Message-ID: <20221024220354.GB24100@dismail.de> From: jgart To: Guix Devel Subject: * TODO Guix json dump all python packages in channel (CLI) References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.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, RCVD_IN_DNSWL_LOW=-0.7, 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: , Sender: "Guix-devel" Errors-To: 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=1666667083; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=c3/U07cqJAWYB/py1xyZPkQ/30UvSpWpPmJK/YkdtlA=; b=TwVqivRt/Kkpi6Dgzehr9nyKOmTdZ9NrY2k0D0LE0D21/W7r6tGPgvn6a02UGS0PN801Xo BUMURiG0rzKupI+AchxeMqZhgdwr5fctrEQxWgu72JTi0FS4EyUR+r2fBSOxpgU8NybslA cxnER16BULtv3QenOGUlbp4eTEB/iEokIMsqj4zb8bR+zPrIq2mOsL7AqHuqp9LhC9MmMQ LGbLmOEtjRnLMUpJoq80bvTRsRS2IlF9mc/yxH5jKwHZpoSCpQ7/0anrD6rvBoVjszyPRm S+CkXqgeW2qRQ/U7MVl05qyyWHcSk+wuI87LFH+HMEiOAIWW5PFToZjVQTyCOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666667083; a=rsa-sha256; cv=none; b=BXR+g7FtPtuAr6BBxvQb6spJzYLkstEvT/czNZzHtUsTPtSipxtjascd99hNpMYCJGqiZX ZttNBwV2IKc8vpZERkb/XOcOrc/g55nFrFLwdBXl24bkm80h7xIJaxLgLHFmhnEifQmcPa uVQq/HVvtqesNS30PXBBuDqjHrR0S1cmtFdC3MgvmqkHP4eUQkyZFBsCCLi6MRBk9lJNjQ 87Mg3iP2WYb7u2EKcCh9alfRBd7BGhKjEjd72cz220R4K2MNqHwBIsFiG8OoOh4EvDkVIs mfNJ04Sjmp7khw+MCs+06oWChS1dBagWiTJZ3flAhxSFIcjt+HPfplZmOHYi6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=HhZwSBeE; dmarc=pass (policy=reject) header.from=dismail.de; 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: -5.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=HhZwSBeE; dmarc=pass (policy=reject) header.from=dismail.de; 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: F2FE71B7 X-Spam-Score: -5.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6a0GKvxyNkre looking at this: https://github.com/NixOS/nixos-search/blob/main/flake-info/src/commands/nixpkgs_info.rs#L14 i thought... Wouldn't it be cool if you could do ``` guix dump -L my-guix-channel/ --json --filter=py ``` I know it's possible by writing Guix API code. And I know it's possible to slap a srfi-37 on it and ship it. I'm just being lazy and posting to guix-devel instead of taking the time to implement it. * DONE