<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts/graph.scm, 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-06-27T09:14:41Z</updated>
<entry>
<title>graph: Use 'derivation-input-derivation'.</title>
<updated>2019-06-27T09:14:41Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-23T07:38:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a25006198690dc263ce1b13de6733055c6d6eba4'/>
<id>urn:sha1:a25006198690dc263ce1b13de6733055c6d6eba4</id>
<content type='text'>
* guix/scripts/graph.scm (derivation-dependencies): Use
'derivation-input-derivation'.
</content>
</entry>
<entry>
<title>graph: Factorize calls to 'fold-packages'.</title>
<updated>2019-03-23T17:15:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-23T14:10:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a53ecfc897a5490744ecc1bc72cabc1d3f5c434f'/>
<id>urn:sha1:a53ecfc897a5490744ecc1bc72cabc1d3f5c434f</id>
<content type='text'>
* guix/scripts/graph.scm (all-packages): New procedure.
(%reverse-package-node-type, %reverse-bag-node-type): Use 'all-packages'
instead of 'fold-packages'.
</content>
</entry>
<entry>
<title>graph: Add the 'reverse-bag' graph.</title>
<updated>2019-03-23T17:15:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-23T14:04:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2b81eac01e5828c6fce61b3cafc0f78e7a0ab891'/>
<id>urn:sha1:2b81eac01e5828c6fce61b3cafc0f78e7a0ab891</id>
<content type='text'>
Suggested by Julien Lepiller.

* guix/scripts/graph.scm (%reverse-bag-node-type): New variable.
(%node-types): Add it.
* tests/graph.scm ("reverse bag DAG"): New test.
* doc/guix.texi (Invoking guix graph): Document it.
</content>
</entry>
<entry>
<title>store: Rename '&amp;nix-error' to '&amp;store-error'.</title>
<updated>2019-01-21T22:09:55Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-21T16:41:11Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=f9e8a12379c6fefc9e5c3c7fc3926599bbefc013'/>
<id>urn:sha1:f9e8a12379c6fefc9e5c3c7fc3926599bbefc013</id>
<content type='text'>
* guix/store.scm (&amp;nix-error): Rename to...
(&amp;store-error): ... this, and adjust users.
(&amp;nix-connection-error): Rename to...
(&amp;store-connection-error): ... this, and adjust users.
(&amp;nix-protocol-error): Rename to...
(&amp;store-protocol-error): ... this, adjust users.
(&amp;nix-error, &amp;nix-connection-error, &amp;nix-protocol-error): Define these
condition types and their getters as deprecrated aliases.
* build-aux/run-system-tests.scm, guix/derivations.scm,
guix/grafts.scm, guix/scripts/challenge.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/offload.scm, guix/serialization.scm,
guix/ssh.scm, guix/tests.scm, guix/ui.scm,
tests/derivations.scm, tests/gexp.scm, tests/guix-daemon.sh,
tests/packages.scm, tests/store.scm, doc/guix.texi: Adjust to use the
new names.
</content>
</entry>
<entry>
<title>graph: Add '--system'.</title>
<updated>2018-09-16T21:00:44Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-09-16T19:38:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=ebbfc59c21d9888d43f36d8f23862030ebaaacce'/>
<id>urn:sha1:ebbfc59c21d9888d43f36d8f23862030ebaaacce</id>
<content type='text'>
* guix/scripts/graph.scm (%options, show-help): Add '--system'.
(%default-options): Add 'system'.
(guix-graph): Pass #:system to 'run-with-store'.
</content>
</entry>
<entry>
<title>graph: Add "module" node type.</title>
<updated>2018-03-27T12:51:44Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-27T12:00:48Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=b06a70e05dc6252a3ecb28db5898de7ebc110973'/>
<id>urn:sha1:b06a70e05dc6252a3ecb28db5898de7ebc110973</id>
<content type='text'>
* guix/scripts/graph.scm (module-from-package)
(source-module-dependencies*): New procedures.
(%module-node-type): New variable.
(%node-types): Add it.
* guix/modules.scm (source-module-dependencies): Export.
* tests/graph.scm ("module graph"): New test.
* doc/guix.texi (Invoking guix graph): Document it.
</content>
</entry>
<entry>
<title>graph: Remove mention of Graphviz from the summary line.</title>
<updated>2017-10-28T07:45:54Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-27T21:53:17Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=34b1f339cd8f709941593ec2ae0b55ed1e13cb6e'/>
<id>urn:sha1:34b1f339cd8f709941593ec2ae0b55ed1e13cb6e</id>
<content type='text'>
* guix/scripts/graph.scm (show-help): Remove mention of Graphviz from
the summary line.
</content>
</entry>
<entry>
<title>scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'.</title>
<updated>2017-10-28T07:45:53Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-27T20:28:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a1ff7e1d8dfb86ae1817d4e0db4ddeebd2083e83'/>
<id>urn:sha1:a1ff7e1d8dfb86ae1817d4e0db4ddeebd2083e83</id>
<content type='text'>
* guix/scripts.scm (parse-command-line): Add #:build-options? parameter
and honor it.
* guix/scripts/challenge.scm (guix-challenge): Use 'parse-command-line'
with #:build-options? #f instead of 'args-fold*'.
* guix/scripts/gc.scm (guix-gc): Likewise.
* guix/scripts/graph.scm (guix-graph): Likewise.
* guix/scripts/hash.scm (guix-hash): Likewise.
* guix/scripts/lint.scm (guix-lint): Likewise.
* guix/scripts/refresh.scm (guix-refresh): Likewise.
* guix/scripts/size.scm (guix-size): Likewise.
* guix/scripts/weather.scm (guix-weather): Likewise.
</content>
</entry>
<entry>
<title>derivations: Introduce 'read-derivation-from-file'.</title>
<updated>2017-06-12T15:53:51Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2017-06-12T15:11:22Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=015f17e8b9eff97f656852180ac51c75438d7f9d'/>
<id>urn:sha1:015f17e8b9eff97f656852180ac51c75438d7f9d</id>
<content type='text'>
This avoids the open/fstat/close syscalls upon a cache hit that we had
with the previous idiom:

  (call-with-input-file file read-derivation)

where caching happened in 'read-derivation' itself.

* guix/derivations.scm (%read-derivation): Rename to...
(read-derivation): ... this.
(read-derivation-from-file): New procedure.
(derivation-prerequisites, substitution-oracle)
(derivation-prerequisites-to-build):
(derivation-path-&gt;output-path, derivation-path-&gt;output-paths):
(derivation-path-&gt;base16-hash, map-derivation): Use
'read-derivation-from-file' instead of (call-with-input-file …
read-derivation).
* guix/grafts.scm (item-&gt;deriver): Likewise.
* guix/scripts/build.scm (log-url, options-&gt;things-to-build): Likewise.
* guix/scripts/graph.scm (file-&gt;derivation): Remove.
(derivation-dependencies, %derivation-node-type): Use
'read-derivation-from-file' instead.
* guix/scripts/offload.scm (guix-offload): Likewise.
* guix/scripts/perform-download.scm (guix-perform-download): Likewise.
* guix/scripts/publish.scm (load-derivation): Remove.
(narinfo-string): Use 'read-derivation-from-file'.
</content>
</entry>
<entry>
<title>ui: Rename '_' to 'G_'.</title>
<updated>2017-05-03T14:16:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-03T13:57:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=69daee23af49aeafcb1d250c90860f9253da719e'/>
<id>urn:sha1:69daee23af49aeafcb1d250c90860f9253da719e</id>
<content type='text'>
This avoids collisions with '_' when the latter is used as a 'match'
pattern for instance.  See
&lt;https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html&gt;.

* guix/ui.scm: Rename '_' to 'G_'.
* po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly.
* build-aux/compile-all.scm (warnings): Remove 'format'.
* gnu/packages.scm,
gnu/services.scm,
gnu/services/shepherd.scm,
gnu/system.scm,
gnu/system/shadow.scm,
guix/gnupg.scm,
guix/http-client.scm,
guix/import/cpan.scm,
guix/import/elpa.scm,
guix/import/pypi.scm,
guix/nar.scm,
guix/scripts.scm,
guix/scripts/archive.scm,
guix/scripts/authenticate.scm,
guix/scripts/build.scm,
guix/scripts/challenge.scm,
guix/scripts/container.scm,
guix/scripts/container/exec.scm,
guix/scripts/copy.scm,
guix/scripts/download.scm,
guix/scripts/edit.scm,
guix/scripts/environment.scm,
guix/scripts/gc.scm,
guix/scripts/graph.scm,
guix/scripts/hash.scm,
guix/scripts/import.scm,
guix/scripts/import/cpan.scm,
guix/scripts/import/cran.scm,
guix/scripts/import/crate.scm,
guix/scripts/import/elpa.scm,
guix/scripts/import/gem.scm,
guix/scripts/import/gnu.scm,
guix/scripts/import/hackage.scm,
guix/scripts/import/nix.scm,
guix/scripts/import/pypi.scm,
guix/scripts/import/stackage.scm,
guix/scripts/lint.scm,
guix/scripts/offload.scm,
guix/scripts/pack.scm,
guix/scripts/package.scm,
guix/scripts/perform-download.scm,
guix/scripts/publish.scm,
guix/scripts/pull.scm,
guix/scripts/refresh.scm,
guix/scripts/size.scm,
guix/scripts/substitute.scm,
guix/scripts/system.scm,
guix/ssh.scm,
guix/upstream.scm: Use 'G_' instead of '_'.  Most of this change was
obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`".
</content>
</entry>
</feed>
