<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/tests/networking.scm, branch v1.2.0</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>services: ntp: Ensure no double quotes are output to config file.</title>
<updated>2019-10-30T22:15:54+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2019-10-30T21:46:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=97bc3cbea5fc281a299c03eaaa3be5baf21ea673'/>
<id>97bc3cbea5fc281a299c03eaaa3be5baf21ea673</id>
<content type='text'>
* gnu/services/networking.scm (ntp-server-&gt;string): Use the textual
representation of the values as printed by 'display' rather than 'write', to
avoid inserting double quotes in the generated config.
* tests/networking.scm (%ntp-server-sample): Add a comment and make one of the
options a string, to exercise the fix.
("ntp-server-&gt;string"): Move the expected value to the first argument.
("ntp configuration servers deprecated form"): Likewise.
("openntpd generated config string ends with a newline"): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/services/networking.scm (ntp-server-&gt;string): Use the textual
representation of the values as printed by 'display' rather than 'write', to
avoid inserting double quotes in the generated config.
* tests/networking.scm (%ntp-server-sample): Add a comment and make one of the
options a string, to exercise the fix.
("ntp-server-&gt;string"): Move the expected value to the first argument.
("ntp configuration servers deprecated form"): Likewise.
("openntpd generated config string ends with a newline"): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>services: openntpd: Add test for issue #3731.</title>
<updated>2019-09-08T14:15:32+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2019-09-07T00:24:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=2625abc6aa5df66a6503e906b7592691452954f5'/>
<id>2625abc6aa5df66a6503e906b7592691452954f5</id>
<content type='text'>
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318.

* gnu/services/networking.scm (openntpd-configuration-&gt;string): New procedure,
extracted from top of the `openntpd-shepherd-service' to make it testable.
(openntpd-shepherd-service): Adapt following the move of the code to the above
procedure.
* tests/networking.scm: Add a test for the `openntpd-configuration-&gt;string'
procedure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318.

* gnu/services/networking.scm (openntpd-configuration-&gt;string): New procedure,
extracted from top of the `openntpd-shepherd-service' to make it testable.
(openntpd-shepherd-service): Adapt following the move of the code to the above
procedure.
* tests/networking.scm: Add a test for the `openntpd-configuration-&gt;string'
procedure.
</pre>
</div>
</content>
</entry>
<entry>
<title>services: ntp: Support different NTP server types and options.</title>
<updated>2019-09-08T14:15:31+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2019-09-03T01:14:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=5658ae8a0ad5d988765944b7e783b2bdc23a7f48'/>
<id>5658ae8a0ad5d988765944b7e783b2bdc23a7f48</id>
<content type='text'>
* gnu/services/networking.scm (ntp-server-types): New enum.
(&lt;ntp-server&gt;): New record type.
(ntp-server-&gt;string): New procedure.
(%ntp-servers): Define in terms of &lt;htp-server&gt; records.  Use the first
entrypoint server as a pool instead of a list of static servers.  This is more
resilient since a new server of the pool can be interrogated on every
request.  Add the 'iburst' options.
(ntp-configuration-servers): Define a custom accessor that warns but honors
the now deprecated server format.
(&lt;ntp-configuration&gt;): Use it.
(%openntpd-servers): New variable,
(&lt;openntpd-configuration&gt;): Use it, as a pool ('servers' field) instead of a
regular server.
* tests/networking.scm: New file.
* Makefile.am (SCM_TESTS): Register it.
* doc/guix.texi: Update documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/services/networking.scm (ntp-server-types): New enum.
(&lt;ntp-server&gt;): New record type.
(ntp-server-&gt;string): New procedure.
(%ntp-servers): Define in terms of &lt;htp-server&gt; records.  Use the first
entrypoint server as a pool instead of a list of static servers.  This is more
resilient since a new server of the pool can be interrogated on every
request.  Add the 'iburst' options.
(ntp-configuration-servers): Define a custom accessor that warns but honors
the now deprecated server format.
(&lt;ntp-configuration&gt;): Use it.
(%openntpd-servers): New variable,
(&lt;openntpd-configuration&gt;): Use it, as a pool ('servers' field) instead of a
regular server.
* tests/networking.scm: New file.
* Makefile.am (SCM_TESTS): Register it.
* doc/guix.texi: Update documentation.
</pre>
</div>
</content>
</entry>
</feed>
