<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts, 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-31T14:32:53Z</updated>
<entry>
<title>remote: Remove '--system' argument.</title>
<updated>2019-07-31T14:32:53Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-07-31T13:20:27Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=1a81d4d0731257428b1f30e6b4674c968ecf52e9'/>
<id>urn:sha1:1a81d4d0731257428b1f30e6b4674c968ecf52e9</id>
<content type='text'>
* gnu/services.scm (activation-script): Return a &lt;program-file&gt; rather
than a &lt;scheme-file&gt;.
* gnu/deploy.scm (guix-deploy): Remove handling for '--system'.
(show-help): Remove documentation for '--system'.
(%default-options): Remove default setting for 'system'.
</content>
</entry>
<entry>
<title>machine: Implement 'roll-back-machine'.</title>
<updated>2019-07-31T13:54:50Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-07-23T18:14:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=8e708b9e6895f0469cd4251567f43a174d372d26'/>
<id>urn:sha1:8e708b9e6895f0469cd4251567f43a174d372d26</id>
<content type='text'>
* gnu/machine.scm (roll-back-machine, &amp;deploy-error, deploy-error?)
(deploy-error-should-roll-back)
(deploy-error-captured-args): New variable.
* gnu/machine/ssh.scm (roll-back-managed-host): New variable.
* guix/scripts/deploy.scm (guix-deploy): Roll-back systems when a
deployment fails.
</content>
</entry>
<entry>
<title>guix system: Reimplement 'reconfigure'.</title>
<updated>2019-07-26T17:19:49Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-07-24T16:34:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=5c8c8c455420af27189d6045b3599fe6e27ad012'/>
<id>urn:sha1:5c8c8c455420af27189d6045b3599fe6e27ad012</id>
<content type='text'>
* guix/scripts/system.scm (switch-to-system)
(upgrade-shepherd-services, install-bootloader): Delete variable.
(local-eval): New variable.
(install): Remove 'bootloader-installer' and 'bootcfg-file' parameters.
(install): Add 'bootloader' parameter.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>guix system: Add 'reconfigure' module.</title>
<updated>2019-07-26T17:19:49Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-07-24T16:34:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=5c793753b31b1dcd9a554bce953124f7ae88ca9a'/>
<id>urn:sha1:5c793753b31b1dcd9a554bce953124f7ae88ca9a</id>
<content type='text'>
* guix/scripts/system/reconfigure.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/system.scm (bootloader-installer-script): Export variable.
* gnu/machine/ssh.scm (switch-to-system, upgrade-shepherd-services)
(install-bootloader): Delete variable.
* gnu/machine/ssh.scm (deploy-managed-host): Rewrite procedure.
* gnu/services/herd.scm (live-service): Export variable.
* gnu/services/herd.scm (live-service-canonical-name): New variable.
* tests/services.scm (live-service): Delete variable.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>guix build: '--with-commit' recognizes "v[0-9]" tags.</title>
<updated>2019-07-26T09:21:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-26T09:17:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=4d04bc50d2df32be326e0f48f378dc581f873989'/>
<id>urn:sha1:4d04bc50d2df32be326e0f48f378dc581f873989</id>
<content type='text'>
* guix/scripts/build.scm (transform-package-source-commit)[replace]:
Special case COMMIT that starts with "v[0-9]".
</content>
</entry>
<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>deploy: Handle the '--system' command line option.</title>
<updated>2019-07-24T12:34:01Z</updated>
<author>
<name>宋文武</name>
<email>iyzsong@member.fsf.org</email>
</author>
<published>2019-07-20T04:51:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3c618b9894d167399b820642d011aed251cf4ba3'/>
<id>urn:sha1:3c618b9894d167399b820642d011aed251cf4ba3</id>
<content type='text'>
* guix/scripts/deploy.scm (show-help): Add help for '--system'.
(%options): Add '-s' and '--system'.
(guix-deploy): Parameterize %current-system.
</content>
</entry>
<entry>
<title>deploy: Honor '--no-grafts'.</title>
<updated>2019-07-24T12:34:01Z</updated>
<author>
<name>宋文武</name>
<email>iyzsong@member.fsf.org</email>
</author>
<published>2019-07-20T04:45:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2fa23d8f5c4db6be583f0bb0eeba0368f1513ec7'/>
<id>urn:sha1:2fa23d8f5c4db6be583f0bb0eeba0368f1513ec7</id>
<content type='text'>
* guix/scripts/deploy.scm (guix-deploy): Parameterize '%graft?'.
</content>
</entry>
<entry>
<title>pack: Pass a list as the entry point for 'build-docker-image'.</title>
<updated>2019-07-22T09:53:40Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-21T22:45:42Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=cd9f56ff5a0c187eb9d931713cb6774564163788'/>
<id>urn:sha1:cd9f56ff5a0c187eb9d931713cb6774564163788</id>
<content type='text'>
* guix/scripts/pack.scm (docker-image)[build]: Pass a list as
 #:entry-point, not a string.
</content>
</entry>
<entry>
<title>lint: Use the 'warning' procedure for messages.</title>
<updated>2019-07-19T23:32:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-19T23:31:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3d33c93cef67d88bdc9409959f3c1f3857af09cf'/>
<id>urn:sha1:3d33c93cef67d88bdc9409959f3c1f3857af09cf</id>
<content type='text'>
* guix/scripts/lint.scm (emit-warnings): Use 'warning' instead of
'format'.
</content>
</entry>
</feed>
