<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/installer, 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-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://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>installer: Fix typo.</title>
<updated>2019-06-08T00:30:25Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2019-06-07T23:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=232a7e69cea759bcb2ee6687b1ca9b79bb2f257e'/>
<id>urn:sha1:232a7e69cea759bcb2ee6687b1ca9b79bb2f257e</id>
<content type='text'>
* gnu/installer/newt/network.scm (run-technology-page): Fix plural typo.
</content>
</entry>
<entry>
<title>installer: Install xterm alongside ratpoison.</title>
<updated>2019-06-07T20:32:19Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-07T20:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d998902214df0a177591541db60e8f9f406a239b'/>
<id>urn:sha1:d998902214df0a177591541db60e8f9f406a239b</id>
<content type='text'>
* gnu/installer/services.scm (%system-services) &lt;"ratpoison"&gt;: Add
xterm.
</content>
</entry>
<entry>
<title>installer: Install companion packages alongside i3.</title>
<updated>2019-06-07T20:32:10Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-07T20:30:54Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=676eb5880ec2fae03752513c2442aae0bda9bfc4'/>
<id>urn:sha1:676eb5880ec2fae03752513c2442aae0bda9bfc4</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/36008&gt;.
Suggested by Giovanni Biscuolo &lt;g@xelera.eu&gt;.

* gnu/installer/services.scm (%system-services) &lt;"i3"&gt;: Add i3status,
dmenu, and st.
</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://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>installer: Always add '%base-initrd-modules' to 'initrd-modules'.</title>
<updated>2019-06-05T15:27:22Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-05T14:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=0b051bacb34dbd5218f3342c47129b5ed676f155'/>
<id>urn:sha1:0b051bacb34dbd5218f3342c47129b5ed676f155</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/36099&gt;.
Reported by Jonathan Brielmaier &lt;jonathan.brielmaier@web.de&gt;.

* gnu/installer/parted.scm (initrd-configuration): Add
%BASE-INITRD-MODULES to the 'initrd-modules' field.
</content>
</entry>
<entry>
<title>installer: Fix wifi menu crash with hidden SSIDs.</title>
<updated>2019-05-29T09:44:49Z</updated>
<author>
<name>Mathieu Othacehe</name>
<email>m.othacehe@gmail.com</email>
</author>
<published>2019-05-29T07:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=694cb8dc62f59fb67799ad4908a6b12cf7cb49a3'/>
<id>urn:sha1:694cb8dc62f59fb67799ad4908a6b12cf7cb49a3</id>
<content type='text'>
This fixes https://issues.guix.gnu.org/issue/35622.

* gnu/installer/connman.scm (&lt;service&gt;): Mention that name may be false.
* gnu/installer/newt/wifi.scm (wifi-services): Filter out wifi services
without name.

Co-authored by: Pierre Neidhardt &lt;mail@ambrevar.xyz&gt;
</content>
</entry>
<entry>
<title>installer: Fix Guile-Parted crash on i686.</title>
<updated>2019-05-19T09:58:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-19T09:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d68de958b60426798ed62797ff7c96c327a672ac'/>
<id>urn:sha1:d68de958b60426798ed62797ff7c96c327a672ac</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35783&gt;.
This is a followup to 7d567af46b4e10ffafb1d0f76b524f5781460598.

* gnu/installer/parted.scm (auto-partition!): Append ESP-PARTITION, when
it is true, to the result of 'create-adjacent-partitions!'.
* gnu/installer/newt/partition.scm (run-partioning-page): Remove
'initial-partitions' variable, and remove call to
'create-special-user-partitions'.

Co-authored-by: Mathieu Othacehe &lt;m.othacehe@gmail.com&gt;
</content>
</entry>
<entry>
<title>installer: Rename 'auto-partition' to 'auto-partition!'.</title>
<updated>2019-05-15T14:36:20Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-15T12:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=15374648193f813d036f377bb1e944c9bafd4636'/>
<id>urn:sha1:15374648193f813d036f377bb1e944c9bafd4636</id>
<content type='text'>
This is a followup to 7d567af46b4e10ffafb1d0f76b524f5781460598.

* gnu/installer/parted.scm (create-adjacent-partitions): Rename to...
(create-adjacent-partitions!): ... this.  Make private.
(auto-partition): Rename to...
(auto-partition!): ... this.
* gnu/installer/newt/partition.scm (run-partioning-page): Adjust
accordingly.
</content>
</entry>
<entry>
<title>installer: Mount ESP once only.</title>
<updated>2019-05-15T10:18:51Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-14T22:47:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7d567af46b4e10ffafb1d0f76b524f5781460598'/>
<id>urn:sha1:7d567af46b4e10ffafb1d0f76b524f5781460598</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35731&gt;.

* gnu/installer/newt/partition.scm (run-partioning-page)[run-page]:
Introduce 'initial-partitions' variable.  Previously we'd call
'disk-partitions' after 'auto-partition' had done its job of creating
new partitions, and thus its result would contain the just-created
partitions.  Consequently, 'create-special-user-partitions' would return
the ESP partition we just created, and thus it would appear twice in the
list.
</content>
</entry>
</feed>
