<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts/pull.scm, branch wip-deploy</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=wip-deploy</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=wip-deploy'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-07-17T22:44:23Z</updated>
<entry>
<title>pull: Pass #:use-substitutes? to 'show-what-to-build'.</title>
<updated>2019-07-17T22:44:23Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-07-17T19:28:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9b9b753529db1c7a8c4628cc255e358703c15618'/>
<id>urn:sha1:9b9b753529db1c7a8c4628cc255e358703c15618</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/36509&gt;.
Reported by Robert Vollmert &lt;rob@vllmrt.net&gt;.

* guix/scripts/pull.scm (build-and-install): Add #:use-substitutes?
parameter and pass it to UPDATE-PROFILE.
(guix-pull): Pass #:use-substitutes? to 'build-and-install'.
</content>
</entry>
<entry>
<title>pull: Use (ice-9 format).</title>
<updated>2019-07-17T22:44:23Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-07-17T18:09:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=67fb53c0d8fe6880c2ee3c8bc1c66e297ba00cf7'/>
<id>urn:sha1:67fb53c0d8fe6880c2ee3c8bc1c66e297ba00cf7</id>
<content type='text'>
* guix/scripts/pull.scm (guix): Use (ice-9 format), as reported by
'-Wformat'.
</content>
</entry>
<entry>
<title>pull: Remove unused procedures.</title>
<updated>2019-07-17T22:44:23Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-07-17T18:09:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=c84c4c1db76e248c7709b1b5421f7539134d8cdb'/>
<id>urn:sha1:c84c4c1db76e248c7709b1b5421f7539134d8cdb</id>
<content type='text'>
* guix/scripts/pull.scm (what-to-build, indirect-root-added): Remove.
</content>
</entry>
<entry>
<title>guix gc: Correctly handle '--delete-generations' with no arguments.</title>
<updated>2019-07-11T21:13:26Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-07-10T17:58:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=5c3d44303e1bb75d45334af5cf86cde723da0371'/>
<id>urn:sha1:5c3d44303e1bb75d45334af5cf86cde723da0371</id>
<content type='text'>
Previously, 'guix gc --delete-generations' would crash: the "" pattern
would be passed to 'matching-generations', which would return #f instead
of returning a list.

Reported by Raghav Gururajan &lt;rvgn@disroot.org&gt;
in &lt;https://bugs.gnu.org/36466&gt;.

* guix/ui.scm (matching-generations): Raise an error when passed an
invalid pattern.
* guix/scripts/gc.scm (delete-old-generations): Check if PATTERN is
true.
(%options): Leave ARG as-is for 'delete-generations'.
(guix-gc): Use 'assq' instead of 'assoc-ref' for 'delete-generations'.
* guix/scripts/package.scm (delete-matching-generations):
Replace (string-null? pattern) with (not pattern).  Remove 'else'
clause.
(%options): Leave ARG as-is for 'delete-generations'.
* guix/scripts/pull.scm (%options): Leave ARG as-is for
'list-generations'.
(process-query): Replace (string-null? pattern) with (not pattern).
* guix/scripts/system.scm (list-generations): Likewise, and remove
'else' clause.
(process-command): Use #f instead of "" when no pattern is given.
</content>
</entry>
<entry>
<title>pull: Display 'hash guix' hint when the new and old 'guix' are different.</title>
<updated>2019-05-09T15:42:31Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-05-09T15:31:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a0dc97a517cbc4c82640e30cacb2a564d128bbe9'/>
<id>urn:sha1:a0dc97a517cbc4c82640e30cacb2a564d128bbe9</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35601&gt;.
Reported by Diego Nicola Barbato &lt;dnbarbato@posteo.de&gt;.

Previously we were calling (which "guix") after the new profile had been
built and symlinked, so in most cases the hint would not be triggered,
even though it should have been triggered.

* guix/scripts/pull.scm (build-and-install)[guix-command]: New variable.
Compare PROFILE/bin/guix against GUIX-COMMAND.
</content>
</entry>
<entry>
<title>pull: Create profile after the store connection has been opened.</title>
<updated>2019-04-22T10:01:32Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-04-22T09:50:49Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a06a95baffc2005ad1a64c4c3f82fc328e0d0009'/>
<id>urn:sha1:a06a95baffc2005ad1a64c4c3f82fc328e0d0009</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35341&gt;.
Reported by Florian Pelz &lt;pelzflorian@pelzflorian.de&gt;.

Previously, we'd call 'ensure-default-profile' before the connection to
the daemon has been opened.  On the first connection, the daemon ensures
that /var/guix/profiles/per-user is world-writable.  Since we were
calling 'ensure-default-profile' before that,
/var/guix/profiles/per-user was typically non-writable (555 and
root-owned), and thus 'guix pull' would error out.

* guix/scripts/pull.scm (guix-pull): Call 'ensure-default-profile'
within 'with-store'.
</content>
</entry>
<entry>
<title>pull: Add '--news'.</title>
<updated>2019-04-22T10:01:32Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-04-21T19:26:06Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=c5265a095172b213ba6fbdf618d6779359ca56b2'/>
<id>urn:sha1:c5265a095172b213ba6fbdf618d6779359ca56b2</id>
<content type='text'>
Suggested by Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;.

* guix/scripts/pull.scm (%options, show-help): Add '--news'.
(display-profile-news): Add #:current-is-newer? and #:concise?.
Honor them.
(build-and-install): Pass #:concise? #t.
(display-new/upgraded-packages)[concise/max-item-count]: New variable.
Add call to 'display-hint'.
(process-query): Add clause for 'display-news'.
* doc/guix.texi (Invoking guix pull): Add '--news'.
</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>
</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>pull: Remove duplicate '--dry-run' description.</title>
<updated>2019-04-10T15:09:47Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-04-10T14:13:51Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=08d0f950b3ad936b859064c070be16548684cbd1'/>
<id>urn:sha1:08d0f950b3ad936b859064c070be16548684cbd1</id>
<content type='text'>
Reported by pkill9.

* guix/scripts/pull.scm (show-help): Remove duplicate '--dry-run'
description.
</content>
</entry>
<entry>
<title>pull: Truncate the list of packages displayed on completion.</title>
<updated>2019-03-28T22:06:59Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-03-28T15:17:11Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=539af7f257eea291b1e6ffbfdcaeee9fde9bffe5'/>
<id>urn:sha1:539af7f257eea291b1e6ffbfdcaeee9fde9bffe5</id>
<content type='text'>
Previously, if you'd run 'guix pull' after a couple of weeks, it would
fill your screen with package names, which is unhelpful.

* guix/scripts/pull.scm (ellipsis): New procedure.
(display-new/upgraded-packages): Add #:concise?.
[list-&gt;enumeration]: New procedure.
Use it instead of 'string-join'.
(display-profile-news): Pass #:concise? #t.
</content>
</entry>
</feed>
