<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/store.scm, branch merge-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=merge-deploy</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=merge-deploy'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-07-04T22:51:17Z</updated>
<entry>
<title>store: 'run-with-store' gracefully deals with #f store.</title>
<updated>2019-07-04T22:51:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-04T22:48:20Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=728a4ab1019fda2f14a5c69d3f1b277fb5e09cda'/>
<id>urn:sha1:728a4ab1019fda2f14a5c69d3f1b277fb5e09cda</id>
<content type='text'>
This is a followup to dd0ee954c4fa965023fd887452927c02edb8b52f, which
introduced a failure in tests/graph.scm.

* guix/store.scm (run-with-store): Check whether STORE and NEW-STORE are
true before calling 'store-connection-object-cache' etc.  Fixes a
failure in tests/graph.scm related to %REVERSE-PACKAGE-NODE-TYPE, which
uses #f as the store.
</content>
</entry>
<entry>
<title>store: 'run-with-store' preserves the functional object cache.</title>
<updated>2019-07-03T21:44:19Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-03T21:29:17Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=dd0ee954c4fa965023fd887452927c02edb8b52f'/>
<id>urn:sha1:dd0ee954c4fa965023fd887452927c02edb8b52f</id>
<content type='text'>
This increases the hit rate of the object cache from 56% to 85% when
running something like 'guix build libreoffice -nd'.

* guix/store.scm (set-store-connection-object-cache!): New procedure.
(run-with-store): Copy 'object-cache' field of the new store into the
original one.
</content>
</entry>
<entry>
<title>store: 'build-things' accepts derivation/output pairs.</title>
<updated>2019-06-10T20:42:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-10T20:10:21Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=f8a9f99cd602ce1dc5307cb0c21ae718ad8796bb'/>
<id>urn:sha1:f8a9f99cd602ce1dc5307cb0c21ae718ad8796bb</id>
<content type='text'>
This allows callers to request the substitution of a single derivation
output.

* guix/store.scm (build-things): Accept derivation/output pairs among
THINGS.
* guix/derivations.scm (build-derivations): Likewise.
* tests/store.scm ("substitute + build-things with specific output"):
New test.
* tests/derivations.scm ("build-derivations with specific output"):
New test.
* doc/guix.texi (The Store): Adjust accordingly.
</content>
</entry>
<entry>
<title>store: Fix 'hash-part-&gt;path' docstring.</title>
<updated>2019-05-25T23:34:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-25T23:33:39Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7fcb86da2b1923a9f7d3cd04ce922632f52af5a0'/>
<id>urn:sha1:7fcb86da2b1923a9f7d3cd04ce922632f52af5a0</id>
<content type='text'>
* guix/store.scm (hash-part-&gt;path): Adjust docstring to match reality.
</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://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>
<entry>
<title>store: Add "add-data-to-store-cache" profiling component.</title>
<updated>2019-04-16T15:30:21Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-16T09:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d1f7748a2e41f2ca320eca56b366933b8aa1123c'/>
<id>urn:sha1:d1f7748a2e41f2ca320eca56b366933b8aa1123c</id>
<content type='text'>
* guix/store.scm (add-data-to-store): Define 'lookup' and use it instead
of 'hash-ref'.
</content>
</entry>
<entry>
<title>store: Memoize 'built-in-builders' call directly in &lt;store-connection&gt;.</title>
<updated>2019-04-16T15:30:21Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-16T08:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=3961edf2304bcff4c402a29868f8c559a03c0663'/>
<id>urn:sha1:3961edf2304bcff4c402a29868f8c559a03c0663</id>
<content type='text'>
The caching strategy introduced in
40cc850aebb497faed0a11d867d8fcee729023df was ineffective since we
regularly start from an empty object cache.  For example, "guix build
inkscape -n" would make 241 'built-in-builders' RPCs.

* guix/store.scm (&lt;store-connection&gt;)[built-in-builders]: New field.
(open-connection): Adjust '%make-store-connection' call accordingly.
(port-&gt;connection): Likewise.
(built-in-builders): Rename to...
(%built-in-builders):  ... this.
(built-in-builders): New procedure.
* guix/download.scm (built-in-builders*): Remove 'mcached' call.
</content>
</entry>
<entry>
<title>store: 'with-store' expands to a single procedure call.</title>
<updated>2019-04-10T10:40:58Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-09T07:52:48Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=95207e70d561517c8db8992f61552004f8213b04'/>
<id>urn:sha1:95207e70d561517c8db8992f61552004f8213b04</id>
<content type='text'>
* guix/store.scm (call-with-store): New procedure.
(with-store): Write in terms of 'call-with-store'.
</content>
</entry>
<entry>
<title>store: 'log-file' honors 'GUIX_LOG_DIRECTORY'.</title>
<updated>2019-02-03T23:03:30Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-03T21:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7c4700e9f9c290ecc08a4da41534063565fccb25'/>
<id>urn:sha1:7c4700e9f9c290ecc08a4da41534063565fccb25</id>
<content type='text'>
* guix/store.scm (derivation-log-file): Use %LOCALSTATEDIR or
"GUIX_LOG_DIRECTORY" instead of (dirname %STATE-DIRECTORY).
</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://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>
</feed>
