[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] Rename 'dmd' service to 'shepherd'.
From: |
Alex Kost |
Subject: |
Re: [PATCH 3/4] Rename 'dmd' service to 'shepherd'. |
Date: |
Sun, 24 Jan 2016 18:21:27 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès (2016-01-24 00:24 +0300) wrote:
> 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.
I agree, that's why I wrote that just ‘herd load foo.scm’ would be
better IMO.
>> 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?
Oh, right! I think it is the best variant. I'm about to send a
patchset for this change.
--
Alex