<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts, branch wip-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=wip-deploy</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=wip-deploy'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-08-15T11:43:09Z</updated>
<entry>
<title>machine: Implement 'roll-back-machine'.</title>
<updated>2019-08-15T11:43:09Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-08-15T08:05:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9c70c460a05b2bc60f3f3602f0a2dba0f79ce86c'/>
<id>urn:sha1:9c70c460a05b2bc60f3f3602f0a2dba0f79ce86c</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>remote: Remove '--system' argument.</title>
<updated>2019-08-14T19:38:13Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-08-09T18:25:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=03cbd94d4880f1bb55d98907b48396e5120c1733'/>
<id>urn:sha1:03cbd94d4880f1bb55d98907b48396e5120c1733</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>deploy: Use all machine modules when loading deployment</title>
<updated>2019-08-07T20:05:58Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-08-07T12:43:27Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=55e238f2ab24ce347047ebc7fd7c5eba62dac69d'/>
<id>urn:sha1:55e238f2ab24ce347047ebc7fd7c5eba62dac69d</id>
<content type='text'>
* guix/scripts/deploy.scm (load-source-file): Enumerate and include all
submodules of (gnu machine) when loading the provided deployment
specification.
</content>
</entry>
<entry>
<title>reconfigure: Fix GC root installation.</title>
<updated>2019-08-06T20:21:13Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-08-06T17:37:32Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=5f04e9f9620aeb45940855e4f655f22db55ba6eb'/>
<id>urn:sha1:5f04e9f9620aeb45940855e4f655f22db55ba6eb</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/36942&gt;.
Reported by ison &lt;ison@airmail.cc&gt;.

guix/scripts/system/reconfigure.scm (install-bootloader-program): Switch
new symlink to the canonical bootloader configuration file.

Signed-off-by: Danny Milosavljevic &lt;dannym@scratchpost.org&gt;
</content>
</entry>
<entry>
<title>reconfigure: Reload all shepherd files when upgrading services.</title>
<updated>2019-08-02T09:20:51Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-07-31T18:13:01Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=1db6f137d93b59409fedb3deb24c876649e1b8f2'/>
<id>urn:sha1:1db6f137d93b59409fedb3deb24c876649e1b8f2</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/36878&gt;.
Reported by Robert Vollmert &lt;rob@vllmrt.net&gt;.

* guix/scripts/system/reconfigure.scm (upgrade-shepherd-services): Load
all service files, rather than just those of services to be started.

Signed-off-by: Danny Milosavljevic &lt;dannym@scratchpost.org&gt;
</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>
</feed>
