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 MBA1NW8BL2NvhQAAbAwnHQ (envelope-from ) for ; Sat, 24 Sep 2022 15:09:03 +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 4PhHNG8BL2NGVAAAG6o9tA (envelope-from ) for ; Sat, 24 Sep 2022 15:09:03 +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 80D6B541C for ; Sat, 24 Sep 2022 15:09:03 +0200 (CEST) Received: from localhost ([::1]:35418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc4tx-0000Zc-9H for larch@yhetil.org; Sat, 24 Sep 2022 09:09:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc4p9-00026A-8P for guix-patches@gnu.org; Sat, 24 Sep 2022 09:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc4p8-00062X-Uv for guix-patches@gnu.org; Sat, 24 Sep 2022 09:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oc4p8-0001LJ-Pf for guix-patches@gnu.org; Sat, 24 Sep 2022 09:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57643] [PATCH 1/3] image: Make the operating-system field mandatory. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Sep 2022 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 57643@debbugs.gnu.org Received: via spool by 57643-submit@debbugs.gnu.org id=B57643.16640245945072 (code B ref 57643); Sat, 24 Sep 2022 13:04:02 +0000 Received: (at 57643) by debbugs.gnu.org; 24 Sep 2022 13:03:14 +0000 Received: from localhost ([127.0.0.1]:42639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc4oM-0001Jk-Dk for submit@debbugs.gnu.org; Sat, 24 Sep 2022 09:03:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc4oK-0001JW-Uy for 57643@debbugs.gnu.org; Sat, 24 Sep 2022 09:03:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc4oD-0005xn-Uh; Sat, 24 Sep 2022 09:03:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=UPRrmfpszBzgBKlZRIkv1FuM0EPDXBlsWgGgpoctSV0=; b=sKeHGZBxVMVbeDC+CI0s 9EVvdgvwzu7Wz074Ax+zYpSrs9hKmuY6ekYg9I5/RjmyplFiwOek9AL29JO6luh8PX5yTHkYLmb/Y Qxj3Qrsk207v5uC2fuG8Zs1al/lRM0K/Qyv0l43aAATuiZ3J6ruqn/jK5+rqq6W//hvcv7BsH7ecK aUGsyja2HXGyU0QU8H51UcC1QGY1xVQgSjjzKUHwfZVIeOZlwdgTO9SGq33kX3R1om/8JOXYZA542 PCVdcfizGsgc6hqK7yFYjVPKreZmlOdCVgL1w+QE78dCg3Cvm4S2NZZDKYvnbHxiBh2QCvt9ROrgU WDk5502pkmoVmw==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:57984 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc4o9-0002VJ-67; Sat, 24 Sep 2022 09:03:05 -0400 From: Mathieu Othacehe References: <20220907124449.16904-1-othacehe@gnu.org> <20220907124633.17013-1-othacehe@gnu.org> <467d8638-5078-f940-600a-6204ccdca993@telenet.be> Date: Sat, 24 Sep 2022 15:02:58 +0200 In-Reply-To: <467d8638-5078-f940-600a-6204ccdca993@telenet.be> (Maxime Devos's message of "Sat, 24 Sep 2022 12:55:37 +0200") Message-ID: <87pmfksz5p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664024943; 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:resent-cc: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=UPRrmfpszBzgBKlZRIkv1FuM0EPDXBlsWgGgpoctSV0=; b=MZxwP/u4HBufcKbTVvtDTyrNOEsnCLYZoS3QcWfaFAS89EhrFVfnsb2VJFZNGihwN5CasY vrmsTPlxdJrfKI1/+5fudQTM/KFulzceaO8anDijyeJY2CrypRn7WXZ67Jcz+VTFWsk6LR H08RPtqW+zKxO78Gkwgb8+uOteyHu3rGXk40VwXIJRRCUhqjvE6QAjMB0flhUxymODiDnl rt4z1HDhdFBS5+zIUAq/4mdZCOsdV57Ffp1wNuInCTQpnQH9cjAovkLJtAlemWKBj4TxXO 6Sd5c4+bVarba/pOOAV7P+kfIchZRzB3msrxL9fd7szW8xTh99zbuuwo1rlPVA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664024943; a=rsa-sha256; cv=none; b=iB2o6id11iWUk8M6Zk8/Y0zQCutWbi2OGw9EBHeeJxA1nBmPG7ytmNfNaprEVAktoozPYv POfLIPApPUDDRbVCdCvVSDTJuf5wq9yZ7CFuRRVDwg86EjrWA2DLJO7PGhYZMM1s/zMfAb Pq1fvzG2EZBkC9j/B0Y4f62GGT3RBwftfw0w7MaOF6W8LxqO/nrF5x/yCchzdYoo+0Rjs7 P2qVKfVfqr0DDWiYmUQyQzvFvw1QBGBSoJ55+OjOzdXXo5YY31JgQ68P01oADwHTQWJXjQ sE0WNHUmdt0+W8OTP6FSUuKcTBevlH1eFv2tx1I012v6UkwQtYft+JDfhAynJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=sKeHGZBx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=sKeHGZBx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 80D6B541C X-Spam-Score: -2.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: qb3t2A8PsHiO Hey, > The complexity of this 'without os' macro seems to come from accepting an 'os' > and then throwing it away. However, when there is an 'os', you might as well > use 'image' directly, without 'image-without-os', so I think this macro can be > simplified to: Yeah this was mostly a good pretext to have fun with macros, I agree your alternative makes more sense. I used your proposed approach instead. > (IIUC, '(guix records)' will detect duplicate definitions of fields.) It does. Thanks, Mathieu