From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eLYTEzmB7WBCngAAgWs5BA (envelope-from ) for ; Tue, 13 Jul 2021 14:04:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kP7LDjmB7WA9XwAA1q6Kng (envelope-from ) for ; Tue, 13 Jul 2021 12:04:09 +0000 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 E93A52DFE3 for ; Tue, 13 Jul 2021 14:04:08 +0200 (CEST) Received: from localhost ([::1]:37906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3H8x-0002a4-Vf for larch@yhetil.org; Tue, 13 Jul 2021 08:04:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3H8u-0002Zl-GW for guix-patches@gnu.org; Tue, 13 Jul 2021 08:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3H8s-0008R1-QL for guix-patches@gnu.org; Tue, 13 Jul 2021 08:04:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3H8s-0004z3-Nf for guix-patches@gnu.org; Tue, 13 Jul 2021 08:04:02 -0400 Subject: bug#33286: Add 'list-formats' to 'guix pack' Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 13 Jul 2021 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33286 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Efraim Flashner Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 33286-done@debbugs.gnu.org Mail-Followup-To: 33286@debbugs.gnu.org, maxim.cournoyer@gmail.com, efraim@flashner.co.il Received: via spool by 33286-done@debbugs.gnu.org id=D33286.162617783119137 (code D ref 33286); Tue, 13 Jul 2021 12:04:02 +0000 Received: (at 33286-done) by debbugs.gnu.org; 13 Jul 2021 12:03:51 +0000 Received: from localhost ([127.0.0.1]:39625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3H8h-0004ya-Hn for submit@debbugs.gnu.org; Tue, 13 Jul 2021 08:03:51 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:33286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3H8f-0004yO-5Q for 33286-done@debbugs.gnu.org; Tue, 13 Jul 2021 08:03:50 -0400 Received: by mail-qk1-f174.google.com with SMTP id 23so25852qke.0 for <33286-done@debbugs.gnu.org>; Tue, 13 Jul 2021 05:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=PXVdOHlmBdRAzuG5njD1GflJoErxaMcUEJP7KEMRnAI=; b=Hk2OmVy/v0OiX/0P7oOF3LBZEPNc90ieYlKa9n8xlPUtCPp7GP7/dD8AtbDNhP+uej xJXtgszN78B66p8N4m8XbRBmoP1MHEuoqm4sOYT3ms46LI/rQviZWqoEEAi2NRP1EHsD gkkUiYrsvl2sVkPW6Ulj7X1vroABgmDCIHzOjs/PFU7mWC5xwUr9wv3GQ7sVjVM8B1tj AvTAlc38z8TagQ9tvNipQbO4DM98FCk0oUT4OsTafnHyKX5TkA3Xjmap4Pd32jrBpXG+ k68ppbNo+cNONWdSqfi8WNtlwYS1LlhqyK85uJsbUd1G25IH8NEVijKALGiIWem531nN zBgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=PXVdOHlmBdRAzuG5njD1GflJoErxaMcUEJP7KEMRnAI=; b=kKfmrMNAEJ+2YDpZpMfr6ZNos9GswA2zhEUf8G5zPZTp9XuDuydE8G/U9WAiHmlNLW Yi05u+dbQ8XlygFpxsy1m75T1zwiB6wnx3vsG9/isX7J6dZfAqOvQzRmAIETSr7hCS2o NgTlMAvSKuANIeChnzuNUn3HWQjeGHBeLWbKccVyqKQVeerW9x0qS21wAhTZqZWd1Mfh 4rH9ywXijq2ffcWq7yBBCafk1ilxmrsD8RgmPyfm3DM05PfQgzHWfNtmsRJ5SrAMPenh Zxy87NBYI2W0Hlw3arPMSR8Gvfy7Tg8/Q3rSeIZDAjEGPk8Fl0KtxlEtWcrzsNVroOI4 zGEA== X-Gm-Message-State: AOAM531IQjZt3aK/KFBps3oVPozWsxXUnI9mQHGcalm9NyoCQZnjdNaG 1UNfan/K4ktu11hBs06/kobMyT/b0QcVfg== X-Google-Smtp-Source: ABdhPJy+g5VEM7uYYyJOOdeanvd1T7CUWBkgF0ZE3uXYTl74zOpGTpYIueVX0YfvgpU76HcO0AFVCA== X-Received: by 2002:ae9:dd46:: with SMTP id r67mr2797816qkf.380.1626177823581; Tue, 13 Jul 2021 05:03:43 -0700 (PDT) Received: from hurd (dsl-10-136-19.b2b2c.ca. [72.10.136.19]) by smtp.gmail.com with ESMTPSA id l5sm7871615qkb.62.2021.07.13.05.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jul 2021 05:03:43 -0700 (PDT) From: Maxim Cournoyer References: <20181106095316.GB1206@macbook41> <87lg66xlw0.fsf@gnu.org> <20181127172638.GB17277@macbook41> Date: Tue, 13 Jul 2021 08:03:42 -0400 In-Reply-To: <20181127172638.GB17277@macbook41> (Efraim Flashner's message of "Tue, 27 Nov 2018 19:26:38 +0200") Message-ID: <87zguqs9nl.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626177849; 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:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PXVdOHlmBdRAzuG5njD1GflJoErxaMcUEJP7KEMRnAI=; b=RmHQ3hx4leVAa51FTWCPNcERsHxvSKN71CTvKkS4zTus9BxmbTf4rMMbmjlgGMk+aqOppV J0KLTbS35kzpaUqrsoxDUdM8Bg/QDCT1LXxdqPfx30KUEdv3cmds3KMzl3Wh8vRPuUiDc7 wDiD1eAt1KC2RMq+ORqqcL6XjoXbhjVEQpORg8jfXMjY9wY5k6Y8fSXMsjVcswjYYRtere 0x7WByvXB4q5rAR1M9NvpZcFU1Y/nmfb4hs+VlIMYgQYrSWxMtygY4DDGZAqElUMvzroZw od9+5B+tYcwSPo/G5YGOUv5a66TF8wMOyIYmDZGhAFT5Lsh2DfM9yBW6i7TcMQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626177849; a=rsa-sha256; cv=none; b=L/kaoieC2osgptaz2dYAmV7sIGISIS4j/7U62EWfrmxnxaaEEj6TV0EpfHT9/V5g714dp0 UY/wX70TMYLl969REr0kq5xs7/cUhQYMql+WcDYUmgecmncvoA3MmJv1td7t3IgDmEBE1V 15v8dFULyizLbNDzb2Jsk9LLz8RsXnMdaEwAXDEdnZrXdwwoAsrSHyN1xg6VFX+uyBreMO FVupeKQTNkc583TsAvzqfI5j5yWkxUbxwQj4o+V4VluVo3Sex9M61sj993/agxLjxj+xLZ Xw5ouKu3jdTpUFWOdwSUM6iwcnGW/oxGaw2YENz1E0+G+Txb3D+MTBdgquJUXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="Hk2OmVy/"; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="Hk2OmVy/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E93A52DFE3 X-Spam-Score: 0.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: ckvnkcDiE7u1 Hello, Efraim Flashner writes: > On Tue, Nov 06, 2018 at 04:31:59PM +0100, Ludovic Court=C3=A8s wrote: >> Hello, >>=20 >> Efraim Flashner skribis: >>=20 >> > From af9a132a662f1d703df1c32278a45d2adca146ed Mon Sep 17 00:00:00 2001 >> > From: Efraim Flashner >> > Date: Tue, 6 Nov 2018 11:50:48 +0200 >> > Subject: [PATCH] pack: List the available formats. >> > >> > * guix/scripts/pack.scm (show-formats): New variable. >> > (%options, show-help): Add 'list-formats' option. >>=20 >> [...] >>=20 >> > @@ -551,6 +552,18 @@ please email '~a'~%") >> > (squashfs . ,squashfs-image) >> > (docker . ,docker-image))) >> >=20=20 >> > +(define (show-formats) >> > + ;; Print the supported pack formats. >> > + (display (G_ "The supported formats for 'guix pack' are:")) >> > + (newline) >> > + (display (G_ " >> > + tarball A self-contained tarball, ready to run on another mac= hine.")) >> > + (display (G_ " >> > + squashfs A squashfs image, ready for 'cluster engines' and the= like.")) >>=20 >> I=E2=80=99d write =E2=80=9CSquashfs image suitable for Singularity=E2=80= =9D and remove =E2=80=9CA=E2=80=9D from >> each. >>=20 >> Also, since we have the =E2=80=98%formats=E2=80=99 alist right above, wh= at about >> adjusting it so that it contains each format description, and then >> =E2=80=98show-formats=E2=80=99 would just traverse it? [...] > I do like the idea, but I haven't been able to get it to work. In the > mean time I've committed this as db08ea40873ae20507bc40d34a56dea1b8ce8f0e > so we at least get the benefits of having it here. Closing. Thank you! Maxim