<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/build/store-copy.scm, branch master</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=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2018-11-06T22:21:24Z</updated>
<entry>
<title>store-copy: Canonicalize the mtime and permissions of the store copy.</title>
<updated>2018-11-06T22:21:24Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-11-04T21:05:32Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=72dc64f8f720268930eed448abfc15d2a0eca3cf'/>
<id>urn:sha1:72dc64f8f720268930eed448abfc15d2a0eca3cf</id>
<content type='text'>
Fixes a bug whereby directories in the output of 'guix pack -f tarball'
would not be read-only.

* guix/build/store-copy.scm (reset-permissions): New procedure.
(populate-store): Pass #:keep-mtime? #t to 'copy-recursively'.  Call
'reset-permissions'.
* tests/pack.scm ("self-contained-tarball"): In CHECK, define
'canonical?' and use it to check that every file has an mtime of 1 and
is read-only.
* tests/guix-pack.sh: Invoke "chmod -Rf +w" before "rm -rf" in trap.
</content>
</entry>
<entry>
<title>store-copy: Display a progress bar when copying store items.</title>
<updated>2018-09-23T21:34:16Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-09-23T20:24:07Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a387b0bebb151a766ca6a454a891f2370c96703c'/>
<id>urn:sha1:a387b0bebb151a766ca6a454a891f2370c96703c</id>
<content type='text'>
* guix/build/store-copy.scm (populate-store): Add #:log-port parameter.
Use 'progress-reporter/bar' to report progress.
</content>
</entry>
<entry>
<title>database: Add 'register-items'.</title>
<updated>2018-06-14T09:17:00Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-06-07T20:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=31a63be8784b2769c2db21388f788a8b975fd4e1'/>
<id>urn:sha1:31a63be8784b2769c2db21388f788a8b975fd4e1</id>
<content type='text'>
* guix/build/store-copy.scm (store-info): Export.
* guix/store/database.scm (register-items): New procedure.
(register-path): Implement in terms of 'register-items'.
* gnu/build/install.scm (register-closure): Use 'register-items' instead
of 'for-each' and 'register-path'.
</content>
</entry>
<entry>
<title>store-copy: 'read-reference-graph' returns a list of records.</title>
<updated>2018-06-14T09:16:58Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-06-04T20:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=6892f0a247a06ac12c8c462692f8b3f93e872911'/>
<id>urn:sha1:6892f0a247a06ac12c8c462692f8b3f93e872911</id>
<content type='text'>
The previous implementation of 'read-reference-graph' was good enough
for many use cases, but it discarded the graph structure, which is
useful information in some cases.

* guix/build/store-copy.scm (&lt;store-info&gt;): New record type.
(read-reference-graph): Rewrite to return a list of &lt;store-info&gt;.
(closure-size, populate-store): Adjust accordingly.
* gnu/services/base.scm (references-file): Adjust accordingly.
* gnu/system/vm.scm (system-docker-image): Likewise.
* guix/scripts/pack.scm (squashfs-image, docker-image): Likewise.
* tests/gexp.scm ("gexp-&gt;derivation #:references-graphs"): Likewise.
</content>
</entry>
<entry>
<title>vm: Estimate the disk size by default.</title>
<updated>2017-06-29T22:16:50Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2017-06-29T22:04:38Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a8ac4f081a9a679498ea42ccfe001f218bba3043'/>
<id>urn:sha1:a8ac4f081a9a679498ea42ccfe001f218bba3043</id>
<content type='text'>
* gnu/build/vm.scm (estimated-partition-size): New procedure.
* gnu/system/vm.scm (expression-&gt;derivation-in-linux-vm):
Change #:disk-image-size default to 'guess.
[builder]: When DISK-IMAGE-SIZE is 'guess, use
'estimated-partition-size' and compute and estimate of the image size.
(qemu-image): Likewise.
* guix/build/store-copy.scm (file-size, closure-size): New procedures.
* guix/scripts/system.scm (%default-options): Change 'image-size' to
'guess.
* doc/guix.texi (Building the Installation Image): Remove '--image-size'
flag from example.
(Invoking guix system): Document the image size estimate.
</content>
</entry>
<entry>
<title>vm: Move store copy handling to (guix build store-copy).</title>
<updated>2014-09-04T21:24:54Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2014-09-04T21:05:12Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=6fd1a7967481037560d2ab25f31da182822ef889'/>
<id>urn:sha1:6fd1a7967481037560d2ab25f31da182822ef889</id>
<content type='text'>
* gnu/build/vm.scm (read-reference-graph, populate-store): Move to...
* guix/build/store-copy.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* gnu/system/vm.scm (expression-&gt;derivation-in-linux-vm): Adjust default
  #:modules values accordingly.
* tests/gexp.scm ("gexp-&gt;derivation, store copy"): New test.
</content>
</entry>
</feed>
