From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [shepherd] herd status suggestion Date: Sun, 10 Jun 2018 13:31:58 +0200 Message-ID: <87po0yzxld.fsf@elephly.net> References: <20180610103459.txzk5aydng6bzwdi@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRya6-0001rU-3u for guix-devel@gnu.org; Sun, 10 Jun 2018 07:32:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRya2-0005LI-Uy for guix-devel@gnu.org; Sun, 10 Jun 2018 07:32:22 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21043) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fRya2-0005KG-K0 for guix-devel@gnu.org; Sun, 10 Jun 2018 07:32:18 -0400 In-reply-to: <20180610103459.txzk5aydng6bzwdi@abyayala> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Nils Gillmann Cc: guix-devel@gnu.org Hi Nils, > abyayala$ sudo herd status tor > Status of tor: > It is stopped. > It is disabled. > Provides (tor). > Requires (user-processes loopback syslogd). > Conflicts with (). > Will be respawned. > Last respawned on Sun Jun 10 08:08:45Z 2018. > > > Would it be an option to change the status output to, > if it conflicts with no other service: > > Conflicts with no other services. > > instead of the representation of an empty list? This sounds like a good idea. The only argument in favour of keeping it the way it is now is too weak to take serious: it makes it slightly easier to parse the output of =E2=80=9Cherd status=E2=80=9D. Could you please prepare a patch to change the output? It=E2=80=99s also w= orth checking how gettext is used in shepherd (I don=E2=80=99t know more than th= at it uses =E2=80=9Cl10n=E2=80=9D as a =E2=80=9Cgettext=E2=80=9D alias) to make s= ure that the string can be translated. Thanks for this proposal! -- Ricardo