<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/services/shepherd.scm, branch wip-deploy</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=wip-deploy</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=wip-deploy'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-04-23T14:38:12Z</updated>
<entry>
<title>linux-container: Remove '%containerized-shepherd-service' hack.</title>
<updated>2019-04-23T14:38:12Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-23T13:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=86b8869ffffad96e06e98d523f287b25684a6fa6'/>
<id>urn:sha1:86b8869ffffad96e06e98d523f287b25684a6fa6</id>
<content type='text'>
This hack worked around a defect in the Shepherd 0.5.0 and is no longer
needed.

* gnu/services/shepherd.scm (%containerized-shepherd-service): Remove.
* gnu/system/linux-container.scm (container-essential-services): Don't
use it.
</content>
</entry>
<entry>
<title>services: shepherd: Support one-shot services.</title>
<updated>2019-04-23T14:38:11Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-23T12:48:56Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=95ef8b85b16f19557ea07d0d0cbf856f85657368'/>
<id>urn:sha1:95ef8b85b16f19557ea07d0d0cbf856f85657368</id>
<content type='text'>
* gnu/services/shepherd.scm (&lt;shepherd-service&gt;)[one-shot?]: New field.
(shepherd-service-file): Pass #:one-shot? to the &lt;service&gt; constructor.
* doc/guix.texi (Shepherd Services): Document it.
</content>
</entry>
<entry>
<title>file-systems: Spawn a REPL only when interaction is possible.</title>
<updated>2018-12-18T15:04:26Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-12-18T13:51:56Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=6ea6e1476ff4a18d4b4b864c3065d18ed99c69af'/>
<id>urn:sha1:6ea6e1476ff4a18d4b4b864c3065d18ed99c69af</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/23697&gt;.
Reported by Jan Nieuwenhuizen &lt;janneke@gnu.org&gt;.

* gnu/build/file-systems.scm (check-file-system): Call 'start-repl' only
if current-input-port passes 'isatty?'.
* gnu/services/shepherd.scm (shepherd-configuration-file): After
'for-each' expression, call 'redirect-port'.
* gnu/tests/base.scm (run-basic-test)["stdin is /dev/null"]: New test.
</content>
</entry>
<entry>
<title>services: shepherd: Add workaround for 0.5.0 in containers.</title>
<updated>2018-09-26T21:40:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-09-26T20:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a56c4eb8f43ae5555985d8a84308d150c0763c5a'/>
<id>urn:sha1:a56c4eb8f43ae5555985d8a84308d150c0763c5a</id>
<content type='text'>
* gnu/services/shepherd.scm (%containerized-shepherd-service): New service.
* gnu/system.scm (essential-services): Use it when CONTAINER? is true.
</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: shepherd: Support custom actions.</title>
<updated>2018-07-12T22:08:54Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-07-11T21:17:37Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=701383081a9814d21823d42978ae23ee654e0427'/>
<id>urn:sha1:701383081a9814d21823d42978ae23ee654e0427</id>
<content type='text'>
* gnu/services/shepherd.scm (&lt;shepherd-service&gt;)[actions]: New field.
(&lt;shepherd-action&gt;): New record type.
(shepherd-service-file): Pass #:actions to 'make'.
* doc/guix.texi (Shepherd Services): Document custom actions.
</content>
</entry>
<entry>
<title>services: boot: Take gexps instead of monadic gexps.</title>
<updated>2018-06-20T21:47:08Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-20T09:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=378daa8cb677121e1893f9173af1db060720d6e4'/>
<id>urn:sha1:378daa8cb677121e1893f9173af1db060720d6e4</id>
<content type='text'>
* gnu/services.scm (compute-boot-script): Rename 'mexps' to 'gexps' and
remove 'mlet' form.
(boot-service-type): Update comment.
(cleanup-gexp): Remove 'with-monad' and 'return'.
(activation-script): Rewrite in non-monadic style: use 'scheme-file'
instead of 'gexp-&gt;file'.
(gexps-&gt;activation-gexp): Remove 'mlet', return a gexp.
* gnu/services/shepherd.scm (shepherd-boot-gexp): Remove 'with-monad'
and 'return'.
* gnu/system.scm (operating-system-boot-script): Remove outdated comment.
* gnu/tests/base.scm (%cleanup-os): For 'dirty-service', remove
'with-monad' and 'return'.
</content>
</entry>
<entry>
<title>services: 'shepherd-service-type' now accepts a default value.</title>
<updated>2018-03-15T10:34:57Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-15T10:34:57Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=88cd7bbd3dc8ecb6b02435338eff1524ad7154ed'/>
<id>urn:sha1:88cd7bbd3dc8ecb6b02435338eff1524ad7154ed</id>
<content type='text'>
* gnu/services/shepherd.scm (shepherd-service-type): Add a second form
with an additional 'default' parameter.
</content>
</entry>
<entry>
<title>services: shepherd: Make 'shepherd-configuration-file' non-monadic.</title>
<updated>2018-01-20T23:24:02Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-01-20T22:17:23Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=33033a620e64d64bc549b4472e2f4db61e801d18'/>
<id>urn:sha1:33033a620e64d64bc549b4472e2f4db61e801d18</id>
<content type='text'>
Suggested by atw on #guix.

* gnu/services/shepherd.scm (shepherd-service-file): Use 'scheme-file'
instead of 'gexp-&gt;file'.
(shepherd-configuration-file): Likewise, and adjust to non-monadic
style.
(shepherd-boot-gexp): Adjust accordingly.
* guix/scripts/system.scm (upgrade-shepherd-services): Use
'lower-object' in addition to 'shepherd-service-file'.
</content>
</entry>
<entry>
<title>ui: Rename '_' to 'G_'.</title>
<updated>2017-05-03T14:16:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-03T13:57:02Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=69daee23af49aeafcb1d250c90860f9253da719e'/>
<id>urn:sha1:69daee23af49aeafcb1d250c90860f9253da719e</id>
<content type='text'>
This avoids collisions with '_' when the latter is used as a 'match'
pattern for instance.  See
&lt;https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html&gt;.

* guix/ui.scm: Rename '_' to 'G_'.
* po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly.
* build-aux/compile-all.scm (warnings): Remove 'format'.
* gnu/packages.scm,
gnu/services.scm,
gnu/services/shepherd.scm,
gnu/system.scm,
gnu/system/shadow.scm,
guix/gnupg.scm,
guix/http-client.scm,
guix/import/cpan.scm,
guix/import/elpa.scm,
guix/import/pypi.scm,
guix/nar.scm,
guix/scripts.scm,
guix/scripts/archive.scm,
guix/scripts/authenticate.scm,
guix/scripts/build.scm,
guix/scripts/challenge.scm,
guix/scripts/container.scm,
guix/scripts/container/exec.scm,
guix/scripts/copy.scm,
guix/scripts/download.scm,
guix/scripts/edit.scm,
guix/scripts/environment.scm,
guix/scripts/gc.scm,
guix/scripts/graph.scm,
guix/scripts/hash.scm,
guix/scripts/import.scm,
guix/scripts/import/cpan.scm,
guix/scripts/import/cran.scm,
guix/scripts/import/crate.scm,
guix/scripts/import/elpa.scm,
guix/scripts/import/gem.scm,
guix/scripts/import/gnu.scm,
guix/scripts/import/hackage.scm,
guix/scripts/import/nix.scm,
guix/scripts/import/pypi.scm,
guix/scripts/import/stackage.scm,
guix/scripts/lint.scm,
guix/scripts/offload.scm,
guix/scripts/pack.scm,
guix/scripts/package.scm,
guix/scripts/perform-download.scm,
guix/scripts/publish.scm,
guix/scripts/pull.scm,
guix/scripts/refresh.scm,
guix/scripts/size.scm,
guix/scripts/substitute.scm,
guix/scripts/system.scm,
guix/ssh.scm,
guix/upstream.scm: Use 'G_' instead of '_'.  Most of this change was
obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`".
</content>
</entry>
</feed>
