guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] Rename 'dmd' service to 'shepherd'.


From: Ludovic Courtès
Subject: Re: [PATCH 3/4] Rename 'dmd' service to 'shepherd'.
Date: Sat, 23 Jan 2016 22:24:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> skribis:


[...]

>> It seemed natural to me to rename 'dmd' service to 'shepherd' service.
>> But I like 'root' more!  So if people agree on naming the main service
>> the 'root' instead of 'shepherd', I will send an updated patch.
>>
>> OTOH 'herd load root foo.scm' looks strange for me.

Yeah, but ‘load dmd foo.scm’ also looks weird, after all.

> Also in user init.scm we'll have "(action 'root 'daemonize)" which also
> looks less preferable than "(action 'shepherd 'daemonize)" for me.  So
> now I don't really know what name I prefer :-)

As long as it’s clear that it’s Smalltalk-style message passing, and
that ‘root’ is that special service, that’s fine, IMO.

Now that I think of it, since a service can provide several things, we
could simply change dmd-service to have:

    #:provides '(root shepherd)

Thoughts?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]