refresh: Warn about packages that lack an updater.
commite9c72306fdfd6a60158918850cb25d0ff3837d16
authorLudovic Courtès <ludo@gnu.org>
Tue, 29 Nov 2016 14:07:07 +0000 (29 15:07 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 29 Nov 2016 15:12:31 +0000 (29 16:12 +0100)
tree043cedd0c9f140d98e40784cdc9fa21db0f6dec3
parenta409de98116dacb75bb033bcebf22d8c1eb3d64b
refresh: Warn about packages that lack an updater.

* guix/upstream.scm (package-update-path): Rename to...
(package-latest-release): ... this.  Remove 'version>?' check.
(package-latest-release*): New procedure.
(package-update): Use it.
* guix/scripts/refresh.scm (lookup-updater): Rename to...
(lookup-updater-by-name): ... this.
(warn-no-updater): New procedure.
(update-package): Add #:warn? parameter and honor it.
(check-for-package-update): New procedure.
(guix-refresh)[warn?]: New variable.
Replace inline code when UPDATE? is false with a call to
'check-for-package-update'.
Pass WARN? to 'check-for-package-update' and 'update-package'.
* doc/guix.texi (Invoking guix refresh): Document it.  Fix a couple of
typos.
doc/guix.texi
guix/scripts/refresh.scm
guix/upstream.scm