From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wO9ZJE3SfmLilQAAbAwnHQ (envelope-from ) for ; Fri, 13 May 2022 23:49:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qJtOIk3SfmIcZQEAG6o9tA (envelope-from ) for ; Fri, 13 May 2022 23:49:01 +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 E11A542C56 for ; Fri, 13 May 2022 23:49:00 +0200 (CEST) Received: from localhost ([::1]:39330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npd9g-0004bN-16 for larch@yhetil.org; Fri, 13 May 2022 17:49:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npd8k-0004ZF-J1 for guix-patches@gnu.org; Fri, 13 May 2022 17:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npd8k-0005wm-Ab for guix-patches@gnu.org; Fri, 13 May 2022 17:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npd8k-0004yk-8i for guix-patches@gnu.org; Fri, 13 May 2022 17:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55404] [PATCH 1/2] services: Add more description fields. References: <20220513214318.27355-1-ludo@gnu.org> In-Reply-To: <20220513214318.27355-1-ludo@gnu.org> Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 May 2022 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55404 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55404@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 55404-submit@debbugs.gnu.org id=B55404.165247842318905 (code B ref 55404); Fri, 13 May 2022 21:48:02 +0000 Received: (at 55404) by debbugs.gnu.org; 13 May 2022 21:47:03 +0000 Received: from localhost ([127.0.0.1]:45224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npd7i-0004uP-Ae for submit@debbugs.gnu.org; Fri, 13 May 2022 17:47:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npd7h-0004u4-7y for 55404@debbugs.gnu.org; Fri, 13 May 2022 17:46:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44016) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npd7b-0005qM-VJ; Fri, 13 May 2022 17:46:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=WAT5hNbRvaJVm9pr+7ptR2OwfSqUSlkuelFTMojVh7Y=; b=Jjdiix0xPQLgNH xyn2nnQch5+K7WvPzOb2SniF5LXxuel61Qco4hqNrw2v4UwDIZ910rjwMAhEUvoDOinmniOTjDIn2 ez6mOwrYowgc+7XzHbqwWEhx3MxZQux/zTnZKFo8364KgQAHieY1qwiCIbMC1eoIf3ZHB91F1IGpl ROLVyuhLLMcTsvOFZAtVHx65EZltIRNv1ZDm38m9oIz/gpQ4gCOolJu/7oKOIzXz+yFWwWByQK8p7 x1LLj1g5MwExIvOZWHpBWfkZ4whE51Hghufy/vuWgOc19L5Jir7dmaid8yxTSBA3MfXcO74cW/v/7 OHOqJWuMBGVV9tp0e+Rw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:52847 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npd7b-0004su-JH; Fri, 13 May 2022 17:46:51 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 13 May 2022 23:46:44 +0200 Message-Id: <20220513214645.27434-1-ludo@gnu.org> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: , 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=1652478541; 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=WAT5hNbRvaJVm9pr+7ptR2OwfSqUSlkuelFTMojVh7Y=; b=Yf/sc1uCeglPNXIrwfpX4RY4hmWqvtyMCnqDHOhOf2ddG6CF52lsTEI9s9+Y5qf7zC0XBI XMX1PZgMaoSgPb8ivow0SxbIQn7AsJudqwBPYH98Md2gKQdJ1SgOmscw+Hl7B/n9brXzig oJ1ldnC3kE037AYINOeN7g2ebukTxUk7+meGf2w7gdV4hLeJJN+vqJbYuj1fGI3WsjHx1B 4ocpUm118YCD3W8Uf2s6uSW+b6Cr7JA3MfbPK0JxPYYlPjXi00hSsm6/fYEuErvAVRhqi4 /W/slCA9zO+MBfFHPT6ZCySiPZJSY3Pcv2XWl1b19JTLBIU2CPHswteGJRNZJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652478541; a=rsa-sha256; cv=none; b=FPfJ/Zg+HDOGg/NDlMi8GvUjmp8xDI15uey75RJa7exzR3egg+NrXdJNnf0gi9zj02ROVP ufuxfefbx9Hq+BIPtprKDEzIrZ7Hnpb9Eo4TAdpMIUJ8Wm3VgFTe6eobp+Q2C7PZsvi65e UVr3mxACHVGMfu3shywxtFnNOenSsVz/6s7qBwmoJQHr1kMaQrfA5LiBKsLeAdlbEk+X4e Hs6hBohOQdTNeyIuZrok9vHHVVmRsR6CJs8azkjTS4N1rbEHeLzTRHvGZ6LmsTp4Bgit2r u+X2QxlPDnGIPxbMrqeZjAzJUgiu6BOrfE5NT/9vjL8LVJy4XmdkDZ1dRIXldg== 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=Jjdiix0x; 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.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Jjdiix0x; 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: E11A542C56 X-Spam-Score: -2.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: feZZzB8Um3lp * gnu/services.scm (simple-service): Add 'description' field. * gnu/services/base.scm (udev-rules-service): Likewise. * gnu/system/install.scm (configuration-template-service-type): Likewise. * gnu/tests.scm (marionette-service-type): Likewise. --- gnu/services.scm | 3 ++- gnu/services/base.scm | 3 ++- gnu/system/install.scm | 6 ++++-- gnu/tests.scm | 7 +++++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/gnu/services.scm b/gnu/services.scm index e3d4fcc232..234ee372b8 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -292,7 +292,8 @@ (define (simple-service name target value) singleton service type NAME, of which the returned service is an instance." (let* ((extension (service-extension target identity)) (type (service-type (name name) - (extensions (list extension))))) + (extensions (list extension)) + (description "This is a simple service.")))) (service type value))) (define-syntax %modify-service diff --git a/gnu/services/base.scm b/gnu/services/base.scm index bcec888587..3fb92e6da0 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -2191,7 +2191,8 @@ (define* (udev-rules-service name rules #:key (groups '())) (service-extension account-service-type account-extension) (service-extension - udev-service-type udev-extension)))))) + udev-service-type udev-extension))) + (description "This service adds udev rules.")))) (service type #f))) (define (swap-space->shepherd-service-name space) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 073d7df1db..2fbf08f676 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2014-2022 Ludovic Courtès ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2016 Andreas Enge ;;; Copyright © 2017 Marius Bakke @@ -252,7 +252,9 @@ (define configuration-template-service-type (service-type (name 'configuration-template) (extensions (list (service-extension etc-service-type - /etc/configuration-files))))) + /etc/configuration-files))) + (description "Install the operating system configuration file +templates under @file{/etc/configuration}."))) (define %configuration-template-service (service configuration-template-service-type #t)) diff --git a/gnu/tests.scm b/gnu/tests.scm index 85f38ae8c9..ca677d315b 100644 --- a/gnu/tests.scm +++ b/gnu/tests.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016, 2017, 2018, 2019, 2020 Ludovic Courtès +;;; Copyright © 2016-2020, 2022 Ludovic Courtès ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2021 Maxime Devos @@ -161,7 +161,10 @@ (define marionette-service-type (service-type (name 'marionette-repl) (extensions (list (service-extension shepherd-root-service-type - marionette-shepherd-service))))) + marionette-shepherd-service))) + (description "The @dfn{marionette} service allows a guest +system (virtual machine) to be manipulated by the host. It is used for system +tests."))) (define* (marionette-operating-system os #:key -- 2.36.0