From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KCP6AB9JdGWLSwAAauVa8A:P1 (envelope-from ) for ; Sat, 09 Dec 2023 12:01:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KCP6AB9JdGWLSwAAauVa8A (envelope-from ) for ; Sat, 09 Dec 2023 12:01:51 +0100 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 DAE9B145CD for ; Sat, 9 Dec 2023 12:01:50 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=eaiAk3dg; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702119710; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/gUWzsH/wNObjZ9LBah5V1gJY3f+gOp4RTwn0T0/+NU=; b=nxpJLdr7hdZvVQ4G/DxbZVCBwFBPy+EW0x2SIFm1n8IG281mwlGMJ3NhIB1IU+CjZ3tXo8 MtWLSoponPtTqDuAX5yj5SvVLDrXsaiNsGRYjPlv9cSPfvzJ+7MTt9bgugqC0VfP+8Ulsx hviJjaY8KsO+IHggQ6SzYjInSr8LSAWc3PtmI6uKmVq9qRbHqqkHfJCGZQRpnKXFmxGhWy 4R3RFabUfXrfG+72zLI1HMr1U2TfVBgKa8WqUjgMTyzkPxflI3RCdcdDxmjsAMj12YF+xr x21hWtmHiBXNC9MVwsPEp4JX6Uu51Hz8m6wu8V+zIMPQtMWWWZ6RiVb765kdvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702119710; a=rsa-sha256; cv=none; b=MCAgxCEHB4iGygGlG+S2+jupYFfIKDhaKGa3rvA3BK7oElDzkPTGgoKDrgedGNG8sZ/EB3 D7kCvLTRODwmNcp4Wjy+1O/kzl++qEUd2ljWoPQBdNknuZ0OibhXVxmoYLsT+Ol+1GJ0uS 6FzEdzdUWJd1BJUP42aczZFjkm8+7MH7pe0RECZuPEqsP6G27gYCpJ91ojDOUySNBmveb6 YV8Qkf4+6ZTtMcXscSEgVXIJ2LBr134PAy5o6CqsCl1YN/DQvHBQT4GaE2M3c0I0RUsGz+ E3g+Gy2mrkuFdZkKUAE4mKsfHYQCScvNcYUaHIaXVLlpPWFHFbDbhJKZ7FOvgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=eaiAk3dg; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBv5N-0003ft-2f; Sat, 09 Dec 2023 06:01:29 -0500 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 1rBv5A-0003Uf-Bw for guix-devel@gnu.org; Sat, 09 Dec 2023 06:01:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBv59-0005b5-Rz; Sat, 09 Dec 2023 06:01:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=/gUWzsH/wNObjZ9LBah5V1gJY3f+gOp4RTwn0T0/+NU=; b=eaiAk3dgUPXLK7dT4hu8 PdImOYqzZ3TM0pshUZZ9JrsNQujBtdYVMdVFVEWJBpPz9uFlbyQYJIb7BbVYuizNKZTGV+VKlETFZ sYPpHfqndG4WRTEMN2/YAS7zAYS6HKaXD58388yu8Y6B/PY9tX42Wo0fEjyxYow49KhpRkRjBunuR knjB/jkktWpSiqQRaW+uMViv4HQIgjSd1PQjVPbWnaYYS2TJKU8m+iuC17VQwiGqcR0rcc5/1lSrv Eo6RXZWX+NXQ6AQz4qEYMCkMl9LAKkefqSXAg2BF8KIWgbJ80ULTw8uGckLhVDpzOyLTbezWHSJWv CuiugEeRB5vroQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Cc: guix-devel Subject: Re: shepherd: hardening error handling In-Reply-To: (Attila Lendvai's message of "Fri, 08 Dec 2023 14:31:11 +0000") References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 Frimaire an 232 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de la Sabine X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 09 Dec 2023 12:01:12 +0100 Message-ID: <87v89763nr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -10.89 X-Spam-Score: -10.89 X-Migadu-Queue-Id: DAE9B145CD X-Migadu-Scanner: mx12.migadu.com X-TUID: md0qZvWMc8oJ Hello! Attila Lendvai skribis: > the codebase seems to use catch/throw, and at some places with comments l= ike "for Guile 2.2". what is the minimum guile version that the shepherd co= debase wants to support? the README says "GNU Guile 3.0.x or 2.2.x". is thi= s still intended? or can i assume guile 3? i.e. use with-exception-handler,= raise-exception, guard, &co. instead of catch/throw with key and args? The source of truth is =E2=80=98configure.ac=E2=80=99, which reads: GUILE_PKG([3.0 2.2]) CI checks that (and in fact =E2=80=98guile2.2-fibers=E2=80=99 currently fai= ls to build due to a non-deterministic test failure): https://ci.guix.gnu.org/eval/latest/dashboard?spec=3Dshepherd I think we=E2=80=99ll keep it that way in 0.10.x, but for 1.0.x, we can drop 2.2. When we drop 2.2, we can probably switch =E2=80=98with-exception-handler=E2= =80=99 & co., with care. Thanks, Ludo=E2=80=99.