From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: [shepherd] herd status suggestion Date: Sun, 10 Jun 2018 19:47:57 +0000 Message-ID: <20180610194757.v5io5whztrxbxdpt@abyayala> References: <20180610103459.txzk5aydng6bzwdi@abyayala> <87po0yzxld.fsf@elephly.net> <20180610143153.juzeulj2cruytwsc@abyayala> <874liae8iu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fS6JB-00056x-Kj for guix-devel@gnu.org; Sun, 10 Jun 2018 15:47:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fS6JA-0006oA-RO for guix-devel@gnu.org; Sun, 10 Jun 2018 15:47:25 -0400 Content-Disposition: inline In-Reply-To: <874liae8iu.fsf@gnu.org> 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: Ludovic Court??s Cc: guix-devel@gnu.org Ludovic Court??s transcribed 1.3K bytes: > Hello Nils, > > Nils Gillmann skribis: > > > Ricardo Wurmus transcribed 982 bytes: > >> > >> 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? > > [...] > > > Related and similar: Would it be reasonable to change the output from list-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 ‘herd status’ is meant for humans to read, not for > machines to process, so it makes sense to make these changes IMO. For > machines there’s a well-defined protocol that can be used, so we should > do our best to make ‘herd status’ useful to humans. > > If you want to give it a try, this is all happening in > modules/shepherd/scripts/herd.scm. > > Thank you, > Ludo’. > Thanks! I will see when I find the time. If I can't work on this in time, I'll let you know.