<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/system, branch merge-deploy</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=merge-deploy</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=merge-deploy'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-07-24T22:16:41Z</updated>
<entry>
<title>maint: Switch to Guile-JSON 3.x.</title>
<updated>2019-07-24T22:16:41Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-21T21:05:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=81c3dc32244a17241d74eea9fa265edfcb326f6d'/>
<id>urn:sha1:81c3dc32244a17241d74eea9fa265edfcb326f6d</id>
<content type='text'>
Guile-JSON 3.x is incompatible with Guile-JSON 1.x, which we relied on
until now: it maps JSON dictionaries to alists (instead of hash tables),
and JSON arrays to vectors (instead of lists).  This commit is about
adjusting all the existing code to this new mapping.

* m4/guix.m4 (GUIX_CHECK_GUILE_JSON): New macro.
* configure.ac: Use it.
* doc/guix.texi (Requirements): Mention the Guile-JSON version.
* guix/git-download.scm (git-fetch)[guile-json]: Use GUILE-JSON-3.
* guix/import/cpan.scm (string-&gt;license): Expect vectors instead of
lists.
(module-&gt;dist-name): Use 'json-fetch' instead of 'json-fetch-alist'.
(cpan-fetch): Likewise.
* guix/import/crate.scm (crate-fetch): Likewise, and call 'vector-&gt;list'
for DEPS.
* guix/import/gem.scm (rubygems-fetch): Likewise.
* guix/import/json.scm (json-fetch-alist): Remove.
* guix/import/pypi.scm (pypi-fetch): Use 'json-fetch' instead of
'json-fetch-alist'.
(latest-source-release, latest-wheel-release): Call 'vector-&gt;list' on
RELEASES.
* guix/import/stackage.scm (stackage-lts-info-fetch): Use 'json-fetch'
instead of 'json-fetch-alist'.
(lts-package-version): Use 'vector-&gt;list'.
* guix/import/utils.scm (hash-table-&gt;alist): Remove.
(alist-&gt;package): Pass 'vector-&gt;list' on the inputs fields, and default
to the empty vector.
* guix/scripts/import/json.scm (guix-import-json): Remove call to
'hash-table-&gt;alist'.
* guix/swh.scm (define-json-reader): Expect pair? or null? instead of
hash-table?.
[extract-field]: Use 'assoc-ref' instead of 'hash-ref'.
(json-&gt;branches): Use 'map' instead of 'hash-map-&gt;list'.
(json-&gt;checksums): Likewise.
(json-&gt;directory-entries, origin-visits): Call 'vector-&gt;list' on the
result of 'json-&gt;scm'.
* tests/import-utils.scm ("alist-&gt;package with dependencies"): New test.
* gnu/installer.scm (build-compiled-file)[builder]: Use GUILE-JSON-3.
* gnu/installer.scm (installer-program)[installer-builder]: Likewise.
* gnu/installer/locale.scm (iso639-&gt;iso639-languages): Use 'assoc-ref'
instead of 'hash-ref', and pass vectors through 'vector-&gt;list'.
(iso3166-&gt;iso3166-territories): Likewise.
* gnu/system/vm.scm (system-docker-image)[build]: Use GUILE-JSON-3.
* guix/docker.scm (manifest, config): Adjust for Guile-JSON 3.
* guix/scripts/pack.scm (docker-image)[build]: Use GUILE-JSON-3.
* guix/import/github.scm (fetch-releases-or-tags): Update docstring.
(latest-released-version): Use 'assoc-ref' instead of 'hash-ref'.  Pass
the result of 'fetch-releases-or-tags' to 'vector-&gt;list'.
* guix/import/launchpad.scm (latest-released-version): Likewise.
</content>
</entry>
<entry>
<title>linux-container: Add 'eval/container'.</title>
<updated>2019-07-19T09:53:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-15T14:14:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=bacfec8611530dc3e849fb804b51f50b299796f0'/>
<id>urn:sha1:bacfec8611530dc3e849fb804b51f50b299796f0</id>
<content type='text'>
* gnu/system/linux-container.scm (eval/container): New procedure.
* tests/containers.scm ("eval/container, exit status")
("eval/container, writable user mapping"): New tests.
</content>
</entry>
<entry>
<title>file-systems: Use 'no-atime' for %IMMUTABLE-STORE.</title>
<updated>2019-07-19T09:53:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-19T09:48:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=b41c7beb0b5b7a16656d6acf53f77eaf2a58e125'/>
<id>urn:sha1:b41c7beb0b5b7a16656d6acf53f77eaf2a58e125</id>
<content type='text'>
* gnu/system/file-systems.scm (%immutable-store): Add 'no-atime'.
</content>
</entry>
<entry>
<title>etc: Remove hydra.gnu.org.pub key.</title>
<updated>2019-06-29T12:27:22Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2019-06-28T14:33:01Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3a8bfebed94ba295432da8304b7ffb4a611ef761'/>
<id>urn:sha1:3a8bfebed94ba295432da8304b7ffb4a611ef761</id>
<content type='text'>
* etc/substitutes/hydra.gnu.org.pub: Delete file.
* guix/self.scm (miscellaneous-files): Don't install it.
* Makefile.am (dist_pkgdata_DATA): Remove it.
* gnu/services/base.scm (%default-authorized-guix-keys): Likewise.
(hydra-key-authorization): Rename to…
(substitute-key-authorization): …this.  Adjust only call site.
</content>
</entry>
<entry>
<title>linux-initrd: Fix cross compilation.</title>
<updated>2019-06-25T19:38:42Z</updated>
<author>
<name>Mathieu Othacehe</name>
<email>m.othacehe@gmail.com</email>
</author>
<published>2019-03-06T10:28:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=fdbf4447bc028e6cc658a383ec338a1d3db61a56'/>
<id>urn:sha1:fdbf4447bc028e6cc658a383ec338a1d3db61a56</id>
<content type='text'>
* gnu/system/linux-initrd.scm (default-initrd-modules): Check system name
against %current-target-system first in case we are cross-compiling.
</content>
</entry>
<entry>
<title>linux-container: Remove networking service when network is shared with host.</title>
<updated>2019-06-18T18:49:47Z</updated>
<author>
<name>Arun Isaac</name>
<email>arunisaac@systemreboot.net</email>
</author>
<published>2019-05-25T06:19:42Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=b84c4cda046589658c4d1ba4a9c0b292351fe5ca'/>
<id>urn:sha1:b84c4cda046589658c4d1ba4a9c0b292351fe5ca</id>
<content type='text'>
* gnu/system/linux-container.scm (dummy-networking-service-type): New
variable.
(containerized-operating-system): If network is shared with host, replace
static-networking-service-type with dummy-networking-service-type.
</content>
</entry>
<entry>
<title>vm: 'system-docker-image' builds in a UTF-8 locale.</title>
<updated>2019-06-17T10:36:13Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-17T08:51:49Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=ed504cafa23c34bfa1823a4d5abf3ad55205484b'/>
<id>urn:sha1:ed504cafa23c34bfa1823a4d5abf3ad55205484b</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/36215&gt;.
Reported by Björn Höfling &lt;bjoern.hoefling@bjoernhoefling.de&gt;.

This is a followup to 9c941364bfc0120e3ab5c5c4cc71a9a302d59a2b.

* gnu/system/vm.scm (system-docker-image)[build]: Set GUIX_LOCPATH and
call 'setlocale'.
</content>
</entry>
<entry>
<title>Add (gnu build locale).</title>
<updated>2019-06-07T19:50:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-06T11:36:51Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=15ec93a7832ae7dde747ccd9bb2bb2776be9f199'/>
<id>urn:sha1:15ec93a7832ae7dde747ccd9bb2bb2776be9f199</id>
<content type='text'>
* gnu/build/locale.scm: New file.
* gnu/local.mk (MODULES_NOT_COMPILED): Add it.
* gnu/installer/locale.scm (normalize-codeset): Remove.
* gnu/system/locale.scm (localedef-command): Remove.
(single-locale-directory): Use (gnu build locale).
(glibc-supported-locales)[build]: Likewise, and remove
'read-supported-locales'.
</content>
</entry>
<entry>
<title>linux-container: Check if nscd run directory exists when container is run.</title>
<updated>2019-05-25T05:36:22Z</updated>
<author>
<name>Arun Isaac</name>
<email>arunisaac@systemreboot.net</email>
</author>
<published>2019-05-21T20:16:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=d2928fa63f97844f8b60b9baf8e9a023ee7f2f80'/>
<id>urn:sha1:d2928fa63f97844f8b60b9baf8e9a023ee7f2f80</id>
<content type='text'>
* gnu/system/linux-container.scm (containerized-operating-system):
(container-script): Check for existence of the host nscd run directory in the
container script. This check should be run when the container is started, not
when the container script is created.
[network-mappings]: Delete variable.
[nscd-run-directory, nscd-mapping]: New variables.
</content>
</entry>
<entry>
<title>Merge branch 'version-1.0.1'</title>
<updated>2019-05-20T09:48:57Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-20T09:48:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=99f47b53f755f0a6cb15615c2b9a449a930e82e9'/>
<id>urn:sha1:99f47b53f755f0a6cb15615c2b9a449a930e82e9</id>
<content type='text'>
</content>
</entry>
</feed>
