<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/tests, branch v1.0.1</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>pack: '--localstatedir' and '-R' tests gracefully handle missing /gnu/store.</title>
<updated>2019-05-18T10:23:31+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-18T10:21:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=baab87ac49e3f0f873e17eb16db9781189b1f2d1'/>
<id>baab87ac49e3f0f873e17eb16db9781189b1f2d1</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35776&gt;.
Reported by Ting-Wei Lan &lt;lantw44@gmail.com&gt;.

* tests/guix-pack-localstatedir.sh: Set 'storedir' before
'NIX_STORE_DIR'.
* tests/guix-pack-relocatable.sh: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/35776&gt;.
Reported by Ting-Wei Lan &lt;lantw44@gmail.com&gt;.

* tests/guix-pack-localstatedir.sh: Set 'storedir' before
'NIX_STORE_DIR'.
* tests/guix-pack-relocatable.sh: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>gremlin: Adjust tests for foreign distros.</title>
<updated>2019-05-18T10:10:15+00:00</updated>
<author>
<name>Ting-Wei Lan</name>
<email>lantw44@gmail.com</email>
</author>
<published>2019-05-18T10:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=6b97415996583b15a97dad8254f610275353e913'/>
<id>6b97415996583b15a97dad8254f610275353e913</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35775&gt;.

* tests/gremlin.scm ("elf-dynamic-info-needed, executable"): Expect only
libguile and libc among NEEDED.
("strip-runpath"): Pass '--enable-new-dtags' to get RUNPATH, not RPATH.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/35775&gt;.

* tests/gremlin.scm ("elf-dynamic-info-needed, executable"): Expect only
libguile and libc among NEEDED.
("strip-runpath"): Pass '--enable-new-dtags' to get RUNPATH, not RPATH.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Fix guix-package.sh.</title>
<updated>2019-05-13T14:54:13+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2019-05-13T14:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=ccabb664ed55d44767e037bb73169be2ecf9449d'/>
<id>ccabb664ed55d44767e037bb73169be2ecf9449d</id>
<content type='text'>
GCC is now a hidden package, so cannot be installed.

* tests/guix-package.sh: Replace 'gcc' by 'zile' in a test that install
multiple packages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GCC is now a hidden package, so cannot be installed.

* tests/guix-package.sh: Replace 'gcc' by 'zile' in a test that install
multiple packages.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Ensure 'unshare' works before relying on it.</title>
<updated>2019-05-09T15:42:31+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-09T15:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=8deb65c37850bfca36429f3fe5239bd9236f969c'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>ui: Make package outputs searchable.</title>
<updated>2019-05-09T07:10:34+00:00</updated>
<author>
<name>Chris Marusich</name>
<email>cmmarusich@gmail.com</email>
</author>
<published>2019-05-06T08:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=387e6b9e340ce4b401f220f72881415623a466f7'/>
<id>387e6b9e340ce4b401f220f72881415623a466f7</id>
<content type='text'>
* guix/ui.scm (relevance): Allow the "field" procedure of a metric to
return a list, and handle that case appropriately.  Update docstring.
(%package-metrics): Add a metric for package outputs.
* guix/scripts/package.scm (find-packages-by-description): Update
docstring.
* tests/guix-package.sh: Add a test case to verify that package outputs are
included in search results.

Co-authored-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/ui.scm (relevance): Allow the "field" procedure of a metric to
return a list, and handle that case appropriately.  Update docstring.
(%package-metrics): Add a metric for package outputs.
* guix/scripts/package.scm (find-packages-by-description): Update
docstring.
* tests/guix-package.sh: Add a test case to verify that package outputs are
included in search results.

Co-authored-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>environment: Non ad-hoc mode also honors transformation options.</title>
<updated>2019-05-07T13:46:53+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2019-05-07T12:38:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=d108f59761f6581bff0d405c38852688ba04961d'/>
<id>d108f59761f6581bff0d405c38852688ba04961d</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35618&gt;.
Reported by Florent Pruvost &lt;florent.pruvost@inria.fr&gt;.

* guix/scripts/environment.scm (options/resolve-packages): Add call to
TRANSFORM in non "ad-hoc" case.
* tests/guix-environment.sh: Add test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/35618&gt;.
Reported by Florent Pruvost &lt;florent.pruvost@inria.fr&gt;.

* guix/scripts/environment.scm (options/resolve-packages): Add call to
TRANSFORM in non "ad-hoc" case.
* tests/guix-environment.sh: Add test.
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: 'fat-uuid-&gt;string' preserves leading zeros.</title>
<updated>2019-05-07T10:18:44+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-07T08:50:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=6c5790a2faf8ffc401e43b13425a707394e40874'/>
<id>6c5790a2faf8ffc401e43b13425a707394e40874</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35582&gt;.
Reported by sirgazil &lt;sirgazil@zoho.com&gt;.

Previously, leading zeros would be removed, leading to an "invalid"
UUID:

  (uuid-&gt;string (uuid "00CA-050E" 'fat32))
  ⇒ "CA-50E"
  (string-&gt;uuid "CA-50E" 'fat32)
  ⇒ #f

* gnu/system/uuid.scm (fat-uuid-&gt;string): Pad digits with zeros.
* tests/uuid.scm ("uuid, FAT32, leading zeros preserved"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/35582&gt;.
Reported by sirgazil &lt;sirgazil@zoho.com&gt;.

Previously, leading zeros would be removed, leading to an "invalid"
UUID:

  (uuid-&gt;string (uuid "00CA-050E" 'fat32))
  ⇒ "CA-50E"
  (string-&gt;uuid "CA-50E" 'fat32)
  ⇒ #f

* gnu/system/uuid.scm (fat-uuid-&gt;string): Pad digits with zeros.
* tests/uuid.scm ("uuid, FAT32, leading zeros preserved"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add (guix lzlib).</title>
<updated>2019-05-06T21:21:33+00:00</updated>
<author>
<name>Pierre Neidhardt</name>
<email>mail@ambrevar.xyz</email>
</author>
<published>2019-03-08T18:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=fea338c6ca1922097fa233be85f424c152a4f507'/>
<id>fea338c6ca1922097fa233be85f424c152a4f507</id>
<content type='text'>
* guix/lzlib.scm, tests/lzlib.scm: New files.
* Makefile.am (MODULES): Add guix/lzlib.scm.
(SCM_TESTS): Add tests/lzlib.scm.
* m4/guix.m4 (GUIX_LIBLZ_LIBDIR): New macro.
* configure.ac (LIBLZ_LIBDIR): Use it.  Define and substitute
'LIBLZ'.
* guix/config.scm.in (%liblz): New variable.
* guix/self.scm (make-config.scm): Add TODO comment.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/lzlib.scm, tests/lzlib.scm: New files.
* Makefile.am (MODULES): Add guix/lzlib.scm.
(SCM_TESTS): Add tests/lzlib.scm.
* m4/guix.m4 (GUIX_LIBLZ_LIBDIR): New macro.
* configure.ac (LIBLZ_LIBDIR): Use it.  Define and substitute
'LIBLZ'.
* guix/config.scm.in (%liblz): New variable.
* guix/self.scm (make-config.scm): Add TODO comment.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Adjust wildcard when testing OS examples.</title>
<updated>2019-04-29T19:57:52+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-29T19:57:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=09a9f1097458e57d271b05dbf11f1fe0fd98c088'/>
<id>09a9f1097458e57d271b05dbf11f1fe0fd98c088</id>
<content type='text'>
* tests/guix-system.sh: Use *.tmpl instead of *, to avoid catching
backup files, etc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/guix-system.sh: Use *.tmpl instead of *, to avoid catching
backup files, etc.
</pre>
</div>
</content>
</entry>
<entry>
<title>guix package: Add 'guix search' alias.</title>
<updated>2019-04-29T10:19:24+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-29T08:41:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=da56f10971e0b6f32969b10e38ed043b2c99bb82'/>
<id>da56f10971e0b6f32969b10e38ed043b2c99bb82</id>
<content type='text'>
* guix/scripts/search.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* tests/guix-package-aliases.sh: Add test.
* doc/guix.texi (Invoking guix package): Document it and use it in a
couple of examples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/scripts/search.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* tests/guix-package-aliases.sh: Add test.
* doc/guix.texi (Invoking guix package): Document it and use it in a
couple of examples.
</pre>
</div>
</content>
</entry>
</feed>
