<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/services/herd.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-06-01T23:38:36Z</updated>
<entry>
<title>herd: Use the Guile 2.2 'setvbuf' API.</title>
<updated>2019-06-01T23:38:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-01T23:30:42Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=bb64b2e7c0ab14cf899c1d81892b59fa877d4d9c'/>
<id>urn:sha1:bb64b2e7c0ab14cf899c1d81892b59fa877d4d9c</id>
<content type='text'>
* gnu/services/herd.scm (open-connection): Use 'block for 'setvbuf'.
</content>
</entry>
<entry>
<title>services: herd: Allow to pass arguments to start-service.</title>
<updated>2019-01-17T13:04:22Z</updated>
<author>
<name>Mathieu Othacehe</name>
<email>m.othacehe@gmail.com</email>
</author>
<published>2018-12-05T05:13:38Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ca0c43ecf02a5451ab0dd2f855032e316b4a4792'/>
<id>urn:sha1:ca0c43ecf02a5451ab0dd2f855032e316b4a4792</id>
<content type='text'>
* gnu/services/herd.scm (start-service)[arguments]: New optional argument.
</content>
</entry>
<entry>
<title>guix system: Load all services on reconfigure, not just stopped ones.</title>
<updated>2018-09-26T21:40:36Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2018-08-26T11:54:14Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=4245ddcbc9f935804c17c97872b90ec1050c2d75'/>
<id>urn:sha1:4245ddcbc9f935804c17c97872b90ec1050c2d75</id>
<content type='text'>
This uses the 'replacement' service slot introduced in the Shepherd
version 0.5.0.

* gnu/services/shepherd.scm (shepherd-service-upgrade): Return a list of
  services that need to be restarted to complete their upgrade.
* guix/scripts/system.scm (call-with-service-upgrade-info): Rename an internal
  variable to reflect the change to shepherd-service-upgrade.
  (upgrade-shepherd-services): Call 'load-services/safe' instead of
  'load-services'.  Print a message about services that need to be
  manually restarted.
* gnu/services/herd.scm (load-services/safe): New procedure.
* doc/guix.texi (Invoking guix system): Document the new behaviour.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>services: mcron: Add 'schedule' action.</title>
<updated>2018-07-12T22:08:55Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-07-11T21:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=147c5aa5d4e3bd21ee4c4cae70dff8da0bcf94b7'/>
<id>urn:sha1:147c5aa5d4e3bd21ee4c4cae70dff8da0bcf94b7</id>
<content type='text'>
Inspired by
&lt;https://lists.gnu.org/archive/html/help-guix/2018-07/msg00035.html&gt;.

* gnu/services/mcron.scm (shepherd-schedule-action): New procedure.
(mcron-shepherd-services): Add 'actions' field.
* gnu/tests/base.scm (run-mcron-test)["schedule action"]: New test.
* doc/guix.texi (Scheduled Job Execution): Mention 'herd schedule'.
</content>
</entry>
<entry>
<title>services: herd: 'with-shepherd' no longer leaves an open connection.</title>
<updated>2018-01-20T23:24:03Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-01-20T23:19:24Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=89a26478160dcf90e5df6688a9df21fe993498bf'/>
<id>urn:sha1:89a26478160dcf90e5df6688a9df21fe993498bf</id>
<content type='text'>
* gnu/services/herd.scm (with-shepherd): Use 'dynamic-wind' and close
CONNECTION at the end.
</content>
</entry>
<entry>
<title>services: herd: Actions return a list of results.</title>
<updated>2017-08-22T22:29:22Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-08-22T22:03:06Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7d14082d56462f7bef4254d65a21fd265fbce471'/>
<id>urn:sha1:7d14082d56462f7bef4254d65a21fd265fbce471</id>
<content type='text'>
Fixes a regression introduced in
0642838b2e9ab2bd988dccb64b9e1130006347bf.

* gnu/services/herd.scm (invoke-action): Explain that we get a list of
results.
(current-services): Expect a list of result and use the first one.
(unload-service, %load-file, eval-there): Likewise.
</content>
</entry>
<entry>
<title>services: herd: Add a stop-service procedure.</title>
<updated>2017-08-08T19:49:08Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-08-05T21:24:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=0642838b2e9ab2bd988dccb64b9e1130006347bf'/>
<id>urn:sha1:0642838b2e9ab2bd988dccb64b9e1130006347bf</id>
<content type='text'>
* gnu/services/herd.scm (stop-service): New procedure.
</content>
</entry>
<entry>
<title>services: herd: Fix matching ok responses from shepherd service.</title>
<updated>2017-08-08T19:48:53Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-08-05T21:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=dc7b3e56337ee9d8dcd8fe7d5cab71ef536d024f'/>
<id>urn:sha1:dc7b3e56337ee9d8dcd8fe7d5cab71ef536d024f</id>
<content type='text'>
Previously the match expression case for a successful response
(where error is #f) required that the result component contained a list with a
single element.

As far as I see when looking at the responses from the shepherd, this is not
normally the case. Therefore, to avoid treating successful responses as
errors, make the match requirement more permissive, accepting any value.

* gnu/services/herd.scm (invoke-action): Change match condition for ok responses.
</content>
</entry>
<entry>
<title>services: herd: Make %shepherd-socket-file a parameter and export it.</title>
<updated>2017-05-03T09:35:25Z</updated>
<author>
<name>Mathieu Othacehe</name>
<email>m.othacehe@gmail.com</email>
</author>
<published>2017-04-28T15:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=5e03b122cf295d24e01861ca942505d47f9aa59e'/>
<id>urn:sha1:5e03b122cf295d24e01861ca942505d47f9aa59e</id>
<content type='text'>
* gnu/services/herd.scm (%shepherd-socket-file): Make it an exported
  parameter.
(open-connection): Adapt.
</content>
</entry>
<entry>
<title>services: herd: Provide &lt;live-service&gt; objects.</title>
<updated>2016-08-31T13:44:19Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-08-30T15:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=183605c8533ad321ff8bba209b64071a9e84714a'/>
<id>urn:sha1:183605c8533ad321ff8bba209b64071a9e84714a</id>
<content type='text'>
* gnu/services/herd.scm (&lt;live-service&gt;): New record type.
(current-services): Change to return a single value: #f or a list of
&lt;live-service&gt;.
* guix/scripts/system.scm (call-with-service-upgrade-info): Adjust
accordingly.
* gnu/tests/base.scm (run-basic-test)["shepherd services"]: Adjust
accordingly.
</content>
</entry>
</feed>
