From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eD+CKt9nCWB9dAAA0tVLHw (envelope-from ) for ; Thu, 21 Jan 2021 11:39:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2LtZJt9nCWCLGwAAB5/wlQ (envelope-from ) for ; Thu, 21 Jan 2021 11:39:11 +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 260FF9403E6 for ; Thu, 21 Jan 2021 11:39:11 +0000 (UTC) Received: from localhost ([::1]:52280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2YIw-0004ZF-0s for larch@yhetil.org; Thu, 21 Jan 2021 06:39:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2YIo-0004Xs-Ul for guix-patches@gnu.org; Thu, 21 Jan 2021 06:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2YIo-0004ce-Mt for guix-patches@gnu.org; Thu, 21 Jan 2021 06:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l2YIo-0006fs-JW for guix-patches@gnu.org; Thu, 21 Jan 2021 06:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46017] [PATCH 0/2] scripts: system: Accept records as input. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Jan 2021 11:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46017@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161122908925596 (code B ref -1); Thu, 21 Jan 2021 11:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jan 2021 11:38:09 +0000 Received: from localhost ([127.0.0.1]:56977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2YHx-0006el-Ab for submit@debbugs.gnu.org; Thu, 21 Jan 2021 06:38:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:45072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2YHv-0006ed-5A for submit@debbugs.gnu.org; Thu, 21 Jan 2021 06:38:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2YHu-0003zA-UG for guix-patches@gnu.org; Thu, 21 Jan 2021 06:38:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40642) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2YHu-0004Dp-Ni for guix-patches@gnu.org; Thu, 21 Jan 2021 06:38:06 -0500 Received: from [2a01:e0a:19b:d9a0:98b7:b002:9499:5e2c] (port=44372 helo=localhost.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l2YHs-0006T0-IQ; Thu, 21 Jan 2021 06:38:05 -0500 From: Mathieu Othacehe Date: Thu, 21 Jan 2021 12:37:51 +0100 Message-Id: <20210121113751.72613-1-othacehe@gnu.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Cc: Mathieu Othacehe Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.15 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 260FF9403E6 X-Spam-Score: 2.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7YyQpFxHE5UJ Hello, Here is a patch adding support for records as input of "guix system image" command. This has been discussed here: https://issues.guix.gnu.org/45933. It would be nice to also provide some documentation about that feature. I have delayed it because I felt the API was not stable enough. Maybe now is the time. Joshua is proposing a Cookbook patch that could be a first step. Then, I'll try to provide a proper description of the record and the associated commands in the documentation. Thanks, Mathieu Mathieu Othacehe (2): image: Export image? procedure. scripts: system: Accept records as input. gnu/image.scm | 1 + gnu/system/images/hurd.scm | 3 + gnu/system/images/novena.scm | 3 + gnu/system/images/pine64.scm | 3 + gnu/system/images/pinebook-pro.scm | 3 + guix/scripts/system.scm | 128 ++++++++++++++--------------- tests/guix-system.sh | 7 +- 7 files changed, 80 insertions(+), 68 deletions(-) -- 2.29.2