all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Nils Gillmann <ng0@n0.is>
Cc: guix-devel@gnu.org
Subject: Re: [shepherd] herd status suggestion
Date: Sun, 10 Jun 2018 13:31:58 +0200	[thread overview]
Message-ID: <87po0yzxld.fsf@elephly.net> (raw)
In-Reply-To: <20180610103459.txzk5aydng6bzwdi@abyayala>


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 “herd status”.

Could you please prepare a patch to change the output?  It’s also worth
checking how gettext is used in shepherd (I don’t know more than that it
uses “l10n” as a “gettext” alias) to make sure that the string can be
translated.

Thanks for this proposal!

--
Ricardo

  reply	other threads:[~2018-06-10 11:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-10 10:34 [shepherd] herd status suggestion Nils Gillmann
2018-06-10 11:31 ` Ricardo Wurmus [this message]
2018-06-10 14:31   ` Nils Gillmann
2018-06-10 19:39     ` Ludovic Courtès
2018-06-10 19:47       ` Nils Gillmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87po0yzxld.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=ng0@n0.is \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.