<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/self.scm, 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>Use more guix.gnu.org.</title>
<updated>2019-07-16T21:00:10Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2019-07-15T16:46:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3fb3291e25a7827f1466fba4943c5098a0a0a524'/>
<id>urn:sha1:3fb3291e25a7827f1466fba4943c5098a0a0a524</id>
<content type='text'>
* build-aux/build-self.scm (make-config.scm): Replace gnu.org/s/guix with guix.gnu.org.
* guix/scripts/publish.scm (render-home-page): Likewise.
* guix/self.scm (make-config.scm): Likewise.
</content>
</entry>
<entry>
<title>self: Ship the (gnu machine …) modules.</title>
<updated>2019-07-07T00:08:35Z</updated>
<author>
<name>Mark H Weaver</name>
<email>mhw@netris.org</email>
</author>
<published>2019-07-07T00:02:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=079c93e1c1dd93639417095000d5e56d8db62d61'/>
<id>urn:sha1:079c93e1c1dd93639417095000d5e56d8db62d61</id>
<content type='text'>
This is a followup to commit fa9edf09e992db7510c7471486dffc93e1e707e5.

* guix/self.scm (compiled-guix)[*system-modules*]: Explicitly add all of
gnu/machine/*.
</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>self: Fix unquoting.</title>
<updated>2019-05-28T21:21:27Z</updated>
<author>
<name>Ricardo Wurmus</name>
<email>rekado@elephly.net</email>
</author>
<published>2019-05-28T21:21:27Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=fa866548244e3a8ad65a19c40cb0d6f2c669cc6b'/>
<id>urn:sha1:fa866548244e3a8ad65a19c40cb0d6f2c669cc6b</id>
<content type='text'>
This is a follow-up to commit dfc69e4b6d4bbc41a4d37b3cc6ea12adb34aaafa.

* guix/self.scm (whole-package): Unquote %storedir in the daemon wrapper.
</content>
</entry>
<entry>
<title>self: Add dependency on lzlib.</title>
<updated>2019-05-27T20:47:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-24T08:28:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=73ac9098b17e515ab1215c3ada2b3b0c9fb5b28c'/>
<id>urn:sha1:73ac9098b17e515ab1215c3ada2b3b0c9fb5b28c</id>
<content type='text'>
* guix/self.scm (compiled-guix): Pass #:lzlib to 'make-config.scm'.
(make-config.scm): Add #:lzlib and honor it.
(specification-&gt;package): Add "lzlib".
</content>
</entry>
<entry>
<title>self: 'guix-daemon' honors %localstatedir, %sysconfdir, and %storedir.</title>
<updated>2019-05-26T20:01:42Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-26T20:01:42Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=dfc69e4b6d4bbc41a4d37b3cc6ea12adb34aaafa'/>
<id>urn:sha1:dfc69e4b6d4bbc41a4d37b3cc6ea12adb34aaafa</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35874&gt;.
Reported by Ricardo Wurmus &lt;ricardo.wurmus@mdc-berlin.de&gt;.

Previously, the 'guix-daemon' program provided by 'guix pull' would
systematically use default directory locations for these.

* guix/self.scm (whole-package)[wrap]: Set GUIX_STATE_DIRECTORY,
GUIX_CONFIGURATION_DIRECTORY, and NIX_STORE_DIR.
</content>
</entry>
<entry>
<title>self: Remove unused variables.</title>
<updated>2019-05-20T21:23:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-20T13:55:21Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a90157472740b45be23df86341449eb75ff51168'/>
<id>urn:sha1:a90157472740b45be23df86341449eb75ff51168</id>
<content type='text'>
* guix/self.scm (info-manual)[po4a, gettext]: Remove.
</content>
</entry>
<entry>
<title>Add (guix lzlib).</title>
<updated>2019-05-06T21:21:33Z</updated>
<author>
<name>Pierre Neidhardt</name>
<email>mail@ambrevar.xyz</email>
</author>
<published>2019-03-08T18:02:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=fea338c6ca1922097fa233be85f424c152a4f507'/>
<id>urn:sha1:fea338c6ca1922097fa233be85f424c152a4f507</id>
<content type='text'>
* guix/lzlib.scm, tests/lzlib.scm: New files.
* Makefile.am (MODULES): Add guix/lzlib.scm.
(SCM_TESTS): Add tests/lzlib.scm.
* m4/guix.m4 (GUIX_LIBLZ_LIBDIR): New macro.
* configure.ac (LIBLZ_LIBDIR): Use it.  Define and substitute
'LIBLZ'.
* guix/config.scm.in (%liblz): New variable.
* guix/self.scm (make-config.scm): Add TODO comment.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>build: Change default substitute server to "ci.guix.gnu.org".</title>
<updated>2019-05-01T09:05:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-01T09:05:47Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=757e633d57a7b994759d69e41dd759a39f1a34ae'/>
<id>urn:sha1:757e633d57a7b994759d69e41dd759a39f1a34ae</id>
<content type='text'>
* config-daemon.ac: Replace "ci.guix.info" with "ci.guix.gnu.org".
* doc/guix.texi (SUBSTITUTE-SERVER): Likewise.
* etc/substitutes/ci.guix.gnu.org.pub: New file.
* Makefile.am (dist_pkgdata_DATA): Add it.
* guix/scripts/build.scm (%default-log-urls): Update.
* guix/scripts/substitute.scm (%default-substitute-urls): Likewise.
* guix/store.scm (%default-substitute-urls): Likewise.
* guix/self.scm (miscellaneous-files): Add "ci.guix.gnu.org".
</content>
</entry>
</feed>
