<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/channels.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-06-03T21:18:47Z</updated>
<entry>
<title>deprecation: Use the 'warning' procedure for diagnostics.</title>
<updated>2019-06-03T21:18:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-03T21:00:42Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=69962ab7a8e07af77a2eb466be39615d139d5cf0'/>
<id>urn:sha1:69962ab7a8e07af77a2eb466be39615d139d5cf0</id>
<content type='text'>
Until now, (guix deprecation) had its own warning mechanism, which was
inconsistent (it did not use colors, etc.)

* guix/deprecation.scm (deprecation-warning-port): Remove
(source-properties-&gt;location-string): Remove.
(warn-about-deprecation): Use 'warning' instead of 'format'.
(define-deprecated, define-deprecated/alias): Adjust docstring.
* guix/channels.scm (build-from-source): Refer to 'guix-warning-port'
instead of 'deprecation-warning-port'.
</content>
</entry>
<entry>
<title>pull: '--url', '--commit', and '--branch' apply to the 'guix' channel.</title>
<updated>2019-04-17T11:56:40Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-17T11:56:40Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=72f749dcb83dbda9f98e28fa3622cc1d3db6275a'/>
<id>urn:sha1:72f749dcb83dbda9f98e28fa3622cc1d3db6275a</id>
<content type='text'>
Suggested by pkill9 &lt;pkill9@runbox.com&gt;.

* guix/scripts/pull.scm (channel-list): Apply REF and URL to the 'guix'
channel.
* doc/guix.texi (Invoking guix pull): Adjust accordingly.
</content>
</entry>
<entry>
<title>channels: Do not fail when the inferior lacks 'guix repl'.</title>
<updated>2019-03-08T11:31:38Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-08T11:25:25Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=4035fcba93aaf551f4b5698045f025aa61287e17'/>
<id>urn:sha1:4035fcba93aaf551f4b5698045f025aa61287e17</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/34637&gt;.
Reported by Martin Flack &lt;martin.flack@gmail.com&gt;.

Previously we'd fail to build the package cache for old versions of Guix
that lack 'guix repl'.  Now we simply ignore the issue and keep going
without a cache.

* guix/inferior.scm (gexp-&gt;derivation-in-inferior): Add
 #:silent-failure? and honor it.
[drop-extra-keyword]: New procedure.
Use it.
* guix/channels.scm (package-cache-file): Pass #:silent-failure? #t.
</content>
</entry>
<entry>
<title>channels: Do not offload package cache derivation.</title>
<updated>2019-01-29T11:09:52Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-29T10:58:50Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=f674bc6620ec2aad35dad455c55fd7dea79236e2'/>
<id>urn:sha1:f674bc6620ec2aad35dad455c55fd7dea79236e2</id>
<content type='text'>
* guix/channels.scm (package-cache-file): Pass #:local-build? to
'gexp-&gt;derivation-in-inferior'.
</content>
</entry>
<entry>
<title>channels: Turn off deprecation warnings when loading 'build-self.scm'.</title>
<updated>2019-01-28T22:13:40Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-28T21:42:48Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3a8c4860fbccc840b28227dbe44cfffb128a91e0'/>
<id>urn:sha1:3a8c4860fbccc840b28227dbe44cfffb128a91e0</id>
<content type='text'>
* guix/channels.scm (build-from-source): Parameterize
DEPRECATION-WARNING-PORT when loading SCRIPT.
</content>
</entry>
<entry>
<title>channels: Use 'fold2'.</title>
<updated>2019-01-20T17:45:40Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-20T17:45:40Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=f58f676b12254cdf5adb453798917b06ac6609a6'/>
<id>urn:sha1:f58f676b12254cdf5adb453798917b06ac6609a6</id>
<content type='text'>
* guix/channels.scm (latest-channel-instances): Use 'fold2' instead of
'fold'.
</content>
</entry>
<entry>
<title>channels: Gracefully report the lack of a 'guix' channel.</title>
<updated>2019-01-20T17:11:11Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-20T17:11:11Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=ab6025b52cec792312d465107e9b86d7900c5f93'/>
<id>urn:sha1:ab6025b52cec792312d465107e9b86d7900c5f93</id>
<content type='text'>
* guix/channels.scm (channel-instance-derivations): Raise an '&amp;message'
condition when CORE-INSTANCE is #f.
</content>
</entry>
<entry>
<title>channels: Build channel modules in an inferior.</title>
<updated>2019-01-20T16:57:14Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-18T09:15:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=acefa7408b2f573e6a14acd5f55b652b7c8806b4'/>
<id>urn:sha1:acefa7408b2f573e6a14acd5f55b652b7c8806b4</id>
<content type='text'>
This ensures that channel modules are compiled with the right Guile,
that they get to see the right modules, and so on.  IOW, it avoids bugs
such as those addressed by commits
3c0e16391ed9a3e3e4611b940fb393c5f2ecea63 and
cb341c121919877ae6267a6460c0c17536d06eff.

* guix/channels.scm (standard-module-derivation): Add 'core'
parameter.  Rewrite in terms of 'gexp-&gt;derivation-in-inferior'.
(build-from-source): Add #:core parameter and pass it to
'standard-module-derivation'.
(build-channel-instance): Add 'core' parameter and pass it on.
(channel-instance-derivations)[dependencies]: Remove.
Adjust 'build-channel-instance' call.
</content>
</entry>
<entry>
<title>channels: Don't pull from the same channel more than once.</title>
<updated>2019-01-20T16:57:14Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-17T15:57:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=ed75bdf35ca494496cdbc7a06b414e1f08e70cac'/>
<id>urn:sha1:ed75bdf35ca494496cdbc7a06b414e1f08e70cac</id>
<content type='text'>
Previous 'channel-instance-&gt;manifest' would call
'latest-channel-derivation', which could trigger another round of
'latest-repository-commit' for no good reason.

* guix/channels.scm (resolve-dependencies): New procedure.
(channel-instance-derivations)[edges]: New variable.
[instance-&gt;derivation]: New procedure.
* tests/channels.scm (make-instance): Use 'checkout-&gt;channel-instance'
instead of 'channel-instance'.
("channel-instances-&gt;manifest"): New test.
</content>
</entry>
<entry>
<title>channels: Compute a package cache and use it.</title>
<updated>2019-01-15T19:24:09Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-11T16:23:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=5fbdc9a5aa63fd51c65d30fe3d30608d01fe1bc8'/>
<id>urn:sha1:5fbdc9a5aa63fd51c65d30fe3d30608d01fe1bc8</id>
<content type='text'>
* gnu/packages.scm (cache-is-authoritative?, load-package-cache)
(cache-lookup, generate-package-cache): New procedures.
(%package-cache-file): New variable.
(find-packages-by-name): Rename to...
(find-packages-by-name/direct): ... this.
(find-packages-by-name): Rewrite to use the package cache when
'cache-is-authoritative?' returns true.
* tests/packages.scm ("find-packages-by-name + version, with cache")
("find-packages-by-name with cache"): New tests.
* guix/channels.scm (package-cache-file): New procedure.
(%channel-profile-hooks): New variable.
(channel-instances-&gt;derivation): Use it in #:hooks.
* guix/scripts/package.scm (build-and-use-profile): Add #:hooks and
honor it.
* guix/scripts/pull.scm (build-and-install): Pass #:hooks to
UPDATE-PROFILE.
</content>
</entry>
</feed>
