<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/services.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-05-10T21:29:18Z</updated>
<entry>
<title>services: 'gc-root-service-type' now has a default value.</title>
<updated>2019-05-10T21:29:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-10T16:13:52Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=dc5729a8e0e2ef5cf5855aa5f1d7ecba319c2e5b'/>
<id>urn:sha1:dc5729a8e0e2ef5cf5855aa5f1d7ecba319c2e5b</id>
<content type='text'>
* gnu/services.scm (gc-root-service-type)[default-value]: New field.
</content>
</entry>
<entry>
<title>services: 'instantiate-missing-services' reaches fixed point.</title>
<updated>2018-09-07T21:00:39Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-09-07T21:00:39Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=9b6c4355645534d1ae799bfef6761b75ed8b3a41'/>
<id>urn:sha1:9b6c4355645534d1ae799bfef6761b75ed8b3a41</id>
<content type='text'>
Fixes a bug whereby services indirectly depended on would not be
automatically instantiated.

* gnu/services.scm (instantiate-missing-services): Loop back when the
length of ADJUSTED is greater than that of INSTANCES.
* tests/services.scm ("instantiate-missing-services, indirect"): New test.
</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: Add description to core services.</title>
<updated>2018-06-20T21:47:07Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-20T08:44:24Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=636bb2b5e350bb5eb1d934da690c85e52e352bc4'/>
<id>urn:sha1:636bb2b5e350bb5eb1d934da690c85e52e352bc4</id>
<content type='text'>
* gnu/services.scm (system-service-type, boot-service-type)
(cleanup-service-type, activation-service-type)
(special-files-service-type, etc-service-type)
(setuid-program-service-type, profile-service-type)
(firmware-service-type, gc-root-service-type): Add 'description' field.
</content>
</entry>
<entry>
<title>services: cleanup: Expect file names to be UTF-8-encoded.</title>
<updated>2018-06-20T08:05:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-20T08:00:44Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=76c321d8e85683091ecbcd3afe8c56fb7c45c00a'/>
<id>urn:sha1:76c321d8e85683091ecbcd3afe8c56fb7c45c00a</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/26353&gt;.
Reported by Danny Milosavljevic &lt;dannym@scratchpost.org&gt;.

* gnu/services.scm (cleanup-gexp): Add 'setenv' and 'setlocale' calls
before 'delete-file-recursively'.
* gnu/tests/base.scm (%cleanup-os, %test-cleanup): New variables.
(run-cleanup-test): New procedure.
</content>
</entry>
<entry>
<title>services: boot: Reverse the order of boot expressions.</title>
<updated>2018-06-20T08:05:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-20T07:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=661c237b4d8e670e73ea946179a94a3b956bb90e'/>
<id>urn:sha1:661c237b4d8e670e73ea946179a94a3b956bb90e</id>
<content type='text'>
* gnu/services.scm (compute-boot-script): Reverse MEXPS.
* gnu/system.scm (essential-services): Reverse order of
%SHEPHERD-ROOT-SERVICE, %ACTIVATION-SERVICE, and CLEANUP-SERVICE-TYPE.
</content>
</entry>
<entry>
<title>discovery: Remove dependency on (guix ui).</title>
<updated>2018-04-08T15:48:33Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-26T21:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=3c0128b035ae00462f1b0a4427d9525d750e5575'/>
<id>urn:sha1:3c0128b035ae00462f1b0a4427d9525d750e5575</id>
<content type='text'>
This reduces the closure of (guix discovery) from 28 to 8 modules.

* guix/discovery.scm (scheme-files): Use 'format' instead of 'warning'.
(scheme-modules): Add #:warn parameter.  Use it instead of
'warn-about-load-error'.
(fold-modules): Add #:warn and pass it to 'scheme-modules'.
(all-modules): Likewise.
* gnu/bootloader.scm (bootloader-modules): Pass #:warn to 'all-modules'.
* gnu/packages.scm (fold-packages): Likewise.
* gnu/services.scm (all-service-modules): Likewise.
* guix/upstream.scm (importer-modules): Likewise.
</content>
</entry>
<entry>
<title>gnu: Refactor boot-service-type and activation-service-type.</title>
<updated>2018-03-29T06:38:49Z</updated>
<author>
<name>Chris Marusich</name>
<email>cmmarusich@gmail.com</email>
</author>
<published>2018-03-29T06:33:13Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7874e9e047219cce5ae339e57cd76f158bc19f63'/>
<id>urn:sha1:7874e9e047219cce5ae339e57cd76f158bc19f63</id>
<content type='text'>
* gnu/services.scm (boot-service-type) &lt;compose&gt;: Use the "identity"
  procedure instead of the "append" procedure because it more accurately
  reflects the intent, which is to simply return the single list of
  extensions to which fold-services applies the "compose" procedure.
  (activation-service-type) &lt;compose&gt;: Likewise.
</content>
</entry>
<entry>
<title>services: Missing services are automatically instantiated.</title>
<updated>2018-01-20T23:24:03Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-01-20T23:05:09Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d466b1fc8221a6224fe7ded53a828f9c29ed9457'/>
<id>urn:sha1:d466b1fc8221a6224fe7ded53a828f9c29ed9457</id>
<content type='text'>
This simplifies OS configuration: users no longer need to be aware of
what a given service depends on.

See the discussion at
&lt;https://lists.gnu.org/archive/html/guix-devel/2018-01/msg00114.html&gt;.

* gnu/services.scm (missing-target-error): New procedure.
(service-back-edges): Use it.
(instantiate-missing-services): New procedure.
* gnu/system.scm (operating-system-services): Call
'instantiate-missing-services'.
* tests/services.scm ("instantiate-missing-services")
("instantiate-missing-services, no default value"): New tests.
* gnu/services/version-control.scm (cgit-service-type)[extensions]: Add
FCGIWRAP-SERVICE-TYPE.
* gnu/tests/version-control.scm (%cgit-os): Remove NGINX-SERVICE-TYPE
and FCGIWRAP-SERVICE-TYPE instances.
* doc/guix.texi (Log Rotation): Remove 'mcron-service-type' in example.
(Miscellaneous Services): Remove 'nginx-service-type' and
'fcgiwrap-service-type' in Cgit example.
</content>
</entry>
<entry>
<title>services: cleanup: Remove "/run/udev/watch.old" directory.</title>
<updated>2017-12-17T07:32:37Z</updated>
<author>
<name>Danny Milosavljevic</name>
<email>dannym@scratchpost.org</email>
</author>
<published>2017-12-17T07:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=e25ca462e5c6b4e5bbcfb70dbdf1006a25749dee'/>
<id>urn:sha1:e25ca462e5c6b4e5bbcfb70dbdf1006a25749dee</id>
<content type='text'>
* gnu/services.scm (cleanup-gexp): Remove "/run/udev/watch.old" directory.
</content>
</entry>
</feed>
