pull: Add '--news'.
authorLudovic Courtès <ludo@gnu.org>
Sun, 21 Apr 2019 19:26:06 +0000 (21:26 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 22 Apr 2019 10:01:32 +0000 (12:01 +0200)
commitc5265a095172b213ba6fbdf618d6779359ca56b2
tree11df8615b77bf3d2a97d2b86b8de727ca6216700
parent54b41d2d7158f1696a663ac2ae46661e759a1648
pull: Add '--news'.

Suggested by Tobias Geerinckx-Rice <me@tobias.gr>.

* 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'.
doc/guix.texi
guix/scripts/pull.scm