From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uMF0NI/KjWJTXgEAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 08:19:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yOJ7M4/KjWIAbAEAG6o9tA (envelope-from ) for ; Wed, 25 May 2022 08:19:59 +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 5DA9722DC0 for ; Wed, 25 May 2022 08:19:59 +0200 (CEST) Received: from localhost ([::1]:41716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntkNC-0001oa-4U for larch@yhetil.org; Wed, 25 May 2022 02:19:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nthkU-0005Pb-Nl for gwl-devel@gnu.org; Tue, 24 May 2022 23:31:51 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:41714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nthkS-0001da-Jv for gwl-devel@gnu.org; Tue, 24 May 2022 23:31:50 -0400 Received: by mail-pj1-x1035.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso3926385pjg.0 for ; Tue, 24 May 2022 20:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taiju-info.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=7JdV12DCD9STkZD3a7lXBPKkodgt/tUBfDOqkZTaAjI=; b=gQKVVtjP5K0s+OFTevfHtvJfR01QaLqD5w+FBD4huv2ZT0EHy6mgcd+r8UNtVzfe0M MwQQQPaqIIbZo8Sfm2Ohe/f8Jl0RzSOzrwimerPFETheiOt2/3S/SHJCk4+G9kxV/kjy Mt5ItAMNY425iSPnBArMBUEocRbIR5XTci07R7qz2Fyr6HqmIFcKJW+iTijC2rCxtHvh RqwHEw8zmz/dtua090rLeSU5i4Khb7h+hzPxOcHKmgQktNXT8gmSzzrA2d9iQzkdhqE1 DKKQBr4fe1GYWV/+eDWrUU639IrJYyykWGh/dYmzjD+GP/hdcnAe4e8pg13KiPRtqPV4 EVMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=7JdV12DCD9STkZD3a7lXBPKkodgt/tUBfDOqkZTaAjI=; b=2GlQNjZtZh7qef0McExNhRJOrAotbuLrkrBpgbus04/82r1DfUGSDduWC+Fj+ZuP+C yNCf+2nL1W+KD0hqVaFdAdWOh7WCnO87je0zkcawkdHlMQtGs09BfGE/iPC2YMo2b63d 4b9v8ZmCR9C24FtrjYbXSV+n5vl/Modfw6SB0QbR/1x3yEqN0SDy2H/2BbOzObeIQDLW Up3Gj3r1+o/4QiRjFrB0dfjIlgpqzRSNs/l+uMqGN5Dif1NcI76ulv/vNQO6d+q0kvWg 79JrcSzSaCJHPknBM9nekVA9CBIjUqXURwnQg1vgLDI3SdyDdo99Q98haUc+kryKHijh 7/nA== X-Gm-Message-State: AOAM531IU+jrl0JBA/ukDiEpa219X7ZuzhogvBVP1Tzs4Pm1XUeAYZGJ tDEFTK1+7StdDdpvaoaySGzM8f+e0WOmTIKU X-Google-Smtp-Source: ABdhPJzUUi9aLsoAOTQ2i8a2t5DpIUps7C2bzuvqHDgYr3PXv0qsoBisUXABnM8aD7MPgqygXYaLqA== X-Received: by 2002:a17:90b:3ec7:b0:1dc:b008:3cd3 with SMTP id rm7-20020a17090b3ec700b001dcb0083cd3mr8038458pjb.226.1653449506786; Tue, 24 May 2022 20:31:46 -0700 (PDT) Received: from Taix ([240b:253:ec40:2400:b7d1:436e:2d61:e925]) by smtp.gmail.com with ESMTPSA id q18-20020aa78432000000b0051874318772sm5798485pfn.201.2022.05.24.20.31.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 20:31:46 -0700 (PDT) From: Taiju HIGASHI To: gwl-devel@gnu.org Subject: Support for guile-config 0.5 Date: Wed, 25 May 2022 12:31:43 +0900 Message-ID: <87ee0ip9sw.fsf@taiju.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=2607:f8b0:4864:20::1035; envelope-from=higashi@taiju.info; helo=mail-pj1-x1035.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 25 May 2022 02:13:15 -0400 X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" 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=1653459599; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7JdV12DCD9STkZD3a7lXBPKkodgt/tUBfDOqkZTaAjI=; b=q3kB+qWOyxOCZRgGfeYi5qiX5A/5eIEhGQO/jp4QJ9l3oswQO7bxFUzVPHac8nCEuu72BV T6gsmz53G8LD/FcEBSo5/dbnq1WnIJG7ysqX/kJ1mBZpHq+xeI/tusYL1b7kMfAd9DS2Hm Qre5b7s9nDaEPFjl0bSD0H6mlUEUMFB3P8hRbsZnhly32kLsnwdfR+6EEW4jst4HMGFni7 DXxviDK9zMzoh94HilL0AeMweltqrJPx/p9wNuT+7ncMiQ24vcyQ387aXQ9k3+CtWY8LQ3 rbqFQmFFYMzdD/W0uQ45NQUHMit0rdZllodyYYfKXZT2HZvAaKYfEzJqKbuWPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653459599; a=rsa-sha256; cv=none; b=MHLkQaoYwVqdXet/MxJ9yYx0QzPaApFWbcs4TKSu1iOaxUZAQg+FoBrjM5mFTbBTxy9+wi tztdaUAty7uH4Nnz1DVgLvOsg3pa9dhTcvhDsgUGCElFD2909JgWPmIdyCvkv9lgz08elH 3SqaQ6LVdE1+ReMNnMgd3mlk3PFmC1it000cziKAqZVUWm0HaCWbuNbdtGUP5k0HT0G9tr XOnOulamwidhLmWKwx1CV+zJ2DccPJ/OcgecagXPVYXD6JpWAGmQRnR58xLpNNqVi63pkP oggX2M8opkflrDxRg66nQiF9mv5AICsnEc2SFBdapo1ojGv6ziwYdbHXPvcQcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=gQKVVtjP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=gQKVVtjP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5DA9722DC0 X-Spam-Score: -8.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: yeBFM5REPZPg --=-=-= Content-Type: text/plain Hi, I am currently working on the following issue. https://issues.guix.gnu.org/55612 I have understood that I need to modify gwl to get guile-config 0.5.0 into Guix. However, I know almost nothing about gwl. Is it possible to get some advice? It seems that the following commits have incompatible specification changes. https://gitlab.com/a-sassmannshausen/guile-config/-/commit/8a107639e8b0f1037518a36fab56dde051b028d8 https://gitlab.com/a-sassmannshausen/guile-config/-/commit/3bf3adde491df551a357a3ac05d137652e825fbe The `optional` in the configuration specification has been removed and `argument` and `switch` are now interpreted as mandatory when `default` is `empty`. I have created the attached patch based on this fact. The gwl build now passes. Is there any other work that needs to be done? I am unsure as I do not know much about gwl. Thanks, --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-config-Support-for-new-optional-mandatory-semantics.patch >From 8caf849c1ed20ba0f80d766acc1854ef53a48d6f Mon Sep 17 00:00:00 2001 From: Taiju HIGASHI Date: Wed, 25 May 2022 00:05:46 +0900 Subject: [PATCH] config: Support for new optional/mandatory semantics. Because there has been a specification change in the way option arguments and mandatory switches are specified since guile-config 0.5. --- gwl/config.scm.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gwl/config.scm.in b/gwl/config.scm.in index 9ab58e5..f789998 100644 --- a/gwl/config.scm.in +++ b/gwl/config.scm.in @@ -65,7 +65,6 @@ workflow.") (list (argument (name 'file) - (optional? #false) (test file-exists?) (handler identity) (example "/path/to/my-workflow.w")))) @@ -95,12 +94,14 @@ workflow.") (character #\i) (synopsis "Specify workflow input NAME, optionally mapped to FILE") (example "NAME[=FILE]") + (default "") (test string?)) (switch (name 'output) (character #\o) (synopsis "Set LOCATION as output for a workflow") - (example "LOCATION")) + (example "LOCATION") + (default "")) (switch (name 'engine) (character #\e) @@ -147,7 +148,6 @@ format) of the specified workflow.") (list (argument (name 'file) - (optional? #false) (test file-exists?) (handler identity) (example "/path/to/my-workflow.w"))))) -- 2.36.0 --=-=-=--