From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [shepherd] herd status suggestion Date: Sun, 10 Jun 2018 21:39:05 +0200 Message-ID: <874liae8iu.fsf@gnu.org> References: <20180610103459.txzk5aydng6bzwdi@abyayala> <87po0yzxld.fsf@elephly.net> <20180610143153.juzeulj2cruytwsc@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]:39986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fS6BA-0003UO-08 for guix-devel@gnu.org; Sun, 10 Jun 2018 15:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fS6B9-0001aV-2r for guix-devel@gnu.org; Sun, 10 Jun 2018 15:39:08 -0400 In-Reply-To: <20180610143153.juzeulj2cruytwsc@abyayala> (Nils Gillmann's message of "Sun, 10 Jun 2018 14:31:53 +0000") 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: Ricardo Wurmus Cc: guix-devel@gnu.org Hello Nils, Nils Gillmann skribis: > Ricardo Wurmus transcribed 982 bytes: >>=20 >> Hi Nils, >>=20 >> > 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? [...] > Related and similar: Would it be reasonable to change the output from lis= t-style, > like: > Depends on: (foo bar irks boot) > > to the probably tiny bit better readable: > > Depends on: foo, bar, irks, boot > > for humans? I agree with both proposals. :-) The output of =E2=80=98herd status=E2=80=99 is meant for humans to read, no= t for machines to process, so it makes sense to make these changes IMO. For machines there=E2=80=99s a well-defined protocol that can be used, so we sh= ould do our best to make =E2=80=98herd status=E2=80=99 useful to humans. If you want to give it a try, this is all happening in modules/shepherd/scripts/herd.scm. Thank you, Ludo=E2=80=99.