From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6KosNltrr2Qh4wAASxT56A (envelope-from ) for ; Thu, 13 Jul 2023 05:11:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wFMLNltrr2RnkgAAauVa8A (envelope-from ) for ; Thu, 13 Jul 2023 05:11:23 +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 3B62D5EF6C for ; Thu, 13 Jul 2023 05:11:23 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689217883; a=rsa-sha256; cv=none; b=u/zk26w8vIl0ZqscLSF0A+PlfGbHlwIJmOBStEMMLg6yUqt3L0s7DJXoH7tMib6yqqlbNe EDYgDFl0ihLGT2U9qdn4kyZuhsA5rjEW8JaNxc9ma/Zhqz+1EoXCK+hm4359zTLminMvBS RmfIdrA1B7IqZDUO4LzSKKUtb1f0Ufd8i1lPmUbIH7whPPJoEH5YhGAld55aeI2Nw8UsAr 3VfF5Zw9lXLi3NGw7WqKvUKxV8wWhF9tOPtx92XlpMuKN8imAojxJGktjPNVvR1NaO2MC+ 96qELgFL2y5YMzuRYjHZavUA+uB6dpcRpbLWZHyoh344ZM1gGseXhsGKvm7fGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689217883; 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; bh=GhnYjq6BKWEre12CWeeZlBcFhQOYRIB4oOnDG+QZhkc=; b=HB66JpJg9Ah33M8UMZLNDs+C3eofWESpJu8ZuhXY9e6LyMZH80sLHDlTAKVIQYjtIHC7+k QmVM8iuD3VPq7gwnKSdx3DvQw/W0Mj2XkUJXsC27lJjyzDk4ey9yKCfOdBZJf0cCgJtR0k U05vwRkca6WH/S9oz8GNSYGBP13lc5xuFstoOVN4Oef9k3K0J1bX2A1SEeUFGBTgPkuOg7 Sf2R2+kvIJJWG/5U2r3CkBXGhlWHNeVJG8XhJs7UTGFY6hoJNoRMg4g+vALEuwPCIwZqxK S2Ouf3EoW8jh1YPHM5HGXb4E2qn1Yq+sHMz+/UI6dABCV+J35e++NJWiCBq7Gw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJmjP-0005CA-R0; Wed, 12 Jul 2023 23:11:03 -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 1qJmjO-0005C2-GP for bug-guix@gnu.org; Wed, 12 Jul 2023 23:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJmjO-0004AY-8Z for bug-guix@gnu.org; Wed, 12 Jul 2023 23:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJmjN-0008Jg-JD for bug-guix@gnu.org; Wed, 12 Jul 2023 23:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64365: [Shepherd] Export deregister-service. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 13 Jul 2023 03:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64365 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 64365@debbugs.gnu.org Received: via spool by 64365-submit@debbugs.gnu.org id=B64365.168921782331897 (code B ref 64365); Thu, 13 Jul 2023 03:11:01 +0000 Received: (at 64365) by debbugs.gnu.org; 13 Jul 2023 03:10:23 +0000 Received: from localhost ([127.0.0.1]:53108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJmil-0008IM-HT for submit@debbugs.gnu.org; Wed, 12 Jul 2023 23:10:23 -0400 Received: from smtpm5.myservices.hosting ([185.26.105.236]:35896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJmif-0008I6-J6 for 64365@debbugs.gnu.org; Wed, 12 Jul 2023 23:10:21 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm5.myservices.hosting (Postfix) with ESMTP id 6542620DA7; Thu, 13 Jul 2023 05:10:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id D3705800B8; Thu, 13 Jul 2023 05:10:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3zKbUwWuIibx; Thu, 13 Jul 2023 05:10:09 +0200 (CEST) Received: from [192.168.1.116] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 59071800B5; Thu, 13 Jul 2023 05:10:09 +0200 (CEST) Message-ID: Date: Thu, 13 Jul 2023 04:10:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US References: <0e13eeb6-ad8f-7955-acd2-0a189034cff9@makinata.eu> <87lefk26po.fsf@gnu.org> From: Bruno Victal In-Reply-To: <87lefk26po.fsf@gnu.org> 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.26 X-Spam-Score: -6.26 X-Migadu-Queue-Id: 3B62D5EF6C X-TUID: jDE/Fe5rWbq4 Hi Ludo’, On 2023-07-12 21:52, Ludovic Courtès wrote: > Hi, > > Bruno Victal skribis: > >> Although 'register-services' is exported its counterpart >> 'deregister-service' is not. >> >> Some notes: >> * 'register-services' is in its plural form while its counterpart >> is not, maybe one of them should be renamed for consistency sake? >> >> * From the docstring and code the interface of 'deregister-service' >> seems to differ from 'register-services' though I haven't >> confirmed it. Perhaps add some documented examples for reference? > > All good points. Since ‘deregister-service’ is an internal helper with > a clunky interface (it takes a string, special-cases "all", prints > messages), I propose exposing ‘unregister-services’ as defined below. > > WDYT? Neat, LGTM. -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno.