<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/guix-pack.sh, 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>2019-05-21T22:09:41Z</updated>
<entry>
<title>pack: Add '--root'.</title>
<updated>2019-05-21T22:09:41Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2019-05-21T12:33:51Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=fd214f1522063905021a297dab1ac4d85d94ad83'/>
<id>urn:sha1:fd214f1522063905021a297dab1ac4d85d94ad83</id>
<content type='text'>
* guix/scripts/pack.scm (%options, show-help): Add "--root".
(guix-pack): Honor it.
* tests/guix-pack.sh: Test it.
* doc/guix.texi (Invoking guix pack): Document it.
</content>
</entry>
<entry>
<title>tests: Ensure 'unshare' works before relying on it.</title>
<updated>2019-05-09T15:42:31Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-09T15:13:00Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=8deb65c37850bfca36429f3fe5239bd9236f969c'/>
<id>urn:sha1:8deb65c37850bfca36429f3fe5239bd9236f969c</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35642&gt;.
Reported by Josh Holland &lt;josh@inv.alid.pw&gt;.

* tests/guix-pack-relocatable.sh: Before invoking 'unshare' at the
bottom, add "if unshare -r true" condition.
* tests/guix-pack.sh: Likewise.
</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: 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: 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 'guix-pack.sh'.</title>
<updated>2018-07-05T19:35:55Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-07-05T19:35:55Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ee75e80c05127020188b93d402d1d70b102eaacf'/>
<id>urn:sha1:ee75e80c05127020188b93d402d1d70b102eaacf</id>
<content type='text'>
This works around a regression introduced in commit
66e9944e078cbb9e0d618377dd6df6e639640efa while waiting for a proper fix.

* tests/guix-pack.sh: Add "exit 77".
</content>
</entry>
<entry>
<title>tests: Skip 'tests/guix-pack.sh' when networking is missing.</title>
<updated>2018-05-18T22:14:51Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-05-18T15:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ce9e684b8395fdd0c8217a2e4a1d2776f8ff5ea4'/>
<id>urn:sha1:ce9e684b8395fdd0c8217a2e4a1d2776f8ff5ea4</id>
<content type='text'>
The test could fail because "static-binaries.tar.xz" is missing, for
instance.

* tests/guix-pack.sh: Require a network connection to be on the safe
side.  This reverts part of 47a60325ca650e8fc1a291c8655b4297f4de8deb.
</content>
</entry>
<entry>
<title>pack: Add '--relocatable'.</title>
<updated>2018-05-10T12:53:57Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2018-05-02T15:08:37Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=47a60325ca650e8fc1a291c8655b4297f4de8deb'/>
<id>urn:sha1:47a60325ca650e8fc1a291c8655b4297f4de8deb</id>
<content type='text'>
* gnu/packages/aux-files/run-in-namespace.c: New file.
* Makefile.am (AUX_FILES): Add it.
* guix/scripts/pack.scm (&lt;c-compiler&gt;): New record type.
(c-compiler, bootstrap-c-compiler, c-compiler-compiler): New procedures.
(self-contained-tarball): Use
'relative-file-name' for the SOURCE -&gt; TARGET symlink.
(docker-image): Add 'defmod' to please Geiser.
(wrapped-package, map-manifest-entries): New procedures.
(%options, show-help): Add --relocatable.
(guix-pack): Honor it.
</content>
</entry>
<entry>
<title>pack: Fix handling of '-e'.</title>
<updated>2018-05-07T12:04:19Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-05-07T12:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d26727a143fab0dded1dbc848899270dbacd5dad'/>
<id>urn:sha1:d26727a143fab0dded1dbc848899270dbacd5dad</id>
<content type='text'>
Fixes a regression introduced in
aad16cc1965ab3488449c262455eb29b15c77e95.
Reported by Julien Lepiller.

* guix/scripts/pack.scm (guix-pack)[manifest-from-args]: In
'match-lambda', add clause for single packages.
* tests/guix-pack.sh: Add test for '-e'.
</content>
</entry>
<entry>
<title>pack: Honor package transformation options.</title>
<updated>2018-05-07T08:46:07Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2018-05-07T08:44:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=aad16cc1965ab3488449c262455eb29b15c77e95'/>
<id>urn:sha1:aad16cc1965ab3488449c262455eb29b15c77e95</id>
<content type='text'>
Previously they would silently be ignored.

* guix/scripts/pack.scm (guix-pack)[manifest-from-args]: Add 'store'
parameter.  Call 'options-&gt;transformation' and use it.
Move 'with-store' and 'parameterize' around the 'let'.
* tests/guix-pack.sh: Add test using '--with-source'.
</content>
</entry>
</feed>
