<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts/pull.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-05-09T15:42:31Z</updated>
<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>
<email>ludo@gnu.org</email>
</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>
<email>ludo@gnu.org</email>
</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>
<email>ludo@gnu.org</email>
</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>
<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>pull: Remove duplicate '--dry-run' description.</title>
<updated>2019-04-10T15:09:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</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>
<email>ludo@gnu.org</email>
</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>
<entry>
<title>pull: Factorize pretty-printing for new/upgraded package lists.</title>
<updated>2019-03-28T22:06:58Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-28T14:55:47Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9f4169f6c8014206ea389e1ded88622fa6cfbe4a'/>
<id>urn:sha1:9f4169f6c8014206ea389e1ded88622fa6cfbe4a</id>
<content type='text'>
* guix/scripts/pull.scm (display-new/upgraded-packages)[pretty]: New
procedure.
Use it.
</content>
</entry>
<entry>
<title>pull: Speed up the new/upgraded package computation.</title>
<updated>2019-02-12T22:30:16Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-12T21:51:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=201253674bca6a1bf5d45e2af46fbb5c34f060bf'/>
<id>urn:sha1:201253674bca6a1bf5d45e2af46fbb5c34f060bf</id>
<content type='text'>
* guix/scripts/pull.scm (new/upgraded-packages): OLD no longer stores
all the versions of each package.  Remove 'vhash-fold*' call and reduce
the number of 'version&gt;?' calls when computing UPGRADED.
</content>
</entry>
<entry>
<title>pull: Move profile comparison to 'new/upgraded-packages'.</title>
<updated>2019-02-12T22:30:16Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-12T21:35:28Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=cf0eacceb46492515431fec6bcf25b750b7d402d'/>
<id>urn:sha1:cf0eacceb46492515431fec6bcf25b750b7d402d</id>
<content type='text'>
* guix/scripts/pull.scm (new/upgraded-packages): New procedure, with
code formerly in 'display-new/upgraded-packages'.
(display-new/upgraded-packages): Use it.
</content>
</entry>
<entry>
<title>pull: Use 'fold-available-packages' for the current package list.</title>
<updated>2019-02-12T22:30:16Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-12T21:09:07Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=46765f82dbd541a6ab48ba84816dbcf701d8714b'/>
<id>urn:sha1:46765f82dbd541a6ab48ba84816dbcf701d8714b</id>
<content type='text'>
* guix/scripts/pull.scm (display-profile-news): Use
'fold-available-packages' instead of 'fold-packages' to compute OLD.
(profile-package-alist): Use 'inferior-available-packages'.
</content>
</entry>
</feed>
