From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QMlYOU9AemYiNAAAqHPOHw:P1 (envelope-from ) for ; Tue, 25 Jun 2024 03:58:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QMlYOU9AemYiNAAAqHPOHw (envelope-from ) for ; Tue, 25 Jun 2024 05:58:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=av2MMosK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719287887; 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-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=fMN+M8wdKusV7MxVzy7evaRE6EmtyJryOQiCnnh6v5M=; b=fwrwhJ55m5461iTtIK9J7mUOcnywfT0Wx9OpPM9DrGYA6idmSoh3tu5+v/pxgceZmnloFC 5ZGksqKQkfN+hgUWmBWcTgi3gae6X/RQNffP25c8eIph/TsGpLeJ0vQ/t7foEm+0oxrTDK HthTF92sk/arztxS2U1oefdlW1A8yPwSBD4I9H0uzsZSPlWSnozKwhLDfVR2I3J10bUUD2 KzUNJXKm3rmRlvI60FGnGCJzuJYkqGjew4wcVaYf0+Pszw3f+QSrHj/Zl/YZb8lLzu8FCH rM4k+r7Gx2WQVVKv9uTBIaHr3PlXazVs0e+bNyl/01Iprwu8A+zF7cRSSoXXUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719287887; a=rsa-sha256; cv=none; b=AiWRsqK/yEMduefkj7kd8h9NWAOQi2MufmFESjURs0nRLm44c+Z9lupwg/9ofNSKo4jxWU EM/EiJLt11PhSbk4jGoPwffYLQySJAmtCRqYSbHP6zJWiR8efMkTUsnPOmr8VndVsZzo4n 5EPlwTTqmRBJK079EyzUOx5IZ6xcS8oauawRdSflQ9trEnPJkdT/dHDV3o6rf4WZCMy1pL 6xQn5sk6+xYr2WyJ390ZPiJKgRRJQ4b5hU/5V93DIQPLs5OvMkbhPXy6OdL1pS4dWukPI9 pFU06LqwSTMbieIVnRIQ4IuWuuIqa7es1mvz9EAo8jomzp5EwCj9YSkYMguvng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=av2MMosK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" 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 9347914C7F for ; Tue, 25 Jun 2024 05:58:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLwmo-0001xG-I9; Mon, 24 Jun 2024 23:24:02 -0400 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 1sLwmn-0001wm-75 for guix-patches@gnu.org; Mon, 24 Jun 2024 23:24:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLwmm-0007yg-Ud for guix-patches@gnu.org; Mon, 24 Jun 2024 23:24:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLwmo-0007bw-24 for guix-patches@gnu.org; Mon, 24 Jun 2024 23:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH] services: shepherd: Support =?UTF-8?Q?=E2=80=9Cfree-form=E2=80=9D?= services. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Jun 2024 03:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 71739@debbugs.gnu.org, 69591@debbugs.gnu.org, David Elsing , Matthew Trzcinski , Florian Pelz Received: via spool by 69591-submit@debbugs.gnu.org id=B69591.171928582429214 (code B ref 69591); Tue, 25 Jun 2024 03:24:02 +0000 Received: (at 69591) by debbugs.gnu.org; 25 Jun 2024 03:23:44 +0000 Received: from localhost ([127.0.0.1]:35918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLwmV-0007b7-W4 for submit@debbugs.gnu.org; Mon, 24 Jun 2024 23:23:44 -0400 Received: from mail-qk1-f177.google.com ([209.85.222.177]:46540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLwmU-0007ap-8w; Mon, 24 Jun 2024 23:23:43 -0400 Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-79767180a15so295732285a.1; Mon, 24 Jun 2024 20:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719285755; x=1719890555; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fMN+M8wdKusV7MxVzy7evaRE6EmtyJryOQiCnnh6v5M=; b=av2MMosKVG1s299+yf3B3J5pY/H/GoaMPAaUGg1TjAP3jGthXzbTHlGw6FKZJ1tukf lzxSFp2ttyARNkTXsB+CON9GdRJ34Ecerd443EQhoiQ+3jOHyr3UfT1RufIy33loESkW tKhGvpS9LChtTTWQFxcJ+YTOWsjkm18AyDUJExPmIgMJz0l1k3O6qlIQ9rYcGQld4Quu E9bUvslrNRkLDcv2UC3NLqxR7LNfXiuMxPwWDIjxfUE+FM4E4usJ1WB6v22sviUVvjYN +sn9FdOK0XBf1z7/MuFXaz4M1tn8tg4zpYg/z1ywTV3paIJfzNVgDAXotS1kmBiKPl1W rz+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719285755; x=1719890555; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=fMN+M8wdKusV7MxVzy7evaRE6EmtyJryOQiCnnh6v5M=; b=j5qhMTbvc4lbFNQtRFnlZ+aontzIjzi/NJw/Cw2EWXCK1sgir5ny5S5cP/lDgxOcGP 0G2Z5TscCNAzMJqAGZ/60/NAMnVpnfJRCiRDD1DXwg+UC20DJN4S5x2EEGC3o/dUgJrA IFY9zl2z7E7LATKZcYn7L+70L1gb4/uk/VBgNis2lRiNNByiDFd8axBHYMxniWhorOWO Wd+x67M142Me2q6lLUK+HHR3Oxe5lBOYhFwvImzbdX5InKMFAfuzKDWxuLAznsO+4vMv IoDJfl/wnyNWmADHCL3+nu3UgDYlM/mrQ559g1RX2o2hdyZJaoikHZr2QCk+veQZbA3c 54Fw== X-Forwarded-Encrypted: i=1; AJvYcCXOSkIrKPs7y7WZfOc16eGKTJGv10S4BdAed3aUd+CSSoFKxuouRrPcrKCt22d8uxvKKiNotFEt5+Hvbd2l7Qq3199uGzw= X-Gm-Message-State: AOJu0Yx1JFTKUIxD490iBVKUxCj+dI0UqZgIa67gPj47RtMGiHKcDz6D EC37qH2roA+50kx52biLmJ5Z13PpjDkf0OmUwLFW1I3wa8mazcis X-Google-Smtp-Source: AGHT+IHiWdHMxdE0JMyvQMgFs+Xi/JUmTJ6wYQhGyhbdaYtmyrrRpgpVGnLqlcvzLRxBirnmUl3aVQ== X-Received: by 2002:a05:6214:17c8:b0:6b5:6a1:f899 with SMTP id 6a1803df08f44-6b53bbbece7mr57814806d6.10.1719285755219; Mon, 24 Jun 2024 20:22:35 -0700 (PDT) Received: from hurd (dsl-141-243.b2b2c.ca. [66.158.141.243]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b51ef30e6fsm40321276d6.84.2024.06.24.20.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 20:22:34 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <87pls6ij5b.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 24 Jun 2024 15:07:28 +0200") References: <20240306193725.17463-1-david.elsing@posteo.net> <7501182c5831ba86d4e600967fb944e9e1124352.1719066498.git.ludo@gnu.org> <8734p3b2c6.fsf@gmail.com> <87pls6ij5b.fsf@gnu.org> Date: Mon, 24 Jun 2024 23:22:33 -0400 Message-ID: <87pls5btae.fsf@gmail.com> 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: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9347914C7F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.68 X-Spam-Score: -3.68 X-TUID: BRFqhkLaaCEM Hi Ludovic, Ludovic Court=C3=A8s writes: [...] >> Hm, if free-form is expected to be a built-in procedure provided by >> Shepherd, should we call it 'built-in' instead of 'free-form' ? > > I view it as something more generic: it=E2=80=99s typically, but not just= , for > when the service comes from a procedure defined in the Shepherd itself. > > Other use case is when as a service author you need more freedom that > what you get with the =E2=80=98start=E2=80=99 and =E2=80=98stop=E2=80=99 = fields, like: > > (shepherd-service > ;; =E2=80=A6 > (free-from #~(let ((whatever (spawn-fiber =E2=80=A6))) > (service '(foo) #:start =E2=80=A6)))) > > It=E2=80=99s probably going to be a relatively marginal use case, but it= =E2=80=99s good > to have that extra level of flexibility. > > WDYT? Thanks for the extra explanation and example. The extra flexibility sounds good to me! Reviewed-by: Maxim Cournoyer --=20 Thanks, Maxim