diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-11-29 15:07:07 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-11-29 16:12:31 +0100 |
commit | e9c72306fdfd6a60158918850cb25d0ff3837d16 (patch) | |
tree | 043cedd0c9f140d98e40784cdc9fa21db0f6dec3 /tests/hackage.scm | |
parent | a409de98116dacb75bb033bcebf22d8c1eb3d64b (diff) |
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.
Diffstat (limited to 'tests/hackage.scm')
0 files changed, 0 insertions, 0 deletions