From: ludo@gnu.org (Ludovic Courtès)
To: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 1/2] dmd: Add dmd action unload: unload known services.
Date: Wed, 12 Mar 2014 18:45:28 +0100 [thread overview]
Message-ID: <87pplrgvk7.fsf@gnu.org> (raw)
In-Reply-To: <1394473161-14356-1-git-send-email-alex.sassmannshausen@gmail.com> (Alex Sassmannshausen's message of "Mon, 10 Mar 2014 18:39:20 +0100")
Alex Sassmannshausen <alex.sassmannshausen@gmail.com> skribis:
> * modules/dmd/service.scm (deregister-services): New procedure.
> (dmd-service): Add new action: unload.
> * dmd.texi (The 'dmd' and 'unknown' services): Document 'unload'.
> * tests/basic.sh: Add 'unload' tests (stop single service & 'all').
Applied with minor changes.
> +@item unload @var{service-name}
> +Attempt to remove the service identified by @var{service-name}.
> +@command{dmd} will first stop the service, if necessary, and then
> +remove it from the list of registered services. Any services
> +depending upon @var{service-name} will be stopped as part of this
> +process. If @var{service-name} simply does not exist, output a
I added a newline before “If” so that the main info is more easily
visible, and the paragraph is less intimidating. ;-)
> +$deco unload dmd test
> +
> +$deco status dmd | grep "Stopped: (test-2)"
> +
> +$deco unload dmd all
> +
> +$deco status dmd | grep "Stopped: ()"
I added a test to make sure we get “Started: (dmd)”.
Thanks!
Ludo’.
prev parent reply other threads:[~2014-03-12 17:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-25 8:22 dmd: Unload one or all services at runtime Alex Sassmannshausen
2014-02-27 21:50 ` Ludovic Courtès
2014-03-10 17:39 ` [PATCH 1/2] dmd: Add dmd action unload: unload known services Alex Sassmannshausen
2014-03-10 17:39 ` [PATCH 2/2] dmd: Add dmd action 'reload': unload all; load Alex Sassmannshausen
2014-03-12 17:49 ` Ludovic Courtès
2014-03-19 14:25 ` dmd: Unload one or all services at runtime Alex Sassmannshausen
2014-03-19 14:25 ` [PATCH] dmd: Add dmd action 'reload': unload all; load Alex Sassmannshausen
2014-03-25 20:33 ` Ludovic Courtès
2014-03-25 20:30 ` dmd: Unload one or all services at runtime Ludovic Courtès
2014-03-12 17:45 ` Ludovic Courtès [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pplrgvk7.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=alex.sassmannshausen@gmail.com \
--cc=guix-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).