<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/discovery.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>2017-07-03T21:51:23Z</updated>
<entry>
<title>discovery: Recurse into directories pointed to by a symlink.</title>
<updated>2017-07-03T21:51:23Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-07-03T21:35:56Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=960c6ce96d746cf19829ad26e092ec5dad2a5c62'/>
<id>urn:sha1:960c6ce96d746cf19829ad26e092ec5dad2a5c62</id>
<content type='text'>
Reported by Christopher Baines &lt;mail@cbaines.net&gt;
and Alex Kost &lt;alezost@gmail.com&gt;
at &lt;https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00290.html&gt;.

* guix/discovery.scm (scheme-files): When ENTRY is a symlink that
doesn't end in '.scm', call 'stat' and recurse if it points to a
directory.
* tests/discovery.scm ("scheme-modules recurses in symlinks to
directories"): New test.
</content>
</entry>
<entry>
<title>discovery: 'scheme-files' returns '() for a non-accessible directory.</title>
<updated>2017-06-17T22:14:07Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-06-17T22:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d46c4423f46278bd2f96770ceb0667431414349e'/>
<id>urn:sha1:d46c4423f46278bd2f96770ceb0667431414349e</id>
<content type='text'>
Fixes a regression introduced in
d27cc3bfaafe6b5b0831e88afb1c46311d382a0b.

Reported by Ricardo Wurmus &lt;rekado@elephly.net&gt;.

* guix/discovery.scm (scheme-files): Catch 'scandir*' system errors.
Return '() and optionally raise a warning upon 'system-error'.
* tests/discovery.scm ("scheme-modules, non-existent directory"): New
test.
</content>
</entry>
<entry>
<title>Add (guix discovery).</title>
<updated>2017-05-03T21:50:15Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-03T21:03:20Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=cd903ef7871170d3c4eced45418459d293ef48a7'/>
<id>urn:sha1:cd903ef7871170d3c4eced45418459d293ef48a7</id>
<content type='text'>
* guix/discovery.scm, tests/discovery.scm: New files.
* gnu/packages.scm (scheme-files, file-name-&gt;module-name)
(scheme-modules, all-package-modules): Remove.
(fold-packages): Rewrite in terms of 'fold-module-public-variables'.
* gnu/tests.scm: Use (guix discovery).
* Makefile.am (MODULES): Add guix/discovery.scm.
(SCM_TESTS): Add tests/discovery.scm.
</content>
</entry>
</feed>
