<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/pack.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-03-23T23:13:53Z</updated>
<entry>
<title>tests: Adjust 'guix pack -f squashfs' test.</title>
<updated>2019-03-23T23:13:53Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-23T23:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=9c2e58564f3c8b53ce86d5791e3ea5818e1a4fd6'/>
<id>urn:sha1:9c2e58564f3c8b53ce86d5791e3ea5818e1a4fd6</id>
<content type='text'>
This is a followup to 427c87d0bdc06cc3ee7fc220fd3ad36084412533.

* tests/pack.scm ("squashfs-image + localstatedir"): Expect "bin" to be
a relative symlink.
</content>
</entry>
<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>
<email>ludo@gnu.org</email>
</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>pack: Add test for 'self-contained-tarball' with localstatedir.</title>
<updated>2018-11-06T22:21:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-04T16:34:16Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1ff53787dbd4b1846ae523aef86ada3996de5e6d'/>
<id>urn:sha1:1ff53787dbd4b1846ae523aef86ada3996de5e6d</id>
<content type='text'>
* tests/pack.scm ("self-contained-tarball + localstatedir"): New test.
</content>
</entry>
<entry>
<title>pack: Squashfs backend now honors '--localstatedir'.</title>
<updated>2018-11-06T22:21:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-04T16:16:22Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=598a6b87cc6636aee9dec57ae95922da0a6e31e8'/>
<id>urn:sha1:598a6b87cc6636aee9dec57ae95922da0a6e31e8</id>
<content type='text'>
* guix/scripts/pack.scm (squashfs-image)[database]: New variable.
[build]: Add (gnu build install) to the closure.  Call
'install-database-and-gc-roots' when DATABASE is true, and invoke
mksquashfs once more.
* tests/pack.scm ("squashfs-image + localstatedir"): New test.
</content>
</entry>
<entry>
<title>pack: Docker backend now honors '--localstatedir'.</title>
<updated>2018-11-06T22:21:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-03T20:53:07Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=f5a2fb1bfbb620a6ce23ac0e7e15132cae9207da'/>
<id>urn:sha1:f5a2fb1bfbb620a6ce23ac0e7e15132cae9207da</id>
<content type='text'>
* guix/docker.scm (build-docker-image): Add #:database parameter.
Create /var/guix/db, /var/guix/profiles, etc. when DATABASE is true.
* guix/scripts/pack.scm (docker-image): Export.  Remove #:deduplicate?
parameter.  Define 'database' and pass it to 'docker-image'.
* tests/pack.scm (test-assertm): Recompile the derivation of
%BOOTSTRAP-GUILE.
("docker-image + localstatedir"): New test.
</content>
</entry>
<entry>
<title>pack: Import (guix store database) only when '--localstatedir' is passed.</title>
<updated>2018-11-06T22:21:23Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-27T22:17:08Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=b27ef1d46cfdc3c994b106241f99cd7142083d13'/>
<id>urn:sha1:b27ef1d46cfdc3c994b106241f99cd7142083d13</id>
<content type='text'>
This is another way to address &lt;https://bugs.gnu.org/32184&gt;, which was
previously addressed in commit 19c924af4f3726688ca155a905ebf1cb9acdfca2.

* gnu/build/install.scm (register-closure): Move to...
* gnu/build/vm.scm (register-closure): ... here.  New procedure.
* guix/scripts/pack.scm (self-contained-tarball)[build]: Remove
now unneeded 'with-extensions' form and custom (guix config) module.
* tests/guix-pack.sh: Revert the strategy from
commit 19c924af4f3726688ca155a905ebf1cb9acdfca2.
* tests/pack.scm ("self-contained-tarball"): Likewise.
</content>
</entry>
<entry>
<title>tests: Fix typo.</title>
<updated>2018-10-27T22:30:50Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-27T16:10:26Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ec397b312f901da59d9a2e1cffb26bf31507e61f'/>
<id>urn:sha1:ec397b312f901da59d9a2e1cffb26bf31507e61f</id>
<content type='text'>
This is a followup to 19c924af4f3726688ca155a905ebf1cb9acdfca2.

* tests/pack.scm: Fix typo in 'test-skip'.
</content>
</entry>
<entry>
<title>tests: Run 'guix pack' tests using the external store.</title>
<updated>2018-10-19T16:28:57Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-19T15:58:00Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=19c924af4f3726688ca155a905ebf1cb9acdfca2'/>
<id>urn:sha1:19c924af4f3726688ca155a905ebf1cb9acdfca2</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/32184&gt;.

* guix/tests.scm (call-with-external-store): New procedure.
(with-external-store): New macro.
* tests/pack.scm (%store): Remove.
(test-assertm): Add 'store' parameter.
("self-contained-tarball"): Wrap in 'with-external-store'.
* tests/guix-pack.sh: Connect to the external store, if possible, by
setting NIX_STORE_DIR and GUIX_DAEMON_SOCKET.  Remove most uses of
'--bootstrap'.
</content>
</entry>
<entry>
<title>tests: Skip 'self-contained-tarball' test unconditionally.</title>
<updated>2018-09-18T21:23:44Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-09-18T20:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=cda08dd339112c78881e91597326498331b16dca'/>
<id>urn:sha1:cda08dd339112c78881e91597326498331b16dca</id>
<content type='text'>
* tests/pack.scm ("self-contained-tarball"): Skip unconditionally.
</content>
</entry>
<entry>
<title>pack: Adjust test to expect relative symlinks.</title>
<updated>2018-06-01T13:17:41Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-01T13:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ccc951cab3172adfdaf6fd2dfa8f8cdb98358a69'/>
<id>urn:sha1:ccc951cab3172adfdaf6fd2dfa8f8cdb98358a69</id>
<content type='text'>
Reported by Chris Marusich &lt;cmmarusich@gmail.com&gt;.
Fixes &lt;https://bugs.gnu.org/31560&gt;.

* tests/pack.scm ("self-contained-tarball"): Rename 'guile' to 'bin'.
Expect 'bin/Guile' to be a relative symlink.
</content>
</entry>
</feed>
