<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/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>2019-07-26T19:49:25Z</updated>
<entry>
<title>discovery: 'scheme-files' ignores hidden files.</title>
<updated>2019-07-26T19:49:25Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-26T19:49:25Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=548e0af4da4e2e9311bc696831a80eedbc5b5798'/>
<id>urn:sha1:548e0af4da4e2e9311bc696831a80eedbc5b5798</id>
<content type='text'>
* guix/discovery.scm (scheme-files)[dot-prefixed?]: New procedure.
Use it to exclude any file starting with ".".
</content>
</entry>
<entry>
<title>ui: 'warn-about-load-error' warns about file/module name mismatches.</title>
<updated>2019-07-19T23:32:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-19T21:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a2a94b6e58e5120462d6861bdf72efa2170bfd73'/>
<id>urn:sha1:a2a94b6e58e5120462d6861bdf72efa2170bfd73</id>
<content type='text'>
* guix/discovery.scm (scheme-modules): Rename the inner 'file' to
'relative'.  Pass FILE as an addition argument to WARN.
* guix/ui.scm (warn-about-load-error): Add 'module' argument (actually,
what was called 'file' really contained a module name.)  Call
'check-module-matches-file' in the catch-all error case.
(check-module-matches-file): New procedure.
* tests/guix-build.sh: Test it.
</content>
</entry>
<entry>
<title>discovery: Handle edge case in scheme-files when looking at symlinks.</title>
<updated>2019-07-08T16:04:35Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2019-07-07T11:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1d0bde2ee4009a301fee6ceeaf140396bb49a748'/>
<id>urn:sha1:1d0bde2ee4009a301fee6ceeaf140396bb49a748</id>
<content type='text'>
Previously, this code would cause crashes in Guix (running guix package -s for
example) which could be experienced when Emacs creates temporary files in the
gnu/packages/patches directory when a patch file has been edited, but not
saved.

* guix/discovery.scm (scheme-files): Add else clause to cond used when
handling symlinks.
</content>
</entry>
<entry>
<title>discovery: 'all-modules' returns modules in path order.</title>
<updated>2019-05-26T21:02:02Z</updated>
<author>
<name>Robert Vollmert</name>
<email>rob@vllmrt.net</email>
</author>
<published>2019-05-25T06:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=002d17dcaacba0f86265b34f2509419d9e21224d'/>
<id>urn:sha1:002d17dcaacba0f86265b34f2509419d9e21224d</id>
<content type='text'>
A particular effect of this is that if there are ambiguous
packages in a directory specified with `-L module_dir` and the
distribution, the version from `module_dir` will be loaded,
which is usually what would be expected. (E.g. for `guix build`
or `guix package -i`.)

* guix/discovery.scm (all-modules): Return modules in path order.
* tests/guix-package.sh: Test local definitions take precedence.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>discovery: Add 'fold-module-public-variables*'.</title>
<updated>2019-01-15T19:24:09Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-12T21:26:01Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1d90e9d7c906b1e9e94d1642bfd60c51609fd0df'/>
<id>urn:sha1:1d90e9d7c906b1e9e94d1642bfd60c51609fd0df</id>
<content type='text'>
* guix/discovery.scm (fold-module-public-variables*): New procedure.
</content>
</entry>
<entry>
<title>discovery: Add 'scheme-modules*'.</title>
<updated>2018-09-02T14:43:10Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-08-24T13:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=02fa1d251c9caeba39c7593e0b8ab52b60735b17'/>
<id>urn:sha1:02fa1d251c9caeba39c7593e0b8ab52b60735b17</id>
<content type='text'>
* guix/self.scm (scheme-modules*): Move to...
* guix/discovery.scm (scheme-modules*): ... here.  New procedure.  Make
'sub-directory' an optional parameter.
</content>
</entry>
<entry>
<title>discovery: Remove dependency on (guix ui).</title>
<updated>2018-04-08T15:48:33Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-26T21:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=3c0128b035ae00462f1b0a4427d9525d750e5575'/>
<id>urn:sha1:3c0128b035ae00462f1b0a4427d9525d750e5575</id>
<content type='text'>
This reduces the closure of (guix discovery) from 28 to 8 modules.

* guix/discovery.scm (scheme-files): Use 'format' instead of 'warning'.
(scheme-modules): Add #:warn parameter.  Use it instead of
'warn-about-load-error'.
(fold-modules): Add #:warn and pass it to 'scheme-modules'.
(all-modules): Likewise.
* gnu/bootloader.scm (bootloader-modules): Pass #:warn to 'all-modules'.
* gnu/packages.scm (fold-packages): Likewise.
* gnu/services.scm (all-service-modules): Likewise.
* guix/upstream.scm (importer-modules): Likewise.
</content>
</entry>
<entry>
<title>Add (guix self).</title>
<updated>2018-04-08T15:41:08Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-23T14:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=eaae07ec2878707744fed76029a28ab9a494fc2e'/>
<id>urn:sha1:eaae07ec2878707744fed76029a28ab9a494fc2e</id>
<content type='text'>
* guix/self.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/packages.scm (%distro-root-directory): Rewrite to try different
directories.
* guix/discovery.scm (guix): Export 'scheme-files'.
</content>
</entry>
<entry>
<title>discovery: Move 'file-name-&gt;module-name' to (guix modules).</title>
<updated>2017-10-23T05:09:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-13T20:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7a51c78c6e0cd06dd31f3f28cd941fde15eb17d6'/>
<id>urn:sha1:7a51c78c6e0cd06dd31f3f28cd941fde15eb17d6</id>
<content type='text'>
* guix/discovery.scm (file-name-&gt;module-name): Move to...
* guix/modules.scm (file-name-&gt;module-name): ... here.
* guix/build/compile.scm: Use (guix modules) instead of (guix discovery).
</content>
</entry>
<entry>
<title>build: Factorize module compilation in (guix build compile).</title>
<updated>2017-10-23T05:09:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-13T16:07:41Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=2890ad332fcdfd4bc92b127d783975437c8b718b'/>
<id>urn:sha1:2890ad332fcdfd4bc92b127d783975437c8b718b</id>
<content type='text'>
* guix/build/compile.scm: New file.
* Makefile.am (MODULES): Add it.
* build-aux/compile-all.scm: Use it.
(warnings, file-&gt;module, load-module-file)
(%default-optimizations, %lightweight-optimizations)
(optimization-options, compile-file*): Remove.
&lt;top level&gt;: Use 'compile-files'.
* guix/build/pull.scm (%default-optimizations)
(%lightweight-optimizations, optimization-options): Remove.
(build-guix): Rewrite as a call to 'compile-files'.
* guix/discovery.scm (file-name-&gt;module-name): Export.
</content>
</entry>
</feed>
